Avoid "left shift count >= width of type" warnings in soft-fp code.
[glibc.git] / ChangeLog
blob5927ebbb9503023cfa8772207aedd7699f4f76ad
1 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
3         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
4         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
5         warning.
7 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
10         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
11         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14         __fe_nomask_env_priv and attribute_hidden.
15         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
16         (libc_feupdateenv_test_ppc): Likewise.
17         (libc_feresetround_ppc): Likewise.
18         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
20         compat_symbol macro.
21         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22         (__fe_nomask_env): Likewise.
23         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
25 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27         * string/Makefile: Remove ifunc tests.
28         * string/test-string.h: Define TEST_IFUNC.
29         * string/test-bcopy-ifunc.c: Remove.
30         * string/test-bzero-ifunc.c: Likewise.
31         * string/test-memccpy-ifunc.c: Likewise.
32         * string/test-memchr-ifunc.c: Likewise.
33         * string/test-memcmp-ifunc.c: Likewise.
34         * string/test-memcpy-ifunc.c: Likewise.
35         * string/test-memmem-ifunc.c: Likewise.
36         * string/test-memmove-ifunc.c: Likewise.
37         * string/test-mempcpy-ifunc.c: Likewise.
38         * string/test-memrchr-ifunc.c: Likewise.
39         * string/test-memset-ifunc.c: Likewise.
40         * string/test-rawmemchr-ifunc.c: Likewise.
41         * string/test-stpcpy-ifunc.c: Likewise.
42         * string/test-stpncpy-ifunc.c: Likewise.
43         * string/test-strcasecmp-ifunc.c: Likewise.
44         * string/test-strcasestr-ifunc.c: Likewise.
45         * string/test-strcat-ifunc.c: Likewise.
46         * string/test-strchr-ifunc.c: Likewise.
47         * string/test-strchrnul-ifunc.c: Likewise.
48         * string/test-strcmp-ifunc.c: Likewise.
49         * string/test-strcpy-ifunc.c: Likewise.
50         * string/test-strcspn-ifunc.c: Likewise.
51         * string/test-strlen-ifunc.c: Likewise.
52         * string/test-strncasecmp-ifunc.c: Likewise.
53         * string/test-strncat-ifunc.c: Likewise.
54         * string/test-strncmp-ifunc.c: Likewise.
55         * string/test-strncpy-ifunc.c: Likewise.
56         * string/test-strnlen-ifunc.c: Likewise.
57         * string/test-strpbrk-ifunc.c: Likewise.
58         * string/test-strrchr-ifunc.c: Likewise.
59         * string/test-strspn-ifunc.c: Likewise.
60         * string/test-strstr-ifunc.c: Likewise.
62 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
64         * benchtests/Makefile: Remove ifunc tests.
65         * benchtests/bench-string.h: Define TEST_IFUNC.
66         * benchtests/bench-bcopy-ifunc.c: Remove.
67         * benchtests/bench-bzero-ifunc.c: Likewise.
68         * benchtests/bench-memccpy-ifunc.c: Likewise.
69         * benchtests/bench-memchr-ifunc.c: Likewise.
70         * benchtests/bench-memcmp-ifunc.c: Likewise.
71         * benchtests/bench-memcpy-ifunc.c: Likewise.
72         * benchtests/bench-memmem-ifunc.c: Likewise.
73         * benchtests/bench-memmove-ifunc.c: Likewise.
74         * benchtests/bench-mempcpy-ifunc.c: Likewise.
75         * benchtests/bench-memrchr-ifunc.c: Likewise.
76         * benchtests/bench-memset-ifunc.c: Likewise.
77         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
78         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
79         * benchtests/bench-stpcpy-ifunc.c: Likewise.
80         * benchtests/bench-stpncpy-ifunc.c: Likewise.
81         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
82         * benchtests/bench-strcasestr-ifunc.c: Likewise.
83         * benchtests/bench-strcat-ifunc.c: Likewise.
84         * benchtests/bench-strchr-ifunc.c: Likewise.
85         * benchtests/bench-strchrnul-ifunc.c: Likewise.
86         * benchtests/bench-strcmp-ifunc.c: Likewise.
87         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
88         * benchtests/bench-strcpy-ifunc.c: Likewise.
89         * benchtests/bench-strcspn-ifunc.c: Likewise.
90         * benchtests/bench-strlen-ifunc.c: Likewise.
91         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
92         * benchtests/bench-strncat-ifunc.c: Likewise.
93         * benchtests/bench-strncmp-ifunc.c: Likewise.
94         * benchtests/bench-strncpy-ifunc.c: Likewise.
95         * benchtests/bench-strnlen-ifunc.c: Likewise.
96         * benchtests/bench-strpbrk-ifunc.c: Likewise.
97         * benchtests/bench-strrchr-ifunc.c: Likewise.
98         * benchtests/bench-strspn-ifunc.c: Likewise.
99         * benchtests/bench-strstr-ifunc.c: Likewise.
101 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
103         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
105 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
107         * resolv/netdb.h: Use __glibc_reserved instead __unused.
108         * rt/aio.h: Likewise.
109         * sysdeps/gnu/bits/utmp.h: Likewise.
110         * sysdeps/gnu/bits/utmpx.h: Likewise.
111         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
112         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
113         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
114         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
115         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
116         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
117         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
118         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
119         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
120         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
121         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
122         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
123         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
125         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
126         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
127         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
128         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
129         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
130         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
131         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
132         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
133         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
134         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
135         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
136         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
137         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
138         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
139         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
140         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
141         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
142         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
143         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
144         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
145         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
146         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
147         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
148         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
149         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
150         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
151         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
152         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
154 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
156         [BZ #16245]
157         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
158         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
160 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
162         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
163         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
164         Likewise.
166 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
168         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
169         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
170         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
171         (__fesetround): Remove define.
172         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
173         rounding and exceptions handling.
174         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
175         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
176         (__fe_nomask_env): Likewise.
177         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
178         __fegetround instead of fegetround.
179         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
180         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
182 2013-11-21  Roland McGrath  <roland@hack.frob.com>
184         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
185         it's there.
187         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
189 2013-11-21  Meador Inge  <meadori@codesourcery.com>
191         [BZ #11157]
192         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
193         (encrypt_r): Likewise.
194         * malloc/obstack.h (obstack_free): Likewise.
195         * posix/unistd.h (encrypt): Likewise.
197 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
199         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
200         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
201         DL_CALL_DT_FINI() that call the functions directly.
202         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
203         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
204         * elf/dl-fini.c: Likewise.
206 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
208         * malloc/hooks.c (memalign_check): Add alignment rounding.
209         * malloc/malloc.c (_mid_memalign): New function.
210         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
211         Implement by calling _mid_memalign.
212         * manual/probes.texi (Memory Allocation Probes): Remove
213         memory_valloc_retry and memory_pvalloc_retry.
215 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
217         * locale/programs/locarchive.c (open_archive): Add const
218         qualifier to ARCHIVEFNAME and copy default fname to
219         DEFAULT_FNAME.
221         [BZ #15601]
222         * libio/tst-widetext.input: Rename Oriya to Odia.
223         * locale/iso-639.def: Likewise.
225         * manual/probes.texi (Mathematical Function Probes): Add
226         documentation for sin, cos, asin and acos probes.
227         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
228         (__sin32): Add slowasin probe.
229         (__cos32): Add slowacos probe.
230         (__mpsin): Add slowsin probe.
231         (__mpcos): Add slowcos probe.
233 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
235         [BZ #15483]
236         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
237         thread-local __sim_exceptions_thread and global
238         __sim_exceptions_global.
239         (__sim_disabled_exceptions): Change to thread-local
240         __sim_disabled_exceptions_thread and global
241         __sim_disabled_exceptions_global.
242         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
243         and global __sim_round_mode_global.
244         (__simulate_exceptions): Use thread-local floating-point state and
245         set global state from it as needed.
246         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
247         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
248         __sim_round_mode_thread.
249         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
250         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
251         and global __sim_exceptions_global.
252         (__sim_disabled_exceptions): Change to thread-local
253         __sim_disabled_exceptions_thread and global
254         __sim_disabled_exceptions_global.
255         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
256         and global __sim_round_mode_global.
257         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
258         (SIM_SET_GLOBAL): Likewise.
259         * sysdeps/powerpc/soft-fp/sfp-machine.h
260         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
261         __sim_round_mode_thread.
262         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
263         __sim_disabled_exceptions_thread.
264         (__sim_exceptions): Change to __sim_exceptions_thread.
265         (__sim_disabled_exceptions): Change to
266         __sim_disabled_exceptions_thread.
267         (__sim_round_mode): Change to __sim_round_mode_thread.
268         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
269         thread-local floating-point state and set global state from it as
270         needed.
271         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
272         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
273         (__sim_disabled_exceptions): Remove extern declaration.
274         (feenableexcept): Use thread-local floating-point state and set
275         global state from it as needed.
276         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
277         extern declaration.
278         (__sim_disabled_exceptions): Likewise.
279         (__sim_round_mode): Likewise.
280         (__fegetenv): Use thread-local floating-point state.
281         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
282         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
283         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
284         floating-point state and set global state from it as needed.
285         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
286         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
287         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
288         Likewise.
289         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
290         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
291         Likewise.
292         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
293         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
294         Use __sim_round_mode_thread.
295         * math/test-fenv-tls.c: New file.
296         * math/Makefile (tests): Add test-fenv-tls.
297         ($(objpfx)test-fenv-tls): Depend on
298         $(common-objpfx)nptl/libpthread.so.
300 2013-11-19  Andreas Schwab  <schwab@suse.de>
302         * locale/programs/locale.c (show_info): Decode wordarray elements.
303         * locale/categories.def (LC_MONETARY): Add element for
304         _NL_MONETARY_CRNCYSTR.
305         * locale/C-monetary.c (conversion_rate): New variable.
306         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
307         element.
309 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
311         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
312         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
314 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
316         * elf/Makefile (tst-auxv): New test.
317         * elf/tst-auxv.c: New
318         * elf/rtld.c (dl_main): Adjust AT_EXECFN
320 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
322         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
323         (hidden_proto): Caller changed.
324         (hidden_tls_proto): New macro.
325         (libc_hidden_tls_proto): Likewise.
326         (rtld_hidden_tls_proto): Likewise.
327         (libm_hidden_tls_proto): Likewise.
328         (libresolv_hidden_tls_proto): Likewise.
329         (librt_hidden_tls_proto): Likewise.
330         (libdl_hidden_tls_proto): Likewise.
331         (libnss_files_hidden_tls_proto): Likewise.
332         (libnsl_hidden_tls_proto): Likewise.
333         (libnss_nisplus_hidden_tls_proto): Likewise.
334         (libutil_hidden_tls_proto): Likewise.
336 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
338         [BZ #10253]
339         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
340         (decompose_rpath): Defer expansion to fillin_rpath.
341         (_dl_init_paths): Pass linkmap to fillin_rpath.
343 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
345         * benchtests/Makefile: Add strsep.
346         * benchtests/bench-strsep.c: New file: strsep benchtest.
347         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
349 2013-11-18  Andreas Schwab  <schwab@suse.de>
351         * locale/programs/locale.c (show_info) [case byte]: Check for
352         '\377' instead of '\177'.
353         * locale/C-monetary.c (not_available): Always use "\377".
354         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
355         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
356         detect unavailable sign_posn locale elements.
357         * locale/localeconv.c (__localeconv): For grouping and
358         mon_grouping handle "\177" and "\377" like no grouping.
359         (INT_ELEM): New macro.  Use it to set all numeric members.
360         * locale/programs/ld-monetary.c (monetary_read)
361         <tok_mon_grouping>: Normalize single -1 to the empty string.
362         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
363         Likewise.
365 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
367         [BZ #16055]
368         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
369         when we match (nil).
370         * stdio-common/tst-sscanf.c (struct test): Add testcase.
372 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
374         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
375         (NO_TEST_INLINE): Update value.
376         (ERRNO_UNCHANGED): Likewise.
377         (ERRNO_EDOM): Likewise.
378         (ERRNO_ERANGE): Likewise.
379         (IGNORE_RESULT): Likewise.
380         (check_float_internal): Check signs of NaN results if
381         TEST_NAN_SIGN used.
382         (check_complex): Pass TEST_NAN_SIGN flag through to second
383         check_float_internal call.
384         (copysign_test_data): Add tests with quiet NaNs as second
385         argument.  Use TEST_NAN_SIGN.
386         (fabs_test_data): Add test of negative quiet NaN argument.  Use
387         TEST_NAN_SIGN.
388         (signbit_test_data): Add tests of quiet NaN argument.
389         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
391         * math/gen-libm-test.pl (show_exceptions): Take extra argument
392         $ignore_result.
393         (parse_args): Handle function results specified as IGNORE.
394         * math/libm-test.inc (IGNORE_RESULT): New macro.
395         (check_float_internal): Do not check numerical result if flag
396         IGNORE_RESULT set.
397         (check_complex): Pass through IGNORE_RESULT to second
398         check_float_internal call.
399         (check_int): Do not check numerical result if flag IGNORE_RESULT
400         set.
401         (check_long): Likewise.
402         (check_bool): Likewise.
403         (check_longlong): Likewise.
404         (lrint_test_data): Add tests of infinite and NaN arguments.
405         (lrint_tonearest_test_data): Likewise.
406         (lrint_towardzero_test_data): Likewise.
407         (lrint_downward_test_data): Likewise.
408         (lrint_upward_test_data): Likewise.
409         (llrint_test_data): Likewise.
410         (llrint_tonearest_test_data): Likewise.
411         (llrint_towardzero_test_data): Likewise.
412         (llrint_downward_test_data): Likewise.
413         (llrint_upward_test_data): Likewise.
414         (lround_test_data): Likewise.
415         (llround_test_data): Likewise.
417         * math/libm-test.inc (NO_TEST_INLINE): New macro.
418         (ERRNO_UNCHANGED): Update value.
419         (ERRNO_EDOM): Likewise.
420         (ERRNO_ERANGE): Likewise.
421         (NO_TEST_INLINE_FLOAT): New macro.
422         (NO_TEST_INLINE_DOUBLE): Likewise.
423         (enable_test): New function.
424         (RUN_TEST_f_f): Check enable_test before running test.
425         (RUN_TEST_2_f): Likewise.
426         (RUN_TEST_fff_f): Likewise.
427         (RUN_TEST_c_f): Likewise.
428         (RUN_TEST_f_f1): Likewise.
429         (RUN_TEST_fF_f1): Likewise.
430         (RUN_TEST_fI_f1): Likewise.
431         (RUN_TEST_ffI_f1): Likewise.
432         (RUN_TEST_c_c): Likewise.
433         (RUN_TEST_cc_c): Likewise.
434         (RUN_TEST_f_i): Likewise.
435         (RUN_TEST_f_i_tg): Likewise.
436         (RUN_TEST_ff_i_tg): Likewise.
437         (RUN_TEST_f_b): Likewise.
438         (RUN_TEST_f_b_tg): Likewise.
439         (RUN_TEST_f_l): Likewise.
440         (RUN_TEST_f_L): Likewise.
441         (RUN_TEST_fFF_11): Likewise.
442         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
443         conditionals.
444         (cosh_test_data): Likewise.
445         (exp_test_data): Likewise.
446         (expm1_test_data): Likewise.
447         (hypot_test_data): Likewise.
448         (pow_test_data): Likewise.
449         (sinh_test_data): Likewise.
450         (tanh_test_data): Likewise.
451         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
452         flags argument.
454         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
455         tests with quiet NaN input and output.
456         (acosh_test_data): Likewise.
457         (asin_test_data): Likewise.
458         (asinh_test_data): Likewise.
459         (atan_test_data): Likewise.
460         (atanh_test_data): Likewise.
461         (atan2_test_data): Likewise.
462         (cbrt_test_data): Likewise.
463         (cos_test_data): Likewise.
464         (cosh_test_data): Likewise.
465         (erf_test_data): Likewise.
466         (erfc_test_data): Likewise.
467         (exp_test_data): Likewise.
468         (exp10_test_data): Likewise.
469         (exp2_test_data): Likewise.
470         (expm1_test_data): Likewise.
471         (hypot_test_data): Likewise.
472         (j0_test_data): Likewise.
473         (j1_test_data): Likewise.
474         (jn_test_data): Likewise.
475         (lgamma_test_data): Likewise.
476         (log_test_data): Likewise.
477         (log10_test_data): Likewise.
478         (log1p_test_data): Likewise.
479         (log2_test_data): Likewise.
480         (pow_test_data): Likewise.
481         (scalb_test_data): Likewise.
482         (sin_test_data): Likewise.
483         (sincos_test_data): Likewise.
484         (sinh_test_data): Likewise.
485         (tan_test_data): Likewise.
486         (tanh_test_data): Likewise.
487         (tgamma_test_data): Likewise.
488         (y0_test_data): Likewise.
489         (y1_test_data): Likewise.
490         (yn_test_data): Likewise.
492         [BZ #16167]
493         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
494         argument being NaN and avoid computations with second argument in
495         that case.
496         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
497         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
498         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
500 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
502         * locale/iso-639.def: Add Chitwani Tharu (the).
504 2013-11-14  Andreas Schwab  <schwab@suse.de>
506         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
507         word instead of empty string.
509 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
512         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
514         (__fe_nomask_env): Likewise.
516 2013-11-13  Steve Ellcey  <sellcey@mips.com>
518         * benchtests/bench-timing.h: Include time.h.
520 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
522         [BZ #15997]
523         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
524         to 3.4.0 for x32.
525         * sysdeps/unix/sysv/linux/configure: Regenerated.
527 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
529         [BZ #16151]
530         * stdlib/strtod_l.c (round_and_return): Do not consider
531         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
532         exponent one less than half the least subnormal exponent.
533         * stdlib/test-strtod-round-data: Add more tests.
534         * stdlib/tst-strtod-round.c (tests): Regenerated.
536 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
538         [BZ #14143]
539         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
540         (__fe_mask_env): Likewise.
541         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
542         libm_hidden_proto and add function prototype.
543         (__fe_mask_env): Add function prototype.
544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
545         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
547         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
549         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
551 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
553         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
554         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
556 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
558         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
559         of htab_find_slot().
561 2013-11-11  David S. Miller  <davem@davemloft.net>
563         [BZ #16150]
564         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
565         symbol in the non-vis3 case in static builds.
566         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
567         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
568         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
569         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
571 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
573         [BZ #387]
574         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
575         it is empty.
577 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
579         * benchtests/Makefile: Add bench-strtod.
580         * benchtests/bench-strtod.c: New file: strtod benchtest
582 2013-11-11  Andreas Schwab  <schwab@suse.de>
584         [BZ #16153]
585         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
586         terminating NUL in key length.
588 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
590         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
591         Add artificial ODP entry for vDSO symbol for PPC64.
592         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
593         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
595 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
597         [BZ #15374]
598         * nss/getent.c (services_keys): Recognize services starting with digit.
600 2013-11-06  David S. Miller  <davem@davemloft.net>
602         [BZ #15985]
603         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
604         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
606 2013-11-06  Will Newton  <will.newton@linaro.org>
608         * manual/memory.texi (Malloc Examples): Remove register
609         keyword from examples.
611 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
613         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
615 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
617         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
618         depending on [__GCC_IEC_559 > 0].
619         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
620         depending on [__GCC_IEC_559_COMPLEX > 0].
622 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
624         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
625         to iso-639.def.
627 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
629         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
631 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
633         [BZ #16112]
634         * malloc/malloc (malloc_info): Do not handle first bin as
635         special case.
637 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
639         * locale/iso-639.def: Add Central Nahuatl (nhn).
641 2013-11-01  Bruno Haible  <bruno@clisp.org>
643         [BZ #7003]
644         * manual/math.texi (BSD Random): Specify range upper bound as
645         in POSIX.
647 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
649         * locale/iso-639.def: Add Meadow Mari (mhr).
651 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
653         [BZ #14752], [BZ #15763]
654         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
655         Validate name.
656         * rt/tst_shm.c: Add test for escaping directory.
658 2013-10-31  Andreas Schwab  <schwab@suse.de>
660         [BZ #15917]
661         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
662         followed by 'x' as part of digit sequence.
663         * stdio-common/tst-sscanf.c (double_tests2): New tests.
665 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
667         [BZ #16037]
668         * configure.ac: allow GNU Make 4.0 and greater.
669         * configure: Regenerated.
671 2013-10-30  Will Newton  <will.newton@linaro.org>
673         [BZ #16038]
674         * malloc/hooks.c (memalign_check): Limit alignment to the
675         maximum representable power of two.
676         * malloc/malloc.c (__libc_memalign): Likewise.
677         * malloc/tst-memalign.c (do_test): Add test for very
678         large alignment values.
679         * malloc/tst-posix_memalign.c (do_test): Likewise.
681 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
683         [BZ #11087]
684         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
685         (munmap_chunk): Likewise.
686         (mremap_chunk): Likewise.
688 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
690         [BZ #15799]
691         * stdlib/div.c (div): Remove obsolete code.
692         * stdlib/ldiv.c (ldiv): Likewise.
693         * stdlib/lldiv.c (lldiv): Likewise.
695 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
697         [BZ #16071]
698         * nss/nss_files/files-XXX.c (get_contents_ret): New
699         enumerator.
700         (get_contents): New function.
701         (internal_getent): Use it.  Expand size of LINEBUFLEN.
703 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
705         * configure.in: Moved to ...
706         * configure.ac: ... here. Change reference to configure.in
707         to configure.ac.
708         * sysdeps/arm/preconfigure.ac: ... here.
709         configure.in to configure.ac.
710         * sysdeps/gnu/configure.in: Moved to ...
711         * sysdeps/gnu/configure.ac: ... here.
712         * sysdeps/i386/configure.in: Moved to ...
713         * sysdeps/i386/configure.ac: ... here.
714         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
715         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
716         * sysdeps/mach/configure.in: Moved to ...
717         * sysdeps/mach/configure.ac: ... here.
718         * sysdeps/mach/hurd/configure.in: Moved to ...
719         * sysdeps/mach/hurd/configure.ac: ... here.
720         * sysdeps/powerpc/configure.in: Moved to ...
721         * sysdeps/powerpc/configure.ac: ... here.
722         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
723         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
724         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
725         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
726         * sysdeps/s390/s390-32/configure.in: Moved to ...
727         * sysdeps/s390/s390-32/configure.ac: ... here.
728         * sysdeps/s390/s390-64/configure.in: Moved to ...
729         * sysdeps/s390/s390-64/configure.ac: ... here.
730         * sysdeps/sh/configure.in: Moved to ...
731         * sysdeps/sh/configure.ac: ... here.
732         * sysdeps/sparc/configure.in: Moved to ...
733         * sysdeps/sparc/configure.ac: ... here.
734         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
735         * sysdeps/unix/sysv/linux/configure.ac: ... here.
736         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
737         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
738         * sysdeps/x86_64/configure.in: Moved to ...
739         * sysdeps/x86_64/configure.ac: ... here.
740         * sysdeps/x86_64/preconfigure.in: Moved to ...
741         * sysdeps/x86_64/preconfigure.ac: ... here.
742         * aclocal.m4: Change reference to configure.in to configure.ac.
743         * config.h.in: Likewise.
744         * manual/install.texi: Likewise.
745         * manual/maint.texi: Likewise.
746         * Makefile: Likewise.
747         * malloc/Makefile: Likewise.
748         * nscd/Makefile: Likewise.
749         * Makeconfig: Change reference to configure.in and
750         preconfigure.in to configure.ac and preconfigure.ac
751         respectively.
752         * INSTALL: Regenerated.
753         * configure: Likewise.
754         * sysdeps/gnu/configure: Likewise.
755         * sysdeps/i386/configure: Likewise.
756         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
757         * sysdeps/mach/configure: Likewise.
758         * sysdeps/mach/hurd/configure: Likewise.
759         * sysdeps/powerpc/configure: Likewise.
760         * sysdeps/powerpc/powerpc32/configure: Likewise.
761         * sysdeps/powerpc/powerpc64/configure: Likewise.
762         * sysdeps/s390/s390-32/configure: Likewise.
763         * sysdeps/s390/s390-64/configure: Likewise.
764         * sysdeps/sh/configure: Likewise.
765         * sysdeps/sparc/configure: Likewise.
766         * sysdeps/unix/sysv/linux/configure: Likewise.
767         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
768         * sysdeps/x86_64/configure: Likewise.
769         * sysdeps/x86_64/preconfigure: Likewise.
771 2013-10-29  Andreas Schwab  <schwab@suse.de>
773         * stdio-common/Makefile (tst-swscanf-ENV): Define.
775 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
777         * benchtests/pow-inputs: Add new inputs.
779         * benchtests/exp-inputs: Add new inputs.
781         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
782         conditional check for return value.
783         (__cos32): Likewise.
785 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
787         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
788         to provide a boost for large inputs with word alignment.
789         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
790         implementation based on optimized PPC64 strcpy.
791         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
792         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
793         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
794         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
796 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
798         [BZ #2801]
799         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
801 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
803         [BZ #14876]
804         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
805         * time/tst-strptime.c (day_tests): Add testcase.
807 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
809         [BZ #14029]
810         * manual/pattern.texi: Acknowledge that fnmatch can fail.
812 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
814         [BZ #16074]
815         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
816         MAP_FAILED on error.
818 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
820         [BZ #16072]
821         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
822         heap for large requests.
824 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
826         [BZ #9954]
827         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
828         result if the result has no associated interface.
829         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
830         interface for all 127.X.Y.Z addresses.
832 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
834         * locale/iso-639.def: Add Ligurian (lij)
836 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
838         [BZ #15825]
839         * sunrpc/rpc_main.c: Document rpcgen -5.
841 2013-10-19  Michael Stahl  <mstahl@redhat.com>
843         * elf/rtld.c (do_preload): Print the reason why preloading failed.
845 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
847         [BZ #10278]
848         * posix/glob.c: Match only directories when trailing slash is present.
849         * posix/tst-gnuglob.c (my_opendir): Do not open files.
850         (main): Add testcase.
852 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
854         [BZ #15670]
855         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
857 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
859         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
860         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
861         AUTH_DES and cindex for FIPS 140-2.
862         (DES Encryption): Add cindex FIPS 46-3.
864         * locale/locarchive.h (struct locarhandle): Add fname.
865         * locale/programs/localedef.c (main): Pass ARGV[remaining]
866         if an optional argument was specified to --list-archive,
867         otherwise NULL.
868         * locale/programs/locarchive.c (show_archive_content): Take new
869         argument fname and pass it via ah.fname to open_archive.
870         * locale/programs/localedef.h: Update decl.
871         (open_archive): If AH->fname is non-null, open that file
872         rather than the default file name, and don't ignore ENOENT.
873         (create_archive): Set AH.fname to NULL.
874         (delete_locales_from_archive): Likewise.
875         (add_locales_to_archive): Likewise.
876         * locale/programs/locfile.c (write_all_categories): Likewise.
878 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
879             Aldy Hernandez  <aldyh@redhat.com>
881         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
882         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
883         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
884         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
885         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
886         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
887         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
888         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
889         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
890         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
891         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
892         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
893         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
894         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
895         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
896         Likewise.
897         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
898         Likewise.
899         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
900         Likewise.
901         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
902         Likewise.
903         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
904         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
905         Likewise.
906         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
907         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
908         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
909         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
910         Likewise.
911         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
912         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
913         * sysdeps/powerpc/preconfigure: Likewise.
914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
915         Likewise.
916         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
917         Replace contents of file by #include of <fenv_libc.h>.
918         * sysdeps/powerpc/soft-fp/sfp-machine.h
919         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
920         and <sys/prctl.h>.
921         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
922         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
923         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
924         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
925         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
926         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
927         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
928         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
929         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
930         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
931         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
932         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
934         Allow copysignl PLT reference to be missing.
936 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
937             Joseph Myers  <joseph@codesourcery.com
939         [BZ #15948]
940         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
941         single character.
942         (add_to_tablewc): Assert sequence of wide characters is nonempty.
944 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
946         * elf/tst-tls-dlinfo.c: Don't include tls.h.
947         * elf/tst-tls1.c: Likewise.
948         * elf/tst-tls10.h: Likewise.
949         * elf/tst-tls14.c: Likewise.
950         * elf/tst-tls2.c: Likewise.
951         * elf/tst-tls3.c: Likewise.
952         * elf/tst-tls4.c: Likewise.
953         * elf/tst-tls5.c: Likewise.
954         * elf/tst-tls6.c: Likewise.
955         * elf/tst-tls7.c: Likewise.
956         * elf/tst-tls8.c: Likewise.
957         * elf/tst-tls9.c: Likewise.
958         * elf/tst-tlsmod1.c: Likewise.
959         * elf/tst-tlsmod13.c: Likewise.
960         * elf/tst-tlsmod13a.c: Likewise.
961         * elf/tst-tlsmod14a.c: Likewise.
962         * elf/tst-tlsmod16a.c: Likewise.
963         * elf/tst-tlsmod16b.c: Likewise.
964         * elf/tst-tlsmod2.c: Likewise.
965         * elf/tst-tlsmod3.c: Likewise.
966         * elf/tst-tlsmod4.c: Likewise.
967         * elf/tst-tlsmod5.c: Likewise.
968         * elf/tst-tlsmod6.c: Likewise.
970 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
972         [BZ #12486]
973         * malloc/malloc.c: remove checks for statistics.
975 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
977         [BZ #15277]
978         * inet/inet_net.c (inet_network): Detect additional invalid strings.
979         * inet/tst-network.c: Add testcase.
981 2013-10-17  Andreas Schwab  <schwab@suse.de>
983         [BZ #15218]
984         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
985         to determine canonical name.
987 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
989         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
990         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
991         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
992         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
993         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
994         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
995         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
996         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
997         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
998         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
999         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1000         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1001         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1002         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1003         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1004         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1005         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1006         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1007         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1008         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1009         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1010         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1011         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1012         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
1013         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
1014         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1015         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1016         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
1017         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1018         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
1019         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1020         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1021         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1022         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1023         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1024         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1025         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1026         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1027         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1028         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1029         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1030         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1031         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1032         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1033         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1034         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1035         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1036         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1037         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1038         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1039         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1040         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1041         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1042         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1043         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1044         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1045         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1046         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1048 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
1050         [BZ #16041]
1051         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
1052         make result into a quiet NaN.
1054 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
1056         * soft-fp/adddf3.c: Fix horizontal whitespace.
1057         * soft-fp/addsf3.c: Likewise.
1058         * soft-fp/addtf3.c: Likewise.
1059         * soft-fp/divdf3.c: Likewise.
1060         * soft-fp/divsf3.c: Likewise.
1061         * soft-fp/divtf3.c: Likewise.
1062         * soft-fp/double.h: Likewise.
1063         * soft-fp/eqdf2.c: Likewise.
1064         * soft-fp/eqsf2.c: Likewise.
1065         * soft-fp/eqtf2.c: Likewise.
1066         * soft-fp/extenddftf2.c: Likewise.
1067         * soft-fp/extended.h: Likewise.
1068         * soft-fp/extendsfdf2.c: Likewise.
1069         * soft-fp/extendsftf2.c: Likewise.
1070         * soft-fp/extendxftf2.c: Likewise.
1071         * soft-fp/fixdfdi.c: Likewise.
1072         * soft-fp/fixdfsi.c: Likewise.
1073         * soft-fp/fixdfti.c: Likewise.
1074         * soft-fp/fixsfdi.c: Likewise.
1075         * soft-fp/fixsfsi.c: Likewise.
1076         * soft-fp/fixsfti.c: Likewise.
1077         * soft-fp/fixtfdi.c: Likewise.
1078         * soft-fp/fixtfsi.c: Likewise.
1079         * soft-fp/fixtfti.c: Likewise.
1080         * soft-fp/fixunsdfdi.c: Likewise.
1081         * soft-fp/fixunsdfsi.c: Likewise.
1082         * soft-fp/fixunsdfti.c: Likewise.
1083         * soft-fp/fixunssfdi.c: Likewise.
1084         * soft-fp/fixunssfsi.c: Likewise.
1085         * soft-fp/fixunssfti.c: Likewise.
1086         * soft-fp/fixunstfdi.c: Likewise.
1087         * soft-fp/fixunstfsi.c: Likewise.
1088         * soft-fp/fixunstfti.c: Likewise.
1089         * soft-fp/floatdidf.c: Likewise.
1090         * soft-fp/floatdisf.c: Likewise.
1091         * soft-fp/floatditf.c: Likewise.
1092         * soft-fp/floatsidf.c: Likewise.
1093         * soft-fp/floatsisf.c: Likewise.
1094         * soft-fp/floatsitf.c: Likewise.
1095         * soft-fp/floattidf.c: Likewise.
1096         * soft-fp/floattisf.c: Likewise.
1097         * soft-fp/floattitf.c: Likewise.
1098         * soft-fp/floatundidf.c: Likewise.
1099         * soft-fp/floatundisf.c: Likewise.
1100         * soft-fp/floatunditf.c: Likewise.
1101         * soft-fp/floatunsidf.c: Likewise.
1102         * soft-fp/floatunsisf.c: Likewise.
1103         * soft-fp/floatunsitf.c: Likewise.
1104         * soft-fp/floatuntidf.c: Likewise.
1105         * soft-fp/floatuntisf.c: Likewise.
1106         * soft-fp/floatuntitf.c: Likewise.
1107         * soft-fp/fmadf4.c: Likewise.
1108         * soft-fp/fmasf4.c: Likewise.
1109         * soft-fp/fmatf4.c: Likewise.
1110         * soft-fp/gedf2.c: Likewise.
1111         * soft-fp/gesf2.c: Likewise.
1112         * soft-fp/getf2.c: Likewise.
1113         * soft-fp/ledf2.c: Likewise.
1114         * soft-fp/lesf2.c: Likewise.
1115         * soft-fp/letf2.c: Likewise.
1116         * soft-fp/muldf3.c: Likewise.
1117         * soft-fp/mulsf3.c: Likewise.
1118         * soft-fp/multf3.c: Likewise.
1119         * soft-fp/negdf2.c: Likewise.
1120         * soft-fp/negsf2.c: Likewise.
1121         * soft-fp/negtf2.c: Likewise.
1122         * soft-fp/op-1.h: Likewise.
1123         * soft-fp/op-2.h: Likewise.
1124         * soft-fp/op-4.h: Likewise.
1125         * soft-fp/op-8.h: Likewise.
1126         * soft-fp/op-common.h: Likewise.
1127         * soft-fp/quad.h: Likewise.
1128         * soft-fp/single.h: Likewise.
1129         * soft-fp/soft-fp.h: Likewise.
1130         * soft-fp/sqrtdf2.c: Likewise.
1131         * soft-fp/sqrtsf2.c: Likewise.
1132         * soft-fp/sqrttf2.c: Likewise.
1133         * soft-fp/subdf3.c: Likewise.
1134         * soft-fp/subsf3.c: Likewise.
1135         * soft-fp/subtf3.c: Likewise.
1136         * soft-fp/truncdfsf2.c: Likewise.
1137         * soft-fp/trunctfdf2.c: Likewise.
1138         * soft-fp/trunctfsf2.c: Likewise.
1139         * soft-fp/trunctfxf2.c: Likewise.
1140         * soft-fp/unorddf2.c: Likewise.
1141         * soft-fp/unordsf2.c: Likewise.
1142         * soft-fp/unordtf2.c: Likewise.
1144 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
1146         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
1147         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
1149 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
1151         * elf/dl-libc.c: Clear initfini list after freeing.
1153 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
1155         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
1156         * soft-fp/addsf3.c: Likewise.
1157         * soft-fp/addtf3.c: Likewise.
1158         * soft-fp/divdf3.c: Likewise.
1159         * soft-fp/divsf3.c: Likewise.
1160         * soft-fp/divtf3.c: Likewise.
1161         * soft-fp/double.h: Likewise.
1162         * soft-fp/eqdf2.c: Likewise.
1163         * soft-fp/eqsf2.c: Likewise.
1164         * soft-fp/eqtf2.c: Likewise.
1165         * soft-fp/extenddftf2.c: Likewise.
1166         * soft-fp/extended.h: Likewise.
1167         * soft-fp/extendsfdf2.c: Likewise.
1168         * soft-fp/extendsftf2.c: Likewise.
1169         * soft-fp/extendxftf2.c: Likewise.
1170         * soft-fp/fixdfdi.c: Likewise.
1171         * soft-fp/fixdfsi.c: Likewise.
1172         * soft-fp/fixdfti.c: Likewise.
1173         * soft-fp/fixsfdi.c: Likewise.
1174         * soft-fp/fixsfsi.c: Likewise.
1175         * soft-fp/fixsfti.c: Likewise.
1176         * soft-fp/fixtfdi.c: Likewise.
1177         * soft-fp/fixtfsi.c: Likewise.
1178         * soft-fp/fixtfti.c: Likewise.
1179         * soft-fp/fixunsdfdi.c: Likewise.
1180         * soft-fp/fixunsdfsi.c: Likewise.
1181         * soft-fp/fixunsdfti.c: Likewise.
1182         * soft-fp/fixunssfdi.c: Likewise.
1183         * soft-fp/fixunssfsi.c: Likewise.
1184         * soft-fp/fixunssfti.c: Likewise.
1185         * soft-fp/fixunstfdi.c: Likewise.
1186         * soft-fp/fixunstfsi.c: Likewise.
1187         * soft-fp/fixunstfti.c: Likewise.
1188         * soft-fp/floatdidf.c: Likewise.
1189         * soft-fp/floatdisf.c: Likewise.
1190         * soft-fp/floatditf.c: Likewise.
1191         * soft-fp/floatsidf.c: Likewise.
1192         * soft-fp/floatsisf.c: Likewise.
1193         * soft-fp/floatsitf.c: Likewise.
1194         * soft-fp/floattidf.c: Likewise.
1195         * soft-fp/floattisf.c: Likewise.
1196         * soft-fp/floattitf.c: Likewise.
1197         * soft-fp/floatundidf.c: Likewise.
1198         * soft-fp/floatundisf.c: Likewise.
1199         * soft-fp/floatunsidf.c: Likewise.
1200         * soft-fp/floatunsisf.c: Likewise.
1201         * soft-fp/floatuntidf.c: Likewise.
1202         * soft-fp/floatuntisf.c: Likewise.
1203         * soft-fp/floatuntitf.c: Likewise.
1204         * soft-fp/fmadf4.c: Likewise.
1205         * soft-fp/fmasf4.c: Likewise.
1206         * soft-fp/fmatf4.c: Likewise.
1207         * soft-fp/gedf2.c: Likewise.
1208         * soft-fp/gesf2.c: Likewise.
1209         * soft-fp/getf2.c: Likewise.
1210         * soft-fp/ledf2.c: Likewise.
1211         * soft-fp/lesf2.c: Likewise.
1212         * soft-fp/letf2.c: Likewise.
1213         * soft-fp/muldf3.c: Likewise.
1214         * soft-fp/mulsf3.c: Likewise.
1215         * soft-fp/multf3.c: Likewise.
1216         * soft-fp/negdf2.c: Likewise.
1217         * soft-fp/negsf2.c: Likewise.
1218         * soft-fp/negtf2.c: Likewise.
1219         * soft-fp/op-1.h: Likewise.
1220         * soft-fp/op-2.h: Likewise.
1221         * soft-fp/op-4.h: Likewise.
1222         * soft-fp/op-8.h: Likewise.
1223         * soft-fp/op-common.h: Likewise.
1224         * soft-fp/quad.h: Likewise.
1225         * soft-fp/single.h: Likewise.
1226         * soft-fp/soft-fp.h: Likewise.
1227         * soft-fp/sqrtdf2.c: Likewise.
1228         * soft-fp/sqrtsf2.c: Likewise.
1229         * soft-fp/sqrttf2.c: Likewise.
1230         * soft-fp/subdf3.c: Likewise.
1231         * soft-fp/subsf3.c: Likewise.
1232         * soft-fp/subtf3.c: Likewise.
1233         * soft-fp/truncdfsf2.c: Likewise.
1234         * soft-fp/trunctfdf2.c: Likewise.
1235         * soft-fp/trunctfsf2.c: Likewise.
1236         * soft-fp/trunctfxf2.c: Likewise.
1237         * soft-fp/unorddf2.c: Likewise.
1238         * soft-fp/unordsf2.c: Likewise.
1239         * soft-fp/unordtf2.c: Likewise.
1241 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
1243         [BZ #15672]
1244         * misc/error.c (error_tail): Fix possible buffer overflow.
1246 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
1248         [BZ #13028]
1249         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
1250         address.
1252 2013-10-14  P. J. McDermott  <pj@pehjota.net>
1254         [BZ #832]
1255         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
1256         testing pipefail option.
1258 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
1260         * soft-fp/double.h: Indent preprocessor directives inside #if.
1261         * soft-fp/extended.h: Likewise.
1262         * soft-fp/op-2.h: Likewise.
1263         * soft-fp/op-4.h: Likewise.
1264         * soft-fp/op-common.h: Likewise.
1265         * soft-fp/quad.h: Likewise.
1266         * soft-fp/single.h: Likewise.
1267         * soft-fp/soft-fp.h: Likewise.
1269 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
1271         * iconv/iconv_prog.c: Fix typos.
1272         * stdio-common/psiginfo-data.h: Likewise.
1274 2013-10-12   Reuben Thomas <rrt@sc3d.org>
1276         [BZ #15764]
1277         * locale/setlocale.c: Fix typo.
1279 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
1281         [BZ #16036]
1282         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
1283         signaling NaN arguments.
1284         * soft-fp/unordsf2.c (__unordsf2): Likewise.
1285         * soft-fp/unordtf2.c (__unordtf2): Likewise.
1287         [BZ #14910]
1288         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
1289         unordered operands.
1290         * soft-fp/gesf2.c (__gesf2): Likewise.
1291         * soft-fp/getf2.c (__getf2): Likewise.
1292         * soft-fp/ledf2.c (__ledf2): Likewise.
1293         * soft-fp/lesf2.c (__lesf2): Likewise.
1294         * soft-fp/letf2.c (__letf2): Likewise.
1296         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
1297         * soft-fp/eqsf2.c (__eqsf2): Likewise.
1298         * soft-fp/eqtf2.c (__eqtf2): Likewise.
1299         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
1300         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
1301         * soft-fp/fixdfti.c (__fixdfti): Likewise.
1302         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
1303         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
1304         * soft-fp/fixsfti.c (__fixsfti): Likewise.
1305         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
1306         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
1307         * soft-fp/fixtfti.c (__fixtfti): Likewise.
1308         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
1309         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
1310         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
1311         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
1312         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
1313         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
1314         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
1315         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
1316         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
1317         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
1318         * soft-fp/floatdisf.c (__floatdisf): Likewise.
1319         * soft-fp/floatsisf.c (__floatsisf): Likewise.
1320         * soft-fp/floattidf.c (__floattidf): Likewise.
1321         * soft-fp/floattisf.c (__floattisf): Likewise.
1322         * soft-fp/floattitf.c (__floattitf): Likewise.
1323         * soft-fp/floatundidf.c (__floatundidf): Likewise.
1324         * soft-fp/floatundisf.c (__floatundisf): Likewise.
1325         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
1326         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
1327         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
1328         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
1329         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
1330         * soft-fp/gesf2.c (__gesf2): Likewise.
1331         * soft-fp/getf2.c (__getf2): Likewise.
1332         * soft-fp/ledf2.c (__ledf2): Likewise.
1333         * soft-fp/lesf2.c (__lesf2): Likewise.
1334         * soft-fp/letf2.c (__letf2): Likewise.
1336         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
1337         Undefine and redefine.
1338         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
1339         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
1340         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
1341         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
1342         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1343         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
1344         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1345         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
1346         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1347         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
1348         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1349         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
1350         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1351         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
1352         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1354         [BZ #16032]
1355         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
1356         without decrementing exponent if mantissa >= that for the
1357         denominator, not >.
1358         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
1359         denominator, not >.  Decrement exponent in < case instead of
1360         incrementing in >= case.
1361         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
1362         without decrementing exponent if mantissa >= that for the
1363         denominator, not >.
1365         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
1366         computing saturated result for unsigned overflow.
1368 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1369             Jeff Law  <law@redhat.com>
1371         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
1372         (atan2Mp): Add systemtap probe marker.
1373         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
1374         (__ieee754_log): Add systemtap probe marker.
1375         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
1376         (atanMp): Add systemtap probe marker.
1377         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
1378         (tanMp): Add systemtap probe marker.
1379         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
1380         (__slowexp): Add systemtap probe marker.
1381         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
1382         (__slowpow): Add systemtap probe marker.
1383         * manual/probes.texi: Document probes.
1385 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
1387         [BZ #15362]
1388         * libio/fileops.c (_IO_new_file_write): Return count of bytes
1389         written.
1390         (_IO_new_file_xsputn): Don't return EOF if nothing has been
1391         written.
1392         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
1393         written to buffer but not flushed.
1394         * libio/iofwrite_u.c:  Likewise.
1395         * libio/iopadn.c:  Return bytes returned even if EOF was
1396         encountered.
1397         * libio/iowpadn.c:  Likewise.
1398         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
1399         if _IO_padn does not write the whole buffer.
1400         [!COMPILE_WPRINTF] (PAD): Likewise.
1402 2013-10-10  David S. Miller  <davem@davemloft.net>
1404         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
1405         directory block.
1407 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
1409         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
1410         instead of FSF address.
1411         * soft-fp/fixdfti.c: Likewise.
1412         * soft-fp/fixsfti.c: Likewise.
1413         * soft-fp/fixtfti.c: Likewise.
1414         * soft-fp/fixunsdfti.c: Likewise.
1415         * soft-fp/fixunssfti.c: Likewise.
1416         * soft-fp/fixunstfti.c: Likewise.
1417         * soft-fp/floattidf.c: Likewise.
1418         * soft-fp/floattisf.c: Likewise.
1419         * soft-fp/floattitf.c: Likewise.
1420         * soft-fp/floatuntidf.c: Likewise.
1421         * soft-fp/floatuntisf.c: Likewise.
1422         * soft-fp/floatuntitf.c: Likewise.
1423         * soft-fp/trunctfxf2.c: Likewise.
1425         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
1426         * soft-fp/fixdfti.c: Likewise.
1427         * soft-fp/fixsfti.c: Likewise.
1428         * soft-fp/fixtfti.c: Likewise.
1429         * soft-fp/fixunsdfti.c: Likewise.
1430         * soft-fp/fixunssfti.c: Likewise.
1431         * soft-fp/fixunstfti.c: Likewise.
1432         * soft-fp/floattidf.c: Likewise.
1433         * soft-fp/floattisf.c: Likewise.
1434         * soft-fp/floattitf.c: Likewise.
1435         * soft-fp/floatuntidf.c: Likewise.
1436         * soft-fp/floatuntisf.c: Likewise.
1437         * soft-fp/floatuntitf.c: Likewise.
1438         * soft-fp/trunctfxf2.c: Likewise.
1440 2013-10-10  David S. Miller  <davem@davemloft.net>
1442         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1444 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
1446         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1447         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
1448         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
1449         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
1450         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
1451         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
1452         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
1454         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
1455         for NaNs before doing comparisons on argument.
1456         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1457         Likewise.
1459 2013-10-10  Will Newton  <will.newton@linaro.org>
1461         * malloc/hooks.c (memalign_check): Ensure the value of bytes
1462         passed to _int_memalign does not overflow.
1464 2013-10-10  Torvald Riegel  <triegel@redhat.com>
1466         * scripts/bench.pl: Add include-sources directive.
1467         * benchtests/README: Update documentation.
1469 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
1471         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
1472         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
1473         instead of FP_INIT_ROUNDMODE.
1474         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
1475         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
1477         [BZ #16034]
1478         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
1479         copy class of input value.
1480         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
1481         not handle exceptions.
1482         * soft-fp/negsf2.c (__negsf2): Likewise.
1483         * soft-fp/negtf2.c (__negtf2): Likewise.
1484         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
1486 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
1488         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
1489         semicolon.  From Linux kernel.
1491 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
1493         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
1495 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
1497         [BZ #156]
1498         * manual/socket.texi: Added statement about buffer
1499         for gethostbyname2_r.
1501 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
1503         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
1504         Use .p2align directive instead, throughout.
1505         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1506         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1507         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1508         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1509         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1510         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1511         * sysdeps/x86_64/strchr.S: Likewise.
1512         * sysdeps/x86_64/strrchr.S: Likewise.
1514 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1516         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
1518         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
1520         * sysdeps/generic/math_private.h (__mpsin1): Remove
1521         declaration.
1522         (__mpcos1): Likewise.
1523         (__mpsin): New argument __range_reduce.
1524         (__mpcos): Likewise.
1525         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1526         (slow): Use __mpsin and __mpcos.
1527         (slow1): Likewise.
1528         (slow2): Likewise.
1529         (sloww): Likewise.
1530         (sloww1): Likewise.
1531         (sloww2): Likewise.
1532         (bsloww): Likewise.
1533         (bsloww1): Likewise.
1534         (bsloww2): Likewise.
1535         (cslow2): Likewise.
1536         (csloww): Likewise.
1537         (csloww1): Likewise.
1538         (csloww2): Likewise.
1539         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
1540         range_reduce.  Merge in __mpsin1.
1541         (__mpcos): Likewise.
1542         (__mpsin1): Remove.
1543         (__mpcos1): Likewise.
1545 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
1547         * locale/loadlocale.c (_nl_intern_locale_data): Use
1548         LOCFILE_ALIGNED_P.
1549         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
1550         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
1551         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
1552         obstack data is appropriately aligned.
1553         (obstack_int32_grow_fast): Likewise.
1554         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
1555         * locale/programs/locfile.c (add_locale_uint32): Likewise.
1556         (add_locale_uint32_array): Likewise.
1558 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
1560         * benchtests/Makefile: Remove ARGLIST and RET variables.
1561         ($(objpfx)bench-%.c): Pass only function name to the script.
1562         * benchtests/README: Update documentation.
1563         * benchtests/acos-inputs: Add new directives.
1564         * benchtests/acosh-inputs: Likewise.
1565         * benchtests/asin-inputs: Likewise.
1566         * benchtests/asinh-inputs: Likewise.
1567         * benchtests/atan-inputs: Likewise.
1568         * benchtests/atanh-inputs: Likewise.
1569         * benchtests/cos-inputs: Likewise.
1570         * benchtests/cosh-inputs: Likewise.
1571         * benchtests/exp-inputs: Likewise.
1572         * benchtests/log-inputs: Likewise.
1573         * benchtests/pow-inputs: Likewise.
1574         * benchtests/rint-inputs: Likewise.
1575         * benchtests/sin-inputs: Likewise.
1576         * benchtests/sinh-inputs: Likewise.
1577         * benchtests/tan-inputs: Likewise.
1578         * benchtests/tanh-inputs: Likewise.
1579         * scripts/bench.pl: Add support for new directives.
1581 2013-10-07  Alan Modra  <amodra@gmail.com>
1583         * README: Fix careless merge.
1585 2013-10-05  Alan Modra  <amodra@gmail.com>
1587         * NEWS: Mention powerpc64le support and bugs fixed.
1588         * README: Both big-endian and little-endian powerpc64 supported.
1590 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1592         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
1593         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
1594         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
1595         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
1597 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
1599         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
1600         match prototype.
1602 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
1604         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
1605         Move -mhard-float appending from
1606         ports/sysdeps/powerpc/powerpc32/Makefile.
1607         [$(with-fp) = yes] (ASFLAGS): Likewise.
1608         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
1609         * sysdeps/powerpc/nofpu: Move directory from
1610         ports/sysdeps/powerpc/nofpu.
1611         * sysdeps/powerpc/soft-fp: Move directory from
1612         ports/sysdeps/powerpc/soft-fp.
1613         * sysdeps/powerpc/powerpc32/405: Move directory from
1614         ports/sysdeps/powerpc/powerpc32/405.
1615         * sysdeps/powerpc/powerpc32/440: Move directory from
1616         ports/sysdeps/powerpc/powerpc32/440.
1617         * sysdeps/powerpc/powerpc32/464: Move directory from
1618         ports/sysdeps/powerpc/powerpc32/464.
1619         * sysdeps/powerpc/powerpc32/476: Move directory from
1620         ports/sysdeps/powerpc/powerpc32/476.
1621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
1622         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
1623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
1624         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
1625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
1626         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
1627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
1628         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
1629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
1630         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
1631         * README: Update for powerpc-*-linux-gnu software floating point
1632         support in libc.
1634         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
1635         case to powerpc/powerpc32*.
1636         * sysdeps/unix/sysv/linux/configure: Regenerated.
1638         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
1639         (_FPU_MASK_OM): Define as 0x04.
1640         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
1641         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
1642         0x00c10080.
1643         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
1644         0x0000003c.
1645         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
1647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1648         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1649         getcontext_e500.
1650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1651         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1652         setcontext_e500.
1653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1654         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
1655         and setcontext_e500.
1657 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
1659         * locale/iso-3166.def: Update iso-1366.def and related occurrences
1661 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1663         * manual/threads.texi (Default Thread Attributes): Fix typo.
1665 2013-10-04  Will Newton  <will.newton@linaro.org>
1667         * malloc/Makefile: Add tst-memalign.
1668         * malloc/tst-memalign.c: New file.
1670         * malloc/tst-posix_memalign.c: Add comments.
1671         (do_test): Add comments and call free on all potentially
1672         allocated pointers. Add space after cast.
1674         * malloc/tst-pvalloc.c: Add comments.
1675         (do_test): Add comments and call free on all potentially
1676         allocated pointers. Remove duplicate check for NULL pointer.
1677         Add space after cast.
1679         * malloc/tst-valloc.c: Add comments.
1680         (do_test): Add comments and call free on all potentially
1681         allocated pointers. Remove duplicate check for NULL pointer.
1682         Add space after cast.
1684 2013-10-04  Alan Modra  <amodra@gmail.com>
1686         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1687         Use stdint types in rather than __attribute__((mode())).
1688         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1690 2013-10-04  Alan Modra  <amodra@gmail.com>
1692         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1693         Correct handling of unaligned relocs for little-endian.
1694         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1696 2013-10-04  Alan Modra  <amodra@gmail.com>
1698         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
1699         * configure: Regenerate.
1700         * nptl/shlib-versions: Powerpc*le starts at 2.18.
1701         * shlib-versions: Likewise.
1703 2013-10-04  Alan Modra  <amodra@gmail.com>
1705         * string/tester.c (test_memrchr): Increment reported test cycle.
1707 2013-10-04  Alan Modra  <amodra@gmail.com>
1709         * string/test-memcpy.c (do_one_test): When reporting errors, print
1710         string address and don't overrun end of string.
1712 2013-10-04  Alan Modra  <amodra@gmail.com>
1714         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
1715         insrdi.  Make better use of reg selection to speed exit slightly.
1716         Schedule entry path a little better.  Remove useless "are we done"
1717         checks on entry to main loop.  Handle wrapping around zero address.
1718         Correct main loop count.  Handle single left-over word from main
1719         loop inline rather than by using loop_small.  Remove extra word
1720         case in loop_small caused by wrong loop count.  Add little-endian
1721         support.
1722         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1723         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
1724         cache hint.
1725         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1726         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
1727         support.  Avoid rlwimi.
1728         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
1730 2013-10-04  Alan Modra  <amodra@gmail.com>
1732         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
1733         insrdi.  Formatting.
1734         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1735         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1736         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1737         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1738         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1739         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
1741 2013-10-04  Alan Modra  <amodra@gmail.com>
1743         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
1744         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1745         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1746         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
1747         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1748         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1749         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1750         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1751         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
1752         use of regs.  Use power7 mtocrf.  Tidy function tails.
1754 2013-10-04  Alan Modra  <amodra@gmail.com>
1756         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
1757         Formatting.  Consistently use rXXX register defines or rN defines.
1758         Use early exit labels that avoid restoring unused non-volatile regs.
1759         Make cr field use more consistent with rWORDn compares.  Rename
1760         regs used as shift registers for unaligned loop, using rN defines
1761         for short lifetime/multiple use regs.
1762         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1763         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
1764         addi 1,1,64 to pop stack frame.  Simplify return value code.
1765         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1767 2013-10-04  Alan Modra  <amodra@gmail.com>
1769         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
1770         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
1771         rather than rlwimi.
1772         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
1773         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
1774         little-endian support.  Correct typos.
1775         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
1776         rather than rlwimi.
1777         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
1778         in loop and entry code to keep "and." results.
1779         (strchr): Add little-endian support.  Comment.  Move cntlzd
1780         earlier in tail.
1781         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
1783 2013-10-04  Alan Modra  <amodra@gmail.com>
1785         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
1786         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
1787         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1788         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
1790 2013-10-04  Alan Modra  <amodra@gmail.com>
1792         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
1793         (rTMP): Define as r11.
1794         (strcmp): Add little-endian support.  Optimise tail.
1795         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
1796         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1797         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1798         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1799         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1800         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1801         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1803 2013-10-04  Alan Modra  <amodra@gmail.com>
1805         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
1806         little-endian support.  Remove unnecessary "are we done" tests.
1807         Handle "s" wrapping around zero and extremely large "size".
1808         Correct main loop count.  Handle single left-over word from main
1809         loop inline rather than by using small_loop.  Correct comments.
1810         Delete "zero" tail, use "end_max" instead.
1811         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
1813 2013-10-04  Alan Modra  <amodra@gmail.com>
1815         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
1816         support.  Don't branch over align.
1817         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
1818         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
1819         support.  Rearrange tmp reg use to suit.  Comment.
1820         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
1822 2013-10-04  Alan Modra  <amodra@gmail.com>
1824         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
1826 2013-10-04  Alan Modra  <amodra@gmail.com>
1828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
1829         conditional form of branch and link when obtaining pc.
1830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1832 2013-10-04  Alan Modra  <amodra@gmail.com>
1834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
1835         HIWORD/LOWORD.
1836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
1837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
1839 2013-10-04  Alan Modra  <amodra@gmail.com>
1841         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
1842         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
1843         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1844         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
1845         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1846         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1847         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
1848         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1849         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1850         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
1852 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1853             Alistair Popple <alistair@ozlabs.au.ibm.com>
1854             Alan Modra <amodra@gmail.com>
1856         [BZ #15723]
1857         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
1858         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
1859         _dl_hwcap access for little-endian.
1860         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
1861         destroy vmx regs when saving unaligned.
1862         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
1863         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
1864         destroy vmx regs when saving unaligned.
1866 2013-10-04  Alan Modra  <amodra@gmail.com>
1868         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
1869         Don't use a union to pack hi/low value.
1871 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1873         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
1874         for little-endian.
1875         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1876         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1877         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1878         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1879         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1881 2013-10-04  Alan Modra  <amodra@gmail.com>
1883         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
1884         constants to usual value for .cst8 section, and remove redundant
1885         high address load.
1886         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
1887         constant for 0x1p52.  Load little-endian words of double from
1888         correct stack offsets.
1890 2013-10-04  Alan Modra  <amodra@gmail.com>
1892         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
1893         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
1894         words of double from correct stack offsets.
1895         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1896         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
1897         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1898         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1899         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1900         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1901         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1902         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1903         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1904         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1905         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1906         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1907         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1908         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1909         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1910         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
1911         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1913 2013-10-04  Alan Modra  <amodra@gmail.com>
1915         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
1916         64-bit int/double union.
1917         (_FPU_SETCW): Likewise.
1918         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1919         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
1921 2013-10-04  Alan Modra  <amodra@gmail.com>
1923         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
1924         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
1926 2013-10-04  Alan Modra  <amodra@gmail.com>
1928         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
1929         use vector int constants.
1930         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
1932 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1934         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
1935         array with long long.
1936         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
1937         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
1938         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
1939         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
1940         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
1941         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
1942         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
1943         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
1944         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
1945         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
1946         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
1947         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
1948         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
1950 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1952         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
1953         (__signbit): Likewise.  Correct for little-endian.
1954         (__signbitl): Call __signbit.
1955         (lrint): Correct for little-endian.
1956         (lrintf): Call lrint.
1958 2013-10-04  Alan Modra  <amodra@gmail.com>
1960         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
1961         union 32-bit int array member with 64-bit int array.
1962         (t515, tm256): Double rather than long double.
1963         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
1965 2013-10-04  Alan Modra  <amodra@gmail.com>
1967         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
1968         Delete.
1969         (IEEE854_LONG_DOUBLE_BIAS): Delete.
1970         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
1971         version of math_ldbl.h.
1973 2013-10-04  Alan Modra  <amodra@gmail.com>
1975         [BZ #15734], [BZ #15735]
1976         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
1977         all uses of ieee875 long double macros and unions.  Simplify test
1978         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
1979         ldbl_extract_mantissa value for ix,iy exponents.  Properly
1980         normalize after ldbl_extract_mantissa, and don't add hidden bit
1981         already handled.  Don't treat low word of ieee854 mantissa like
1982         low word of IBM long double and mask off bit when testing for
1983         zero.
1984         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
1985         all uses of ieee875 long double macros and unions.  Simplify tests
1986         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
1987         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
1988         two1022, instead use their values.  Recognise that tests for large
1989         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
1990         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
1991         Rewrite all uses of ieee875 long double macros and unions.  Simplify
1992         test for 0.0L and nan.  Correct negation.
1993         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
1994         ieee875 long double macros and unions.  Correct output for large
1995         magnitude x.  Correct absolute value calculation.
1996         (__erfcl): Likewise.
1997         * math/libm-test.inc: Add tests for errors discovered in IBM long
1998         double versions of fmodl, remainderl, erfl and erfcl.
2000 2013-10-04  Alan Modra  <amodra@gmail.com>
2002         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
2003         all uses of ieee854 long double macros and unions.  Simplify tests
2004         for long doubles that are fully specified by the high double.
2005         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
2006         Likewise.
2007         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
2008         Remove dead code too.
2009         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2010         (__ieee754_ynl): Likewise.
2011         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
2012         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
2013         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2014         Remove dead code too.
2015         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
2016         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
2017         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
2018         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
2019         Simplify.
2020         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
2021         Simplify.
2022         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
2023         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
2024         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
2025         Comment on variable precision.
2026         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
2027         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2028         Likewise.
2029         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2030         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2031         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2032         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
2033         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
2035 2013-10-04  Alan Modra  <amodra@gmail.com>
2037         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
2038         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
2039         all uses of ieee854 long double macros and unions.
2040         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
2041         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2042         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
2043         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
2044         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
2045         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2046         Likewise.
2047         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
2048         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2049         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
2050         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2051         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
2052         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
2053         Simplify sign and nan test too.
2054         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
2055         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
2056         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
2057         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
2058         Likewise.
2059         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
2060         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
2061         Likewise.
2062         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2063         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
2064         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
2065         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
2066         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
2067         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
2069 2013-10-04  Alan Modra  <amodra@gmail.com>
2071         * stdio-common/printf_size.c (__printf_size): Don't use
2072         union ieee854_long_double in fpnum union.
2073         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
2074         signbit macro to retrieve sign from long double.
2075         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
2076         retrieve sign from long double.
2077         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
2078         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
2079         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
2080         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2081         * math/test-misc.c (main): Don't use union ieee854_long_double.
2083 2013-10-04  Alan Modra  <amodra@gmail.com>
2085         [BZ #15680]
2086         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
2087         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
2088         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
2089         calculation.  Remove unnecessary test for denormal exponent.
2090         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
2091         Correct handling of denormals.  Avoid undefined shift behaviour.
2092         Correct normalisation of low mantissa when low double is denormal.
2093         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
2094         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
2095         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
2096         Correct normalisation of low mantissa.  Test for overflow of high
2097         mantissa and normalise.
2098         (ldbl_nearbyint): Use more readable constant for two52.
2099         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
2100         (__mpn_construct_long_double): Fix test for overflow of high
2101         mantissa and correct normalisation.  Avoid undefined shift.
2103 2013-10-04  Alan Modra  <amodra@gmail.com>
2105         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2106         (union ibm_extended_long_double): Define as an array of ieee754_double.
2107         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
2108         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
2109         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
2110         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2111         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2112         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
2113         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2114         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2115         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
2116         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
2117         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2119 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
2121         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
2122         page size instead of calling getpagesize.
2124         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
2125         (LOCFILE_ALIGN_MASK): Likewise.
2126         (LOCFILE_ALIGN_UP): Likewise.
2127         (LOCFILE_ALIGNED_P): Likewise.
2128         * locale/programs/ld-collate.c (collate_output): Use the new
2129         macros instead of __alignof__ (int32_t).
2130         * locale/weight.h (findidx): Likewise.
2132 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
2134         [BZ #431]
2135         * manual/string.texi: Fix strncat and wcsncat.
2137 2013-10-03  Brooks Moses  <bmoses@google.com>
2139         [BZ #15915]
2140         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
2141         * Makerules: ...here, and adjust associated comments.
2143 2013-10-02  Will Newton  <will.newton@linaro.org>
2145         * malloc/Makefile: Add tst-pvalloc.
2146         * malloc/tst-pvalloc.c: New file.
2148 2013-10-02  Will Newton  <will.newton@linaro.org>
2150         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
2151         improve test coverage.
2153 2013-10-02  Will Newton  <will.newton@linaro.org>
2155         * malloc/Makefile: Add tst-posix_memalign.
2156         * malloc/tst-posix_memalign.c: New file.
2158 2013-10-01  Eric Blake  <eblake@redhat.com>
2160         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
2161         Use __THROWNL rather than __THROW on static functions.
2163 2013-09-30  Petr Machata  <pmachata@redhat.com>
2165         * elf/elf.h (R_AARCH64_ABS16): New macro.
2166         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
2167         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
2168         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
2169         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
2170         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
2171         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
2172         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
2173         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
2174         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
2175         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
2176         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
2177         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
2178         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
2179         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
2180         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
2181         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
2182         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
2183         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
2184         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
2185         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
2186         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
2187         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
2188         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
2189         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
2190         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
2191         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
2192         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
2193         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
2194         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
2195         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
2196         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
2197         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
2198         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
2199         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
2200         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
2201         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
2202         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
2203         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
2204         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
2205         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
2206         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
2207         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
2208         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
2209         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
2210         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
2211         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
2212         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
2213         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
2214         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
2215         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
2216         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
2217         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
2218         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
2219         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
2220         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
2221         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
2222         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
2223         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
2224         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
2225         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
2226         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
2227         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
2228         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
2229         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
2230         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
2231         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
2232         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
2233         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
2234         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
2235         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
2236         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
2237         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
2238         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
2239         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
2240         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
2241         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
2242         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
2243         (R_AARCH64_TLSDESC_LDR): Likewise.
2244         (R_AARCH64_TLSDESC_ADD): Likewise.
2245         (R_AARCH64_TLSDESC_CALL): Likewise.
2247 2013-09-30  Andreas Schwab  <schwab@suse.de>
2249         [BZ #15048]
2250         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
2251         the nss database lookup.
2252         * nscd/initgrcache.c (addinitgroupsX): Likewise.
2253         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2255 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
2257         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
2259 2013-09-28  P. J. McDermott  <pj@pehjota.net>
2261         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
2262         ${Bash-specific parameter/pattern/string} parameter expansion.
2263         * sysdeps/unix/make-syscalls.sh: Likewise.
2265 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2267         * sysdeps/sh/stackguard-macros.h: New file.
2269 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
2271         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2272         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
2273         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
2274         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
2275         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2276         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
2278 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2280         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
2281         Fix thread ID register.
2283 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
2285         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
2286         [POSIX || UNIX98]: Require rather than permitting all symbols from
2287         <time.h>.
2288         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
2289         element of struct sched_param.
2290         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
2291         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
2292         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
2293         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
2294         constant.
2296 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
2298         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
2299         argument calculation.
2301 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
2303         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
2304         Expect macro.
2305         [POSIX] (pthread_attr_t): Do not require type.
2306         [POSIX] (pthread_cond_t): Likewise.
2307         [POSIX] (pthread_condattr_t): Likewise.
2308         [POSIX] (pthread_key_t): Likewise.
2309         [POSIX] (pthread_mutex_t): Likewise.
2310         [POSIX] (pthread_mutexattr_t): Likewise.
2311         [POSIX] (pthread_once_t): Likewise.
2312         [POSIX] (pthread_t): Likewise.
2313         [POSIX-based standards] (pthread_atfork): Expect function.
2315 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
2316             Richard Sandiford  <richard@codesourcery.com>
2318         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
2319         (swap_endianness_p): New extern variable.
2320         (set_big_endian): New inline function.
2321         (maybe_swap_uint32): Likewise.
2322         (maybe_swap_uint32_array): Likewise.
2323         (maybe_swap_uint32_obstack): Likewise.
2324         * locale/programs/locfile.c: Include <stdbool.h>.
2325         (swap_endianness_p): New variable.
2326         (add_locale_uint32): Call maybe_swap_uint32.
2327         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
2328         (write_locale_data): Call maybe_swap_uint32_array.
2329         * locale/programs/ld-collate.c (obstack_int32_grow): Call
2330         maybe_swap_uint32.
2331         (obstack_int32_grow_fast): Likewise.
2332         (output_weightwc): Call maybe_swap_uint32_obstack.
2333         (collate_output): Likewise.
2334         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
2335         (OPT_LITTLE_ENDIAN): Likewise.
2336         (options): Add --little-endian and --big-endian options.
2337         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
2338         * locale/programs/locarchive.c: Include "locfile.h".
2339         (GET): New macro.
2340         (SET): Likewise.
2341         (INC): Likewise.
2342         (create_archive): Use the new macros to access fields of
2343         structures directly mapped from or written to locale archives.
2344         (oldlocrecentcmp): Likewise.
2345         (enlarge_archive): Likewise.
2346         (insert_name): Likewise.
2347         (add_alias): Likewise.
2348         (add_locale): Likewise.
2349         (delete_locales_from_archive): Likewise.
2350         (show_archive_content): Likewise.
2351         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
2352         locale data.
2354 2013-09-24  Roland McGrath  <roland@hack.frob.com>
2356         * manual/freemanuals.texi: Updated from (newly) canonical copy at
2357         http://www.gnu.org/doc/freemanuals.texi.
2358         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
2360 2013-09-24  Will Newton  <will.newton@linaro.org>
2362         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
2363         macro.
2365 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
2367         * locale/hashval.h (compute_hashval): Interpret bytes of key as
2368         unsigned char.
2370 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
2372         * manual/threads.texi (POSIX Threads): Fix a typo.
2374 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
2376         [BZ #14547]
2377         * string/tst-strcoll-overflow.c: New test case.
2378         * string/Makefile (xtests): Add tst-strcoll-overflow.
2379         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
2380         cache if string sizes may cause integer overflow.
2382         [BZ #14547]
2383         * string/strcoll_l.c (coll_seq): New members rule, idx,
2384         save_idx and back_us.
2385         (get_next_seq_nocache): New function.
2386         (do_compare_nocache): New function.
2387         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
2388         when malloc fails.
2390 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
2392         [BZ #15754]
2393         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
2394         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
2395         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
2397         [BZ #15754]
2398         * elf/Makefile (tests): Add tst-ptrguard1.
2399         (tests-static): Add tst-ptrguard1-static.
2400         (tst-ptrguard1-ARGS): Define.
2401         (tst-ptrguard1-static-ARGS): Define.
2402         * elf/tst-ptrguard1.c: New file.
2403         * elf/tst-ptrguard1-static.c: New file.
2404         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
2405         * sysdeps/i386/stackguard-macros.h: Likewise.
2406         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2407         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2408         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2409         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2410         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2411         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2413 2013-09-23  Hector Marco  <hecmargi@upv.es>
2414             Ismael Ripoll  <iripoll@disca.upv.es>
2415             Carlos O'Donell  <carlos@redhat.com>
2417         [BZ #15754]
2418         * sysdeps/generic/stackguard-macros.h: Define
2419         __pointer_chk_guard_local and POINTER_CHK_GUARD.
2420         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
2421         Define __pointer_chk_guard_local.
2422         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
2423         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
2425 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
2427         [BZ #15859]
2428         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
2430 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
2432         * include/string.h (__ffs): Declare as hidden.
2433         * string/ffs.c (__ffs): Define as hidden.
2434         * sysdeps/i386/ffs.c (__ffs): Likewise.
2435         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
2436         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
2437         * sysdeps/s390/ffs.c (__ffs): Likewise.
2438         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
2440 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
2442         * NEWS: Mention malloc probes.
2444         * malloc/arena.c (new_heap): New memory_heap_new probe.
2445         (grow_heap): New memory_heap_more probe.
2446         (shrink_heap): New memory_heap_less probe.
2447         (heap_trim): New memory_heap_free probe.
2448         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
2449         (systrim): New memory_sbrk_less probe.
2450         * manual/probes.texi: Document them.
2452         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
2453         * manual/probes.texi: Document it.
2455         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
2456         (__libc_realloc): Add memory_realloc_retry probe.
2457         (__libc_memalign): Add memory_memalign_retry probe.
2458         (__libc_valloc): Add memory_valloc_retry probe.
2459         (__libc_pvalloc): Add memory_pvalloc_retry probe.
2460         (__libc_calloc): Add memory_calloc_retry probe.
2461         * manual/probes.texi: Document them.
2463         * malloc/arena.c (get_free_list): Add probe
2464         memory_arena_reuse_free_list.
2465         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
2466         and memory_arena_reuse.
2467         (arena_get2) [!PER_THREAD]: Likewise.
2468         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
2469         memory_arena_reuse_realloc.
2470         * manual/probes.texi: Document them.
2472         * malloc/malloc.c (__libc_free): Add
2473         memory_mallopt_free_dyn_thresholds probe.
2474         (__libc_mallopt): Add multiple memory_mallopt probes.
2475         * manual/probes.texi: Document them.
2477         * malloc/malloc.c: Include stap-probe.h.
2478         (__libc_mallopt): Add memory_mallopt probe.
2479         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
2480         * manual/probes.texi: New.
2481         * manual/Makefile (chapters): Add probes.
2482         * manual/threads.texi: Set next node.
2484 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
2486         [BZ #15963, #13985]
2487         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
2488         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
2489         Add `Chinese' to `nan' entry name.
2491 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2493         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
2494         (POLYNOMIAL): Likewise.
2495         (TAYLOR_SINCOS): Likewise.
2496         (TAYLOR_SLOW): Likewise.
2497         (__sin): Use TAYLOR_SINCOS.
2498         (__cos): Likewise.
2499         (slow): Use TAYLOR_SLOW.
2500         (sloww): Likewise.
2501         (bsloww): Likewise.
2502         (csloww): Likewise.
2504 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
2506         * stdlib/strtod_l.c: Fix buffer overrun.
2508 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2510         * benchtests/Makefile (bench): Add sincos.
2511         * benchtests/bench-sincos.c: New file.
2513         * math/libm-test.inc (cos_test_data): New test inputs.
2514         (sin_test_data): Likewise.
2516         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
2517         macro.
2518         (__sin): Use it.
2519         (__cos): Likewise.
2520         (slow1): Likewise.
2521         (slow2): Likewise.
2522         (sloww1): Likewise.
2523         (sloww2): Likewise.
2524         (bsloww1): Likewise.
2525         (bsloww2): Likewise.
2526         (cslow2): Likewise.
2527         (csloww1): Likewise.
2528         (csloww2): Likewise.
2530         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
2531         function.
2532         (__sin): Use it.
2533         (__cos): Likewise.
2535         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
2536         gotos.
2537         (__cos): Likewise.
2539 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
2541         * config.h.in (HAVE_MIPS_NAN2008): New macro.
2542         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
2543         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
2544         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
2545         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
2546         * elf/cache.c (print_entry): Handle the new cache flags.
2548 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
2549             Aldy Hernandez  <aldyh@redhat.com>
2551         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
2552         Change condition to [_SOFT_FLOAT].
2553         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
2554         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
2555         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
2556         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
2557         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
2558         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
2559         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
2560         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
2561         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
2562         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
2563         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
2564         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
2565         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
2566         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
2567         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
2568         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
2569         declaration.
2571 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
2573         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
2574         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2575         (__longjmp): Use LOAD_GP to load saved GPRs.
2576         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
2577         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2578         (__sigsetjmp): Use SAVE_GP to save GPRs.
2580         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
2581         Do not append -msoft-float.
2582         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
2584 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2586         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
2588 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
2590         [BZ #15966]
2591         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
2592         (_FPU_GETCW): Use initial "__" on variable and field names but not
2593         on macro parameter name.
2594         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
2595         parentheses around reference to macro parameter.
2597 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
2599         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
2600         prototype.
2601         (ctype_startup): Use uint32_t in cast and sizeof for
2602         ctype->charnames.
2604 2013-09-11  Jia Liu  <proljc@gmail.com>
2606         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
2607         __daddr_t_defined.
2608         [__FreeBSD__]: Likewise.
2610 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
2612         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2613         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
2614         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
2615         (strchr): Remove __strchr_sse42 ifunc selection.
2616         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
2617         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
2619 2013-09-11  Will Newton  <will.newton@linaro.org>
2621         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
2622         parameter to RES. Remove hardcoded 1000 value.
2623         * benchtests/bench-skeleton.c (main): Pass RES parameter
2624         to TIMING_INIT and multiply result by 1000.
2626 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2628         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2630 2013-09-11  Andreas Schwab  <schwab@suse.de>
2632         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2633         if not defined.
2634         (O_TMPFILE) [__USE_GNU]: Define.
2635         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
2636         Define.
2638 2013-09-11  Will Newton  <will.newton@linaro.org>
2640         [BZ #15857]
2641         * malloc/malloc.c (__libc_memalign): Check the value of bytes
2642         does not overflow.
2644 2013-09-11  Will Newton  <will.newton@linaro.org>
2646         [BZ #15856]
2647         * malloc/malloc.c (__libc_valloc): Check the value of bytes
2648         does not overflow.
2650 2013-09-11  Will Newton  <will.newton@linaro.org>
2652         [BZ #15855]
2653         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
2654         does not overflow.
2656 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
2658         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
2659         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2660         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2661         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2662         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2664 2013-09-10  Allan McRae  <allan@archlinux.org>
2666         [BZ #15748]
2667         * manual/arith.texi (Parsing of Floats): Clarify
2668         cross-reference.
2670         [BZ #15849]
2671         * manual/install.texi (Running make install): Mention
2672         --enable-pt-chown.
2673         * INSTALL: Regenerated.
2675 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
2677         * csu/init-first.c (_init): Remove the !SHARED condition around
2678         FPU control word initialization.
2679         * elf/dl-support.c (_dl_fpu_control): New variable.
2680         (_dl_aux_init) <AT_FPUCW>: Initialize it.
2681         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
2682         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
2683         * math/test-fpucw-static.c: New file.
2684         * math/test-fpucw-ieee.c: New file.
2685         * math/test-fpucw-ieee-static.c: New file.
2686         * math/Makefile (tests): Add `test-fpucw-ieee' and
2687         `$(tests-static)'.
2688         (tests-static): New variable.
2689         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
2690         dependency to...
2691         [($(build-shared),yes)]
2692         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2693         ... this.
2694         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
2695         New dependency.
2697 2013-09-09  Allan McRae  <allan@archlinux.org>
2699         [BZ #15939]
2700         * manual/string.texi (Collation Functions): Fix typo in
2701         strcoll example.
2702         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
2704         [BZ #15893]
2705         * stdlib/isomac.c (get_null_defines): Fix memory leak.
2707         [BZ #15892]
2708         * libio/memstream.c (open_memstream): Fix memory leak.
2709         * libio/wmemstream.c (open_wmemstream): Likewise.
2711         [BZ #15895]
2712         * nscd/netgroupcache.c: Fix nesting of ifdefs.
2714 2013-09-09  Will Newton  <will.newton@linaro.org>
2716         * malloc/Makefile: Add tst-realloc to tests.
2717         * malloc/tst-realloc.c: New file.
2719 2013-09-09  Allan McRae  <allan@archlinux.org>
2721         [BZ #15844]
2722         * COPYING: Update from GNU website to fix FSF address.
2723         * COPYING.LIB: Likewise.
2725 2013-09-06  David S. Miller  <davem@davemloft.net>
2727         * po/zh_TW.po: Update Chinese (traditional) translation from
2728         translation project.
2730 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
2731             Joseph Myers  <joseph@codesourcery.com>
2733         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
2734         "localeinfo.h".
2735         (obstack_chunk_alloc): New macro.
2736         (obstack_chunk_free): Likewise.
2737         (record_offset): New function.
2738         (init_locale_data): Likewise.
2739         (align_locale_data): Likewise.
2740         (add_locale_empty): Likewise.
2741         (add_locale_raw_data): Likewise.
2742         (add_locale_raw_obstack): Likewise.
2743         (add_locale_string): Likewise.
2744         (add_locale_wstring): Likewise.
2745         (add_locale_uint32): Likewise.
2746         (add_locale_uint32_array): Likewise.
2747         (add_locale_char): Likewise.
2748         (start_locale_structure): Likewise.
2749         (end_locale_structure): Likewise.
2750         (start_locale_prelude): Likewise.
2751         (end_locale_prelude): Likewise.
2752         (write_locale_data): Take locale_file structure rather than an
2753         iovec.
2754         * locale/programs/locfile.h: Include "obstack.h".
2755         (struct locale_file): Change to store locale file contents instead
2756         of header.
2757         (init_locale_data): New prototype.
2758         (align_locale_data): Likewise.
2759         (add_locale_empty): Likewise.
2760         (add_locale_raw_data): Likewise.
2761         (add_locale_raw_obstack): Likewise.
2762         (add_locale_string): Likewise.
2763         (add_locale_wstring): Likewise.
2764         (add_locale_uint32): Likewise.
2765         (add_locale_uint32_array): Likewise.
2766         (add_locale_char): Likewise.
2767         (start_locale_structure): Likewise.
2768         (end_locale_structure): Likewise.
2769         (start_locale_prelude): Likewise.
2770         (end_locale_prelude): Likewise.
2771         (write_locale_data): Update prototype.
2772         * locale/programs/3level.h (struct TABLE): Remove result field.
2773         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
2774         Use new locale_file interface.
2775         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
2776         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
2777         * locale/programs/ld-address.c (address_output): Use new
2778         locale_file interface.
2779         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
2780         NO_ADD_LOCALE.
2781         (collate_finish): Don't call collseq_table_finalize.
2782         (collate_output): Use new locale_file interface.
2783         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
2784         in file.
2785         (NO_FINALIZE): Change to NO_ADD_LOCALE.
2786         (TABLE): Move defines earlier in file.
2787         (ELEMENT): Likewise.
2788         (DEFAULT): Likewise.
2789         (wctrans_table_add): Move macro and inline function earlier in
2790         file.
2791         (struct wctype_table): Move type earlier in file.
2792         (add_locale_wctype_table): New static prototype.
2793         (struct locale_ctype_t): Use logical types instead of struct iovec
2794         pointers for members.
2795         (ctype_output): Use new locale_file interface.
2796         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
2797         new locale_file interface.
2798         (allocate_arrays): Update for use of new locale_file interface.
2799         * locale/programs/ld-identification.c (identification_output): Use
2800         new locale_file interface.
2801         * locale/programs/ld-measurement.c (measurement_output): Likewise.
2802         * locale/programs/ld-messages.c (messages_output): Likewise.
2803         * locale/programs/ld-monetary.c (monetary_output): Likewise.
2804         * locale/programs/ld-name.c (name_output): Likewise.
2805         * locale/programs/ld-numeric.c (numeric_output): Likewise.
2806         * locale/programs/ld-paper.c (paper_output): Likewise.
2807         * locale/programs/ld-telephone.c (telephone_output): Likewise.
2808         * locale/programs/ld-time.c (time_output): Likewise.
2810 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2812         * benchtests/Makefile: Add memrchr benchmark.
2813         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
2814         benchmark as memrchr.
2815         * benchtests/bench-memrchr-ifunc.c: New file.
2816         * benchtests/bench-memrchr.c: New file.
2818 2013-09-06   Will Newton  <will.newton@linaro.org>
2820         * benchtests/Makefile (string-bench): Add memcpy.
2822 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
2823             Cong Wang  <amwang@redhat.com>
2825         * sysdeps/unix/sysv/linux/bits/in.h
2826         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
2827         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
2828         before __USE_KERNEL_IPV6_DEFS uses.
2829         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
2830         IPPROTO_BEETPH.
2831         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
2832         sockaddr_in6, or ipv6_mreq.
2834 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2836         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
2837         memory access for final bytes in some large inputs.
2838         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
2840 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2842         * string/test-memrchr.c: New file.
2843         * string/test-memrchr-ifunc.c: New file.
2844         * string/Makefile: Add new memrchr testcase.
2846 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
2848         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
2849         fanotify_init returns EPERM.
2851 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
2853         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
2854         errors.
2855         (top level): Treat second token from macro or constant entries for
2856         allowed headers as allowed.
2857         * include/complex.h: Condition internal declarations on
2858         [!_ISOMAC].
2859         * include/fenv.h: Condition include of <stdbool.h> and internal
2860         declarations on [!_ISOMAC].
2862 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
2864         [BZ #15923]
2865         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
2867 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
2869         * configure.in (--enable-versioning): Remove configure option.
2870         (libc_cv_asm_symver_directive): Remove configure test.
2871         (libc_cv_ld_version_script_option): Likewise.
2872         (VERSIONING): Remove variable and AC_SUBST.
2873         (DO_VERSIONING): Remove AC_DEFINE.
2874         * configure: Regenerated.
2875         * config.h.in (DO_VERSIONING): Remove macro.
2876         * Makerules [$(versioning) = yes]: Change conditionals to
2877         [$(build-shared) = yes].
2878         * config.make.in (versioning): Remove variable.
2879         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
2880         [$(build-shared) = yes].
2881         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
2882         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
2883         * elf/Makefile [$(versioning) = yes]: Change conditionals to
2884         [$(build-shared) = yes].
2885         * extra-lib.mk [$(versioning) = yes]: Likewise.
2886         * hurd/Makefile [$(versioning) = yes]: Likewise.
2887         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
2888         [SHARED].
2889         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
2890         [SHARED].
2891         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2892         [SHARED && !NO_HIDDEN].
2893         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
2894         [SHARED].
2895         [SHARED && DO_VERSIONING]: Likewise..
2896         * libio/Makefile [$(versioning) = yes]: Change conditionals to
2897         [$(build-shared) = yes].
2898         * manual/install.texi (--disable-versioning): Remove
2899         documentation.
2900         * INSTALL: Regenerated.
2901         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
2902         to [SHARED].
2903         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
2904         [$(build-shared) = yes].
2905         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
2906         * sysdeps/i386/i686/multiarch/strstr-c.c
2907         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2908         [SHARED && !NO_HIDDEN].
2909         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
2910         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
2911         * sysdeps/powerpc/powerpc32/dl-machine.c
2912         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
2913         * sysdeps/powerpc/powerpc32/sysdep.h
2914         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
2915         to [SHARED && PIC && !NO_HIDDEN].
2916         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
2917         conditional to [SHARED].
2919 2013-09-04   Will Newton  <will.newton@linaro.org>
2921         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
2922         * benchtests/bench-string.h: Include bench-timing.h instead
2923         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
2924         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
2925         call to HP_TIMING_DIFF_INIT.
2926         * benchtests/bench-memccpy.c: Use bench-timing.h macros
2927         instead of hp-timing.h macros.
2928         * benchtests/bench-memchr.c: Likewise.
2929         * benchtests/bench-memcmp.c: Likewise.
2930         * benchtests/bench-memcpy.c: Likewise.
2931         * benchtests/bench-memmem.c: Likewise.
2932         * benchtests/bench-memmove.c: Likewise.
2933         * benchtests/bench-memset.c: Likewise.
2934         * benchtests/bench-rawmemchr.c: Likewise.
2935         * benchtests/bench-strcasecmp.c: Likewise.
2936         * benchtests/bench-strcasestr.c: Likewise.
2937         * benchtests/bench-strcat.c: Likewise.
2938         * benchtests/bench-strchr.c: Likewise.
2939         * benchtests/bench-strcmp.c: Likewise.
2940         * benchtests/bench-strcpy.c: Likewise.
2941         * benchtests/bench-strcpy_chk.c: Likewise.
2942         * benchtests/bench-strlen.c: Likewise.
2943         * benchtests/bench-strncasecmp.c: Likewise.
2944         * benchtests/bench-strncat.c: Likewise.
2945         * benchtests/bench-strncmp.c: Likewise.
2946         * benchtests/bench-strncpy.c: Likewise.
2947         * benchtests/bench-strnlen.c: Likewise.
2948         * benchtests/bench-strpbrk.c: Likewise.
2949         * benchtests/bench-strrchr.c: Likewise.
2950         * benchtests/bench-strspn.c: Likewise.
2951         * benchtests/bench-strstr.c: Likewise.
2953 2013-09-04  Will Newton  <will.newton@linaro.org>
2955         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
2957 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
2959         [BZ #15427]
2960         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2961         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
2962         * math/libm-test.inc (lgamma_test_data): Add more tests.
2963         * sysdeps/i386/fpu/libm-test-ulps: Update.
2964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2966 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
2968         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
2969         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2970         Add ifunc.
2971         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2972         Add strcmp-sse2-unaligned
2973         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
2975 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
2977         * Versions.def (libc): Add GLIBC_2.19.
2979 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
2981         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
2982         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
2984 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
2986         [BZ #14155]
2987         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
2988         intermediate calculations in recurrence.
2989         (__ieee754_ynf): Likewise.
2990         * math/libm-test.inc (jn_test_data): Do not allow spurious
2991         underflow exception.  Add more tests.
2992         (yn_test_data): Add more tests.
2993         * sysdeps/i386/fpu/libm-test-ulps: Update.
2994         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2996 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
2998         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
3000 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
3002         * csu/init-first.c: Fix then/than typos.
3003         * locale/programs/ld-collate.c: Likewise.
3004         * locale/programs/linereader.h: Likewise.
3005         * manual/charset.texi: Likewise.
3006         * manual/filesys.texi: Likewise.
3007         * manual/stdio.texi: Likewise.
3008         * manual/string.texi: Likewise.
3009         * stdlib/fmtmsg.c: Likewise.
3010         * sysdeps/i386/stpncpy.S: Likewise.
3011         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3012         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3013         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3014         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3016 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
3018         * elf/dl-open.c: Fix typos.
3019         * iconvdata/gbbig5.c: Likewise.
3020         * iconvdata/iso-2022-jp.c: Likewise.
3021         * iconv/gconv_int.h: Likewise.
3022         * iconv/loop.c: Likewise.
3023         * nis/rpcsvc/nis.h: Likewise.
3024         * resolv/ns_name.c: Likewise.
3025         * stdio-common/vfscanf.c: Likewise.
3026         * streams/stropts.h: Likewise.
3027         * sunrpc/rpc_thread.c: Likewise.
3028         * sysdeps/i386/strpbrk.S: Likewise.
3029         * sysdeps/ieee754/k_standard.c: Likewise.
3030         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3031         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3032         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
3033         * sysdeps/mach/hurd/profil.c: Likewise.
3034         * sysdeps/s390/dl-procinfo.h: Likewise.
3035         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
3036         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3037         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
3038         * sysdeps/x86_64/dl-trampoline.S: Likewise.
3039         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3041 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
3043         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
3044         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
3046 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
3048         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
3049         aix specific files.
3050         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
3051         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
3052         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
3053         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
3054         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
3055         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
3056         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
3057         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
3059 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
3060             Roland McGrath  <roland@hack.frob.com>
3062         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
3063         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
3065 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3067         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
3068         __executable_start symbol instead of _start.
3070 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
3072         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
3073         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
3074         Move macros to...
3075         * sysdeps/gnu/ldsodefs.h: ... this new file.
3077         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
3078         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
3079         instead of ELFOSABI_LINUX.
3081         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
3082         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
3083         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
3084         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
3085         Likewise.
3086         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
3087         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
3088         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
3089         Likewise.
3090         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3091         (ibm_extended_long_double): Add ieee_nan member.
3092         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
3093         (do_test): New function.
3095         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
3096         TEST_TRUNC.
3097         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
3098         functions, renamed from truncdfsf_test, trunctfsf_test,
3099         trunctfdf_test.
3100         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
3101         functions.
3102         (do_test): Run all these.
3104 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
3106         * argp/argp-help.c: Fix typos.
3107         * argp/argp-parse.c: Likewise.
3108         * debug/backtracesyms.c: Likewise.
3109         * elf/elf.h: Likewise.
3110         * malloc/malloc.c: Likewise.
3111         * nis/nis_print.c: Likewise.
3112         * resolv/res_comp.c: Likewise.
3113         * stdlib/stdlib.h: Likewise.
3114         * sunrpc/clnt_tcp.c: Likewise.
3115         * sunrpc/clnt_udp.c: Likewise.
3116         * sunrpc/clnt_unix.c: Likewise.
3117         * sysdeps/unix/bsd/ptsname.c: Likewise.
3118         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3119         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
3120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
3121         Likewise.
3122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
3123         Likewise.
3124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3125         Likewise.
3126         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3128 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3130         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
3131         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3133 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
3135         [BZ #15897]
3136         * dlfcn/Makefile (tests): Add bug-dl-leaf.
3137         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
3138         ($(objpfx)bug-dl-leaf): New rule.
3139         ($(objpfx)bug-dl-leaf.so): Likewise.
3140         ($(objpfx)bug-dl-leaf.out): Likewise.
3141         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
3142         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
3143         * dlfcn/bug-dl-leaf.c: New test.
3144         * dlfcn/bug-dl-leaf-lib.c: Likewise.
3145         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
3146         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
3147         (dlclose): Likewise.
3148         (dlmopen): Likewise.
3150 2013-08-27  Roland McGrath  <roland@hack.frob.com>
3152         * include/netdb.h [!_ISOMAC]:
3153         Don't include <tls.h>.
3154         (h_errno, __libc_h_errno): Move declaration and macros out of
3155         [_LIBC_REENTRANT].
3157         * include/resolv.h [_RESOLV_H_]:
3158         Don't include <tls.h>.
3159         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
3160         * resolv/res_libc.c: Don't include <tls.h>.
3161         (_res): Use __attribute__ ((nocommon)) in place of
3162         __attribute__ ((section (".bss"))).
3164         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
3165         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
3167         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
3169         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
3170         only under [SIOCGIFCONF && SIOCGIFNETMASK].
3172         * resolv/res_mkquery.c: Include <sys/time.h>.
3174         * inet/ifreq.c: Moved to ...
3175         * sysdeps/unix/ifreq.c: ... here.
3176         * inet/ifreq.c: New file, true stub version.
3178         * socket/sa_len.c: New file.
3179         * socket/Makefile (aux): Add it.
3180         * sysdeps/unix/sysv/linux/Makefile
3181         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
3182         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
3183         and #include <socket/sa_len.c>.
3184         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
3185         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
3187         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
3188         * bits/socket.h: ... here.
3190         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
3191         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
3192         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
3194 2013-08-27  Andreas Schwab  <schwab@suse.de>
3196         [BZ #15736]
3197         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
3198         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
3199         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
3200         * string/test-strcasecmp.c (test_main): Run tests in several
3201         locales.
3202         * string/test-strncasecmp.c (test_main): Likewise.
3204         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
3205         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
3206         to __strcasecmp_nonascii and __strncasecmp_nonascii.
3207         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
3208         (__strncasecmp_ssse3) [PIC]: Likewise.
3210 2013-08-26  Roland McGrath  <roland@hack.frob.com>
3212         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
3214         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
3215         instead of explicitly declaring xdecrypt.
3216         * nis/nss_nis/nis-publickey.c: Likewise.
3218 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3220         [BZ #15890]
3221         * nscd/aicache.c: Include res_hconf.h.
3222         (addhstaiX): Initialize res_hconf.
3224 2013-08-26  Andreas Schwab  <schwab@suse.de>
3226         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
3227         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
3229 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3231         * nscd/aicache.c (addhstaiX): Fix indentation.
3233 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
3235         * configure.ac: Quote $build_pt_chown test.
3236         * configure: Regenerated.
3238 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
3240         [BZ #15532]
3241         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
3242         * math/s_cexpf.c (__cexpf): Likewise.
3243         * math/s_cexpl.c (__cexpl): Likewise.
3244         * math/libm-test.inc (cexp_test_data): Correct expected return
3245         value for NaN + i0.  Add another test.
3247 2013-08-22  David S. Miller  <davem@davemloft.net>
3249         * po/ca.po: Update Catalan translation from translation project.
3250         * po/uk.po: Add Ukrainian translations from translation project.
3252 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
3254         [BZ #15797]
3255         * math/s_fdim.c (__fdim): Check for infinite arguments if result
3256         is infinite, not alongside NaN test.
3257         * math/s_fdimf.c (__fdimf): Likewise.
3258         * math/s_fdiml.c (__fdiml): Likewise.
3259         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
3260         errno is unchanged.
3262 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
3264         * argp/argp-help.c: Fix typos.
3265         * crypt/speeds.c: Likewise.
3266         * csu/check_fds.c: Likewise.
3267         * elf/dl-load.c: Likewise.
3268         * elf/dl-open.c: Likewise.
3269         * elf/reldep3.c: Likewise.
3270         * elf/reldep.c: Likewise.
3271         * elf/sprof.c: Likewise.
3272         * iconv/iconv_charmap.c: Likewise.
3273         * iconv/skeleton.c: Likewise.
3274         * iconv/strtab.c: Likewise.
3275         * io/lockf64.c: Likewise.
3276         * libio/libioP.h: Likewise.
3277         * resolv/gai_notify.c: Likewise.
3278         * resolv/ns_name.c: Likewise.
3279         * resolv/ns_samedomain.c: Likewise.
3280         * resolv/res_send.c: Likewise.
3281         * stdlib/random.c: Likewise.
3282         * sunrpc/rpc/xdr.h: Likewise.
3283         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
3284         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3285         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3286         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3287         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3288         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3289         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3290         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3291         * sysdeps/mach/hurd/check_fds.c: Likewise.
3292         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3293         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3294         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3295         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3296         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3297         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3298         * sysdeps/pthread/aio_notify.c: Likewise.
3299         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
3300         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
3301         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
3302         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3303         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3305 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3307         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
3308         version if bit_Slow_SSE4_2 is set.
3309         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3310         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3312 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3314         [BZ #15867]
3315         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
3316         trampoline stack frame information.
3317         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
3318         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
3319         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
3320         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
3321         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
3322         * sysdeps/unix/sysv/linux/powerpc/init-first.c
3323         (_libc_vdso_platform_setup): Initialize the signal trampolines.
3324         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
3325         sa_flags value.
3326         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
3327         interrupting a syscall and set with option SA_SIGINFO.
3329 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
3331         [BZ #15531]
3332         * math/s_cproj.c (__cproj): Only return an infinity if one part of
3333         argument is infinite.
3334         * math/s_cprojf.c (__cprojf): Likewise.
3335         * math/s_cprojl.c (__cprojl): Likewise.
3336         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
3337         * math/libm-test.inc (cproj_test_data): Add more tests.
3339         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
3341         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
3342         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
3343         size.  Use __ffs to determine corresponding shift.
3345 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
3346             Roland McGrath  <roland@hack.frob.com>
3348         * Makefile (INSTALL): Remove trailing blank lines from output of
3349         makeinfo.
3351 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3353         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
3354         Align 32 bit compat elf_greg to 8 bytes.
3356 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3358         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
3360 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
3362         * string/strcoll_l.c (coll_seq): New structure.
3363         (get_next_seq_cached): New function.
3364         (get_next_seq): New function.
3365         (do_compare): New function.
3366         (STRCOLL): Use GNU style definition.  Simplify implementation
3367         by using get_next_seq, get_next_seq_cached and do_compare.
3369 2013-08-16  Florian Weimer  <fweimer@redhat.com>
3371         [BZ #14699]
3372         CVE-2013-4237
3373         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
3374         member.
3375         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
3376         member.
3377         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
3378         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
3379         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
3380         conditional.
3381         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
3382         GETDENTS_64BIT_ALIGNED.
3383         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3384         * manual/filesys.texi (Reading/Closing Directory): Document
3385         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
3386         strongly.
3387         * manual/conf.texi (Limits for Files): Add portability note to
3388         NAME_MAX, PATH_MAX.
3389         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
3391 2013-08-13  Andreas Schwab  <schwab@suse.de>
3393         [BZ #15749]
3394         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
3395         of fabs.
3396         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
3397         LDBL_MAX_EXP >= 16384]: Add tests for it.
3399 2013-08-12  David S. Miller  <davem@davemloft.net>
3401         * version.h (RELEASE): Set to "development".
3402         (VERSION): Set to "2.18.90".
3403         * NEWS: Add 2.19 section.
3405 2013-08-03  David S. Miller  <davem@davemloft.net>
3407         * po/ko.po: Update Korean translation from translation project.
3409 2013-08-01  David S. Miller  <davem@davemloft.net>
3411         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
3412         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
3413         Bilka.
3415 2013-07-30  David S. Miller  <davem@davemloft.net>
3417         * po/fr.po: Update French translation from translation project.
3419 2013-07-28  David S. Miller  <davem@davemloft.net>
3421         * po/cs.po: Update Czech translation from translation project.
3423         * po/sv.po: Update Swedish translation from translation project.
3425 2013-07-27  David S. Miller  <davem@davemloft.net>
3427         * po/eo.po: Update Esperanto translation from translation project.
3429         * po/vi.po: Update Vietnamese translation from translation project.
3431         * po/de.po: Update German translation from translation project.
3433 2013-07-26  David S. Miller  <davem@davemloft.net>
3435         * po/bg.po: Update Bulgarian translation from translation project.
3437         * po/nl.po: Update Dutch translation from translation project.
3438         * po/pl.po: Update Polish translation from translation project.
3439         * po/ru.po: Update Russian translation from translation project.
3441 2013-07-24  David S. Miller  <davem@davemloft.net>
3443         * po/libc.pot: Update.
3445 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3447         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
3448         variable page size.
3449         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
3450         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
3451         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
3453 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3455         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
3457 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3458             Andreas Schwab  <schwab@suse.de>
3459             Roland McGrath  <roland@hack.frob.com>
3460             Joseph Myers  <joseph@codesourcery.com>
3461             Carlos O'Donell  <carlos@redhat.com>
3463         [BZ #15755]
3464         * config.h.in: Define HAVE_PT_CHOWN.
3465         * config.make.in (build-pt-chown): New variable.
3466         * configure.in (--enable-pt_chown): New configure option.
3467         * configure: Regenerate.
3468         * login/Makefile: Include Makeconfig.  Build pt_chown only if
3469         build-pt-chown is enabled.
3470         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
3471         pt_chown to fix pty ownership.
3472         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
3473         CLOSE_ALL_FDS.
3474         * manual/install.texi (Configuring and compiling): Mention
3475         --enable-pt_chown. Add @findex for grantpt.
3476         * INSTALL: Regenerate.
3478 2013-07-20  David S. Miller  <davem@davemloft.net>
3480         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
3481         difference between 32-bit and 64-bit.
3483 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
3485         [BZ #15711]
3486         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
3487         Avoid system header dependency with -ffreestanding.
3488         ($(objpfx)bits/syscall%d): Likewise.
3490 2013-07-13  David S. Miller  <davem@davemloft.net>
3492         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
3493         underflows from atanl/atan2l due to bug 15319.
3494         (casinh_test_data): Likewise.
3496 2013-07-07  David S. Miller  <davem@davemloft.net>
3498         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3500 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
3502         * sysdeps/i386/fpu/libm-test-ulps: Update.
3503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3505 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3507         * configure.in (--enable-lock-elision): Fix message text.
3508         * INSTALL: Regenerate.
3509         * configure: Regenerate.
3511 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3513         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3515 2013-07-03  Andreas Jaeger  <aj@suse.de>
3517         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
3518         define.
3519         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
3520         (ptrace_peeksiginfo_args): Add.
3521         (__ptrace_peeksiginfo_flags): Add.
3522         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3523         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3524         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3526 2013-07-03  Allan McRae  <allan@archlinux.org>
3528         * sysdeps/i386/fpu/libm-test-ulps: Update.
3530 2013-07-02  David S. Miller  <davem@davemloft.net>
3532         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3534 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
3536         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3538 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
3540         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3543 2013-07-02  Andi Kleen <ak@linux.intel.com>
3545         * config.h.in (ENABLE_LOCK_ELISION): Add.
3546         * configure.in (--enable-lock-elision): Add option.
3547         * manual/install.texi: Document --enable lock elision.
3548         * configure: Regenerate
3549         * INSTALL: Regenerate.
3551 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
3553         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
3554         SSE4.2 strcasecmp for libc.a.
3555         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3557 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
3559         [BZ #13304]
3560         * soft-fp/op-common.h (_FP_FMA): New macro.
3561         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
3562         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
3563         (_FP_MUL_MEAT_1_imm): ... here.
3564         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
3565         (_FP_MUL_MEAT_1_wide): ... here.
3566         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
3567         (_FP_MUL_MEAT_1_hard): ... here.
3568         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
3569         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
3570         (_FP_MUL_MEAT_2_wide): ... here.
3571         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
3572         (_FP_MUL_MEAT_2_wide_3mul): ... here.
3573         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
3574         (_FP_MUL_MEAT_2_gmp): ... here.
3575         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
3576         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
3577         (_FP_MUL_MEAT_4_wide): ... here.
3578         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
3579         (_FP_MUL_MEAT_4_gmp): ... here.
3580         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
3581         (_FP_WFRACBITS_DW_S): Likewise.
3582         (_FP_WFRACXBITS_DW_S): Likewise.
3583         (_FP_HIGHBIT_DW_S): Likewise.
3584         (FP_FMA_S): Likewise.
3585         (_FP_FRAC_HIGH_DW_S): Likewise.
3586         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
3587         (_FP_WFRACBITS_DW_D): Likewise.
3588         (_FP_WFRACXBITS_DW_D): Likewise.
3589         (_FP_HIGHBIT_DW_D): Likewise.
3590         (FP_FMA_D): Likewise.
3591         (_FP_FRAC_HIGH_DW_D): Likewise.
3592         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
3593         (_FP_WFRACBITS_DW_E): Likewise.
3594         (_FP_WFRACXBITS_DW_E): Likewise.
3595         (_FP_HIGHBIT_DW_E): Likewise.
3596         (FP_FMA_E): Likewise.
3597         (_FP_FRAC_HIGH_DW_E): Likewise.
3598         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
3599         (_FP_WFRACBITS_DW_Q): Likewise.
3600         (_FP_WFRACXBITS_DW_Q): Likewise.
3601         (_FP_HIGHBIT_DW_Q): Likewise.
3602         (FP_FMA_Q): Likewise.
3603         (_FP_FRAC_HIGH_DW_Q): Likewise.
3604         * soft-fp/fmasf4.c: New file.
3605         * soft-fp/fmadf4.c: Likewise.
3606         * soft-fp/fmatf4.c: Likewise.
3608 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3610         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
3611         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
3612         Silvermont.
3613         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
3614         macro.
3615         (index_Slow_SSE4_2): Likewise.
3616         (index_Prefer_PMINUB_for_stringop): Likewise.
3617         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
3618         bit_Slow_SSE4_2 is set.
3619         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3620         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3622 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3624         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
3625         rtld_global._dl_hwcap2.
3626         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
3627         POWER8.
3628         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
3629         POWER8 feature descriptions defined in _dl_hwcap2.
3630         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
3631         string handling for POWER8 feature bits.
3632         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
3633         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
3634         _dl_powerpc_cap_flags.
3635         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
3636         * sysdeps/powerpc/rtld-global-offsets.sym
3637         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
3638         _dl_hwcap2 in the rtld_global_ro structure.
3640 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3642         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
3643         hardware capabilities in support of AT_HWCAP2.
3644         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
3645         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
3646         GLRO(dl_hwcap2).
3647         (_dl_show_auxv): Add support for calling _dl_procinfo to display
3648         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
3649         explicitly the unknown a_type display mechanism is used.
3650         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
3651         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
3652         struct member.
3653         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
3654         to macro prototype for AT_HWCAP2 support.
3655         * sysdeps/i386/dl-procinfo.h: Likewise.
3656         * sysdeps/s390/dl-procinfo.h: Likewise.
3657         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
3658         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
3659         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
3660         return -1 for unknown a_type display fallback.
3661         * sysdeps/sparc/dl-procinfo.h: Likewise.
3662         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3663         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3665 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
3667         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
3668         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
3670 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
3672         [BZ #12492]
3673         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
3674         mprotect making __stack_prot writable.
3676 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
3677             Joseph Myers  <joseph@codesourcery.com>
3679         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
3680         as being properly aligned.
3682 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
3684         * dlfcn/modstatic5.c: New file.
3685         * dlfcn/tststatic5.c: New file.
3686         * dlfcn/Makefile (tests): Add tststatic5.
3687         (tests-static): Likewise.
3688         (modules-names): Add modstatic5.
3689         (tststatic5-ENV): New variable.
3690         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
3692         [BZ #15022]
3693         * elf/dl-support.c (_dl_main_map): New variable.
3694         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
3695         (_dl_nns, _dl_load_adds): Set to 1.
3696         (_dl_initial_searchlist): Refer to _dl_main_map.
3697         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
3698         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
3699         call to _dl_get_origin.
3700         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
3701         around call_map.
3702         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
3703         * dlfcn/modstatic3.c: New file.
3704         * dlfcn/tststatic3.c: New file.
3705         * dlfcn/tststatic4.c: New file.
3706         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
3707         (tests-static): Likewise.
3708         (modules-names): Add modstatic3.
3709         (tststatic3-ENV, tststatic4-ENV): New variables.
3710         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
3711         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
3713 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
3715         * configure.in (CC): Require GCC version 4.4 or later.
3716         * configure: Regenerated.
3717         * manual/install.texi (Tools for Compilation): Update GCC version
3718         requirement.
3719         * INSTALL: Regenerated.
3721 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3723         [BZ #15674]
3724         * string/test-memcmp.c (check2): New.
3725         (main): Call check2.
3727         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
3729 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
3731         [BZ #15022]
3732         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
3733         over to...
3734         (dl_open_worker) [!SHARED]: ... here.
3736 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3738         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
3740 2013-06-25  Richard Henderson  <rth@redhat.com>
3742         * locale/programs/locarchive.c: Include <libc-internal.h>
3744 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
3746         * manual/texinfo.tex: Update to version 2013-06-21.17, with
3747         trailing whitespace removed.
3749 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
3751         [BZ #10283]
3752         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
3753         * locale/programs/locarchive.c: Include libc-mmap.h.
3754         (prepare_address_space): Take two new outputs (the mmap base and len).
3755         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
3756         values.
3757         (create_archive): Declare new mmap base and len values for
3758         prepare_address_space, and store the result in ah.
3759         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
3760         (enlarge_archive): If ah->mmap_base is not NULL, use that and
3761         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3762         Declare new mmap base and len values for
3763         prepare_address_space, and store the result in new_ah.
3764         (open_archive): Declare new mmap base and len values for
3765         prepare_address_space, and store the result in ah.
3766         (close_archive): If ah->mmap_base is not NULL, use that and
3767         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3768         * sysdeps/generic/libc-mmap.h: New file.
3770 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
3772         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
3773         (ALIGN_UP): Likewise.
3774         (PTR_ALIGN_DOWN): Likewise.
3775         (PTR_ALIGN_UP): Likewise.
3777 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3779         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
3780         entry mapped to PPC_PLATFORM_POWER8.
3781         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
3782         POWER8.
3783         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
3784         (_dl_string_platform): Add case for exporting platform position for
3785         POWER8.
3786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
3787         search path to sysdeps/powerpc/powerpc32/power8 directory.
3788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
3789         search path to sysdeps/powerpc/powerpc64/power8 directory.
3790         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
3791         power7 directories.
3792         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
3793         power7 directories.
3795 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3797         * INSTALL: Regenerate.
3799         * nscd/connections.c (nscd_init): Fix comment.
3801 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
3803         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
3805         [BZ #15667]
3806         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
3807         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
3809 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
3811         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
3812         DL_DST_REQ_STATIC.
3813         (DL_DST_REQ_STATIC): Remove macro.
3815 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
3817         [BZ #7006]
3818         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
3819         with a shift of 0 bits.
3821 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
3823         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
3824         $(tststatic-ENV).
3826 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3828         [BZ #15655]
3829         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
3831 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3833         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
3834         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
3835         accepts -fno-tree-loop-distribute-patterns.
3836         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
3837         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
3838         recursive call.
3839         * string/memset.c (memset): Likewise.
3840         * string/test-memmove.c (simple_memmove): Disable loop transformation
3841         to library calls.
3842         * string/test-memset.c (simple_memset): Likewise.
3843         * benchtests/bench-memmove.c (simple_memmove): Likewise.
3844         * benchtests/bench-memset.c (simple_memset): Likewise.
3845         * configure: Regenerated.
3847 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
3849         * math/test-misc.c (main): Ignore fesetround failure when failures
3850         of subsequent rounding tests would be ignored.
3852         [BZ #15654]
3853         * math/fedisblxcpt.c (fedisableexcept): Return 0.
3854         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
3855         * math/fegetenv.c (__fegetenv): Return 0.
3856         * math/fegetexcept.c (fegetexcept): Return 0.
3857         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
3858         FE_TONEAREST.
3859         * math/feholdexcpt.c (feholdexcept): Return 0.
3860         * math/fesetenv.c (__fesetenv): Return 0.
3861         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
3862         argument FE_TONEAREST.
3863         * math/feupdateenv.c (__feupdateenv): Return 0.
3864         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
3866 2013-06-18  Roland McGrath  <roland@hack.frob.com>
3868         * elf/rtld-Rules (rtld-compile-command.S): New variable.
3869         (rtld-compile-command.s, rtld-compile-command.c): New variables.
3870         ($(objpfx)rtld-%.os rules): Use them.
3872 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3874         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
3875         fields.
3877 2013-06-17  Roland McGrath  <roland@hack.frob.com>
3879         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
3880         length of target pattern, then descending length of dependency pattern.
3881         * configure.in (AWK): Require gawk 3.1.2 or newer.
3882         * manual/install.texi (Tools for Compilation): Say that we do.
3883         * configure: Regenerated.
3885         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
3886         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
3887         * scripts/sysd-rules.awk: ... this new script.
3888         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
3889         than a glob-style pattern.
3891 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
3893         * math/test-misc.c (main): Do not treat incorrectly rounded
3894         conversions as failure unless ROUNDING_TESTS passes.
3896 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
3898         [BZ #15631]
3899         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
3900         restore exception state around main square root computation, then
3901         check for inexactness explicitly.
3903         * math/libm-test.inc (fma_test_data): Add another test.
3905 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3907         * manual/threads.texi (Non-POSIX Extensions): New document
3908         node.  Document pthread_getattr_default_np and
3909         pthread_setattr_default_np.
3911         * Versions.def (libpthread): Add GLIBC_2.18.
3912         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
3913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3914         Likewise.
3915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3916         Likewise.
3917         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3918         Likewise.
3919         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3920         Likewise.
3921         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
3922         Likewise.
3923         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3924         Likewise.
3925         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3926         Likewise.
3927         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3928         Likewise.
3929         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3930         Likewise.
3932 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3934         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3935         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
3937 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3938             H.J. Lu  <hjl.tools@gmail.com>
3940         [BZ #15627]
3941         * sysdeps/x86_64/rtld-memset.c: Remove file.
3942         * sysdeps/x86_64/rtld-memset.S: New file.
3944 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
3946         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
3947         (test_in_one_mode): Take arguments for whether the rounding mode
3948         is supported for each floating-point type.
3949         (do_test): Pass new arguments to test_in_one_mode using
3950         ROUNDING_TESTS.
3952 2013-06-13  Roland McGrath  <roland@hack.frob.com>
3954         * posix/tst-waitid.c (do_test): Distinguish different instances of
3955         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
3956         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
3957         before entering the kernel for waitpid.
3959 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
3961         * NEWS: Fix note on clock function precision.  Text by Roland
3962         McGrath.
3964 2013-06-13  Roland McGrath  <roland@hack.frob.com>
3966         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
3967         it into place only when and if the sanity check passes.
3969 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
3971         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
3972         output for whether conversion result is exact.  Take argument
3973         indicating whether type is IBM long double.
3974         (round_for_all): Change need_exact field to ibm_ld.
3975         * stdlib/tst-strtod-round.c (struct exactness): New type.
3976         (struct test): Change bool ld_ok field to struct exactness exact.
3977         (TEST): Update all definitions for change to field.
3978         (tests): Regenerate array contents.
3979         (test_in_one_mode): Take pointer to new field instead of old ld_ok
3980         field value.  Check for IBM long double here.
3981         (do_test): Update calls to test_in_one_mode.
3983 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
3985         [BZ #12515]
3986         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
3987         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
3989 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3991         [BZ #15605]
3992         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
3993         generated by the compiler on loop optimizations.
3994         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
3995         general definitions.
3997 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
3999         * math/bug-nextafter.c: Include <math-tests.h>.
4000         (main): Only test for exceptions if EXCEPTION_TESTS is true for
4001         the relevant type.
4002         * math/bug-nexttoward.c: Include <math-tests.h>.
4003         (main): Only test for exceptions if EXCEPTION_TESTS is true for
4004         the relevant type.
4005         * math/test-misc.c: Include <math-tests.h>.
4006         (main): Only test for exceptions if EXCEPTION_TESTS is true for
4007         the relevant type.
4009 2013-06-12  Andreas Jaeger  <aj@suse.de>
4011         * po/ia.po: Update Interlingua translation from translation
4012         project.
4014 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4016         * include/fenv.h: Include stdbool.h.
4017         (struct rm_ctx): New structure.
4018         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
4019         Define macro.
4020         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
4021         (SET_RESTORE_ROUNDF): Likewise.
4022         (SET_RESTORE_ROUNDL): Likewise.
4023         (SET_RESTORE_ROUND_NOEX): Likewise.
4024         (SET_RESTORE_ROUND_NOEXF): Likewise.
4025         (SET_RESTORE_ROUND_NOEXL): Likewise.
4026         (SET_RESTORE_ROUND_53BIT): Likewise.
4027         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
4028         (libc_feresetround_noexf_ctx): Likewise.
4029         (libc_feresetround_noexl_ctx): Likewise.
4030         (libc_feholdsetround_53bit_ctx): Likewise.
4031         (libc_feresetround_53bit_ctx): Likewise.
4032         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
4033         (libc_feholdexcept_setround_sse_ctx): New function.
4034         (libc_fesetenv_sse_ctx): Likewise.
4035         (libc_feupdateenv_sse_ctx): Likewise.
4036         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
4037         (libc_feholdexcept_setround_387_ctx): Likewise.
4038         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
4039         (libc_feholdsetround_387_prec_ctx): Likewise.
4040         (libc_feholdsetround_387_ctx): Likewise.
4041         (libc_feholdsetround_387_53bit_ctx): Likewise.
4042         (libc_feholdsetround_sse_ctx): Likewise.
4043         (libc_feresetround_sse_ctx): Likewise.
4044         (libc_feresetround_387_ctx): Likewise.
4045         (libc_feupdateenv_387_ctx): Likewise.
4046         (libc_feholdexcept_setroundf_ctx): Define macro.
4047         (libc_fesetenvf_ctx): Likewise.
4048         (libc_feupdateenvf_ctx): Likewise.
4049         (libc_feholdsetroundf_ctx): Likewise.
4050         (libc_feresetroundf_ctx): Likewise.
4051         (libc_feholdexcept_setround_ctx): Likewise.
4052         (libc_fesetenv_ctx): Likewise.
4053         (libc_feupdateenv_ctx): Likewise.
4054         (libc_feholdsetround_ctx): Likewise.
4055         (libc_feresetround_ctx): Likewise.
4056         (libc_feholdexcept_setroundl_ctx): Likewise.
4057         (libc_feupdateenvl_ctx): Likewise.
4058         (libc_feholdsetroundl_ctx): Likewise.
4059         (libc_feresetroundl_ctx): Likewise.
4060         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
4061         (libc_feresetround_53bit_ctx): Likewise.
4063 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4065         * locale/iso-639.def: Convert to UTF-8.
4067 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
4069         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
4070         (EXCEPTION_TESTS_double): Likewise.
4071         (EXCEPTION_TESTS_long_double): Likewise.
4072         (EXCEPTION_TESTS): Likewise.
4073         * math/libm-test.inc (test_exceptions): Only test exceptions if
4074         EXCEPTION_TESTS (FLOAT).
4076 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4078         * benchtests/Makefile (string-bench): Add strcpy_chk and
4079         stpcpy_chk.
4080         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
4081         * benchtests/bench-stpcpy_chk.c: New file.
4082         * benchtests/bench-strcpy_chk-ifunc.c: New file.
4083         * benchtests/bench-strcpy_chk.c: New file.
4084         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
4085         code.
4086         (do_test): Likewise.
4088 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
4090         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
4091         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
4092         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
4093         with tabs where appropriate.
4094         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
4095         dl-procinfo.h.
4096         [PPC_PLATFORM_PPC440]: Likewise.
4097         [PPC_PLATFORM_PPC464]: Likewise.
4098         [PPC_PLATFORM_PPC476]: Likewise.
4099         (_dl_string_platform): Add support for detecting ppc405, ppc440,
4100         ppc464, and ppc476 platform strings merging from ports/
4101         dl-procinfo.h.
4103 2013-06-11  Andreas Schwab  <schwab@suse.de>
4105         [BZ #14991]
4106         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
4107         (from_ucs4_idx): Regenerate.
4108         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
4109         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
4110         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
4111         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
4112         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
4113         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
4114         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
4115         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
4116         from FROM_LOOP and TO_LOOP specific macros.
4117         (BODY): Handle combining characters.
4118         * iconvdata/BIG5HKSCS.irreversible: Update.
4119         * iconvdata/BIG5HKSCS.precomposed: New file.
4120         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
4121         characters.
4122         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
4124 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4126         * include/sys/time.h: Fix indentation and add copyright header.
4128         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
4129         (do_test): Likewise.
4130         * string/test-memchr.c (do_one_test): Likewise.
4131         (do_test): Likewise.
4132         * string/test-memcmp.c (do_one_test): Likewise.
4133         (do_test): Likewise.
4134         * string/test-memcpy.c (do_one_test): Likewise.
4135         (do_test): Likewise.
4136         * string/test-memmem.c (do_one_test): Likewise.
4137         (do_test): Likewise.
4138         (do_random_tests): Likewise.
4139         * string/test-memmove.c (do_one_test): Likewise.
4140         (do_test): Likewise.
4141         * string/test-memset.c (do_one_test): Likewise.
4142         (do_test): Likewise.
4143         * string/test-rawmemchr.c (do_one_test): Likewise.
4144         (do_test): Likewise.
4145         * string/test-strcasecmp.c (do_one_test): Likewise.
4146         (do_test): Likewise.
4147         * string/test-strcasestr.c (do_one_test): Likewise.
4148         (do_test): Likewise.
4149         * string/test-strcat.c (do_one_test): Likewise.
4150         (do_test): Likewise.
4151         * string/test-strchr.c (do_one_test): Likewise.
4152         (do_test): Likewise.
4153         * string/test-strcmp.c (do_one_test): Likewise.
4154         (do_test): Likewise.
4155         * string/test-strcpy.c (do_one_test): Likewise.
4156         (do_test): Likewise.
4157         * string/test-string.h: Likewise.
4158         (test_init): Likewise.
4159         * string/test-strlen.c (do_one_test): Likewise.
4160         (do_test): Likewise.
4161         * string/test-strncasecmp.c (do_one_test): Likewise.
4162         (do_test): Likewise.
4163         * string/test-strncat.c (do_one_test): Likewise.
4164         (do_test): Likewise.
4165         * string/test-strncmp.c (do_one_test): Likewise.
4166         (do_test_limit): Likewise.
4167         (do_test): Likewise.
4168         * string/test-strncpy.c (do_one_test): Likewise.
4169         (do_test): Likewise.
4170         * string/test-strnlen.c (do_one_test): Likewise.
4171         (do_test): Likewise.
4172         * string/test-strpbrk.c (do_one_test): Likewise.
4173         (do_test): Likewise.
4174         * string/test-strrchr.c (do_one_test): Likewise.
4175         (do_test): Likewise.
4176         * string/test-strspn.c (do_one_test): Likewise.
4177         (do_test): Likewise.
4178         * string/test-strstr.c (do_one_test): Likewise.
4179         (do_test): Likewise.
4181         * benchtests/Makefile (string-bench): Add string benchmarks.
4182         * benchtests/bench-bcopy-ifunc.c: New file.
4183         * benchtests/bench-bcopy.c: New file.
4184         * benchtests/bench-bzero-ifunc.c: New file.
4185         * benchtests/bench-bzero.c: New file.
4186         * benchtests/bench-memccpy-ifunc.c: New file.
4187         * benchtests/bench-memccpy.c: New file.
4188         * benchtests/bench-memchr-ifunc.c: New file.
4189         * benchtests/bench-memchr.c: New file.
4190         * benchtests/bench-memcmp-ifunc.c: New file.
4191         * benchtests/bench-memcmp.c: New file.
4192         * benchtests/bench-memmem-ifunc.c: New file.
4193         * benchtests/bench-memmem.c: New file.
4194         * benchtests/bench-memmove-ifunc.c: New file.
4195         * benchtests/bench-memmove.c: New file.
4196         * benchtests/bench-mempcpy-ifunc.c: New file.
4197         * benchtests/bench-mempcpy.c: New file.
4198         * benchtests/bench-memset-ifunc.c: New file.
4199         * benchtests/bench-memset.c: New file.
4200         * benchtests/bench-rawmemchr-ifunc.c: New file.
4201         * benchtests/bench-rawmemchr.c: New file.
4202         * benchtests/bench-stpcpy-ifunc.c: New file.
4203         * benchtests/bench-stpcpy.c: New file.
4204         * benchtests/bench-stpncpy-ifunc.c: New file.
4205         * benchtests/bench-stpncpy.c: New file.
4206         * benchtests/bench-strcasecmp-ifunc.c: New file.
4207         * benchtests/bench-strcasecmp.c: New file.
4208         * benchtests/bench-strcasestr-ifunc.c: New file.
4209         * benchtests/bench-strcasestr.c: New file.
4210         * benchtests/bench-strcat-ifunc.c: New file.
4211         * benchtests/bench-strcat.c: New file.
4212         * benchtests/bench-strchr-ifunc.c: New file.
4213         * benchtests/bench-strchr.c: New file.
4214         * benchtests/bench-strchrnul-ifunc.c: New file.
4215         * benchtests/bench-strchrnul.c: New file.
4216         * benchtests/bench-strcmp-ifunc.c: New file.
4217         * benchtests/bench-strcmp.c: New file.
4218         * benchtests/bench-strcpy-ifunc.c: New file.
4219         * benchtests/bench-strcpy.c: New file.
4220         * benchtests/bench-strcspn-ifunc.c: New file.
4221         * benchtests/bench-strcspn.c: New file.
4222         * benchtests/bench-strlen-ifunc.c: New file.
4223         * benchtests/bench-strlen.c: New file.
4224         * benchtests/bench-strncasecmp-ifunc.c: New file.
4225         * benchtests/bench-strncasecmp.c: New file.
4226         * benchtests/bench-strncat-ifunc.c: New file.
4227         * benchtests/bench-strncat.c: New file.
4228         * benchtests/bench-strncmp-ifunc.c: New file.
4229         * benchtests/bench-strncmp.c: New file.
4230         * benchtests/bench-strncpy-ifunc.c: New file.
4231         * benchtests/bench-strncpy.c: New file.
4232         * benchtests/bench-strnlen-ifunc.c: New file.
4233         * benchtests/bench-strnlen.c: New file.
4234         * benchtests/bench-strpbrk-ifunc.c: New file.
4235         * benchtests/bench-strpbrk.c: New file.
4236         * benchtests/bench-strrchr-ifunc.c: New file.
4237         * benchtests/bench-strrchr.c: New file.
4238         * benchtests/bench-strspn-ifunc.c: New file.
4239         * benchtests/bench-strspn.c: New file.
4240         * benchtests/bench-strstr-ifunc.c: New file.
4241         * benchtests/bench-strstr.c: New file.
4243         * benchtests/Makefile: Disable parallel execution of targets.
4244         (string-bench): Add memcpy.
4245         (benchset): New variable to store a list of benchmark sets.
4246         (bench-func): Renamed from bench.
4247         (bench-set): New target.
4248         (bench): Depend on bench-func and bench-set.
4249         * benchtests/README: Add section on benchmark sets.
4250         * benchtests/bench-memcpy-ifunc.c: New file.
4251         * benchtests/bench-memcpy.c: New file.
4252         * benchtests/bench-string.h: New file.
4254 2013-06-11  Andreas Schwab  <schwab@suse.de>
4256         [BZ #15577]
4257         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
4258         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
4259         values in the triple.
4260         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
4261         terminator in the group key.
4263 2013-06-11  Andreas Jaeger  <aj@suse.de>
4265         * po/zh_TW.po: Update Chinese (traditional) translation from
4266         translation project.
4268 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4270         * include/time.h (__clock_gettime): Add libc_hidden_proto.
4271         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
4272         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
4273         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4274         (clock_getcpuclockid): Likewise.
4275         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
4276         Add weak_alias and libc_hidden_def.
4277         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
4278         * rt/clock_gettime.c (clock_gettime): Rename to
4279         __clock_gettime.  Add weak_alias and libc_hidden_def.
4280         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
4281         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
4282         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
4283         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
4284         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
4285         Likewise.
4286         * rt/clock_settime.c (clock_settime): Rename to
4287         __clock_settime.  Add weak_alias and libc_hidden_def.
4288         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
4290 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
4292         * mach/err_boot.sub: Remove trailing whitespace.
4293         * mach/err_ipc.sub: Likewise.
4294         * mach/err_mach.sub: Likewise.
4296         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
4297         (ROUNDING_TESTS_double): Likewise.
4298         (ROUNDING_TESTS_long_double): Likewise.
4299         (ROUNDING_TESTS): Likewise.
4300         * math/libm-test.inc: Include <math-tests.h>.
4301         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
4302         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4303         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4304         (IF_ROUND_INIT_FE_UPWARD): Likewise.
4306 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4308         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
4309         of assigning.
4311 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
4313         * sysdeps/gnu/errlist.awk: Do not generate space at end of
4314         otherwise empty TRANS lines.
4315         * sysdeps/gnu/errlist.c: Regenerated.
4317         * catgets/gencat.c (error_print): Use (void) in function
4318         definition.
4319         * crypt/crypt_util.c (__init_des): Likewise.
4320         * crypt/speeds.c (Stop): Likewise.
4321         (main): Likewise.
4322         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
4323         * inet/ruserpass.c (token): Likewise.
4324         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
4325         * intl/localealias.c (extend_alias_table): Likewise.
4326         * intl/plural-exp.c (init_germanic_plural): Likewise.
4327         * libio/fcloseall.c (__fcloseall): Likewise.
4328         * libio/genops.c (_IO_flush_all): Likewise.
4329         (_IO_flush_all_linebuffered): Likewise.
4330         (_IO_cleanup): Likewise.
4331         (_IO_iter_begin): Likewise.
4332         (_IO_iter_end): Likewise.
4333         (_IO_list_lock): Likewise.
4334         (_IO_list_unlock): Likewise.
4335         (_IO_list_resetlock): Likewise.
4336         * libio/getchar.c (getchar): Likewise.
4337         * libio/getchar_u.c (getchar_unlocked): Likewise.
4338         * libio/getwchar.c (getwchar): Likewise.
4339         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
4340         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
4341         * login/getpt.c (__getpt): Likewise.
4342         * login/tst-utmp.c (main): Likewise.
4343         * malloc/hooks.c (__malloc_check_init): Likewise.
4344         * malloc/malloc.c (__malloc_stats): Likewise.
4345         * malloc/mtrace.c (tr_break): Likewise.
4346         (mtrace): Likewise.
4347         (muntrace): Likewise.
4348         * misc/fstab.c (endfsent): Likewise.
4349         * misc/getclktck.c (__getclktck): Likewise.
4350         * misc/getdtsz.c (__getdtablesize): Likewise.
4351         * misc/gethostid.c (gethostid): Likewise.
4352         * misc/getpagesize.c (__getpagesize): Likewise.
4353         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
4354         (__get_nprocs): Likewise.
4355         (__get_phys_pages): Likewise.
4356         (__get_avphys_pages): Likewise.
4357         * misc/getttyent.c (getttyent): Likewise.
4358         (setttyent): Likewise.
4359         (endttyent): Likewise.
4360         * misc/getusershell.c (getusershell): Likewise.
4361         (endusershell): Likewise.
4362         (setusershell): Likewise.
4363         (initshells): Likewise.
4364         * misc/hsearch.c (__hdestroy): Likewise.
4365         * misc/sync.c (sync): Likewise.
4366         * misc/syslog.c (closelog_internal): Likewise.
4367         (closelog): Likewise.
4368         * misc/ttyslot.c (ttyslot): Likewise.
4369         * misc/vhangup.c (vhangup): Likewise.
4370         * posix/fork.c (__fork): Likewise.
4371         * posix/getegid.c (__getegid): Likewise.
4372         * posix/geteuid.c (__geteuid): Likewise.
4373         * posix/getgid.c (__getgid): Likewise.
4374         * posix/getpid.c (__getpid): Likewise.
4375         * posix/getppid.c (__getppid): Likewise.
4376         * posix/getuid.c (__getuid): Likewise.
4377         * posix/pause.c (pause): Likewise.
4378         * posix/setpgrp.c (setpgrp): Likewise.
4379         * posix/setsid.c (__setsid): Likewise.
4380         * posix/test-vfork.c (noop): Likewise.
4381         * resolv/gethnamaddr.c (_endhtent): Likewise.
4382         (_gethtent): Likewise.
4383         (ht_endhostent): Likewise.
4384         (gethostent): Likewise.
4385         (dns_service): Likewise.
4386         * stdlib/drand48.c (drand48): Likewise.
4387         * stdlib/lrand48.c (lrand48): Likewise.
4388         * stdlib/mrand48.c (mrand48): Likewise.
4389         * stdlib/rand.c (rand): Likewise.
4390         * stdlib/random.c (__random): Likewise.
4391         * stdlib/setenv.c (clearenv): Likewise.
4392         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
4393         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
4394         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
4395         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
4396         (__get_nprocs): Likewise.
4397         (__get_phys_pages): Likewise.
4398         (__get_avphys_pages): Likewise.
4399         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
4400         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
4401         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
4402         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
4403         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
4404         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
4405         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
4406         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
4407         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
4408         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
4409         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
4410         * sysdeps/mach/hurd/sync.c (sync): Likewise.
4411         * sysdeps/posix/clock.c (clock): Likewise.
4412         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
4413         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
4414         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
4415         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
4416         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
4417         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
4418         (__get_nprocs_conf): Likewise.
4419         (__get_phys_pages): Likewise.
4420         (__get_avphys_pages): Likewise.
4421         * time/clock.c (clock): Likewise.
4422         * time/tzset.c (__tzname_max): Likewise.
4424 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
4426         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
4427         (__bswap_32): Do not use "register".
4428         * crypt/crypt.c (_ufc_doit_r): Likewise.
4429         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4430         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4431         * gmon/gmon.c (__monstartup): Likewise.
4432         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
4433         * hurd/hurdmalloc.c (more_memory): Likewise.
4434         (malloc): Likewise.
4435         (free): Likewise.
4436         (realloc): Likewise.
4437         (malloc_fork_prepare): Likewise.
4438         (malloc_fork_parent): Likewise.
4439         (malloc_fork_child): Likewise.
4440         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
4441         (_svcauth_des): Likewise.
4442         * inet/inet_lnaof.c (inet_lnaof): Likewise.
4443         * inet/inet_net.c (inet_network): Likewise.
4444         * inet/inet_netof.c (inet_netof): Likewise.
4445         * inet/rcmd.c (__validuser2_sa): Likewise.
4446         * io/fts.c (fts_open): Likewise.
4447         (fts_load): Likewise.
4448         (fts_close): Likewise.
4449         (fts_read): Likewise.
4450         (fts_children): Likewise.
4451         (fts_build): Likewise.
4452         (fts_stat): Likewise.
4453         (fts_sort): Likewise.
4454         (fts_alloc): Likewise.
4455         (fts_lfree): Likewise.
4456         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
4457         (_IO_file_xsgetn): Likewise.
4458         (_IO_file_xsgetn_mmap): Likewise.
4459         * libio/iofopncook.c (_IO_cookie_read): Likewise.
4460         (_IO_cookie_write): Likewise.
4461         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
4462         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
4463         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
4464         * malloc/obstack.c (_obstack_begin): Likewise.
4465         (_obstack_begin_1): Likewise.
4466         (_obstack_newchunk): Likewise.
4467         (_obstack_allocated_p): Likewise.
4468         (obstack_free): Likewise.
4469         (_obstack_memory_used): Likewise.
4470         * misc/getttyent.c (getttynam): Likewise.
4471         (getttyent): Likewise.
4472         (skip): Likewise.
4473         (value): Likewise.
4474         * misc/getusershell.c (initshells): Likewise.
4475         * misc/syslog.c (__vsyslog_chk): Likewise.
4476         * misc/ttyslot.c (ttyslot): Likewise.
4477         * nis/nis_hash.c (__nis_hash): Likewise.
4478         * posix/fnmatch_loop.c (FCT): Likewise.
4479         * posix/getconf.c (print_all): Likewise.
4480         (main): Likewise.
4481         * posix/getopt.c (exchange): Likewise.
4482         * posix/glob.c (globfree): Likewise.
4483         (prefix_array): Likewise.
4484         (__glob_pattern_type): Likewise.
4485         * resolv/arpa/nameser.h (NS_GET16): Likewise.
4486         (NS_GET32): Likewise.
4487         (NS_PUT16): Likewise.
4488         (NS_PUT32): Likewise.
4489         * resolv/gethnamaddr.c (getanswer): Likewise.
4490         (gethostbyname2): Likewise.
4491         (gethostbyaddr): Likewise.
4492         (_gethtent): Likewise.
4493         (_gethtbyname2): Likewise.
4494         (_gethtbyaddr): Likewise.
4495         * resolv/ns_print.c (dst_s_get_int16): Likewise.
4496         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4497         * resolv/res_init.c (__res_vinit): Likewise.
4498         (net_mask): Likewise.
4499         * resolv/res_mkquery.c (outchar): Likewise.
4500         (PRINT): Likewise.
4501         * stdio-common/printf_fp.c (outchar): Likewise.
4502         (PRINT): Likewise.
4503         * stdio-common/printf_fphex.c (outchar): Likewise.
4504         (PRINT): Likewise.
4505         * stdio-common/printf_size.c (outchar): Likewise.
4506         (PRINT): Likewise.
4507         * stdio-common/test_rdwr.c (main): Likewise.
4508         * stdio-common/tfformat.c (matches): Likewise.
4509         * stdio-common/vfprintf.c (outchar): Likewise.
4510         (printf_unknown): Likewise.
4511         (buffered_vfprintf): Likewise.
4512         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4513         * stdio-common/xbug.c (AppendToBuffer): Likewise.
4514         (ReadFile): Likewise.
4515         * stdlib/qsort.c (SWAP): Likewise.
4516         (_quicksort): Likewise.
4517         * stdlib/setenv.c (__add_to_environ): Likewise.
4518         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4519         * stdlib/strtol_l.c (__strtol_l): Likewise.
4520         * stdlib/tst-strtod.c (main): Likewise.
4521         * stdlib/tst-strtol.c (main): Likewise.
4522         * stdlib/tst-strtoll.c (main): Likewise.
4523         * string/bits/string2.h (__strcmp_cc): Likewise.
4524         (__strcmp_cg): Likewise.
4525         (__strcspn_c1): Likewise.
4526         (__strcspn_c2): Likewise.
4527         (__strcspn_c3): Likewise.
4528         (__strspn_c1): Likewise.
4529         (__strspn_c2): Likewise.
4530         (__strspn_c3): Likewise.
4531         (__strsep_1c): Likewise.
4532         (__strsep_2c): Likewise.
4533         (__strsep_3c): Likewise.
4534         * string/memccpy.c (__memccpy): Likewise.
4535         * string/stpcpy.c (__stpcpy): Likewise.
4536         * string/strcmp.c (strcmp): Likewise.
4537         * string/strrchr.c (strrchr): Likewise.
4538         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
4539         Likewise.
4540         * sysdeps/mach/hurd/getcwd.c
4541         (_hurd_canonicalize_directory_name_internal): Likewise.
4542         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
4543         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
4544         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
4545         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
4546         Likewise, in both definitions.
4547         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
4548         definitions.
4549         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
4550         64] (__bswap_64): Likewise.
4551         * time/test_time.c (main): Likewise.
4552         * time/tzfile.c (__tzfile_read): Likewise.
4553         (__tzfile_compute): Likewise.
4554         * time/tzset.c (__tzset_parse_tz): Likewise.
4555         (tzset_internal): Likewise.
4556         (compute_change): Likewise.
4557         * wcsmbs/wcscat.c (__wcscat): Likewise.
4558         * wcsmbs/wcschr.c (wcschr): Likewise.
4559         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4560         * wcsmbs/wcscspn.c (wcscspn): Likewise.
4561         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4562         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
4563         * wcsmbs/wcsspn.c (wcsspn): Likewise.
4564         * wcsmbs/wcsstr.c (wcsstr): Likewise.
4565         * wcsmbs/wmemchr.c (wmemchr): Likewise.
4566         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4567         * wcsmbs/wmemset.c (wmemset): Likewise.
4569 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
4571         * scripts/config.guess: Update to version 2013-05-16.
4572         * scripts/config.sub: Update to version 2013-04-24.
4573         * scripts/install-sh: Update to version 2011-11-20.07.
4574         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
4575         * scripts/move-if-change: Update to version 2012-01-06 07:23.
4577 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
4579         * debug/fgetws_u_chk.c: Fix leading whitespaces.
4580         * elf/sln.c: Likewise.
4581         * hurd/hurd/ioctl.h: Likewise.
4582         * hurd/hurdmalloc.c: Likewise.
4583         * hurd/xattr.c: Likewise.
4584         * include/shlib-compat.h: Likewise.
4585         * inet/ruserpass.c: Likewise.
4586         * libio/iofgets_u.c: Likewise.
4587         * libio/iofgetws_u.c: Likewise.
4588         * locale/programs/ld-identification.c: Likewise.
4589         * locale/programs/ld-time.c: Likewise.
4590         * mach/msg-destroy.c: Likewise.
4591         * nss/nss_files/files-netgrp.c: Likewise.
4592         * resolv/res_data.c: Likewise.
4593         * soft-fp/op-1.h: Likewise.
4594         * soft-fp/op-2.h: Likewise.
4595         * soft-fp/op-4.h: Likewise.
4596         * soft-fp/op-common.h: Likewise.
4597         * stdio-common/printf_fphex.c: Likewise.
4598         * stdlib/strtod_l.c: Likewise.
4599         * sunrpc/rpc/clnt.h: Likewise.
4600         * sysdeps/generic/framestate.c: Likewise.
4601         * sysdeps/i386/bsd-_setjmp.S: Likewise.
4602         * sysdeps/i386/bsd-setjmp.S: Likewise.
4603         * sysdeps/i386/__longjmp.S: Likewise.
4604         * sysdeps/i386/setjmp.S: Likewise.
4605         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4606         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4607         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4608         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4609         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4610         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4611         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4612         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4613         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4614         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4615         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4616         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4617         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4618         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4619         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4620         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4621         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4622         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
4623         * sysdeps/ieee754/support.c: Likewise.
4624         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4625         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
4626         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
4627         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
4628         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
4629         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
4630         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
4631         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
4632         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
4633         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
4634         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
4635         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
4636         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
4637         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
4638         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
4639         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
4640         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4643 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
4645         * posix/transbug.c: Remove executable mode.
4647 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
4649         * crypt/speeds.c: Remove trailing whitespace.
4650         * dlfcn/default.c: Likewise.
4651         * elf/ifuncdep2.c: Likewise.
4652         * elf/ifuncmain1.c: Likewise.
4653         * elf/ifuncmain1vis.c: Likewise.
4654         * elf/testobj.h: Likewise.
4655         * elf/tst-stackguard1.c: Likewise.
4656         * gmon/sys/gmon.h: Likewise.
4657         * hurd/hurdmsg.c: Likewise.
4658         * hurd/new-fd.c: Likewise.
4659         * hurd/ports-get.c: Likewise.
4660         * iconvdata/ibm1008_420.c: Likewise.
4661         * inet/tst-getni1.c: Likewise.
4662         * inet/tst-getni2.c: Likewise.
4663         * libio/ioungetc.c: Likewise.
4664         * libio/wfiledoalloc.c: Likewise.
4665         * manual/libm-err-tab.pl: Likewise.
4666         * math/w_dremf.c: Likewise.
4667         * misc/ftruncate.c: Likewise.
4668         * posix/bug-glob2.c: Likewise.
4669         * posix/tst-pcre.c: Likewise.
4670         * posix/wait4.c: Likewise.
4671         * resolv/README: Likewise.
4672         * resolv/res_debug.h: Likewise.
4673         * resolv/tst-inet_ntop.c: Likewise.
4674         * setjmp/bug269-setjmp.c: Likewise.
4675         * soft-fp/extended.h: Likewise.
4676         * soft-fp/op-1.h: Likewise.
4677         * soft-fp/op-2.h: Likewise.
4678         * soft-fp/op-4.h: Likewise.
4679         * soft-fp/op-8.h: Likewise.
4680         * soft-fp/testit.c: Likewise.
4681         * stdio-common/bug16.c: Likewise.
4682         * stdlib/random.c: Likewise.
4683         * sunrpc/rpcsvc/rquota.x: Likewise.
4684         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
4685         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4686         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4687         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4688         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4689         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4690         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4691         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4692         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4693         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4694         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4695         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4696         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4697         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4698         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4699         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4700         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4701         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4702         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4703         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4704         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4705         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4706         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4707         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4708         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4709         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4710         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4711         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4712         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4713         * sysdeps/ieee754/s_lib_version.c: Likewise.
4714         * sysdeps/mach/hurd/check_fds.c: Likewise.
4715         * sysdeps/mach/hurd/getsockname.c: Likewise.
4716         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
4717         * sysdeps/mach/hurd/recvfrom.c: Likewise.
4718         * sysdeps/powerpc/bits/link.h: Likewise.
4719         * sysdeps/powerpc/dl-procinfo.c: Likewise.
4720         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
4721         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
4722         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4723         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4724         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4725         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
4726         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4727         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
4728         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4729         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4730         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4731         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
4732         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4733         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4734         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4735         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4736         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4737         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4738         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4739         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4740         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
4741         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4742         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4743         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
4744         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4745         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4746         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4747         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4748         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4749         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4750         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4751         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4752         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4753         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
4754         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4755         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4756         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4757         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4758         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
4759         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
4760         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
4761         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
4762         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4763         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4764         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
4765         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4766         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4767         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
4768         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
4769         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4770         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4771         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4772         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4773         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
4774         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4775         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4776         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4777         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
4778         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4779         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
4780         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
4781         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
4782         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4783         * sysdeps/powerpc/sysdep.h: Likewise.
4784         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4785         * sysdeps/s390/s390-64/sub_n.S: Likewise.
4786         * sysdeps/sh/dl-trampoline.S: Likewise.
4787         * sysdeps/sh/memset.S: Likewise.
4788         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
4789         * sysdeps/sh/strlen.S: Likewise.
4790         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
4791         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
4792         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
4793         * sysdeps/sparc/sparc32/rem.S: Likewise.
4794         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
4795         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
4796         * sysdeps/sparc/sparc32/strchr.S: Likewise.
4797         * sysdeps/sparc/sparc32/udiv.S: Likewise.
4798         * sysdeps/sparc/sparc32/urem.S: Likewise.
4799         * sysdeps/sparc/sparc64/add_n.S: Likewise.
4800         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4801         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
4802         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
4803         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
4804         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
4805         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4806         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
4807         * sysdeps/unix/bsd/times.c: Likewise.
4808         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
4809         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
4810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4813         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
4814         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4815         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
4816         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
4817         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
4818         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
4819         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4820         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
4821         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4822         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4823         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4824         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4825         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
4826         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
4827         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
4828         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
4829         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
4830         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4831         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
4832         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
4833         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4834         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
4835         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4836         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
4837         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
4838         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
4839         * sysdeps/x86_64/strcspn.S: Likewise.
4841 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
4843         * locale/C-translit.h: Revert #include <stdint.h> because this is a
4844         generated file.  Regenerate properly from gen-translit.pl.
4845         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
4846         locale/C-translit.h.
4848 2013-06-05  Andreas Schwab  <schwab@suse.de>
4850         [BZ #15100]
4851         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
4852         week as 6 instead of -1.
4853         * time/tst-strptime.c (day_tests): Add test case.
4855 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4857         * sysdeps/generic/math_private.h
4858         (libc_feholdexcept_setround_53bit): Replace with
4859         libc_feholdsetround_53bit.
4860         (libc_feupdateenv_53bit): Replace with
4861         libc_feresetround_53bit.
4862         (SET_RESTORE_ROUND_53BIT): Adjust.
4864 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
4866         * string/test-strchrnul.c: Add copyright header.
4868         * posix/tst-getaddrinfo4.c: Increase test timeout.
4870 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
4872         [BZ #15536]
4873         * math/libm-test.inc (MAX_EXP): Remove
4874         (MIN_EXP): Define.
4875         (ulp): Use MIN_EXP - MANT_DIG.
4876         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
4878 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
4880         * po/be.po: Revert last change.
4881         * po/zh_CN.po: Likewise.
4882         * po/header.pot: Likewise.
4884 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
4886         * Makefile ($(common-objpfx)linkobj/libc.so): Define
4887         link-libc-deps to empty as target-specific variable.
4888         * Makerules (link-libc-args): New variable.
4889         (libc-for-link): Likewise.
4890         (link-libc-deps): Likewise.
4891         (lib%.so): Depend on $(link-libc-deps).  Link with
4892         $(link-libc-args).
4893         (build-module): Link with $(link-libc-args).
4894         (build-module-asneeded): Likewise.
4895         (build-module-helper-objlist): Filter out $(link-libc-deps) from
4896         list of objects.
4897         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
4898         target-specific variable.
4899         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
4900         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
4901         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
4902         libc.
4903         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
4904         libc and ld.so.
4905         ($(objpfx)libpcprofile.so): Likewise.
4906         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
4907         libc_nonshared.a.
4908         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
4909         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
4910         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
4911         $(link-libc-deps).
4912         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
4913         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
4914         * login/Makefile ($(objpfx)libutil.so): Likewise.
4915         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
4916         * math/Makefile ($(objpfx)libm.so): Likewise.
4917         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
4918         $(objpfx)libnsl.so): Define libc-for-link as target-specific
4919         variable instead of depending directly on libc.
4920         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
4921         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
4922         $(link-libc-deps).
4923         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
4924         libc.
4925         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
4926         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
4927         ($(objpfx)libanl.so): Likewise.
4928         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
4929         ld.so.
4930         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
4931         $(link-libc-deps).
4932         * sysdeps/i386/fpu/Makefile: Remove file.
4933         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
4934         ($(objpfx)libm.so): Remove dependency on ld.so.
4936 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
4938         [BZ # 15553]
4939         * nis/yp_xdr.c (XDRMAXNAME): Define.
4940         (XDRMAXRECORD): Define.
4941         (xdr_domainname): Use XDRMAXNAME.
4942         (xdr_mapname): Likewise.
4943         (xdr_peername): Likewise.
4944         (xdr_keydat): Use XDRMAXRECORD.
4945         (xdr_valdat): Likewise.
4947 2013-05-30  Jeff Law  <law@redhat.com>
4949         [BZ #14256]
4950         * manual/errno.texi (ESTALE): Update to account for more than
4951         just NFS file systems.
4952         * sysdeps/gnu/errlist.c: Regenerated.
4954 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4956         [BZ #15465]
4957         * elf/Makefile (tests): Add tst-null-argv.
4958         (modules-names):  Add tst-null-argv-lib.
4959         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
4960         (tst-null-argv-ENV): Set environment for tst-null-argv.
4961         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
4962         (RTLD_PROGNAME): New macro.
4963         * elf/tst-null-argv.c: New test case.
4964         * elf/tst-null-argv-lib.c: Library for test case.
4965         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
4966         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4967         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
4968         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
4969         * elf/dl-init.c (call_init): Likewise.
4970         (_dl_init): Likewise.
4971         * elf/dl-load.c (print_search_path): Likewise.
4972         (_dl_map_object): Likewise.
4973         * elf/dl-lookup.c (do_lookup_x): Likewise.
4974         (add_dependency): Likewise.
4975         (_dl_lookup_symbol_x): Likewise.
4976         (_dl_debug_bindings): Likewise.
4977         * elf/dl-open.c (_dl_show_scope): Likewise.
4978         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4979         * elf/dl-version.c (match_symbol): Likewise.
4980         (_dl_check_map_versions): Likewise.
4981         * elf/rtld.c (dl_main): Likewise.
4982         (print_unresolved): Use RTLD_PROGNAME.
4983         (print_missing_version): Likewise.
4984         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
4985         (elf_machine_rela): Likewise.
4986         * sysdeps/powerpc/powerpc32/dl-machine.c
4987         (__process_machine_rela): Likewise.
4988         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4989         Likewise.
4990         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4991         Likewise.
4992         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4993         Likewise.
4994         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4995         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
4996         Likewise.
4997         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
4998         Likewise.
4999         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5001 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
5003         * po/be.po: Add descriptive title.
5004         * po/zh_CN.po: Likewise.
5005         * po/header.pot: Likewise.
5007 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
5009         * locale/programs/locarchive.c (create_archive): Inlucde fname in
5010         error message.
5011         (enlarge_archive): Likewise.
5013 2013-05-28  Ben North  <ben@redfrontdoor.org>
5015         * manual/arith.texi (frexp): It is the magnitude of the return
5016         value which lies in [0.5, 1), not the return value itself.
5018 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5020         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5022 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
5024         * stdio-common/bug26.c (main): Correct fscanf template.
5026         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
5027         declare _dl_skip_args.
5029         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
5030         Don't declare.
5032         * manual/platform.texi: Add missing @end deftypefun.
5034 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
5036         [BZ #15529]
5037         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
5038         bit of mantissa of 2^16382.
5039         * math/libm-test.inc (hypot_test_data): Add more tests.
5041         * math/libm-test.inc: Add drem and pow10 to list of tested
5042         functions.
5043         (pow10_test): New function.
5044         (drem_test): Likewise.
5045         (drem_test_tonearest): Likewise.
5046         (drem_test_towardzero): Likewise.
5047         (drem_test_downward): Likewise.
5048         (drem_test_upward): Likewise.
5049         (main): Call the new functions.
5051         * math/libm-test.inc (finite_test_data): Remove.
5052         (finite_test): Run tests from isfinite_test_data.
5053         (gamma_test_data): Remove.
5054         (gamma_test): Run tests from lgamma_test_data.
5055         * sysdeps/i386/fpu/libm-test-ulps: Update.
5056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5058 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5060         * manual/platform.texi: Add PowerPC PPR function set documentation.
5061         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
5062         implementation.
5064 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
5066         * math/libm-test.inc (MAX_EXP): Define.
5067         (ULPDIFF): Define.
5068         (ulp): New function.
5069         (check_float_internal): Use ULPDIFF.
5070         (cpow_test): Disable failing test.
5071         (check_ulp): Test ulp() implemetnation.
5072         (main): Call check_ulp before starting tests.
5074 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
5076         * math/gen-libm-test.pl (generate_testfile): Do not handle
5077         START_DATA and END_DATA.
5078         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
5079         END_DATA.
5080         (acos_tonearest_test_data): Likewise.
5081         (acos_towardzero_test_data): Likewise.
5082         (acos_downward_test_data): Likewise.
5083         (acos_upward_test_data): Likewise.
5084         (acosh_test_data): Likewise.
5085         (asin_test_data): Likewise.
5086         (asin_tonearest_test_data): Likewise.
5087         (asin_towardzero_test_data): Likewise.
5088         (asin_downward_test_data): Likewise.
5089         (asin_upward_test_data): Likewise.
5090         (asinh_test_data): Likewise.
5091         (atan_test_data): Likewise.
5092         (atanh_test_data): Likewise.
5093         (atan2_test_data): Likewise.
5094         (cabs_test_data): Likewise.
5095         (cacos_test_data): Likewise.
5096         (cacosh_test_data): Likewise.
5097         (carg_test_data): Likewise.
5098         (casin_test_data): Likewise.
5099         (casinh_test_data): Likewise.
5100         (catan_test_data): Likewise.
5101         (catanh_test_data): Likewise.
5102         (cbrt_test_data): Likewise.
5103         (ccos_test_data): Likewise.
5104         (ccosh_test_data): Likewise.
5105         (ceil_test_data): Likewise.
5106         (cexp_test_data): Likewise.
5107         (cimag_test_data): Likewise.
5108         (clog_test_data): Likewise.
5109         (clog10_test_data): Likewise.
5110         (conj_test_data): Likewise.
5111         (copysign_test_data): Likewise.
5112         (cos_test_data): Likewise.
5113         (cos_tonearest_test_data): Likewise.
5114         (cos_towardzero_test_data): Likewise.
5115         (cos_downward_test_data): Likewise.
5116         (cos_upward_test_data): Likewise.
5117         (cosh_test_data): Likewise.
5118         (cosh_tonearest_test_data): Likewise.
5119         (cosh_towardzero_test_data): Likewise.
5120         (cosh_downward_test_data): Likewise.
5121         (cosh_upward_test_data): Likewise.
5122         (cpow_test_data): Likewise.
5123         (cproj_test_data): Likewise.
5124         (creal_test_data): Likewise.
5125         (csin_test_data): Likewise.
5126         (csinh_test_data): Likewise.
5127         (csqrt_test_data): Likewise.
5128         (ctan_test_data): Likewise.
5129         (ctan_tonearest_test_data): Likewise.
5130         (ctan_towardzero_test_data): Likewise.
5131         (ctan_downward_test_data): Likewise.
5132         (ctan_upward_test_data): Likewise.
5133         (ctanh_test_data): Likewise.
5134         (ctanh_tonearest_test_data): Likewise.
5135         (ctanh_towardzero_test_data): Likewise.
5136         (ctanh_downward_test_data): Likewise.
5137         (ctanh_upward_test_data): Likewise.
5138         (erf_test_data): Likewise.
5139         (erfc_test_data): Likewise.
5140         (exp_test_data): Likewise.
5141         (exp_tonearest_test_data): Likewise.
5142         (exp_towardzero_test_data): Likewise.
5143         (exp_downward_test_data): Likewise.
5144         (exp_upward_test_data): Likewise.
5145         (exp10_test_data): Likewise.
5146         (exp2_test_data): Likewise.
5147         (expm1_test_data): Likewise.
5148         (fabs_test_data): Likewise.
5149         (fdim_test_data): Likewise.
5150         (finite_test_data): Likewise.
5151         (floor_test_data): Likewise.
5152         (fma_test_data): Likewise.
5153         (fma_towardzero_test_data): Likewise.
5154         (fma_downward_test_data): Likewise.
5155         (fma_upward_test_data): Likewise.
5156         (fmax_test_data): Likewise.
5157         (fmin_test_data): Likewise.
5158         (fmod_test_data): Likewise.
5159         (fpclassify_test_data): Likewise.
5160         (frexp_test_data): Likewise.
5161         (gamma_test_data): Likewise.
5162         (hypot_test_data): Likewise.
5163         (ilogb_test_data): Likewise.
5164         (isfinite_test_data): Likewise.
5165         (isgreater_test_data): Likewise.
5166         (isgreaterequal_test_data): Likewise.
5167         (isinf_test_data): Likewise.
5168         (isless_test_data): Likewise.
5169         (islessequal_test_data): Likewise.
5170         (islessgreater_test_data): Likewise.
5171         (isnan_test_data): Likewise.
5172         (isnormal_test_data): Likewise.
5173         (issignaling_test_data): Likewise.
5174         (isunordered_test_data): Likewise.
5175         (j0_test_data): Likewise.
5176         (j1_test_data): Likewise.
5177         (jn_test_data): Likewise.
5178         (ldexp_test_data): Likewise.
5179         (lgamma_test_data): Likewise.
5180         (lrint_test_data): Likewise.
5181         (lrint_tonearest_test_data): Likewise.
5182         (lrint_towardzero_test_data): Likewise.
5183         (lrint_downward_test_data): Likewise.
5184         (lrint_upward_test_data): Likewise.
5185         (llrint_test_data): Likewise.
5186         (llrint_tonearest_test_data): Likewise.
5187         (llrint_towardzero_test_data): Likewise.
5188         (llrint_downward_test_data): Likewise.
5189         (llrint_upward_test_data): Likewise.
5190         (log_test_data): Likewise.
5191         (log10_test_data): Likewise.
5192         (log1p_test_data): Likewise.
5193         (log2_test_data): Likewise.
5194         (logb_test_data): Likewise.
5195         (logb_downward_test_data): Likewise.
5196         (lround_test_data): Likewise.
5197         (llround_test_data): Likewise.
5198         (modf_test_data): Likewise.
5199         (nearbyint_test_data): Likewise.
5200         (nextafter_test_data): Likewise.
5201         (nexttoward_test_data): Likewise.
5202         (pow_test_data): Likewise.
5203         (pow_tonearest_test_data): Likewise.
5204         (pow_towardzero_test_data): Likewise.
5205         (pow_downward_test_data): Likewise.
5206         (pow_upward_test_data): Likewise.
5207         (remainder_test_data): Likewise.
5208         (remainder_tonearest_test_data): Likewise.
5209         (remainder_towardzero_test_data): Likewise.
5210         (remainder_downward_test_data): Likewise.
5211         (remainder_upward_test_data): Likewise.
5212         (remquo_test_data): Likewise.
5213         (rint_test_data): Likewise.
5214         (rint_tonearest_test_data): Likewise.
5215         (rint_towardzero_test_data): Likewise.
5216         (rint_downward_test_data): Likewise.
5217         (rint_upward_test_data): Likewise.
5218         (round_test_data): Likewise.
5219         (scalb_test_data): Likewise.
5220         (scalbn_test_data): Likewise.
5221         (scalbln_test_data): Likewise.
5222         (signbit_test_data): Likewise.
5223         (sin_test_data): Likewise.
5224         (sin_tonearest_test_data): Likewise.
5225         (sin_towardzero_test_data): Likewise.
5226         (sin_downward_test_data): Likewise.
5227         (sin_upward_test_data): Likewise.
5228         (sincos_test_data): Likewise.
5229         (sinh_test_data): Likewise.
5230         (sinh_tonearest_test_data): Likewise.
5231         (sinh_towardzero_test_data): Likewise.
5232         (sinh_downward_test_data): Likewise.
5233         (sinh_upward_test_data): Likewise.
5234         (sqrt_test_data): Likewise.
5235         (tan_test_data): Likewise.
5236         (tan_tonearest_test_data): Likewise.
5237         (tan_towardzero_test_data): Likewise.
5238         (tan_downward_test_data): Likewise.
5239         (tan_upward_test_data): Likewise.
5240         (tanh_test_data): Likewise.
5241         (tgamma_test_data): Likewise.
5242         (trunc_test_data): Likewise.
5243         (y0_test_data): Likewise.
5244         (y1_test_data): Likewise.
5245         (yn_test_data): Likewise.
5246         (significand_test_data): Likewise.
5248         * math/gen-libm-test.pl (@functions): Remove variable.
5249         (generate_testfile): Don't handle START and END lines.
5250         * math/libm-test.inc (START): New macro.
5251         (END): Likewise.
5252         (END_COMPLEX): Likewise.
5253         (acos_test): Use END macro without arguments.
5254         (acos_test_tonearest): Likewise.
5255         (acos_test_towardzero): Likewise.
5256         (acos_test_downward): Likewise.
5257         (acos_test_upward): Likewise.
5258         (acosh_test): Likewise.
5259         (asin_test): Likewise.
5260         (asin_test_tonearest): Likewise.
5261         (asin_test_towardzero): Likewise.
5262         (asin_test_downward): Likewise.
5263         (asin_test_upward): Likewise.
5264         (asinh_test): Likewise.
5265         (atan_test): Likewise.
5266         (atanh_test): Likewise.
5267         (atan2_test): Likewise.
5268         (cabs_test): Likewise.
5269         (cacos_test): Use END_COMPLEX macro without arguments.
5270         (cacosh_test): Likewise.
5271         (carg_test): Use END macro without arguments.
5272         (casin_test): Use END_COMPLEX macro without arguments.
5273         (casinh_test): Likewise.
5274         (catan_test): Likewise.
5275         (catanh_test): Likewise.
5276         (cbrt_test): Use END macro without arguments.
5277         (ccos_test): Use END_COMPLEX macro without arguments.
5278         (ccosh_test): Likewise.
5279         (ceil_test): Use END macro without arguments.
5280         (cexp_test): Use END_COMPLEX macro without arguments.
5281         (cimag_test): Use END macro without arguments.
5282         (clog_test): Use END_COMPLEX macro without arguments.
5283         (clog10_test): Likewise.
5284         (conj_test): Likewise.
5285         (copysign_test): Use END macro without arguments.
5286         (cos_test): Likewise.
5287         (cos_test_tonearest): Likewise.
5288         (cos_test_towardzero): Likewise.
5289         (cos_test_downward): Likewise.
5290         (cos_test_upward): Likewise.
5291         (cosh_test): Likewise.
5292         (cosh_test_tonearest): Likewise.
5293         (cosh_test_towardzero): Likewise.
5294         (cosh_test_downward): Likewise.
5295         (cosh_test_upward): Likewise.
5296         (cpow_test): Use END_COMPLEX macro without arguments.
5297         (cproj_test): Likewise.
5298         (creal_test): Use END macro without arguments.
5299         (csin_test): Use END_COMPLEX macro without arguments.
5300         (csinh_test): Likewise.
5301         (csqrt_test): Likewise.
5302         (ctan_test): Likewise.
5303         (ctan_test_tonearest): Likewise.
5304         (ctan_test_towardzero): Likewise.
5305         (ctan_test_downward): Likewise.
5306         (ctan_test_upward): Likewise.
5307         (ctanh_test): Likewise.
5308         (ctanh_test_tonearest): Likewise.
5309         (ctanh_test_towardzero): Likewise.
5310         (ctanh_test_downward): Likewise.
5311         (ctanh_test_upward): Likewise.
5312         (erf_test): Use END macro without arguments.
5313         (erfc_test): Likewise.
5314         (exp_test): Likewise.
5315         (exp_test_tonearest): Likewise.
5316         (exp_test_towardzero): Likewise.
5317         (exp_test_downward): Likewise.
5318         (exp_test_upward): Likewise.
5319         (exp10_test): Likewise.
5320         (exp2_test): Likewise.
5321         (expm1_test): Likewise.
5322         (fabs_test): Likewise.
5323         (fdim_test): Likewise.
5324         (finite_test): Likewise.
5325         (floor_test): Likewise.
5326         (fma_test): Likewise.
5327         (fma_test_towardzero): Likewise.
5328         (fma_test_downward): Likewise.
5329         (fma_test_upward): Likewise.
5330         (fmax_test): Likewise.
5331         (fmin_test): Likewise.
5332         (fmod_test): Likewise.
5333         (fpclassify_test): Likewise.
5334         (frexp_test): Likewise.
5335         (gamma_test): Likewise.
5336         (hypot_test): Likewise.
5337         (ilogb_test): Likewise.
5338         (isfinite_test): Likewise.
5339         (isgreater_test): Likewise.
5340         (isgreaterequal_test): Likewise.
5341         (isinf_test): Likewise.
5342         (isless_test): Likewise.
5343         (islessequal_test): Likewise.
5344         (islessgreater_test): Likewise.
5345         (isnan_test): Likewise.
5346         (isnormal_test): Likewise.
5347         (issignaling_test): Likewise.
5348         (isunordered_test): Likewise.
5349         (j0_test): Likewise.
5350         (j1_test): Likewise.
5351         (jn_test): Likewise.
5352         (ldexp_test): Likewise.
5353         (lgamma_test): Likewise.
5354         (lrint_test): Likewise.
5355         (lrint_test_tonearest): Likewise.
5356         (lrint_test_towardzero): Likewise.
5357         (lrint_test_downward): Likewise.
5358         (lrint_test_upward): Likewise.
5359         (llrint_test): Likewise.
5360         (llrint_test_tonearest): Likewise.
5361         (llrint_test_towardzero): Likewise.
5362         (llrint_test_downward): Likewise.
5363         (llrint_test_upward): Likewise.
5364         (log_test): Likewise.
5365         (log10_test): Likewise.
5366         (log1p_test): Likewise.
5367         (log2_test): Likewise.
5368         (logb_test): Likewise.
5369         (logb_test_downward): Likewise.
5370         (lround_test): Likewise.
5371         (llround_test): Likewise.
5372         (modf_test): Likewise.
5373         (nearbyint_test): Likewise.
5374         (nextafter_test): Likewise.
5375         (nexttoward_test): Likewise.
5376         (pow_test): Likewise.
5377         (pow_test_tonearest): Likewise.
5378         (pow_test_towardzero): Likewise.
5379         (pow_test_downward): Likewise.
5380         (pow_test_upward): Likewise.
5381         (remainder_test): Likewise.
5382         (remainder_test_tonearest): Likewise.
5383         (remainder_test_towardzero): Likewise.
5384         (remainder_test_downward): Likewise.
5385         (remainder_test_upward): Likewise.
5386         (remquo_test): Likewise.
5387         (rint_test): Likewise.
5388         (rint_test_tonearest): Likewise.
5389         (rint_test_towardzero): Likewise.
5390         (rint_test_downward): Likewise.
5391         (rint_test_upward): Likewise.
5392         (round_test): Likewise.
5393         (scalb_test): Likewise.
5394         (scalbn_test): Likewise.
5395         (scalbln_test): Likewise.
5396         (signbit_test): Likewise.
5397         (sin_test): Likewise.
5398         (sin_test_tonearest): Likewise.
5399         (sin_test_towardzero): Likewise.
5400         (sin_test_downward): Likewise.
5401         (sin_test_upward): Likewise.
5402         (sincos_test): Likewise.
5403         (sinh_test): Likewise.
5404         (sinh_test_tonearest): Likewise.
5405         (sinh_test_towardzero): Likewise.
5406         (sinh_test_downward): Likewise.
5407         (sinh_test_upward): Likewise.
5408         (sqrt_test): Likewise.
5409         (tan_test): Likewise.
5410         (tan_test_tonearest): Likewise.
5411         (tan_test_towardzero): Likewise.
5412         (tan_test_downward): Likewise.
5413         (tan_test_upward): Likewise.
5414         (tanh_test): Likewise.
5415         (tgamma_test): Likewise.
5416         (trunc_test): Likewise.
5417         (y0_test): Likewise.
5418         (y1_test): Likewise.
5419         (yn_test): Likewise.
5420         (significand_test): Likewise.
5422 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
5424         [BZ #15381]
5425         * libio/genops.c (_IO_no_init): Initialize wide struct info.
5427 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
5429         [BZ #14894]
5430         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
5431         __ppc_mdoio and __ppc_mdoom.
5432         * manual/platform.texi: Document new functions __ppc_yield,
5433         __ppc_mdoio and __ppc_mdoom.
5435 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
5437         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
5438         (main): Mention "tls" pseudo-hwcap is legacy.
5439         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
5441 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
5443         * math/gen-libm-test.pl (parse_args): Output only string of
5444         arguments as text for test name, not full call or descriptions of
5445         tests for extra outputs.
5446         (generate_testfile): Do not pass function name to parse_args.
5447         Generate this_func variable from START.
5448         * math/libm-test.inc (struct test_f_f_data): Rename test_name
5449         field to arg_str.
5450         (struct test_ff_f_data): Likewise.
5451         (test_ff_f_data_nexttoward): Likewise.
5452         (struct test_fi_f_data): Likewise.
5453         (struct test_fl_f_data): Likewise.
5454         (struct test_if_f_data): Likewise.
5455         (struct test_fff_f_data): Likewise.
5456         (struct test_c_f_data): Likewise.
5457         (struct test_f_f1_data): Likewise.  Remove field extra_name.
5458         (struct test_fF_f1_data): Likewise.
5459         (struct test_ffI_f1_data): Likewise.
5460         (struct test_c_c_data): Rename test_name field to arg_str.
5461         (struct test_cc_c_data): Likewise.
5462         (struct test_f_i_data): Likewise.
5463         (struct test_ff_i_data): Likewise.
5464         (struct test_f_l_data): Likewise.
5465         (struct test_f_L_data): Likewise.
5466         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
5467         and extra2_name.
5468         (COMMON_TEST_SETUP): New macro.
5469         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
5470         (COMMON_TEST_CLEANUP): Likewise.
5471         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
5472         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
5473         macros.
5474         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
5475         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
5476         macros.
5477         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
5478         (RUN_TEST_fff_f): Take argument string.  Call new setup and
5479         cleanup macros.
5480         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
5481         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
5482         macros.
5483         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
5484         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
5485         macros.
5486         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5487         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
5488         cleanup macros.
5489         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5490         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
5491         cleanup macros.
5492         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5493         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
5494         cleanup macros.
5495         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5496         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
5497         macros.
5498         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
5499         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
5500         macros.
5501         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
5502         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
5503         macros.
5504         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
5505         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
5506         cleanup macros.
5507         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
5508         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
5509         cleanup macros.
5510         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
5511         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
5512         macros.
5513         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
5514         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
5515         cleanup macros.
5516         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
5517         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
5518         macros.
5519         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
5520         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
5521         macros.
5522         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
5523         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
5524         cleanup macros.
5525         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
5527 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
5529         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
5530         to _sifields.sigfault.
5531         (si_addr_lsb): Define new macro.
5532         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5533         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5534         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
5536 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
5538         [BZ #15441]
5539         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
5540         returns -1.
5541         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
5542         null return -1.
5543         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
5544         loading the domain.
5546 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
5548         * math/gen-libm-test.pl (parse_args): Do not include expected
5549         result in test name.
5550         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
5551         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5552         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5553         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5554         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5557 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5559         * benchtests/Makefile: Sort function entries.
5561         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
5562         tanh, asinh, acosh, atanh.
5563         * benchtests/acos-inputs: New file.
5564         * benchtests/acosh-inputs: New file.
5565         * benchtests/asin-inputs: New file.
5566         * benchtests/asinh-inputs: New file.
5567         * benchtests/atanh-inputs: New file.
5568         * benchtests/cosh-inputs: New file.
5569         * benchtests/log-inputs: New file.
5570         * benchtests/sinh-inputs: New file.
5571         * benchtests/tanh-inputs: New file.
5573 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
5575         [BZ #15339]
5576         * posix/tst-getaddrinfo4.c: New test.
5577         * posix/Makefile (tests): Add it.
5579 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5581         [BZ #15339]
5582         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
5583         when no services were used.
5584         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
5585         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
5587 2013-05-21  Andreas Schwab  <schwab@suse.de>
5589         [BZ #15014]
5590         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
5591         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
5592         successful.
5593         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
5594         redundant variable declarations and reallocation of buffer when
5595         parsing as IPv6 address.  Always set NSS status when called from
5596         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
5597         buffer too small.  Correct computation of needed size.
5598         * nss/Makefile (tests): Add test-digits-dots.
5599         * nss/test-digits-dots.c: New test.
5601 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5603         * benchtests/Makefile: Remove instructions for adding
5604         benchmark tests.
5605         * benchtests/README: New file to explain how to execute and
5606         enhance the benchmark tests.
5608 2013-05-21  Andreas Schwab  <schwab@suse.de>
5610         [BZ #15493]
5611         * setjmp/Makefile (tests): Add tst-sigsetjmp.
5612         * setjmp/tst-sigsetjmp.c: New test.
5614 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
5616         * sysdeps/x86_64/memset.S (memset): New implementation.
5617         (__bzero): Likewise.
5618         (__memset_tail): New function.
5620 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
5622         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
5623         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
5624         __memcpy_sse2_unaligned ifunc selection.
5625         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5626         Add memcpy-sse2-unaligned.S.
5627         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5628         Add: __memcpy_sse2_unaligned.
5630 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
5632         [BZ #15490]
5633         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5634         math_force_eval before restoring floating-point envrionment.
5635         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
5636         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
5637         Likewise.
5638         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
5639         <math_private.h>.
5640         (__nearbyintl): Use math_force_eval before restoring
5641         floating-point environment.
5642         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
5644         * math/gen-libm-test.pl (special_functions): Remove.
5645         (parse_args): Don't handle TEST_extra.  Handle functions with no
5646         return value.
5647         * math/libm-test.inc (struct test_sincos_data): Replace with
5648         struct test_fFF_11_data.
5649         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
5650         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
5651         (sincos_test_data): Change element type to struct
5652         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
5653         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
5654         RUN_TEST_LOOP_sincos.
5655         * math/README.libm-test: Don't mention special handling of
5656         individual functions.
5657         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
5658         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5659         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5660         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5661         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5664         * math/gen-libm-test.pl (get_variable): Remove function.
5665         (parse_args): Don't show pointer parameters to call in test
5666         names.  Use "extra output N" in test names for extra outputs
5667         rather than naming variables.
5669 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
5671         [BZ #15488]
5672         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
5673         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
5674         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
5675         double tests.
5676         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
5677         disable.
5678         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
5679         check_long_double.
5681         * math/gen-libm-test.pl (@tests): Remove variable.
5682         ($count): Likewise.
5683         (new_test): Remove function.
5684         (show_exceptions): New function.
5685         (special_functions): Use show_exceptions instead of new_test.
5686         (parse_args): Likewise.
5687         (generate_testfile): Pass only function name in generated call to
5688         print_max_error or print_complex_max_error.
5689         (get_ulps): Do not handle complex tests specially.
5690         (output_test): Rename to ...
5691         (get_all_ulps_for_test): ... this.  Return a string rather than
5692         printing to a file.  Require ulps to be present.
5693         (output_ulps): Generate arrays rather than #defines.
5694         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
5695         (struct ulp_data): New type.
5696         (BUILD_COMPLEX_ULP): Remove macro.
5697         (compare_ulp_data): New function.
5698         (find_ulps): Likewise.
5699         (find_test_ulps): Likewise.
5700         (find_function_ulps): Likewise.
5701         (find_complex_function_ulps): Likewise.
5702         (print_max_error): Determine allowed ulps using
5703         find_function_ulps.
5704         (print_complex_max_error): Determine allowed ulps using
5705         find_complex_function_ulps.
5706         (check_float_internal): Determine max ulps using find_test_ulps.
5707         (check_float): Do not take max_ulp parameter.  Update call to
5708         check_float_internal.
5709         (check_complex): Likewise.
5710         (check_int): Do not take max_ulp parameter.
5711         (check_long): Likewise.
5712         (check_bool): Likewise.
5713         (check_longlong): Likewise.
5714         (struct test_f_f_data): Remove max_ulp field.
5715         (struct test_ff_f_data): Likewise.
5716         (struct test_ff_f_data_nexttoward): Likewise.
5717         (struct test_fi_f_data): Likewise.
5718         (struct test_fl_f_data): Likewise.
5719         (struct test_if_f_data): Likewise.
5720         (struct test_fff_f_data): Likewise.
5721         (struct test_c_f_data): Likewise.
5722         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
5723         (struct test_fF_f1_data): Likewise.
5724         (struct test_ffI_f1_data): Likewise.
5725         (struct test_c_c_data): Remove max_ulp field.
5726         (struct test_cc_c_data): Likewise.
5727         (struct test_f_i_data): Likewise.
5728         (struct test_ff_i_data): Likewise.
5729         (struct test_f_l_data): Likewise.
5730         (struct test_f_L_data): Likewise.
5731         (struct test_sincos_data): Likewise.
5732         (RUN_TEST_f_f): Do not handle ulps.
5733         (RUN_TEST_LOOP_f_f): Likewise.
5734         (RUN_TEST_2_f): Likewise.
5735         (RUN_TEST_LOOP_2_f): Likewise.
5736         (RUN_TEST_fff_f): Likewise.
5737         (RUN_TEST_LOOP_fff_f): Likewise.
5738         (RUN_TEST_c_f): Likewise.
5739         (RUN_TEST_LOOP_c_f): Likewise.
5740         (RUN_TEST_f_f1): Likewise.
5741         (RUN_TEST_LOOP_f_f1): Likewise.
5742         (RUN_TEST_fF_f1): Likewise.
5743         (RUN_TEST_LOOP_fF_f1): Likewise.
5744         (RUN_TEST_fI_f1): Likewise.
5745         (RUN_TEST_LOOP_fI_f1): Likewise.
5746         (RUN_TEST_ffI_f1): Likewise.
5747         (RUN_TEST_LOOP_ffI_f1): Likewise.
5748         (RUN_TEST_c_c): Likewise.
5749         (RUN_TEST_LOOP_c_c): Likewise.
5750         (RUN_TEST_cc_c): Likewise.
5751         (RUN_TEST_LOOP_cc_c): Likewise.
5752         (RUN_TEST_f_i): Likewise.
5753         (RUN_TEST_LOOP_f_i): Likewise.
5754         (RUN_TEST_f_i_tg): Likewise.
5755         (RUN_TEST_LOOP_f_i_tg): Likewise.
5756         (RUN_TEST_ff_i_tg): Likewise.
5757         (RUN_TEST_LOOP_ff_i_tg): Likewise.
5758         (RUN_TEST_f_b): Likewise.
5759         (RUN_TEST_LOOP_f_b): Likewise.
5760         (RUN_TEST_f_b_tg): Likewise.
5761         (RUN_TEST_LOOP_f_b_tg): Likewise.
5762         (RUN_TEST_f_l): Likewise.
5763         (RUN_TEST_LOOP_f_l): Likewise.
5764         (RUN_TEST_f_L): Likewise.
5765         (RUN_TEST_LOOP_f_L): Likewise.
5766         (RUN_TEST_sincos): Likewise.
5767         (RUN_TEST_LOOP_sincos): Likewise.
5769 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
5771         [BZ #15480]
5772         [BZ #15485]
5773         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
5774         main case of finite arguments, set rounding mode to FE_TONEAREST
5775         and discard exceptions.
5776         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
5777         exceptions.
5778         (remainder_tonearest_test_data): New variable.
5779         (remainder_test_tonearest): New function.
5780         (remainder_towardzero_test_data): New variable.
5781         (remainder_test_towardzero): New function.
5782         (remainder_downward_test_data): New variable.
5783         (remainder_test_downward): New function.
5784         (remainder_upward_test_data): New variable.
5785         (remainder_test_upward): New function.
5786         (main): Call the new test functions.
5788         * math/libm-test.inc (struct test_f_f1_data): Remove field
5789         extra_init.
5790         (struct test_fF_f1_data): Likewise.
5791         (struct test_ffI_f1_data): Likewise.
5792         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
5793         based on value of EXTRA_EXPECTED.
5794         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5795         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
5796         EXTRA_VAR based on value of EXTRA_EXPECTED.
5797         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5798         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
5799         EXTRA_VAR based on value of EXTRA_EXPECTED.
5800         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5801         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
5802         EXTRA_VAR based on value of EXTRA_EXPECTED.
5803         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5804         * math/gen-libm-test.pl (parse_args): Don't output initializers
5805         for extra output values.
5807         * math/libm-test.inc (check_int): Expect result to be exactly
5808         equal to expected value and do not handle ulps.
5809         (check_long): Likewise.
5810         (check_longlong): Likewise.
5812         * math/libm-test.inc (ceil_test_data): Test for "inexact"
5813         exceptions.
5814         (cimag_test_data): Likewise.
5815         (conj_test_data): Likewise.
5816         (copysign_test_data): Likewise.
5817         (cproj_test_data): Likewise.
5818         (creal_test_data): Likewise.
5819         (fabs_test_data): Likewise.
5820         (fdim_test_data): Likewise.
5821         (finite_test_data): Likewise.
5822         (floor_test_data): Likewise.
5823         (fmax_test_data): Likewise.
5824         (fmin_test_data): Likewise.
5825         (fmod_test_data): Likewise.
5826         (fpclassify_test_data): Likewise.
5827         (frexp_test_data): Likewise.
5828         (ilogb_test_data): Likewise.
5829         (isfinite_test_data): Likewise.
5830         (isgreater_test_data): Likewise.
5831         (isgreaterequal_test_data): Likewise.
5832         (isinf_test_data): Likewise.
5833         (isless_test_data): Likewise.
5834         (islessequal_test_data): Likewise.
5835         (islessgreater_test_data): Likewise.
5836         (isnan_test_data): Likewise.
5837         (isnormal_test_data): Likewise.
5838         (issignaling_test_data): Likewise.
5839         (isunordered_test_data): Likewise.
5840         (ldexp_test_data): Likewise.
5841         (lrint_test_data): Likewise.
5842         (lrint_test_data) [TEST_FLOAT]: Disable one test.
5843         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
5844         (lrint_tonearest_test_data): Test for "inexact" exceptions.
5845         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5846         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
5847         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5848         test input.
5849         (lrint_towardzero_test_data): Test for "inexact" exceptions.
5850         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5851         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
5852         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
5853         that test input.
5854         (lrint_downward_test_data): Test for "inexact" exceptions.
5855         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5856         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
5857         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5858         test input.
5859         (lrint_upward_test_data): Test for "inexact" exceptions.
5860         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
5861         test input.
5862         (llrint_test_data): Test for "inexact" exceptions.
5863         (llrint_test_data) [TEST_FLOAT]: Disable one test.
5864         (llrint_tonearest_test_data): Test for "inexact" exceptions.
5865         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5866         (llrint_towardzero_test_data): Test for "inexact" exceptions.
5867         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5868         (llrint_downward_test_data): Test for "inexact" exceptions.
5869         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5870         (llrint_upward_test_data): Test for "inexact" exceptions.
5871         (logb_test_data): Likewise.
5872         (logb_downward_test_data): Likewise.
5873         (nextafter_test_data): Likewise.
5874         (nexttoward_test_data): Likewise.
5875         (remainder_test_data): Likewise.
5876         (remquo_test_data): Likewise.
5877         (scalbn_test_data): Likewise.
5878         (scalbln_test_data): Likewise.
5879         (signbit_test_data): Likewise.
5880         (sqrt_test_data): Likewise.
5881         (significand_test_data): Likewise.
5883 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
5885         [BZ #15424]
5886         * benchtests/bench-modf.c (struct args): Mark arg0 as
5887         volatile.
5888         * scripts/bench.pl: Mark members of struct args as volatile.
5890 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5892         [BZ # 15497]
5893         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
5894         negative infinity on POWER6 or lower.
5895         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
5897 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
5899         [BZ #15442]
5900         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
5901         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
5902         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
5903         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
5904         (_FP_SETQNAN): New macro.
5905         (_FP_SETQNAN_SEMIRAW): Likewise.
5906         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
5907         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
5908         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
5909         (FP_EXTEND): Use _FP_FRAC_SNANP.
5910         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
5911         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
5912         into account.
5913         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5914         New macro.
5915         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5916         Likewise.
5918 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
5920         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
5921         with DIVIDE_BY_ZERO_EXCEPTION.
5922         (gamma_test_data): Likewise.
5923         (lgamma_test_data): Likewise.
5924         (log_test_data): Likewise.
5925         (log10_test_data): Likewise.
5926         (log2_test_data): Likewise.
5927         (tgamma_test_data): Likewise.
5929         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
5930         (acos_test_tonearest): Likewise.
5931         (acos_test_towardzero): Likewise.
5932         (acos_test_downward): Likewise.
5933         (acos_test_upward): Likewise.
5934         (acosh_test): Likewise.
5935         (asin_test): Likewise.
5936         (asin_test_tonearest): Likewise.
5937         (asin_test_towardzero): Likewise.
5938         (asin_test_downward): Likewise.
5939         (asin_test_upward): Likewise.
5940         (asinh_test): Likewise.
5941         (atan_test): Likewise.
5942         (atanh_test): Likewise.
5943         (atan2_test): Likewise.
5944         (cabs_test): Likewise.
5945         (cacos_test): Likewise.
5946         (cacosh_test): Likewise.
5947         (casin_test): Likewise.
5948         (casinh_test): Likewise.
5949         (catan_test): Likewise.
5950         (catanh_test): Likewise.
5951         (cbrt_test): Likewise.
5952         (ccos_test): Likewise.
5953         (ccosh_test): Likewise.
5954         (cexp_test): Likewise.
5955         (clog_test): Likewise.
5956         (clog10_test): Likewise.
5957         (cos_test): Likewise.
5958         (cos_test_tonearest): Likewise.
5959         (cos_test_towardzero): Likewise.
5960         (cos_test_downward): Likewise.
5961         (cos_test_upward): Likewise.
5962         (cosh_test): Likewise.
5963         (cosh_test_tonearest): Likewise.
5964         (cosh_test_towardzero): Likewise.
5965         (cosh_test_downward): Likewise.
5966         (cosh_test_upward): Likewise.
5967         (cpow_test): Likewise.
5968         (csin_test): Likewise.
5969         (csinh_test): Likewise.
5970         (csqrt_test): Likewise.
5971         (ctan_test): Likewise.
5972         (ctan_test_tonearest): Likewise.
5973         (ctan_test_towardzero): Likewise.
5974         (ctan_test_downward): Likewise.
5975         (ctan_test_upward): Likewise.
5976         (ctanh_test): Likewise.
5977         (ctanh_test_tonearest): Likewise.
5978         (ctanh_test_towardzero): Likewise.
5979         (ctanh_test_downward): Likewise.
5980         (ctanh_test_upward): Likewise.
5981         (erf_test): Likewise.
5982         (erfc_test): Likewise.
5983         (exp_test): Likewise.
5984         (exp_test_tonearest): Likewise.
5985         (exp_test_towardzero): Likewise.
5986         (exp_test_downward): Likewise.
5987         (exp_test_upward): Likewise.
5988         (exp10_test): Likewise.
5989         (exp2_test): Likewise.
5990         (expm1_test): Likewise.
5991         (fmod_test): Likewise.
5992         (gamma_test): Likewise.
5993         (hypot_test): Likewise.
5994         (j0_test): Likewise.
5995         (j1_test): Likewise.
5996         (jn_test): Likewise.
5997         (lgamma_test): Likewise.
5998         (log_test): Likewise.
5999         (log10_test): Likewise.
6000         (log1p_test): Likewise.
6001         (log2_test): Likewise.
6002         (logb_test_downward): Likewise.
6003         (pow_test): Likewise.
6004         (pow_test_tonearest): Likewise.
6005         (pow_test_towardzero): Likewise.
6006         (pow_test_downward): Likewise.
6007         (pow_test_upward): Likewise.
6008         (remainder_test): Likewise.
6009         (remquo_test): Likewise.
6010         (sin_test): Likewise.
6011         (sin_test_tonearest): Likewise.
6012         (sin_test_towardzero): Likewise.
6013         (sin_test_downward): Likewise.
6014         (sin_test_upward): Likewise.
6015         (sincos_test): Likewise.
6016         (sinh_test): Likewise.
6017         (sinh_test_tonearest): Likewise.
6018         (sinh_test_towardzero): Likewise.
6019         (sinh_test_downward): Likewise.
6020         (sinh_test_upward): Likewise.
6021         (sqrt_test): Likewise.
6022         (tan_test): Likewise.
6023         (tan_test_tonearest): Likewise.
6024         (tan_test_towardzero): Likewise.
6025         (tan_test_downward): Likewise.
6026         (tan_test_upward): Likewise.
6027         (tanh_test): Likewise.
6028         (tgamma_test): Likewise.
6029         (y0_test): Likewise.
6030         (y1_test): Likewise.
6031         (yn_test): Likewise.
6033         * math/gen-libm-test.pl (adjust_arg): Remove function.
6034         (special_function): Remove argument $in_func.  Only handle
6035         generating output for tables of tests, not inside functions.
6036         (parse_args): Likewise.
6037         (generate_testfile): Remove variable $in_func.  Update call to
6038         parse_args.
6039         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
6040         (MINUS_ZERO_INIT): Rename macro to minus_zero.
6041         (PLUS_INFTY_INIT): Rename macro to plus_infty.
6042         (MINUS_INFTY_INIT): Rename macro to minus_infty.
6043         (QNAN_VALUE_INIT): Rename macro to qnan_value.
6044         (MAX_VALUE_INIT): Rename macro to max_value.
6045         (MIN_VALUE_INIT): Rename macro to min_value.
6046         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
6047         (plus_zero): Remove variable.
6048         (minus_zero): Likewise.
6049         (plus_infty): Likewise.
6050         (minus_infty): Likewise.
6051         (qnan_value): Likewise.
6052         (max_value): Likewise.
6053         (min_value): Likewise.
6054         (min_subnorm_value): Likewise.
6056 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6058         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
6059         uint64_t or uint32_t usage.
6060         * crypt/sha256-block.c: Likewise.
6061         * crypt/sha256-crypt.c: Likewise.
6062         * crypt/sha256.c: Likewise.
6063         * crypt/sha512-block.c: Likewise.
6064         * crypt/sha512-crypt.c: Likewise.
6065         * crypt/sha512.c: Likewise.
6066         * debug/backtrace-tst.c: Likewise.
6067         * debug/pcprofiledump.c: Likewise.
6068         * elf/cache.c: Likewise.
6069         * elf/dl-cache.c: Likewise.
6070         * elf/dl-misc.c: Likewise.
6071         * elf/dl-profile.c: Likewise.
6072         * elf/dl-support.c: Likewise.
6073         * elf/ldconfig.c: Likewise.
6074         * elf/sprof.c: Likewise.
6075         * iconv/dummy-repertoire.c: Likewise.
6076         * iconv/iconv_charmap.c: Likewise.
6077         * iconv/skeleton.c: Likewise.
6078         * iconvdata/8bit-generic.c: Likewise.
6079         * iconvdata/cp737.h: Likewise.
6080         * iconvdata/cp775.h: Likewise.
6081         * iconvdata/ibm1008.h: Likewise.
6082         * iconvdata/ibm1025.h: Likewise.
6083         * iconvdata/ibm1046.h: Likewise.
6084         * iconvdata/ibm1097.h: Likewise.
6085         * iconvdata/ibm1112.h: Likewise.
6086         * iconvdata/ibm1122.h: Likewise.
6087         * iconvdata/ibm1123.h: Likewise.
6088         * iconvdata/ibm1124.h: Likewise.
6089         * iconvdata/ibm1129.h: Likewise.
6090         * iconvdata/ibm1130.h: Likewise.
6091         * iconvdata/ibm1132.h: Likewise.
6092         * iconvdata/ibm1133.h: Likewise.
6093         * iconvdata/ibm1137.h: Likewise.
6094         * iconvdata/ibm1140.h: Likewise.
6095         * iconvdata/ibm1141.h: Likewise.
6096         * iconvdata/ibm1142.h: Likewise.
6097         * iconvdata/ibm1143.h: Likewise.
6098         * iconvdata/ibm1144.h: Likewise.
6099         * iconvdata/ibm1145.h: Likewise.
6100         * iconvdata/ibm1146.h: Likewise.
6101         * iconvdata/ibm1147.h: Likewise.
6102         * iconvdata/ibm1148.h: Likewise.
6103         * iconvdata/ibm1149.h: Likewise.
6104         * iconvdata/ibm1153.h: Likewise.
6105         * iconvdata/ibm1154.h: Likewise.
6106         * iconvdata/ibm1155.h: Likewise.
6107         * iconvdata/ibm1156.h: Likewise.
6108         * iconvdata/ibm1157.h: Likewise.
6109         * iconvdata/ibm1158.h: Likewise.
6110         * iconvdata/ibm1160.h: Likewise.
6111         * iconvdata/ibm1161.h: Likewise.
6112         * iconvdata/ibm1162.h: Likewise.
6113         * iconvdata/ibm1163.h: Likewise.
6114         * iconvdata/ibm1164.h: Likewise.
6115         * iconvdata/ibm1166.h: Likewise.
6116         * iconvdata/ibm1167.h: Likewise.
6117         * iconvdata/ibm12712.h: Likewise.
6118         * iconvdata/ibm1390.h: Likewise.
6119         * iconvdata/ibm1399.h: Likewise.
6120         * iconvdata/ibm16804.h: Likewise.
6121         * iconvdata/ibm4517.h: Likewise.
6122         * iconvdata/ibm4899.h: Likewise.
6123         * iconvdata/ibm4909.h: Likewise.
6124         * iconvdata/ibm4971.h: Likewise.
6125         * iconvdata/ibm5347.h: Likewise.
6126         * iconvdata/ibm803.h: Likewise.
6127         * iconvdata/ibm856.h: Likewise.
6128         * iconvdata/ibm901.h: Likewise.
6129         * iconvdata/ibm902.h: Likewise.
6130         * iconvdata/ibm9030.h: Likewise.
6131         * iconvdata/ibm9066.h: Likewise.
6132         * iconvdata/ibm921.h: Likewise.
6133         * iconvdata/ibm922.h: Likewise.
6134         * iconvdata/ibm9448.h: Likewise.
6135         * iconvdata/isiri-3342.h: Likewise.
6136         * iconvdata/jis0201.h: Likewise.
6137         * include/link.h: Likewise.
6138         * include/netdb.h: Likewise.
6139         * inet/check_native.c: Likewise.
6140         * inet/check_pf.c: Likewise.
6141         * inet/getipv4sourcefilter.c: Likewise.
6142         * inet/getnameinfo.c: Likewise.
6143         * inet/getsourcefilter.c: Likewise.
6144         * inet/htonl.c: Likewise.
6145         * inet/setipv4sourcefilter.c: Likewise.
6146         * inet/setsourcefilter.c: Likewise.
6147         * inet/test-inet6_opt.c: Likewise.
6148         * inet/tst-network.c: Likewise.
6149         * locale/C-collate.c: Likewise.
6150         * locale/C-ctype.c: Likewise.
6151         * locale/C-time.c: Likewise.
6152         * locale/C-translit.h: Likewise.
6153         * locale/loadarchive.c: Likewise.
6154         * locale/programs/3level.h: Likewise.
6155         * locale/programs/charmap.c: Likewise.
6156         * locale/programs/charmap.h: Likewise.
6157         * locale/programs/ld-address.c: Likewise.
6158         * locale/programs/ld-collate.c: Likewise.
6159         * locale/programs/ld-ctype.c: Likewise.
6160         * locale/programs/ld-identification.c: Likewise.
6161         * locale/programs/ld-measurement.c: Likewise.
6162         * locale/programs/ld-messages.c: Likewise.
6163         * locale/programs/ld-monetary.c: Likewise.
6164         * locale/programs/ld-name.c: Likewise.
6165         * locale/programs/ld-numeric.c: Likewise.
6166         * locale/programs/ld-paper.c: Likewise.
6167         * locale/programs/ld-telephone.c: Likewise.
6168         * locale/programs/ld-time.c: Likewise.
6169         * locale/programs/linereader.c: Likewise.
6170         * locale/programs/locale.c: Likewise.
6171         * locale/programs/locarchive.c: Likewise.
6172         * locale/programs/locfile.h: Likewise.
6173         * locale/programs/repertoire.c: Likewise.
6174         * locale/programs/simple-hash.c: Likewise.
6175         * locale/programs/simple-hash.h: Likewise.
6176         * malloc/memusage.c: Likewise.
6177         * malloc/memusagestat.c: Likewise.
6178         * nis/nis_defaults.c: Likewise.
6179         * nis/nis_hash.c: Likewise.
6180         * nis/nis_print.c: Likewise.
6181         * nis/nis_xdr.c: Likewise.
6182         * nscd/connections.c: Likewise.
6183         * nscd/hstcache.c: Likewise.
6184         * nscd/nscd_gethst_r.c: Likewise.
6185         * nscd/nscd_getserv_r.c: Likewise.
6186         * nscd/nscd_helper.c: Likewise.
6187         * nscd/servicescache.c: Likewise.
6188         * nss/makedb.c: Likewise.
6189         * nss/nss_db/db-XXX.c: Likewise.
6190         * nss/nss_db/db-initgroups.c: Likewise.
6191         * nss/nss_db/db-netgrp.c: Likewise.
6192         * nss/nss_files/files-network.c: Likewise.
6193         * nss/nss_files/files-parse.c: Likewise.
6194         * posix/bug-regex5.c: Likewise.
6195         * posix/fnmatch_loop.c: Likewise.
6196         * posix/regcomp.c: Likewise.
6197         * posix/regexec.c: Likewise.
6198         * posix/tst-rfc3484-2.c: Likewise.
6199         * posix/tst-rfc3484-3.c: Likewise.
6200         * posix/tst-rfc3484.c: Likewise.
6201         * resolv/nss_dns/dns-canon.c: Likewise.
6202         * resolv/nss_dns/dns-network.c: Likewise.
6203         * resolv/res_init.c: Likewise.
6204         * resolv/res_mkquery.c: Likewise.
6205         * resolv/tst-aton.c: Likewise.
6206         * stdlib/cxa_atexit.c: Likewise.
6207         * stdlib/cxa_finalize.c: Likewise.
6208         * stdlib/gen-fpioconst.c: Likewise.
6209         * stdlib/strtol_l.c: Likewise.
6210         * string/tst-endian.c: Likewise.
6211         * sunrpc/auth_des.c: Likewise.
6212         * sunrpc/clnt_udp.c: Likewise.
6213         * sunrpc/rtime.c: Likewise.
6214         * sunrpc/svcauth_des.c: Likewise.
6215         * sunrpc/xdr.c: Likewise.
6216         * sunrpc/xdr_intXX_t.c: Likewise.
6217         * sunrpc/xdr_rec.c: Likewise.
6218         * sysdeps/generic/ldconfig.h: Likewise.
6219         * sysdeps/generic/ldsodefs.h: Likewise.
6220         * sysdeps/generic/memusage.h: Likewise.
6221         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6222         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
6223         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
6224         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6225         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6226         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6227         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6228         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6229         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6230         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6231         * sysdeps/posix/getaddrinfo.c: Likewise.
6232         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6233         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6234         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6235         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6236         * sysdeps/powerpc/test-gettimebase.c: Likewise.
6237         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6238         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
6239         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
6240         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6241         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
6242         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6243         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6244         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
6245         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
6246         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
6247         * sysdeps/x86_64/dl-tls.h: Likewise.
6248         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
6249         * time/alt_digit.c: Likewise.
6250         * time/era.c: Likewise.
6251         * wcsmbs/tst-c16c32-1.c: Likewise.
6253 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
6255         * math/libm-test.inc (struct test_sincos_data): New type.
6256         (RUN_TEST_LOOP_sincos): New macro.
6257         (sincos_test_data): New variable.
6258         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
6260 2013-05-16  Richard Henderson  <rth@redhat.com>
6262         * math/atest-exp2.c (LIMB64): New macro.
6263         (CONSTSZ): New macro.
6264         (mp_exp1, mp_exp_m1, mp_log2): New variables.
6265         (hexdig): Move ...
6266         (print_mpn_fp): ... to function scope.
6267         (read_mpn_hex): Remove.
6268         (get_log2): Remove.
6269         (exp2_mpn): Use mp_log2.
6270         (main): Use mp_exp1.
6272 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
6274         * math/libm-test.inc: Remove comment about not testing "inexact"
6275         exceptions.
6276         (INEXACT_EXCEPTION): New macro.
6277         (NO_INEXACT_EXCEPTION): Likewise.
6278         (INVALID_EXCEPTION_OK): Update value.
6279         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6280         (OVERFLOW_EXCEPTION_OK): Likewise.
6281         (UNDERFLOW_EXCEPTION_OK): Likewise.
6282         (IGNORE_ZERO_INF_SIGN): Likewise.
6283         (ERRNO_UNCHANGED): Likewise.
6284         (ERRNO_EDOM): Likewise.
6285         (ERRNO_ERANGE): Likewise.
6286         (test_exceptions): Handle testing "inexact" exceptions.
6287         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
6288         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
6289         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
6290         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
6291         INEXACT_EXCEPTION.
6292         (rint_towardzero_test_data): Likewise.
6293         (rint_downward_test_data): Likewise.
6294         (rint_upward_test_data): Likewise.
6296         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
6297         with OVERFLOW_EXCEPTION.
6298         (exp10_test_data): Likewise.
6299         (exp2_test_data): Likewise.
6300         (expm1_test_data): Likewise.
6301         (lgamma_test_data): Likewise.
6302         (pow_test_data): Likewise.
6303         (tgamma_test_data): Likewise.
6304         (yn_test_data): Remove duplicate test of overflow.
6306         * math/libm-test.inc (struct test_cc_c_data): New type.
6307         (RUN_TEST_LOOP_cc_c): New macro.
6308         (cpow_test_data): New variable.
6309         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
6311         * math/libm-test.inc (struct test_f_L_data): New type.
6312         (RUN_TEST_LOOP_f_L): New macro.
6313         (llrint_test_data): New variable.
6314         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
6315         (llrint_tonearest_test_data): New variable.
6316         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
6317         (llrint_towardzero_test_data): New variable.
6318         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
6319         (llrint_downward_test_data): New variable.
6320         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
6321         (llrint_upward_test_data): New variable.
6322         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
6323         (llround_test_data): New variable.
6324         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
6326 2013-05-13  Peter Collingbourne  <pcc@google.com>
6328         * math/atest-exp2.c (get_log2): Remove const attribute.
6330 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
6332         * math/libm-test.inc (struct test_f_l_data): New type.
6333         (RUN_TEST_LOOP_f_l): New macro.
6334         (lrint_test_data): New variable.
6335         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
6336         (lrint_tonearest_test_data): New variable.
6337         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
6338         (lrint_towardzero_test_data): New variable.
6339         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
6340         (lrint_downward_test_data): New variable.
6341         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
6342         (lrint_upward_test_data): New variable.
6343         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
6344         (lround_test_data): New variable.
6345         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
6347 2013-05-15  Peter Collingbourne  <pcc@google.com>
6349         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
6350         (EXTRACT_WORDS64) Use where appropriate.
6351         (INSERT_WORDS64) Likewise.
6353         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
6354         constraints with x constraints.
6355         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
6357         * malloc/obstack.c (_obstack_compat): Add initializer.
6359 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
6361         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
6362         si_trapno and add si_addr_lsb to _sifields.sigfault.
6363         (si_trapno): Remove macro.
6364         (si_addr_lsb): Define new macro.
6365         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6367 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
6369         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
6370         instead of TEST_f_l.
6371         (llrint_test_tonearest): Likewise.
6372         (llrint_test_towardzero): Likewise.
6373         (llrint_test_downward): Likewise.
6374         (llrint_test_upward): Likewise.
6375         (llround_test): Likewise.
6377         * math/libm-test.inc (struct test_f_i_data): Add comment.
6378         (RUN_TEST_LOOP_f_b): New macro.
6379         (RUN_TEST_LOOP_f_b_tg): Likewise.
6380         (finite_test_data): New variable.
6381         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
6382         (isfinite_test_data): New variable.
6383         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6384         (isinf_test_data): New variable.
6385         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6386         (isnan_test_data): New variable.
6387         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6388         (isnormal_test_data): New variable.
6389         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6390         (issignaling_test_data): New variable.
6391         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6392         (signbit_test_data): New variable.
6393         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6395         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
6396         with INVALID_EXCEPTION.
6397         (acosh_test_data): Likewise.
6398         (asin_test_data): Likewise.
6399         (atanh_test_data): Likewise.
6400         (fmod_test_data): Likewise.
6401         (log_test_data): Likewise.
6402         (log10_test_data): Likewise.
6403         (log2_test_data): Likewise.
6404         (pow_test_data): Likewise.
6405         (sqrt_test_data): Likewise.
6406         (y0_test_data): Likewise.
6407         (y1_test_data): Likewise.
6408         (yn_test_data): Likewise.
6410         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
6411         function contents.
6413         * math/libm-test.inc (struct test_ff_i_data): New type.
6414         (RUN_TEST_LOOP_ff_i_tg): New macro.
6415         (isgreater_test_data): New variable.
6416         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6417         (isgreaterequal_test_data): New variable.
6418         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6419         (isless_test_data): New variable.
6420         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6421         (islessequal_test_data): New variable.
6422         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6423         (islessgreater_test_data): New variable.
6424         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6425         (isunordered_test_data): New variable.
6426         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6428 2013-05-14  David S. Miller  <davem@davemloft.net>
6430         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6432 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
6434         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
6436         * math/libm-test.inc (struct test_fF_f1_data): Change type of
6437         extra_test to int.
6438         (struct test_f_i_data): Change type of max_ulp to int.
6440         * math/libm-test.inc (test_ffI_f1_data): New type.
6441         (RUN_TEST_LOOP_ffI_f1): New macro.
6442         (remquo_test_data): New variable.
6443         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
6445         * setjmp/tst-setjmp-fp.c: New file.
6446         * setjmp/Makefile (tests): Add tst-setjmp-fp.
6447         (link-libm): New variable.
6448         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
6450         * math/libm-test.inc (struct test_f_i_data): New type.
6451         (RUN_TEST_LOOP_f_i): New macro.
6452         (RUN_TEST_LOOP_f_i_tg): Likewise.
6453         (fpclassify_test_data): New variable.
6454         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
6455         (ilogb_test_data): New variable.
6456         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
6458         * math/libm-test.inc (scalbln_test): Correct function name in END
6459         call.
6461         * math/libm-test.inc (struct test_f_f1_data): Add comment.
6462         (RUN_TEST_LOOP_fI_f1): New macro.
6463         (frexp_test_data): New variable.
6464         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
6466         * math/libm-test.inc (struct test_fF_f1_data): New type.
6467         (RUN_TEST_LOOP_fF_f1): New macro.
6468         (modf_test_data): New variable.
6469         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
6471         * math/libm-test.inc (struct test_f_f1_data): New type.
6472         (RUN_TEST_LOOP_f_f1): New macro.
6473         (gamma_test_data): New variable.
6474         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6475         (lgamma_test_data): New variable.
6476         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6478 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
6480         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
6481         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
6482         (main): Comment "tls" pseudo-hwcap.
6484 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
6486         * math/libm-test.inc (struct test_fl_f_data): New type.
6487         (RUN_TEST_LOOP_fl_f): New variable.
6488         (scalbln_test_data): New variable.
6489         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
6491         * math/libm-test.inc (struct test_fi_f_data): New type.
6492         (RUN_TEST_LOOP_fi_f): New macro.
6493         (ldexp_test_data): New variable.
6494         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
6495         (scalbn_test_data): New variable.
6496         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
6498         * math/libm-test.inc (struct test_c_f_data): New type.
6499         (RUN_TEST_LOOP_c_f): New macro.
6500         (cabs_test_data): New variable.
6501         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
6502         (carg_test_data): New variable.
6503         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
6504         (cimag_test_data): New variable.
6505         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
6506         (creal_test_data): New variable.
6507         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
6509         * math/libm-test.inc (struct test_if_f_data): New type.
6510         (RUN_TEST_LOOP_if_f): New macro.
6511         (jn_test_data): New variable.
6512         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
6513         (yn_test_data): New variable.
6514         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
6516         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
6518 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6520         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
6521         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
6523 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6525         * benchtests/Makefile (CPPFLAGS-nonlib): Add
6526         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
6527         (bench-deps): Add bench-timing.h.
6528         * benchtests-bench-skeleton.c: Include bench-timing.h.
6529         (main): Use TIMING_* macros instead of clock_gettime.
6530         * benchtests/bench-timing.h: New file.
6532         [BZ #14582]
6533         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
6534         Renamed from _LIB_VERSION.
6535         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
6537 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
6539         * math/libm-test.inc (struct test_fff_f_data): New type.
6540         (RUN_TEST_LOOP_fff_f): New macro.
6541         (fma_test_data): New variable.
6542         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
6543         (fma_towardzero_test_data): New variable.
6544         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
6545         (fma_downward_test_data): New variable.
6546         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
6547         (fma_upward_test_data): New variable.
6548         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
6550         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
6551         (struct test_c_c_data): New type.
6552         (RUN_TEST_LOOP_c_c): New macro.
6553         (cacos_test_data): New variable.
6554         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
6555         (cacosh_test_data): New variable.
6556         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
6557         (casin_test_data): New variable.
6558         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
6559         (casinh_test_data): New variable.
6560         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
6561         (catan_test_data): New variable.
6562         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
6563         (catanh_test_data): New variable.
6564         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
6565         (ccos_test_data): New variable.
6566         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
6567         (ccosh_test_data): New variable.
6568         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
6569         (cexp_test_data): New variable.
6570         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
6571         (clog_test_data): New variable.
6572         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
6573         (clog10_test_data): New variable.
6574         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
6575         (conj_test_data): New variable.
6576         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
6577         (cproj_test_data): New variable.
6578         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
6579         (csin_test_data): New variable.
6580         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
6581         (csinh_test_data): New variable.
6582         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
6583         (csqrt_test_data): New variable.
6584         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
6585         (ctan_test_data): New variable.
6586         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
6587         (ctan_tonearest_test_data): New variable.
6588         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6589         (ctan_towardzero_test_data): New variable.
6590         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6591         (ctan_downward_test_data): New variable.
6592         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6593         (ctan_upward_test_data): New variable.
6594         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6595         (ctanh_test_data): New variable.
6596         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
6597         (ctanh_tonearest_test_data): New variable.
6598         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6599         (ctanh_towardzero_test_data): New variable.
6600         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6601         (ctanh_downward_test_data): New variable.
6602         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6603         (ctanh_upward_test_data): New variable.
6604         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6605         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
6606         of BUILD_COMPLEX.
6608         * math/libm-test.inc (struct test_ff_f_data): New type.
6609         (struct test_ff_f_data_nexttoward): Likewise.
6610         (RUN_TEST_LOOP_2_f): New macro.
6611         (RUN_TEST_LOOP_ff_f): Likewise.
6612         (atan2_test_data): New variable.
6613         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
6614         (copysign_test_data): New variable.
6615         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
6616         (fdim_test_data): New variable.
6617         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
6618         (fmax_test_data): New variable.
6619         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
6620         (fmin_test_data): New variable.
6621         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
6622         (fmod_test_data): New variable.
6623         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
6624         (hypot_test_data): New variable.
6625         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
6626         (nextafter_test_data): New variable.
6627         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
6628         (nexttoward_test_data): New variable.
6629         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
6630         (pow_test_data): New variable.
6631         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
6632         (pow_tonearest_test_data): New variable.
6633         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
6634         (pow_towardzero_test_data): New variable.
6635         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
6636         (pow_downward_test_data): New variable.
6637         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
6638         (pow_upward_test_data): New variable.
6639         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
6640         (remainder_test_data): New variable.
6641         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
6642         (scalb_test_data): New variable.
6643         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
6644         * sysdeps/i386/fpu/libm-test-ulps: Update.
6646 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
6648         * math/libm-test.inc (fma_test): Use max_value instead of local
6649         variable fltmax.
6650         (nextafter_test): Likewise.
6652         * math/libm-test.inc (acos_towardzero_test_data): New variable.
6653         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6654         (acos_downward_test_data): New variable.
6655         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6656         (acos_upward_test_data): New variable.
6657         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6658         (acosh_test_data): New variable.
6659         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
6660         (asin_test_data): New variable.
6661         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
6662         (asin_tonearest_test_data): New variable.
6663         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6664         (asin_towardzero_test_data): New variable.
6665         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6666         (asin_downward_test_data): New variable.
6667         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6668         (asin_upward_test_data): New variable.
6669         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6670         (asinh_test_data): New variable.
6671         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
6672         (atan_test_data): New variable.
6673         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
6674         (atanh_test_data): New variable.
6675         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
6676         (cbrt_test_data): New variable.
6677         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
6678         (ceil_test_data): New variable.
6679         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
6680         (cos_test_data): New variable.
6681         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
6682         (cos_tonearest_test_data): New variable.
6683         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6684         (cos_towardzero_test_data): New variable.
6685         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6686         (cos_downward_test_data): New variable.
6687         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6688         (cos_upward_test_data): New variable.
6689         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6690         (cosh_test_data): New variable.
6691         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
6692         (cosh_tonearest_test_data): New variable.
6693         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6694         (cosh_towardzero_test_data): New variable.
6695         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6696         (cosh_downward_test_data): New variable.
6697         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6698         (cosh_upward_test_data): New variable.
6699         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6700         (erf_test_data): New variable.
6701         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
6702         (erfc_test_data): New variable.
6703         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
6704         (exp_test_data): New variable.
6705         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
6706         (exp_tonearest_test_data): New variable.
6707         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6708         (exp_towardzero_test_data): New variable.
6709         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6710         (exp_downward_test_data): New variable.
6711         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6712         (exp_upward_test_data): New variable.
6713         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6714         (exp10_test_data): New variable.
6715         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
6716         (exp2_test_data): New variable.
6717         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
6718         (expm1_test_data): New variable.
6719         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
6720         (fabs_test_data): New variable.
6721         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
6722         (floor_test_data): New variable.
6723         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
6724         (j0_test_data): New variable.
6725         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
6726         (j1_test_data): New variable.
6727         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
6728         (log_test_data): New variable.
6729         (log_test): Run tests with RUN_TEST_LOOP_f_f.
6730         (log10_test_data): New variable.
6731         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
6732         (log1p_test_data): New variable.
6733         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
6734         (log2_test_data): New variable.
6735         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
6736         (logb_test_data): New variable.
6737         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
6738         (logb_downward_test_data): New variable.
6739         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6740         (nearbyint_test_data): New variable.
6741         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
6742         (rint_test_data): New variable.
6743         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
6744         (rint_tonearest_test_data): New variable.
6745         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6746         (rint_towardzero_test_data): New variable.
6747         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6748         (rint_downward_test_data): New variable.
6749         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6750         (rint_upward_test_data): New variable.
6751         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6752         (round_test_data): New variable.
6753         (round_test): Run tests with RUN_TEST_LOOP_f_f.
6754         (sin_test_data): New variable.
6755         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
6756         (sin_tonearest_test_data): New variable.
6757         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6758         (sin_towardzero_test_data): New variable.
6759         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6760         (sin_downward_test_data): New variable.
6761         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6762         (sin_upward_test_data): New variable.
6763         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6764         (sinh_test_data): New variable.
6765         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
6766         (sinh_tonearest_test_data): New variable.
6767         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6768         (sinh_towardzero_test_data): New variable.
6769         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6770         (sinh_downward_test_data): New variable.
6771         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6772         (sinh_upward_test_data): New variable.
6773         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6774         (sqrt_test_data): New variable.
6775         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
6776         (tan_test_data): New variable.
6777         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
6778         (tan_tonearest_test_data): New variable.
6779         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6780         (tan_towardzero_test_data): New variable.
6781         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6782         (tan_downward_test_data): New variable.
6783         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6784         (tan_upward_test_data): New variable.
6785         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6786         (tanh_test_data): New variable.
6787         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
6788         (tgamma_test_data): New variable.
6789         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
6790         (trunc_test_data): New variable.
6791         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
6792         (y0_test_data): New variable.
6793         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
6794         (y1_test_data): New variable.
6795         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
6796         (significand_test_data): New variable.
6797         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
6799 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
6801         [BZ #12387]
6802         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
6804 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
6806         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
6808 2013-05-10  Andreas Jaeger  <aj@suse.de>
6810         [BZ #15448]
6811         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
6812         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
6814 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
6816         * math/gen-libm-test.pl (adjust_arg): New function.
6817         (special_functions): Handle generating output in both functions
6818         and arrays.
6819         (parse_args): Likewise.
6820         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
6821         $in_func argument to parse_args.
6822         * math/libm-test.inc (struct test_f_f_data): New type.
6823         (IF_ROUND_INIT_): New macro.
6824         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
6825         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6826         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6827         (IF_ROUND_INIT_FE_UPWARD): Likewise.
6828         (ROUND_RESTORE_): Likewise.
6829         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
6830         (ROUND_RESTORE_FE_TONEAREST): Likewise.
6831         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
6832         (ROUND_RESTORE_FE_UPWARD): Likewise.
6833         (RUN_TEST_LOOP_f_f): New macro.
6834         (acos_test_data): New variable.
6835         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
6836         (acos_tonearest_test_data): New variable.
6837         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6839 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6841         * benchtests/bench-skeleton.c (startup): Fix coding style.
6843 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
6845         [BZ #6809]
6846         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
6847         negative infinity argument.
6848         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
6849         negative infinity argument.
6850         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
6851         negative infinity argument.
6852         * math/libm-test.inc (tgamma_test): Expect errno to be set for
6853         domain errors.
6855 2013-05-10  Florian Weimer  <fweimer@redhat.com>
6857         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
6858         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
6859         * iconv/iconv_prog.c (main): Likewise.
6860         * locale/programs/charmap-dir.c (charmap_readdir)
6861         (fopen_uncompressed): Likewise.
6862         * locale/programs/locfile.c (siblings_uncached)
6863         (write_locale_data): Use lstat64 instead of lstat.
6864         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
6865         stat.
6867 2013-05-10  Andreas Jaeger  <aj@suse.de>
6869         [BZ #15395]
6870         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
6871         localization.
6872         Include <locale.h>.
6874 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
6876         * elf/dl-close.c (_dl_close_worker): Add comments.
6878 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
6880         [BZ #15359]
6881         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
6882         high part of pi/2.
6883         (__ieee754_rem_pio2l): Update comments.
6885         [BZ #15429]
6886         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
6887         high part of pi/2.
6888         (__ieee754_rem_pio2l): Update comments.
6890         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
6891         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
6893         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
6894         M_PI_4l.
6896         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
6897         (M_PI_34_LOG10El): Likewise.
6898         (M_PI2_LOG10El): Likewise.
6899         (M_PI4_LOG10El): Likewise.
6900         (M_PI_LOG10El): Likewise.
6902 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6904         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6906 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
6908         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
6909         (MINUS_ZERO_INIT): Likewise.
6910         (PLUS_INFTY_INIT): Likewise.
6911         (MINUS_INFTY_INIT): Likewise.
6912         (QNAN_VALUE_INIT): Likewise.
6913         (MAX_VALUE_INIT): Likewise.
6914         (MIN_VALUE_INIT): Likewise.
6915         (MIN_SUBNORM_VALUE_INIT): Likewise.
6916         (plus_zero): Initialize with PLUS_ZERO_INIT.
6917         (minus_zero): Initialize with MINUS_ZERO_INIT.
6918         (plus_infty): Initialize with PLUS_INFTY_INIT.
6919         (minus_infty): Initialize with MINUS_INFTY_INIT.
6920         (qnan_value): Initialize with QNAN_VALUE_INIT.
6921         (max_value): Initialize with MAX_VALUE_INIT.
6922         (min_value): Initialize with MIN_VALUE_INIT.
6923         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
6925         * math/libm-test.inc (RUN_TEST_if_f): New macro.
6926         (jn_test): Use TEST_if_f instead of TEST_ff_f.
6927         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
6928         (yn_test): Use TEST_if_f instead of TEST_ff_f.
6930         * math/libm-test.inc (RUN_TEST_f_f): New macro.
6931         (RUN_TEST_2_f): Likewise.
6932         (RUN_TEST_ff_f): Likewise.
6933         (RUN_TEST_fi_f): Likewise.
6934         (RUN_TEST_fl_f): Likewise.
6935         (RUN_TEST_fff_f): Likewise.
6936         (RUN_TEST_c_f): Likewise.
6937         (RUN_TEST_f_f1): Likewise.
6938         (RUN_TEST_fF_f1): Likewise.
6939         (RUN_TEST_fI_f1): Likewise.
6940         (RUN_TEST_ffI_f1): Likewise.
6941         (RUN_TEST_c_c): Likewise.
6942         (RUN_TEST_cc_c): Likewise.
6943         (RUN_TEST_f_i): Likewise.
6944         (RUN_TEST_f_i_tg): Likewise.
6945         (RUN_TEST_ff_i_tg): Likewise.
6946         (RUN_TEST_f_b): Likewise.
6947         (RUN_TEST_f_b_tg): Likewise.
6948         (RUN_TEST_f_l): Likewise.
6949         (RUN_TEST_f_L): Likewise.
6950         (RUN_TEST_sincos): Likewise.
6951         * math/gen-libm-test.pl (new_test): Take new argument to indicate
6952         whether to show exceptions.  Do not include ");\n" in return
6953         value.
6954         (special_functions): Output call to RUN_TEST_sincos instead of
6955         check_float calls.  Update calls to new_test.
6956         (parse_args): Output call to single RUN_TEST_* macro instead of
6957         check_* calls and other assignments.  Update calls to new_test.
6959         [BZ #2546]
6960         [BZ #2560]
6961         [BZ #5159]
6962         [BZ #15426]
6963         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
6964         input to result for tgamma overflow.
6965         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
6966         (gamma_coeff): New variable.
6967         (NCOEFF): New macro.
6968         (gamma_positive): New function.
6969         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
6970         underflow here.  Use gamma_positive instead of exp (lgamma) for
6971         other arguments.
6972         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
6973         (gamma_coeff): New variable.
6974         (NCOEFF): New macro.
6975         (gammaf_positive): New function.
6976         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
6977         underflow here.  Use gamma_positive instead of exp (lgamma) for
6978         other arguments.
6979         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
6980         (gamma_coeff): New variable.
6981         (NCOEFF): New macro.
6982         (gammal_positive): New function.
6983         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
6984         underflow here.  Use gamma_positive instead of exp (lgamma) for
6985         other arguments.
6986         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
6987         (gamma_coeff): New variable.
6988         (NCOEFF): New macro.
6989         (gammal_positive): New function.
6990         (__ieee754_gammal_r): Handle positive infinity, overflow and
6991         underflow here.  Handle NaN the same as positive infinity.  Remove
6992         check x < 0xffffffff for negative integers.  Use gamma_positive
6993         instead of exp (lgamma) for other arguments.
6994         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
6995         (gamma_coeff): New variable.
6996         (NCOEFF): New macro.
6997         (gammal_positive): New function.
6998         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
6999         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
7000         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7001         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
7002         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
7003         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7004         * sysdeps/generic/math_private.h (__gamma_productf): New
7005         prototype.
7006         (__gamma_product): Likewise.
7007         (__gamma_productl): Likewise.
7008         * math/Makefile (libm-calls): Add gamma_product.
7009         * math/libm-test.inc (tgamma_test): Add more tests.
7010         * sysdeps/i386/fpu/libm-test-ulps: Update.
7011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7013 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
7015         * benchtests/bench-skeleton.c (main): Preheat CPU.
7017 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
7019         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
7021 2013-05-07  Roland McGrath  <roland@hack.frob.com>
7023         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
7024         and _dl_skip_args_internal.
7026 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
7028         * manual/message.texi (Message Translation): Talk about users.
7029         Message to key mapping impacts design.
7031 2013-05-06  Roland McGrath  <roland@hack.frob.com>
7033         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
7035         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
7037         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
7038         * sysdeps/wordsize-64/glob64.c: ... here.
7040         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
7041         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
7042         New macros.
7044         * debug/getlogin_r_chk.c: Moved to ...
7045         * login/getlogin_r_chk.c: ... here.
7046         * debug/Makefile (routines): Move getlogin_r_chk to ...
7047         * login/Makefile (routines): ... here.
7048         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
7049         * login/Versions (libc: GLIBC_2.4): ... here.
7051         * io/poll.c (__poll): Renamed from poll.
7052         Add libc_hidden_def.
7053         (poll): Define as weak alias.
7055         * debug/ptsname_r_chk.c: Moved to ...
7056         * login/ptsname_r_chk.c: ... here.
7057         * debug/Makefile (routines): Move ptsname_r_chk to ...
7058         * login/Makefile (routines): ... here.
7059         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
7060         * login/Versions (libc: GLIBC_2.4): ... here.
7062         * posix/getlogin.c: Moved to ...
7063         * login/getlogin.c: ... here.
7064         * posix/getlogin_r.c: Moved to ...
7065         * login/getlogin_r.c: ... here.
7066         * posix/getlogin_r.c: Moved to ...
7067         * login/getlogin_r.c: ... here.
7068         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
7069         * login/Makefile (routines): ... here.
7070         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
7071         * login/Versions (libc: GLIBC_2.0): ... here.
7073         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
7074         (setrlimit): Define as weak alias.
7076         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
7077         Call __ names for open, ftruncate, and close.
7078         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
7079         (truncate): Define as weak alias.
7081 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
7083         * math/gen-libm-test.pl (parse_args): Initialize x before each
7084         test of frexp, modf and remquo.
7086         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
7087         test signgam value.
7089 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7091         [BZ #15418]
7092         [BZ #15419]
7093         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
7094         internal tests.
7095         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7097 2013-05-06  Roland McGrath  <roland@hack.frob.com>
7099         * elf/dl-writev.h: New file.
7100         * elf/dl-misc.c: Include it.
7101         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
7102         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
7104 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
7106         * math/libm-test.inc (noXFails): Remove variable.
7107         (noXPasses): Likewise.
7108         (BUILD_COMPLEX_INT): Remove macro.
7109         (print_screen): Remove xfail argument.
7110         (print_screen_max_error): Likewise.
7111         (update_stats): Likewise.
7112         (print_max_error): Likewise.  Update calls to other affected
7113         functions.
7114         (print_complex_max_error): Likewise.
7115         (test_single_exception): Update calls to print_screen.
7116         (test_single_errno): Likewise.
7117         (check_float_internal): Remove xfail argument.  Update calls to
7118         other affected functions.
7119         (check_float): Likewise.
7120         (check_complex): Likewise.
7121         (check_int): Likewise.
7122         (check_long): Likewise.
7123         (check_bool): Likewise.
7124         (check_longlong): Likewise.
7125         (main): Don't print noXFails and noXPasses.
7126         * math/gen-libm-test.pl (top level): Don't mention expected
7127         failure handling in comment.
7128         (new_test): Don't handle expected failures.
7129         (parse_args): Don't mention expected failure handling in comment.
7130         (generate_testfile): Don't handle expected failures.
7131         (parse_ulps): Likewise.
7132         (print_ulps_file): Likewise.
7133         (get_failure): Remove function.
7134         (output_test): Don't handle expected failures.
7135         * make/README.libm-test: Don't mention expected failure handling.
7137         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
7138         (minus_zero): Likewise.
7139         (plus_infty): Likewise.
7140         (minus_infty): Likewise.
7141         (qnan_value): Likewise.
7142         (max_value): Likewise.
7143         (min_value): Likewise.
7144         (min_subnorm_value): Likewise.
7145         (initialize): Do not initialize those variables dynamically.
7147 2013-05-03  Roland McGrath  <roland@hack.frob.com>
7149         * io/open.c (__open_2): Moved to ...
7150         * io/open_2.c: ... this new file.
7151         * io/open64.c (__open64_2): Moved to ...
7152         * io/open64_2.c: ... this new file.
7153         * io/openat.c (__openat_2): Moved to ...
7154         * io/openat_2.c: ... this new file.
7155         * io/openat64.c (__openat64_2): Moved to ...
7156         * io/openat64_2.c: ... this new file.
7157         * io/Makefile (routines): Add them.
7158         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
7159         * sysdeps/unix/sysv/linux/open_2.c: File removed.
7160         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
7161         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
7162         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
7163         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
7164         (__openat64): Add hidden_ver.
7165         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
7166         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
7168         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
7169         Separately conditionalize setting of GLRO(dl_sysinfo) so
7170         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
7171         as well, but the actual setting is only under [NEED_DL_SYSINFO].
7173 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7175         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
7176         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
7177         definition.
7178         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
7179         * sysdeps/unix/sysv/linux/powerpc/init-first.c
7180         (_libc_vdso_platform_setup): Add __vdso_time initialization.
7181         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
7182         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
7184 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
7186         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
7187         test signgam value.
7189         * math/libm-test.inc (hypot_test): Do not use
7190         IGNORE_ZERO_INF_SIGN.
7192 2013-05-03  Andreas Jaeger  <aj@suse.de>
7194         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
7195         Linux 3.9.
7196         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
7197         (PF_MAX): Adjust for VSOCK change.
7199 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7201         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7203 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
7205         [BZ #15264]
7206         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
7207         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
7208         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
7210 2013-05-02  David S. Miller  <davem@davemloft.net>
7212         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7214 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
7216         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
7218 2013-05-01  Roland McGrath  <roland@hack.frob.com>
7220         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
7222 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
7224         [BZ #14952]
7225         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
7226         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7227         Use __attribute__ ((__gnu_inline__)).
7228         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7229         Don't use __attribute__ ((__gnu_inline__)).
7231 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
7233         [BZ #15423]
7234         * math/s_catan.c (__catan): Handle small real or imaginary part of
7235         input specially to avoid spurious underflow.
7236         * math/s_catanf.c (__catanf): Likewise.
7237         * math/s_catanh.c (__catanh): Likewise.
7238         * math/s_catanhf.c (__catanhf): Likewise.
7239         * math/s_catanhl.c (__catanhl): Likewise.
7240         * math/s_catanl.c (__catanl): Likewise.
7241         * math/libm-test.inc (catan_test): Add more tests.
7242         (catanh_test): Likewise.
7243         * sysdeps/i386/fpu/libm-test-ulps: Update.
7244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7246 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7248         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7250 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
7252         [BZ #15416]
7253         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
7254         accurately for denominator in atan2.
7255         * math/s_catanf.c (__catanf): Likewise.
7256         * math/s_catanh.c (__catanh): Likewise.
7257         * math/s_catanhf.c (__catanhf): Likewise.
7258         * math/s_catanhl.c (__catanhl): Likewise.
7259         * math/s_catanl.c (__catanl): Likewise.
7260         * math/libm-test.inc (catan_test): Add more tests.
7261         (catanh_test): Likewise.
7262         * sysdeps/i386/fpu/libm-test-ulps: Update.
7263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7265 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7267         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
7269         * benchtests/Makefile (bench): Remove slow benchmarks.
7270         * benchtests/atan-inputs: Add slow benchmark inputs.
7271         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
7272         (BENCH_FUNC): Accept variant offset.
7273         (VARIANT): Define.
7274         * benchtests/bench-skeleton.c (main): Run benchmark for each
7275         variant.
7276         * benchtests/cos-inputs: Add slow benchmark inputs.
7277         * benchtests/exp-inputs: Likewise.
7278         * benchtests/pow-inputs: Likewise.
7279         * benchtests/sin-inputs: Likewise.
7280         * benchtests/slowatan-inputs: Remove.
7281         * benchtests/slowatan.c: Remove.
7282         * benchtests/slowcos-inputs: Remove.
7283         * benchtests/slowcos.c: Remove.
7284         * benchtests/slowexp-inputs: Remove.
7285         * benchtests/slowexp.c: Remove.
7286         * benchtests/slowpow-inputs: Remove.
7287         * benchtests/slowpow.c: Remove.
7288         * benchtests/slowsin-inputs: Remove.
7289         * benchtests/slowsin.c: Remove.
7290         * benchtests/slowtan-inputs: Remove.
7291         * benchtests/slowtan.c: Remove.
7292         * benchtests/tan-inputs: Add slow benchmark inputs.
7293         * scripts/bench.pl: Parse comments and directives.
7295         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
7296         in CPPFLAGS.
7297         ($(objpfx)bench-%.c): Remove *-ITER.
7298         * benchtests/bench-modf.c: Remove definition of ITER.
7299         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
7300         (main): Loop for DURATION seconds instead of fixed number of
7301         iterations.
7302         * scripts/bench.pl: Don't expect iterations in parameters.
7304 2013-04-29  Roland McGrath  <roland@hack.frob.com>
7306         * io/fchdir.c (__fchdir): Renamed from fchdir.
7307         (fchdir): Define as weak alias.
7309 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
7311         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
7312         (ERRNO_EDOM): Likewise.
7313         (ERRNO_ERANGE): Likewise.
7314         (noErrnoTests): New variable.
7315         (init_max_error): Set errno to 0.
7316         (test_single_errno): New function.
7317         (test_errno): Likewise.
7318         (check_float_internal): Call test_errno.  Set errno to 0.
7319         (check_complex): Refer to errno tests in comment.
7320         (check_int): Call test_errno.  Set errno to 0.
7321         (check_long): Likewise.
7322         (check_bool): Likewise.
7323         (check_longlong): Likewise.
7324         (cos_test): Use ERRNO_* flags for errno tests instead of
7325         check_int.
7326         (expm1_test): Likewise.
7327         (fmod_test): Likewise.
7328         (ilogb_test): Likewise.
7329         (lgamma_test): Likewise.
7330         (pow_test): Likewise.
7331         (remainder_test): Likewise.
7332         (sin_test): Likewise.
7333         (tan_test): Likewise.
7334         (yn_test): Likewise.
7335         (initialize): Set errno to 0.
7336         (main): Print number of errno tests.
7337         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
7339 2013-04-29  Andreas Jaeger  <aj@suse.de>
7341         [BZ #15084]
7342         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
7343         and RES_USEVC.
7345         [BZ #15085]
7346         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
7347         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
7348         unimplemented.
7350         [BZ #15380]
7351         * stdlib/random.c (__initstate): Return NULL if
7352         __initstate fails.
7354         [BZ #15086]
7355         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
7356         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
7357         RES_SNGLKUPREOP.
7359 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7361         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7363 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
7365         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
7366         of individual tests.
7367         (casin_test): Likewise.
7368         (casinh_test): Likewise.
7370 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
7372         [BZ #15409]
7373         * math/s_catan.c (__catan): Handle arguments with large real or
7374         imaginary part separately without squaring.
7375         * math/s_catanf.c (__catanf): Likewise.
7376         * math/s_catanh.c (__catanh): Likewise.
7377         * math/s_catanhf.c (__catanhf): Likewise.
7378         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7379         and redefine.
7380         (__catanhl): Handle arguments with large real or imaginary part
7381         separately without squaring.
7382         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7383         and redefine.
7384         (__catanl): Handle arguments with large real or imaginary part
7385         separately without squaring.
7386         * math/libm-test.inc (catan_test): Add more tests.
7387         (catanh_test): Likewise.
7388         * sysdeps/i386/fpu/libm-test-ulps: Update.
7389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7391 2013-04-27  Andreas Jaeger  <aj@suse.de>
7393         [BZ #15007]
7394         * stdlib/stdlib.h: Update guards for qecvt.
7395         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
7396         <stdlib.h>.
7398 2013-04-27  Allan McRae  <allan@archlinux.org>
7400         * sysdeps/i386/fpu/libm-test-ulps: Update.
7402 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
7404         [BZ #15406]
7405         * math/s_catan.c: Include <float.h>.
7406         (__catan): Ensure underflow exception occurs for underflowed
7407         result.
7408         * math/s_catanf.c: Include <float.h>.
7409         (__catanf): Ensure underflow exception occurs for underflowed
7410         result.
7411         * math/s_catanh.c: Include <float.h>.
7412         (__catanh): Ensure underflow exception occurs for underflowed
7413         result.
7414         * math/s_catanhf.c: Include <float.h>.
7415         (__catanhf): Ensure underflow exception occurs for underflowed
7416         result.
7417         * math/s_catanhl.c: Include <float.h>.
7418         (__catanhl): Ensure underflow exception occurs for underflowed
7419         result.
7420         * math/s_catanl.c: Include <float.h>.
7421         (__catanl): Ensure underflow exception occurs for underflowed
7422         result.
7423         * math/libm-test.inc (catan_test): Add more tests.
7424         (catanh_test): Likewise.
7426         [BZ #15405]
7427         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
7428         underflowed result.
7429         * math/s_ccoshf.c (__ccoshf): Likewise.
7430         * math/s_ccoshl.c (__ccoshl): Likewise.
7431         * math/s_csin.c (__csin): Likewise.
7432         * math/s_csinf.c (__csinf): Likewise.
7433         * math/s_csinh.c (__csinh): Likewise.
7434         * math/s_csinhf.c (__csinhf): Likewise.
7435         * math/s_csinhl.c (__csinhl): Likewise.
7436         * math/s_csinl.c (__csinl): Likewise.
7437         * math/libm-test.inc (ccos_test): Add more tests.
7438         (ccosh_test): Likewise.
7439         (csin_test): Likewise.
7440         (csinh_test): Likewise.
7442 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7444         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
7445         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
7446         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
7447         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
7448         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
7449         powerpc/power5+/fpu folders.
7450         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
7453 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
7455         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7457 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
7459         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
7460         additions to variable.
7461         [$(config-machine) = x86_64] (modules-names): Likewise.
7462         ($(objpfx)tst-audit3): Remove dependency.
7463         ($(objpfx)tst-audit3.out): Likewise.
7464         ($(objpfx)tst-audit4): Likewise.
7465         ($(objpfx)tst-audit4.out): Likewise.
7466         ($(objpfx)tst-audit5): Likewise.
7467         ($(objpfx)tst-audit5.out): Likewise.
7468         ($(objpfx)tst-audit6): Likewise.
7469         ($(objpfx)tst-audit6.out): Likewise.
7470         ($(objpfx)tst-audit7): Likewise.
7471         ($(objpfx)tst-audit7.out): Likewise.
7472         (tst-audit3-ENV): Remove variable.
7473         (tst-audit4-ENV): Likewise.
7474         (tst-audit5-ENV): Likewise.
7475         (tst-audit6-ENV): Likewise.
7476         (tst-audit7-ENV): Likewise.
7477         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
7478         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
7479         addition to variable.
7480         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
7481         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
7482         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
7483         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
7484         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
7485         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
7486         tst-audit3, tst-audit4 and tst-audit5.
7487         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
7488         tst-audit6 and tst-audit7.
7489         [$(subdir) = elf] (modules-names): Add audit modules for those
7490         tests.
7491         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
7492         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
7493         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
7494         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
7495         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
7496         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
7497         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
7498         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
7499         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
7500         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
7501         [$(subdir) = elf] (tst-audit3-ENV): New variable.
7502         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
7503         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
7504         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
7505         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
7506         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
7507         Likewise.
7508         [$(subdir) = elf && $(config-cflags-avx) = yes]
7509         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
7510         [$(subdir) = elf && $(config-cflags-avx) = yes]
7511         (CFLAGS-tst-auditmod4a.c): Likewise.
7512         [$(subdir) = elf && $(config-cflags-avx) = yes]
7513         (CFLAGS-tst-auditmod4b.c): Likewise.
7514         [$(subdir) = elf && $(config-cflags-avx) = yes]
7515         (CFLAGS-tst-auditmod6b.c): Likewise.
7516         [$(subdir) = elf && $(config-cflags-avx) = yes]
7517         (CFLAGS-tst-auditmod6c.c): Likewise.
7518         [$(subdir) = elf && $(config-cflags-avx) = yes]
7519         (CFLAGS-tst-auditmod7b.c): Likewise.
7520         * elf/tst-audit3.c: Move to ...
7521         * sysdeps/x86_64/tst-audit3.c: ... here.
7522         * elf/tst-audit4.c: Move to ...
7523         * sysdeps/x86_64/tst-audit4.c: ... here.
7524         * elf/tst-audit5.c: Move to ...
7525         * sysdeps/x86_64/tst-audit5.c: ... here.
7526         * elf/tst-audit6.c: Move to ...
7527         * sysdeps/x86_64/tst-audit6.c: ... here.
7528         * elf/tst-audit7.c: Move to ...
7529         * sysdeps/x86_64/tst-audit7.c: ... here.
7530         * elf/tst-auditmod3a.c: Move to ...
7531         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
7532         * elf/tst-auditmod3b.c: Move to ...
7533         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
7534         * elf/tst-auditmod4a.c: Move to ...
7535         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
7536         * elf/tst-auditmod4b.c: Move to ...
7537         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
7538         * elf/tst-auditmod5a.c: Move to ...
7539         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
7540         * elf/tst-auditmod5b.c: Move to ...
7541         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
7542         * elf/tst-auditmod6a.c: Move to ...
7543         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
7544         * elf/tst-auditmod6b.c: Move to ...
7545         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
7546         * elf/tst-auditmod6c.c: Move to ...
7547         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
7548         * elf/tst-auditmod7a.c: Move to ...
7549         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
7550         * elf/tst-auditmod7b.c: Move to ...
7551         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
7553 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
7555         [BZ #15366]
7556         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
7557         define unconditionally.
7558         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
7559         define unconditionally.
7560         (INT8_C, INT16_C, etc.): Likewise.
7562 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
7564         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
7565         __ehdr_start with hidden visibility.
7567         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
7569 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
7571         * math/libm-test.inc (cos_test): Use accurate hex constants.
7572         (sincost_test): Likewise.
7574 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
7576         * math/libm-test.inc (catan_test): Add more tests.
7577         (catanh_test): Likewise.
7579         * math/s_catanf.c (__catanf): Use suffixed floating-point
7580         constants.
7581         * math/s_catanhf.c (__catanhf): Likewise.
7582         * math/s_catanhl.c (__catanhl): Likewise.
7583         * math/s_catanl.c (__catanl): Likewise.
7585         [BZ #15394]
7586         * math/s_catan.c (__catan): Calculate imaginary part of result
7587         with log1p not log unless computing log of number close to 0.
7588         * math/s_catanf.c (__catanf): Likewise.
7589         * math/s_catanl.c (__catanl): Likewise.
7590         * math/s_catanh.c (__catanh): Calculate real part of result with
7591         log1p not log unless computing log of number close to 0.
7592         * math/s_catanhf.c (__catanhf): Likewise.
7593         * math/s_catanhl.c (__catanhl): Likewise.
7594         * math/libm-test.inc (catan_test): Add more tests.
7595         (catanh_test): Likewise.
7596         * sysdeps/i386/fpu/libm-test-ulps: Update.
7597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7599 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7601         * benchtests/Makefile: Mention files in which fast and slow
7602         paths of math functions are implemented.
7604 2013-04-23  Roland McGrath  <roland@hack.frob.com>
7606         * sysdeps/posix/timespec_get.c: New file.
7608 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7610         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
7611         POWER.
7612         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
7613         for POWER.
7614         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
7615         powerpc/power5/fpu folders.
7616         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
7617         * benchtests/Makefile: Add modf testcase.
7618         * benchtests/bench-modf.c: New file: Benchmark test for mo
7620 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
7622         [BZ #14888]
7623         * time/Makefile (tests): Add tst-strptime-whitespace.
7624         * time/strptime_l.c (get_number): Use ISSPACE.
7625         (__strptime_internal): Likewise.
7626         * time/tst-strptime-whitespace.c: New test case.
7628 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
7630         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
7631         member.
7632         (_nss_files_init): Set it here.
7634 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
7636         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
7637         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
7638         unsigned.
7640 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
7642         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
7644 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7646         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
7647         size just once.
7649 2013-04-21  David S. Miller  <davem@davemloft.net>
7651         * po/ru.po: Update Russion translation from translation project.
7653 2013-04-17  Adam Conrad  <adconrad@0c3.net>
7655         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
7656         and setfsgid.
7658 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
7660         * configure.in: Remove i386 configure warning. Remove i386 case.
7661         * configure: Regenerate.
7662         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
7663         Add example to error message.
7664         * sysdeps/i386/configure: Regenerate.
7666 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7668         * benchtests/Makefile (bench): Add cos, tan, slowcos and
7669         slowtan.
7670         * benchtests/cos-inputs: New file.
7671         * benchtests/slowcos-inputs: New file.
7672         * benchtests/slowcos.c: New file.
7673         * benchtests/slowtan-inputs: New file.
7674         * benchtests/slowtan.c: New file.
7675         * benchtests/tan-inputs: New file.
7677 2013-04-16  Roland McGrath  <roland@hack.frob.com>
7679         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
7680         considered kosher.
7682 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7684         * benchtests/Makefile: Include cppflags-iterator.mk to add
7685         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
7687         * Makefile.in (bench-clean): New target.
7688         * benchtests/Makefile (bench-clean): Likewise.
7690 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
7692         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
7694 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
7696         * stdio-common/tstdiomisc.c: Fix coding-style violation.
7698 2013-04-15  Andreas Schwab  <schwab@suse.de>
7700         * nscd/grpcache.c (cache_addgr): Properly check for short write.
7701         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7702         * nscd/pwdcache.c (cache_addpw): Likewise.
7703         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
7704         more than recsize.
7706 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7708         * benchtests/Makefile (bench): Write all output to
7709         bench-out.tmp together.
7711 2013-04-15  Andreas Schwab  <schwab@suse.de>
7713         * nscd/nscd.c (main): Don't fork again after closing files.
7715 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7717         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
7719         * benchtests/Rules (bench-deps): Collect dependencies into a
7720         single variable.  Add Makefile to dependencies.
7721         ($(objpfx)bench-%.c): Depend on bench-deps.
7723 2013-04-12  Roland McGrath  <roland@hack.frob.com>
7724             Xavier Roche  <roche+kml2@exalead.com>
7726         [BZ #15361]
7727         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
7728         just that it's a file descriptor.
7729         * manual/llio.texi (Synchronizing AIO Operations): Update description
7730         for EBADF error from aio_fsync.
7732 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7734         * Rules (bench): Move target definition...
7735         * benchtests/Makefile: ... here.
7737 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
7739         * math/libm-test.inc (cos_test): Fix PI/2 test.
7740         (sincos_test): Likewise.
7741         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7742         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7744 2013-04-11  Andreas Schwab  <schwab@suse.de>
7746         [BZ #13988]
7747         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
7748         accept exponent character only when digits were seen.
7749         * stdio-common/Makefile (tests): Add bug26.
7750         * stdio-common/bug26.c: New file.
7752         [BZ #14293]
7753         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
7754         non-freeable.
7756 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7758         * Makeconfig (rtld-prefix): Define built linker prefix.
7759         * Rules (run-bench): Use it.
7760         * math/Makefile (run-regen-ulps): Likewise.
7762         * Rules (bench): Remove eval.
7764 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7765             Roland McGrath  <roland@hack.frob.com>
7766             Ondrej Bilka  <neleai@seznam.cz>
7768         [BZ #15346]
7769         * time/getdate.c: Include ctype.h and alloca.h.
7770         (__getdate_r): Trim leading and trailing spaces of input.
7771         * time/tst-getdate.c (tests): Add tests with leading and
7772         trailing spaces.
7774 2013-04-08  Roland McGrath  <roland@hack.frob.com>
7776         [BZ #14280]
7777         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
7778         when computing value.
7780 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
7782         * math/README.libm-test (How can I generate "libm-test-ulps"?):
7783         Use testrun.sh to run libm tests.
7785         [BZ #15309]
7786         * elf/dl-open.c (dl_open_worker): memset all of seen array.
7788 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
7790         [BZ #15264]
7791         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
7793 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
7795         * Makefile.in (regen-ulps): New target.
7796         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
7797         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
7798         [ifneq (no,$(PERL)] (regen-ulps): New target.
7799         [ifeq (no,$(PERL)] (regen-ulps): New target.
7800         * math/libm-test.inc (ulps_file_name): Define.
7801         (output_dir): New variable.
7802         (options): Add "output-dir" option.
7803         (parse_opt): Handle 'o' case.
7804         (main): If output_dir is non-NULL use it as a prefix
7805         otherwise use "".
7806         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
7808 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
7810         [BZ #10060, #10062]
7811         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
7812         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
7813         fail configure if __sync_val_compare_and_swap is not inlined.
7814         * sysdeps/i386/configure: Regenerate.
7815         * configure.in: Build for i686 when configured for i386.
7816         * configure: Regenerate.
7817         * README: Remove i386 reference.
7819 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
7821         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
7822         * sysdeps/s390/s390-64/sysdep.h: Likewise.
7824 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
7826         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
7827         (lmsnanval): New variables.
7828         (F): Add conversion tests.
7829         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
7830         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
7832         * stdio-common/tstdiomisc.c (F): Properly collect individual
7833         tests' results.
7835         [BZ #14686, #15336]
7836         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
7837         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7838         Instead, use input NaN values or generate a qNaN by arithmetic
7839         operation.  Also fix bugs to comply with the standard.
7840         * math/libm-test.inc (remainder_test): Add more tests.
7842         [BZ #15335, #15342]
7843         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
7844         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
7845         input NaN values or generate a qNaN by arithmetic operation.
7847         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
7848         unreachable code.
7850         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
7851         definitions.
7853 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
7855         [BZ #14478]
7856         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
7857         underflowed result.
7858         * math/s_cexpf.c (__cexpf): Likewise.
7859         * math/s_cexpl.c (__cexpl): Likewise.
7860         * math/libm-test.inc (cexp_test): Add more tests.
7862 2013-04-03  Andreas Schwab  <schwab@suse.de>
7864         [BZ #15330]
7865         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
7866         order arrays from heap if bigger than alloca cutoff.
7868 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
7870         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
7871         (SNAN_TESTS_double): Refer to GCC PR56831.
7872         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
7873         GCC PR56828.
7875 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
7877         * Rules (bench): Move bench.out after the run is complete.
7879         * Rules (bench): Echo currently running benchmark.
7881         * benchtests/Makefile (bench): Add atan and slowatan.
7882         * benchtests/atan-inputs: New file.
7883         * benchtests/slowatan-inputs: New file.
7884         * benchtests/slowatan.c: New file.
7886         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
7887         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
7888         its value.
7890         [BZ #15305]
7891         * sysdeps/unix/sysv/linux/kernel-features.h
7892         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
7893         __ASSUME_XFS_RESTRICTED_CHOWN.
7894         * sysdeps/unix/sysv/linux/pathconf.c
7895         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7896         Save and restore errno.
7898 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
7900         [BZ #15327]
7901         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
7902         arguments using __kernel_casinh.
7903         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
7904         arguments using __kernel_casinhf.
7905         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
7906         arguments using __kernel_casinhl.
7907         * math/libm-test.inc (cacosh_test): Add more tests.
7908         * sysdeps/i386/fpu/libm-test-ulps: Update.
7909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7911 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7913         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
7914         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
7916         * bench/Makefile (bench): Add sin and slowsin.
7917         * benchtests/sin-inputs: New file.
7918         * benchtests/slowsin-inputs: New file.
7919         * benchtests/slowsin.c: New file.
7921         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
7922         (bench): Add slowexp and slowpow.
7923         (exp-ITER): Increase iterations.
7924         (pow-ITER): Likewise.
7925         * benchtests/exp-inputs: Change input.
7926         * benchtests/pow-inputs: Likewise.
7927         * benchtests/slowexp-inputs: New file.
7928         * benchtests/slowexp.c: New file.
7929         * benchtests/slowpow-inputs: New file.
7930         * benchtests/slowpow.c: New file.
7932 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7934         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
7935         instructions.
7936         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7937         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
7938         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
7939         * benchtests/Makefile: Add rint benchtest.
7940         * benchtests/rint-inputs: Input for rint benchtest.
7942 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
7944         * Versions.def (libm): Add GLIBC_2.18.
7945         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
7946         hidden libm prototypes.
7947         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
7948         * math/Makefile (libm-calls): Add s_issignaling.
7949         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
7950         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
7951         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
7952         declaration.
7953         * math/math.h [__USE_GNU] (issignaling): New macro.
7954         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
7955         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
7956         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
7957         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
7958         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
7959         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
7960         * manual/arith.texi (issignaling): New section.
7961         * manual/libm-err-tab.pl (@all_functions): Update comment.
7962         * math/gen-libm-test.pl (parse_args): Apply special handling for
7963         issignaling.
7964         * math/libm-test.inc (print_float, issignaling_test): New
7965         functions.
7966         (check_float_internal): Add issignaling checks.
7967         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
7968         default definition.
7969         * sysdeps/powerpc/math-tests.h: New file.
7970         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
7971         tests.
7972         * math/test-snan.c (TEST_FUNC): Likewise.
7974 2013-03-30  David S. Miller  <davem@davemloft.net>
7976         * po/de.po: Update from translation team.
7978 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
7980         [BZ #10357]
7981         * math/k_casinh.c (__kernel_casinh): Handle arguments with
7982         imaginary part less than 1.0 and real part less than 0.5
7983         specially.
7984         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7985         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7986         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
7987         (cacos_test): Add more tests.
7988         (casin_test): Likewise.
7989         (casinh_test): Likewise.
7990         * sysdeps/i386/fpu/libm-test-ulps: Update.
7991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7993 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7995         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
7996         ONE with its value.
7998         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
7999         (__pow_mp): Replace ONE and MONE with their values.
8000         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8001         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
8002         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8003         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
8004         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8005         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8007         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
8009         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
8010         (__pow_mp): Replace ZERO and MZERO with their values.
8011         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8012         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8013         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8014         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8015         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8016         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
8017         (__sqr): Likewise.
8019         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
8021         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
8023 2013-03-28  Roland McGrath  <roland@hack.frob.com>
8025         * include/stdlib.h [!SHARED] (__call_tls_dtors):
8026         Declare with __attribute__ ((weak)).
8027         * stdlib/exit.c (__libc_atexit) [!SHARED]:
8028         Call __call_tls_dtors only if it's not NULL.
8030 2013-03-28  Roland McGrath  <roland@hack.frob.com>
8032         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
8033         didn't do it already, then set _dl_phdr and _dl_phnum based on the
8034         magic __ehdr_start linker symbol if it's defined.
8035         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
8036         them up here if it was already done.
8038         * elf/dl-support.c (_dl_phdr): Make pointer to const.
8039         (_dl_aux_init): Use const in cast when setting it.
8040         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
8041         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
8042         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
8044         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
8045         Declare them here.
8046         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
8047         * csu/libc-tls.c: Nor here.
8048         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
8050         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
8051         (__libc_message): Never call vsyslog.
8053 2013-03-28  Alan Modra  <amodra@gmail.com>
8055         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
8056         Define as empty.
8057         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
8058         Likewise.
8060 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8062         [BZ #15214]
8063         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
8064         underflow.
8065         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8067 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8069         [BZ #15304]
8070         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8071         Don't add gid passed as argument.
8073         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
8075 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
8077         [BZ #15307]
8078         * math/k_casinh.c (__kernel_casinh): Handle arguments with
8079         imaginary part between 1.0 and 1.5 and real part less than 0.5
8080         specially.
8081         * math/k_casinhf.c (__kernel_casinhf): Likewise.
8082         * math/k_casinhl.c (__kernel_casinhl): Likewise.
8083         * math/libm-test.inc (cacos_test): Add more tests.
8084         (casin_test): Likewise.
8085         (casinh_test): Likewise.
8086         * sysdeps/i386/fpu/libm-test-ulps: Update.
8087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8089 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8091         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
8092         constants.
8093         (norm): Likewise.
8094         (denorm): Likewise.
8095         (__dbl_mp): Likewise.
8096         (add_magnitudes): Likewise.
8097         (sub_magnitudes): Likewise.
8098         (__add): Likewise.
8099         (__sub): Likewise.
8100         (__mul): Likewise.
8101         (__sqr): Likewise.
8102         (__inv): Likewise.
8103         (__dvd): Likewise.
8105         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
8106         commented code.
8107         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
8108         (__dubcos): Likewise.
8109         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
8110         (__ieee754_acos): Likewise.
8111         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8112         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
8113         (__exp1): Likewise.
8114         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8115         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8116         (log1): Likewise.
8117         (my_log2): Likewise.
8118         (checkint): Likewise.
8119         * sysdeps/ieee754/dbl-64/e_remainder.c
8120         (__ieee754_remainder): Likewise.
8121         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8122         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
8123         (bsloww): Likewise.
8124         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8126         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8127         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
8128         MANTISSA_STORE_T to store computations on mantissa.  Use
8129         macros for rounding and division.
8130         (denorm): Likewise.
8131         (__dbl_mp): Likewise.
8132         (add_magnitudes): Likewise.
8133         (sub_magnitudes): Likewise.
8134         (__mul): Likewise.
8135         (__sqr): Likewise.
8136         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
8137         powers of two in terms of TWOPOW macro.
8138         (mp_no): Make type of mantissa as MANTISSA_T.
8139         [!RADIXI]: Define RADIXI.
8140         [!TWO52]: Define TWO52.
8141         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8143 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8145         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
8146         llroundl symbol when building for PPC32.
8148 2013-03-24  Mark H Weaver  <mhw@netris.org>
8150         * manual/arith.texi (Normalization Functions): Fix prototypes for
8151         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
8153 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8155         [BZ #13889]
8156         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
8157         high value to check if expl overflow.
8158         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
8159         to check for underflow and overflow.
8160         * math/libm-test.inc: Add exp test.
8162 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
8164         [BZ #11120]
8165         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
8166         with NOT_IN_libc.
8168 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8170         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
8171         symbol.
8173 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
8175         * math/gen-libm-test.pl (parse_args, special_functions): Properly
8176         wrap blocks consisting of several statements.
8178         * sysdeps/generic/math-tests.h: New file.
8179         * sysdeps/i386/fpu/math-tests.h: Likewise.
8180         * math/test-snan.c: Include it.
8181         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
8183 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
8185         [BZ #15285]
8186         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
8187         (__ieee754_j0l): Do not improve calculations using cos of twice
8188         input for inputs above LDBL_MAX / 2.0L.
8189         (__ieee754_y0l): Likewise.
8190         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
8191         (__ieee754_j1l): Do not improve calculations using cos of twice
8192         input for inputs above LDBL_MAX / 2.0L.
8193         (__ieee754_y1l): Likewise.
8194         * math/libm-test.inc (j0_test): Add another test.
8195         (j1_test): Likewise.
8196         (y0_test): Likewise.
8197         (y1_test): Likewise.
8198         * sysdeps/i386/fpu/libm-test-ulps: Update.
8200 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8202         * Rules ($(objpfx)bench-%.c): Include code from a C source
8203         file.
8205 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
8207         [BZ #15287]
8208         * math/k_casinh.c (__kernel_casinh): Handle arguments with
8209         imaginary part 1.0 and real part less than 0.5 specially.
8210         * math/k_casinhf.c (__kernel_casinhf): Likewise.
8211         * math/k_casinhl.c (__kernel_casinhl): Likewise.
8212         * math/libm-test.inc (cacos_test): Add more tests.
8213         (casin_test): Likewise.
8214         (casinh_test): Likewise.
8215         * sysdeps/i386/fpu/libm-test-ulps: Update.
8216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8218 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8220         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
8221         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
8223 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
8225         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
8226         * config.make.in (config-cflags-sse4): Remove variable.
8227         (config-cflags-avx): Likewise.
8228         (config-cflags-sse2avx): Likewise.
8229         (config-cflags-novzeroupper): Likewise.
8230         (config-asflags-i686): Likewise.
8231         (have-mfma4): Likewise.
8232         (have-as-vis3): Likewise.
8233         (MIG): Likewise.
8234         * configure.in (MIG): Do not AC_SUBST.
8235         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
8236         (libc_cv_cc_sse4): Do not AC_SUBST.
8237         (libc_cv_cc_avx): Likewise.
8238         (libc_cv_cc_sse2avx): Likewise.
8239         (libc_cv_cc_novzeroupper): Likewise.
8240         (libc_cv_cc_fma4): Likewise.
8241         (libc_cv_as_i686): Likewise.
8242         (libc_cv_sparc_as_vis3): Likewise.
8243         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
8244         LIBC_CONFIG_VAR.
8245         (config-asflags-i686): Likewise.
8246         (config-cflags-avx): Likewise.
8247         (config-cflags-sse2avx): Likewise.
8248         (have-mfma4): Likewise.
8249         (config-cflags-novzeroupper): Likewise.
8250         * sysdeps/mach/configure.in (MIG): Likewise.
8251         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
8252         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
8253         LIBC_CONFIG_VAR.
8254         (config-cflags-avx): Likewise.
8255         (config-cflags-sse2avx): Likewise.
8256         (have-mfma4): Likewise.
8257         (config-cflags-novzeroupper): Likewise.
8258         * configure: Regenerated.
8259         * sysdeps/i386/configure: Likewise.
8260         * sysdeps/mach/configure: Likewise.
8261         * sysdeps/sparc/configure: Likewise.
8262         * sysdeps/x86_64/configure: Likewise.
8264 2013-03-20  Roland McGrath  <roland@hack.frob.com>
8266         [BZ #14812]
8267         * locale/programs/localedef.c (options): Put N_ translation marker
8268         on argument names, not just descriptions.
8270 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8272         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
8274 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
8276         [BZ #14176]
8277         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
8279 2013-03-19  Roland McGrath  <roland@hack.frob.com>
8281         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
8282         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
8283         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
8284         [!BEFORE_ABORT] (before_abort): New function.
8285         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
8286         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
8287         (writev_for_fatal): New function.
8288         (WRITEV_FOR_FATAL): New macro; call that.
8289         (backtrace_and_maps): New function.
8290         (BEFORE_ABORT): New macro; call that.
8291         (struct str_list): Type removed.
8292         (__libc_message, __libc_fatal): Functions removed.
8293         Include <sysdeps/posix/libc_fatal.c> instead.
8295 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
8297         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
8298         constants.
8299         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
8300         double constants.
8302 2013-03-19  Andreas Schwab  <schwab@suse.de>
8304         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
8305         * sysdeps/gnu/configure: Regenerate.
8307         * configure.in: Substitute libc_cv_rtlddir.
8308         * configure: Regenerate.
8309         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
8310         * Makeconfig (rtlddir, inst_rtlddir): New variables.
8311         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
8312         * elf/Makefile (install-others, CFLAGS-interp.c)
8313         (ldso_install, common-ldd-rewrite): Likewise.
8314         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
8315         $(inst_slibdir)/$(rtld-installed-name).
8316         * scripts/rellns-sh: Add -p option.
8317         * Makerules (make-shlib-link): Use rellns-sh to get relative name
8318         for source.
8320 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8322         * manual/nptl.texi: Renamed to ...
8323         * manual/threads.texi: ... this.
8324         * manual/Makefile (chapters): Update.
8326 2013-03-18  Roland McGrath  <roland@hack.frob.com>
8328         [BZ #14812]
8329         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
8330         on argument names, not just descriptions.
8331         * malloc/memusagestat.c (options): Likewise.
8332         * nss/getent.c (options): Likewise.
8334 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
8336         [BZ #14812]
8337         * iconv/iconv_prog.c (options): Put N_ translation marker
8338         on argument names, not just descriptions.
8339         * iconv/iconvconfig.c (options): Likewise.
8341 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
8343         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
8344         implementation which is faster on all x86_64 architectures.
8345         Tested on AMD, Intel Nehalem, SNB, IVB.
8346         * sysdeps/x86_64/strnlen.S: Likewise.
8348         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8349         Remove all multiarch strlen and strnlen versions.
8350         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8351         Remove strlen and strnlen related parts.
8353         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
8354         Inline strlen part.
8355         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8357         * sysdeps/x86_64/multiarch/strlen.S: Remove.
8358         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
8359         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
8360         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
8361         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8362         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
8364 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
8366         * manual/memory.texi (Malloc Tunable Parameters):
8367         Sort parameters alphabetically. Add comments for missing entries.
8369 2013-03-17  David S. Miller  <davem@davemloft.net>
8371         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8373 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
8375         [BZ #15283]
8376         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
8377         for arguments at most half maximum finite value.
8378         * math/libm-test.inc (j0_test): Add more tests.
8379         (j1_test): Likewise.
8380         (y0_test): Likewise.
8381         (y1_test): Likewise.
8382         * sysdeps/i386/fpu/libm-test-ulps: Update.
8383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8385         [BZ #14155]
8386         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
8387         1 / x and functions P and Q for arguments above 0x1p256L.
8388         (__ieee754_y0l): Likewise.
8389         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
8390         (__ieee754_y1l): Likewise.
8391         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
8392         (j1_test): Likewise.
8393         (y0_test): Likewise.
8394         (y1_test): Likewise.
8396 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
8398         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
8399         variable.
8401 2013-03-15  Roland McGrath  <roland@hack.frob.com>
8403         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
8404         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
8405         zero since it's initialized to EXEC_PAGESIZE.
8407         * sysdeps/unix/sysv/linux/ldsodefs.h
8408         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
8409         * sysdeps/generic/ldsodefs.h: ... here.
8411 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
8413         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
8415         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
8416         math/test-snan.c.
8417         * math/test-snan.c: Renamed from
8418         sysdeps/powerpc/fpu/test-powerpc-snan.c.
8419         * math/Makefile (tests): Add test-snan.
8420         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
8421         test-powerpc-snan.
8423         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
8424         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
8425         functions.
8426         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
8427         __builtin_nan family of functions.
8428         * math/libm-test.inc (initialize): Initialize qnan_value with
8429         __builtin_nan family of functions.
8430         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
8431         Remove variables.
8432         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
8433         Remove functions.
8434         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
8435         storage class.  Initialize qNaN_var and sNaN_var with
8436         __builtin_nan and __builtin_nans families of functions,
8437         respectively.
8439         * math/libm-test.inc (acosh_test): Also test with qNaN input.
8440         (sqrt_test): Remove duplicate test with qNaN input.
8441         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
8442         (round_test, signbit_test, significand_test): Note missing +/-Inf
8443         as well as qNaN tests.
8445         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
8446         qNaN_var.  Fix a few strings, too.
8447         * math/libm-test.inc (nan_value): Rename to qnan_value.
8448         * math/gen-libm-test.pl (%beautify): Adjust to that.
8449         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
8450         * math/test-misc.c (main): Likewise.
8451         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
8452         to __qnan_bytes, and __qnan_union, respectively.
8453         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
8454         Likewise.
8455         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
8456         and lqnanval, respectively.
8457         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
8458         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
8459         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
8460         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
8462         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
8463         * math/test-misc.c (main) [__x86_64__]: Enable test for long
8464         doubles.
8466         * math/test-misc.c (main): Fix copy'n'pastos.
8467         * misc/tst-efgcvt.c (special): Likewise.
8469         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
8470         Remove declarations.
8472 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8474         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
8475         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
8476         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
8477         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
8479 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8481         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
8482         macro to return vdso values correctly in IFUNC implementations.
8483         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8484         Optimization by using IFUNC.
8486 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8487             Richard Henderson  <rth@redhat.com>
8488             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8490         * Makefile.in (bench): New target.
8491         * NEWS: Mention the benchmark framework.
8492         * Rules (bench): Likewise.
8493         (binaries-bench): Generate binaries for functions to
8494         benchmark.
8495         * benchtests/Makefile: New makefile for benchmark tests.
8496         * benchtests/bench-skeleton.c: New skeleton file for benchmark
8497         programs.
8498         * benchtests/exp-inputs: New input file for EXP function.
8499         * benchtests/pow-inputs: New input file for POW function.
8500         * scripts/bench.pl: New script to generate source files for
8501         benchmark programs.
8503 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8505         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8506         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
8507         computations on mantissa.  Use macros for rounding and
8508         division.
8509         (denorm): Likewise.
8510         (__dbl_mp): Likewise.
8511         (add_magnitudes): Likewise.
8512         (sub_magnitudes): Likewise.
8513         (__mul): Likewise.
8514         (__sqr): Likewise.
8515         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
8516         powers of two in terms of TWOPOW macro.
8517         (mp_no): Make type of mantissa as MANTISSA_T.
8518         [!RADIXI]: Define RADIXI.
8519         [!TWO52]: Define TWO52.
8520         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8522         * manual/nptl.texi (cindex): Modify threads to pthreads.
8524 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
8526         * sysdeps/x86_64/preconfigure: Regenerated.
8528 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
8530         [BZ #14155]
8531         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
8532         0x1p28 and above.
8533         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
8534         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
8535         0x1p28 and above.
8536         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
8537         * math/libm-test.inc (j0_test): Do not allow one spurious
8538         underflow exception.
8539         (y1_test): Likewise.
8541 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8543         * manual/Makefile (chapters): Add nptl.
8544         * manual/debug.texi (Debugging Support): Add link to Threads
8545         chapter.
8546         * manual/nptl.texi: New file.
8548         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
8550 2013-03-14  Petr Baudis  <pasky@ucw.cz>
8552         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
8553         for non-NULL pointer before the memory validity test. Pointed
8554         out by Holger Brunck <holger.brunck@keymile.com>.
8556 2013-03-13  Andreas Schwab  <schwab@suse.de>
8558         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
8559         instead of .os.
8561 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
8563         * timezone/zic.c: Update from tzcode 2013b.
8565 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
8567         * manual/install.texi (Configuring and compiling):
8568         Mention i686 and i586.
8569         * INSTALL: Regenerate.
8571 2013-03-12  Roland McGrath  <roland@hack.frob.com>
8573         * sysdeps/init_array/elf-init.c: New file.
8574         * csu/elf-init.c
8575         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
8576         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
8578         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
8579         __gmon_start__ as global, but as static with a .preinit_array pointer.
8580         * sysdeps/init_array/gmon-start.c: New file.  Use that.
8581         * sysdeps/init_array/crti.S: New file, empty except for comments.
8582         * sysdeps/init_array/crtn.S: Likewise.
8584 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
8586         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
8587         definining bcopy.
8588         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8589         Remove Prefer_SSE_for_memop.
8590         * sysdeps/x86_64/multiarch/init-arch.h: Remove
8591         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
8592         HAS_PREFER_SSE_FOR_MEMOP.
8593         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8594         memset-x86-64.
8595         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8596         Remove bzero, memset ifunc support.
8597         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
8598         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
8599         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8600         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8602 2013-03-11  Andreas Schwab  <schwab@suse.de>
8604         [BZ #15234]
8605         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
8606         by SHLIB_COMPAT.
8607         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
8608         (GLIBC_2.16): Remove pthread_atfork.
8610 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
8612         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
8613         (ptestcases.h): Likewise.
8615 2013-03-08  Roland McGrath  <roland@hack.frob.com>
8617         * Makeconfig ($(common-objpfx)config.status): Depend on
8618         sysdeps/*/preconfigure{,.in} too.
8620 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
8622         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
8623         (__free_hook): Use void * instead of __malloc_ptr_t.
8624         (__malloc_hook): Likewise.
8625         (__realloc_hook): Likewise.
8626         (__memalign_hook): Likewise.
8627         (__after_morecore_hook): Likewise.
8628         * malloc/arena.c (save_malloc_hook): Likewise.
8629         (save_free_hook): Likewise.
8630         * malloc/hooks.c (malloc_hook_ini): Likewise.
8631         (realloc_hook_ini): Likewise.
8632         (memalign_hook_ini): Likewise.
8633         * malloc/malloc.c (malloc_hook_ini): Likewise.
8634         (realloc_hook_ini): Likewise.
8635         (memalign_hook_ini): Likewise.
8636         (__free_hook): Likewise.
8637         (__malloc_hook): Likewise.
8638         (__realloc_hook): Likewise.
8639         (__memalign_hook): Likewise.
8640         (__libc_malloc): Likewise.
8641         (__libc_free): Likewise.
8642         (__libc_realloc): Likewise.
8643         (__libc_memalign): Likewise.
8644         (__libc_valloc): Likewise.
8645         (__libc_pvalloc): Likewise.
8646         (__libc_calloc): Likewise.
8647         (__posix_memalign): Likewise.
8648         * malloc/morecore.c (__sbrk): Likewise.
8649         (__default_morecore): Likewise.
8651         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
8653         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
8654         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
8655         __malloc_ptrdiff_t.
8657         * malloc/malloc.h (__malloc_size_t): Remove macro.
8658         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
8659         __malloc_size_t.
8660         (old_memalign_hook): Likewise.
8661         (old_realloc_hook): Likewise.
8662         (struct hdr): Likewise.
8663         (flood): Likewise.
8664         (mallochook): Likewise.
8665         (memalignhook): Likewise.
8666         (reallochook): Likewise.
8667         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
8668         (tr_old_realloc_hook): Likewise.
8669         (tr_old_memalign_hook): Likewise.
8670         (tr_mallochook): Likewise.
8671         (tr_reallochook): Likewise.
8672         (tr_memalignhook): Likewise.
8674 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8676         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
8677         default_ldbl_pack and using as default implementation.
8678         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
8679         implementation.
8680         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
8681         redundant definition.
8682         (ldbl_insert_mantissa): Likewise.
8683         (ldbl_canonicalize): Likewise.
8684         (ldbl_nearbyint): Likewise.
8685         (ldbl_pack): Rename to ldbl_pack_ppc.
8686         (ldbl_unpack): Rename to ldbl_unpack_ppc.
8687         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
8688         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
8690 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
8692         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
8693         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
8694         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
8695         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
8696         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
8697         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
8698         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
8699         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
8701 2013-03-07  Andreas Jaeger  <aj@suse.de>
8703         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8704         bits/mman-linux.h.
8706 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
8708         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
8709         Include mpa.h and declare __MPEXP.
8710         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
8711         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8712         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8713         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
8714         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8715         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8716         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
8718         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
8719         (__slowpow): Use long double EXPL and LOGL functions to
8720         compute POW.
8721         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8722         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8723         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
8724         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8725         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8726         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
8728         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
8729         intermediate variable to calculate exponent.
8730         (__sqr): Likewise.
8731         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8732         Likewise.
8733         (__sqr): Likewise.
8735         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
8736         [!NO__SQR]: Define __sqr.
8737         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
8738         and NO__SQR.  Remove all code except __mul and __sqr.  Include
8739         sysdeps/ieee754/dbl-64/mpa.c.
8740         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8742         [BZ #12723]
8743         * posix/Makefile (tests): Add tst-pathconf.
8744         * posix/tst-pathconf.c: New test case.
8745         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
8746         _PC_PIPE_BUF.
8747         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
8749 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
8751         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
8753 2013-03-06  Andreas Jaeger  <aj@suse.de>
8755         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
8756         definition via __MAP_ANONYMOUS.
8758         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
8759         it's not part of Linux headers.
8761         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
8762         (MAP_HUGE_MASK): Define.
8764         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8765         Define.
8766         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8767         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8768         Define.
8769         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8770         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8771         Define.
8772         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8773         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
8774         Define.
8775         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8777         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
8778         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
8779         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
8780         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
8781         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
8782         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
8784         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8785         Handle f2fs.
8787         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8788         Handle f2fs and efivarfs.
8790         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
8791         f2fs.
8793         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
8794         (EFIVARFS_MAGIC): Add.
8795         (F2FS_LINK_MAX): Add.
8797 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
8799         * stdio-common/vfprintf.c: Replace __builtin_expect with
8800         __glibc_unlikely.
8802 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
8804         [BZ #13550]
8805         * sysdeps/generic/bp-sym.h: Remove file.
8806         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
8807         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
8808         <bp-sym.h> and <bp-asm.h>.
8809         (__longjmp): Don't use BP_SYM.
8810         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
8811         and <bp-asm.h>.
8812         (memcpy): Don't use BP_SYM.
8813         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
8814         <bp-sym.h> and <bp-asm.h>.
8815         (memcpy): Don't use BP_SYM.
8816         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
8817         <bp-asm.h>.
8818         (memcpy): Don't use BP_SYM.
8819         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
8820         <bp-asm.h>.
8821         (memset): Don't use BP_SYM.
8822         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8823         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8824         (__bzero): Don't use BP_SYM.
8825         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8826         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8827         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
8828         <bp-sym.h> and <bp-asm.h>.
8829         (memcmp): Don't use BP_SYM.  Remove comment about bounded
8830         pointers.
8831         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
8832         <bp-sym.h> and <bp-asm.h>.
8833         (memcpy): Don't use BP_SYM.
8834         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
8835         <bp-sym.h> and <bp-asm.h>.
8836         (memset): Don't use BP_SYM.
8837         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8838         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8839         (__bzero): Don't use BP_SYM.
8840         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8841         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8842         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
8843         <bp-sym.h> and <bp-asm.h>.
8844         (strncmp): Don't use BP_SYM.  Remove comment about bounded
8845         pointers.
8846         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
8847         <bp-sym.h> and <bp-asm.h>.
8848         (memcpy): Don't use BP_SYM.
8849         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
8850         <bp-sym.h> and <bp-asm.h>.
8851         (memset): Don't use BP_SYM.
8852         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8853         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8854         (__bzero): Don't use BP_SYM.
8855         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8856         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8857         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
8858         <bp-sym.h> and <bp-asm.h>.
8859         (__memchr): Don't use BP_SYM.
8860         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
8861         <bp-sym.h> and <bp-asm.h>.
8862         (memcmp): Don't use BP_SYM.  Remove comment about bounded
8863         pointers.
8864         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
8865         <bp-sym.h> and <bp-asm.h>.
8866         (memcpy): Don't use BP_SYM.
8867         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
8868         <bp-sym.h> and <bp-asm.h>.
8869         (__mempcpy): Don't use BP_SYM.
8870         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
8871         <bp-sym.h> and <bp-asm.h>.
8872         (__memrchr): Don't use BP_SYM.
8873         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
8874         <bp-sym.h> and <bp-asm.h>.
8875         (memset): Don't use BP_SYM.
8876         (__bzero): Likewise.
8877         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
8878         <bp-sym.h> and <bp-asm.h>.
8879         (__rawmemchr): Don't use BP_SYM.
8880         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
8881         <bp-sym.h> and <bp-asm.h>.
8882         (__STRCMP): Don't use BP_SYM.
8883         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
8884         <bp-sym.h> and <bp-asm.h>.
8885         (strchr): Don't use BP_SYM.
8886         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
8887         <bp-sym.h> and <bp-asm.h>.
8888         (__strchrnul): Don't use BP_SYM.
8889         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
8890         <bp-sym.h> and <bp-asm.h>.
8891         (strlen): Don't use BP_SYM.
8892         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
8893         <bp-sym.h> and <bp-asm.h>.
8894         (strncmp): Don't use BP_SYM.  Remove comment about bounded
8895         pointers.
8896         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
8897         <bp-sym.h> and <bp-asm.h>.
8898         (__strnlen): Don't use BP_SYM.
8899         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
8900         <bp-sym.h> and <bp-asm.h>.
8901         (__GI__setjmp): Don't use BP_SYM.
8902         (_setjmp): Likewise.
8903         (__sigsetjmp): Likewise.
8904         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
8905         (L(start_addresses)): Don't use BP_SYM.
8906         (_start): Likewise.
8907         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
8908         <bp-asm.h>.
8909         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
8910         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
8911         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8912         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8913         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
8914         <bp-asm.h>.
8915         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
8916         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
8917         about bounded pointers.
8918         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8919         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8920         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
8921         <bp-asm.h>.
8922         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
8923         about bounded pointers.  Remove GKM FIXME comments.
8924         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8925         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
8926         <bp-asm.h>.
8927         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
8928         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
8929         Remove GKM FIXME comments.
8930         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8931         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8932         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
8933         <bp-asm.h>.
8934         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
8935         about bounded pointers.  Remove GKM FIXME comment.
8936         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
8937         and <bp-asm.h>.
8938         (strncmp): Don't use BP_SYM.  Remove comment about bounded
8939         pointers.
8940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
8941         <bp-sym.h> and <bp-asm.h>.
8942         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
8944         <bp-sym.h> and <bp-asm.h>.
8945         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
8946         comment.
8948 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
8950         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
8951         call free(NULL).
8953 2013-03-05  David S. Miller  <davem@davemloft.net>
8955         * po/es.po: Update from translation team.
8957 2013-03-05  Andreas Jaeger  <aj@suse.de>
8959         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
8960         <bits/mman-linux.h>.
8961         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8962         is fine.
8963         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
8964         <bits/mman-linux.h> to end of file.
8965         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8966         is fine.
8967         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
8968         <bits/mman-linux.h> to end of file.
8969         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8970         is fine.
8971         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
8972         <bits/mman-linux.h> to end of file.
8974         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
8975         (MCL_CURRENT, MCL_FUTURE): Define here.
8977 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8979         [BZ #15232]
8980         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
8981         attribute_hidden.
8982         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8984 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8986         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
8987         fourth parameter needed for rt_sigprocmask syscall.
8988         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8989         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8990         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8991         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8992         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8993         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
8995 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
8997         [BZ #13550]
8998         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
8999         comment about bounded pointers.
9000         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
9001         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
9003 2013-03-04  Andreas Jaeger  <aj@suse.de>
9005         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
9006         common definitions.
9008         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
9009         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
9010         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
9011         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9012         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9013         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9015 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9017         [BZ #15055]
9018         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
9019         __ieee754_sqrl instead of __sqrl.
9021 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
9023         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
9024         * sysdeps/powerpc/fpu_control.h: ... here.
9025         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
9026         * sysdeps/powerpc/bits/fenvinline.h: ... here.
9027         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
9028         * sysdeps/powerpc/bits/mathinline.h: ... here.
9030 2013-03-01  Roland McGrath  <roland@hack.frob.com>
9032         * elf/dl-hwcaps.c (_dl_important_hwcaps):
9033         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
9034         to just [NEED_DL_SYSINFO_DSO].
9035         * elf/dl-support.c: Likewise.
9036         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
9037         * elf/rtld.c (dl_main): Likewise.
9038         * elf/setup-vdso.h (setup_vdso): Likewise.
9039         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
9040         * sysdeps/unix/sysv/linux/dl-sysdep.c
9041         (_dl_discover_osversion): Likewise.
9043 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
9045         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
9046         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9048 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
9050         * NEWS: Mention libm performance improvements and non-x86 PI
9051         futex support.
9053         * csu/libc-start.c (__pthread_initialize_minimal): Change
9054         function arguments.
9055         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9057 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
9059         [BZ #13550]
9060         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
9061         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
9062         <bp-sym.h> and <bp-asm.h>.
9063         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9064         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
9065         and <bp-asm.h>.
9066         (memcpy): Don't use BP_SYM.
9067         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
9068         <bp-asm.h>.
9069         (__mpn_add_n): Don't use BP_SYM.
9070         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
9071         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
9072         and <bp-asm.h>.
9073         (__mpn_addmul_1): Don't use BP_SYM.
9074         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9075         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
9076         <bp-sym.h>.
9077         (_setjmp): Don't use BP_SYM.
9078         (__novmx_setjmp): Likewise.
9079         (__GI__setjmp): Likewise.
9080         (__vmx_setjmp): Likewise.
9081         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
9082         <bp-sym.h>.
9083         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
9084         (__bzero): Don't use BP_SYM.
9085         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9086         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9087         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
9088         <bp-sym.h> and <bp-asm.h>.
9089         (memcpy): Don't use BP_SYM.
9090         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
9091         <bp-sym.h> and <bp-asm.h>.
9092         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9093         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
9094         <bp-sym.h> and <bp-asm.h>.
9095         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9096         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
9097         <bp-asm.h>.
9098         (__mpn_lshift): Don't use BP_SYM.
9099         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9100         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
9101         <bp-asm.h>.
9102         (memset): Don't use BP_SYM.
9103         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9104         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9105         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
9106         <bp-asm.h>.
9107         (__mpn_mul_1): Don't use BP_SYM.
9108         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9109         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
9110         <bp-sym.h> and <bp-asm.h>.
9111         (memcmp): Don't use BP_SYM.
9112         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
9113         <bp-sym.h> and <bp-asm.h>.
9114         (memcpy): Don't use BP_SYM.
9115         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
9116         <bp-sym.h> and <bp-asm.h>.
9117         (memset): Don't use BP_SYM.
9118         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
9119         <bp-sym.h> and <bp-asm.h>.
9120         (strncmp): Don't use BP_SYM.
9121         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
9122         <bp-sym.h> and <bp-asm.h>.
9123         (memcpy): Don't use BP_SYM.
9124         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
9125         <bp-sym.h> and <bp-asm.h>.
9126         (memset): Don't use BP_SYM.
9127         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
9128         <bp-sym.h> and <bp-asm.h>.
9129         (__memchr): Don't use BP_SYM.
9130         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
9131         <bp-sym.h> and <bp-asm.h>.
9132         (memcmp): Don't use BP_SYM.
9133         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
9134         <bp-sym.h> and <bp-asm.h>.
9135         (memcpy): Don't use BP_SYM.
9136         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
9137         <bp-sym.h> and <bp-asm.h>.
9138         (__mempcpy): Don't use BP_SYM.
9139         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
9140         <bp-sym.h> and <bp-asm.h>.
9141         (__memrchr): Don't use BP_SYM.
9142         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
9143         <bp-sym.h> and <bp-asm.h>.
9144         (memset): Don't use BP_SYM.
9145         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
9146         <bp-sym.h> and <bp-asm.h>.
9147         (__rawmemchr): Don't use BP_SYM.
9148         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
9149         <bp-sym.h> and <bp-asm.h>.
9150         (__STRCMP): Don't use BP_SYM.
9151         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
9152         <bp-sym.h> and <bp-asm.h>.
9153         (strchr): Don't use BP_SYM.
9154         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
9155         <bp-sym.h> and <bp-asm.h>.
9156         (__strchrnul): Don't use BP_SYM.
9157         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
9158         <bp-sym.h> and <bp-asm.h>.
9159         (strlen): Don't use BP_SYM.
9160         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
9161         <bp-sym.h> and <bp-asm.h>.
9162         (strncmp): Don't use BP_SYM.
9163         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
9164         <bp-sym.h> and <bp-asm.h>.
9165         (__strnlen): Don't use BP_SYM.
9166         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
9167         <bp-asm.h>.
9168         (__mpn_rshift): Don't use BP_SYM.
9169         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9170         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
9171         <bp-sym.h> and <bp-asm.h>.
9172         (__sigsetjmp): Don't use BP_SYM.
9173         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
9174         (L(start_addresses)): Don't use BP_SYM.
9175         (_start): Likewise.
9176         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
9177         <bp-asm.h>.
9178         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
9179         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9180         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9181         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
9182         <bp-asm.h>.
9183         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
9184         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9185         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9186         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
9187         <bp-asm.h>.
9188         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
9189         comments.
9190         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9191         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
9192         <bp-asm.h>.
9193         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
9194         FIXME comments.
9195         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9196         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9197         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
9198         <bp-asm.h>.
9199         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
9200         comment.
9201         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
9202         and <bp-asm.h>.
9203         (strncmp): Don't use BP_SYM,
9204         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
9205         <bp-asm.h>.
9206         (__mpn_sub_n): Don't use BP_SYM.
9207         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9208         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
9209         and <bp-asm.h>.
9210         (__mpn_submul_1): Don't use BP_SYM.
9211         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
9213         <bp-sym.h> and <bp-asm.h>.
9214         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
9216         <bp-sym.h> and <bp-asm.h>.
9217         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
9218         comment.
9220 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9222         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
9223         Use ZK to minimize writes to Z.
9224         (sub_magnitudes): Simplify code a bit.
9225         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
9226         Use ZK to minimize writes to Z.
9227         (sub_magnitudes): Simplify code a bit.
9229 2013-02-27  Roland McGrath  <roland@hack.frob.com>
9231         * csu/gmon-start.c: Add special exception to license text.
9233 2013-02-27  Richard Henderson  <rth@redhat.com>
9235         * scripts/config.guess: Update from config.git.
9236         * scripts/config.sub: Likewise.
9238 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9240         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
9242         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
9244         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
9246         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
9248         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
9250 2013-02-26  Roland McGrath  <roland@hack.frob.com>
9252         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
9253         [$(build-shared = yes].
9255 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9257         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
9258         (__mul): Reduce iterations for calculating mantissa.
9260         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
9261         MPTWO.
9262         (__mpranred): Likewise.
9264         [BZ #15160]
9265         * malloc/memusagestat.c (main): Draw graphs for heap and stack
9266         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
9268 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
9270         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
9271         Define __attribute__.
9273 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9275         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
9276         unused.
9277         * posix/regex_internal.h (__attribute): Remove.
9278         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
9279         (re_string_context_at): Likewise.
9280         (bitset_not): Use __attribute__ and mark function as possibly
9281         unused.
9282         (bitset_merge): Likewise.
9283         (bitset_mask): Likewise.
9284         (re_string_char_size_at): Likewise.
9285         (re_string_wchar_at): Likewise.
9286         (re_string_elem_size_at): Likewise.
9288 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
9290         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
9291         code.
9292         (cc32): Likewise.
9294         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
9295         (__acr): Likewise.
9296         (__cpy): Likewise.
9297         (norm): Likewise.
9298         (denorm): Likewise.
9299         (__dbl_mp): Likewise.
9300         (add_magnitudes): Likewise.
9301         (sub_magnitudes): Likewise.
9302         (__mul): Likewise.
9303         (__inv): Likewise.
9305         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
9306         style.
9308         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
9309         style.
9311         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
9312         code.
9314         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
9315         up changes with default code.
9316         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
9317         Likewise.
9319 2013-02-24  Allan McRae  <allan@archlinux.org>
9321         * manual/socket.texi (The Internet Namespace): Order menu items
9322         to match that in the file.
9324         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
9325         node listing of the info page menu.
9327 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
9329         [BZ #13550]
9330         * sysdeps/i386/bp-asm.h: Remove file.
9331         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9332         (PARMS): Do not use macros from bp-asm.h.
9333         (S1): Likewise.
9334         (S2): Likewise.
9335         (SIZE): Likewise.
9336         (__mpn_add_n): Do not use BP_SYM
9337         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
9338         "bp-asm.h".
9339         (PARMS): Do not use macros from bp-asm.h.
9340         (S1): Likewise.
9341         (SIZE): Likewise.
9342         (__mpn_addmul_1): Do not use BP_SYM
9343         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
9344         "bp-asm.h".
9345         (PARMS): Do not use macros from bp-asm.h.
9346         (SIGMSK): Likewise.
9347         (_setjmp): Likewise.  Do not use BP_SYM.
9348         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
9349         "bp-asm.h".
9350         (PARMS): Do not use macros from bp-asm.h.
9351         (SIGMSK): Likewise.
9352         (setjmp): Likewise.  Do not use BP_SYM.
9353         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
9354         "bp-asm.h".
9355         (PARMS): Do not use macros from bp-asm.h.
9356         (__frexp): Do not use BP_SYM.
9357         (frexp): Likewise.
9358         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
9359         "bp-asm.h".
9360         (PARMS): Do not use macros from bp-asm.h.
9361         (__frexpf): Do not use BP_SYM.
9362         (frexpf): Likewise.
9363         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
9364         "bp-asm.h".
9365         (PARMS): Do not use macros from bp-asm.h.
9366         (__frexpl): Do not use BP_SYM.
9367         (frexpl): Likewise.
9368         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
9369         "bp-asm.h".
9370         (PARMS): Do not use macros from bp-asm.h.
9371         (__remquo): Do not use BP_SYM.
9372         (remquo): Likewise.
9373         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
9374         "bp-asm.h".
9375         (PARMS): Do not use macros from bp-asm.h.
9376         (__remquof): Do not use BP_SYM.
9377         (remquof): Likewise.
9378         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
9379         "bp-asm.h".
9380         (PARMS): Do not use macros from bp-asm.h.
9381         (__remquol): Do not use BP_SYM.
9382         (remquol): Likewise.
9383         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
9384         "bp-asm.h".
9385         (PARMS): Do not use macros from bp-asm.h.
9386         (DEST): Likewise.
9387         (SRC): Likewise.
9388         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
9389         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
9390         "bp-asm.h".
9391         (PARMS): Do not use macros from bp-asm.h.
9392         (strlen): Do not use BP_SYM.
9393         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
9394         "bp-asm.h".
9395         (PARMS): Do not use macros from bp-asm.h.
9396         (S1): Likewise.
9397         (S2): Likewise.
9398         (SIZE): Likewise.
9399         (__mpn_add_n): Do not use BP_SYM.
9400         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
9401         "bp-asm.h".
9402         (PARMS): Do not use macros from bp-asm.h.
9403         (S1): Likewise.
9404         (SIZE): Likewise.
9405         (__mpn_addmul_1): Do not use BP_SYM.
9406         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
9407         weak_alias.
9408         (bzero): Likewise.
9409         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
9410         "bp-asm.h".
9411         (PARMS): Do not use macros from bp-asm.h.
9412         (S): Likewise.
9413         (SIZE): Likewise.
9414         (__mpn_lshift): Do not use BP_SYM.
9415         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
9416         "bp-asm.h".
9417         (PARMS): Do not use macros from bp-asm.h.
9418         (DEST): Likewise.
9419         (SRC): Likewise.
9420         (LEN): Likewise.
9421         (memcpy): Likewise.  Do not use BP_SYM.
9422         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
9423         libc_hidden_def and weak_alias.
9424         (mempcpy): Do not use BP_SYM in weak_alias.
9425         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
9426         "bp-asm.h".
9427         (PARMS): Do not use macros from bp-asm.h.
9428         (DEST): Likewise.
9429         (LEN): Likewise.
9430         [!BZERO_P] (CHR): Likewise.
9431         (memset): Likewise.  Do not use BP_SYM.
9432         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
9433         "bp-asm.h".
9434         (PARMS): Do not use macros from bp-asm.h.
9435         (S1): Likewise.
9436         (SIZE): Likewise.
9437         (__mpn_mul_1): Do not use BP_SYM.
9438         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
9439         "bp-asm.h".
9440         (PARMS): Do not use macros from bp-asm.h.
9441         (S): Likewise.
9442         (SIZE): Likewise.
9443         (__mpn_rshift): Do not use BP_SYM.
9444         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
9445         "bp-asm.h".
9446         (PARMS): Do not use macros from bp-asm.h.
9447         (STR): Likewise.
9448         (CHR): Likewise.
9449         (strchr): Likewise.  Do not use BP_SYM.
9450         (index): Do not use BP_SYM in weak_alias.
9451         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
9452         "bp-asm.h".
9453         (PARMS): Do not use macros from bp-asm.h.
9454         (DEST): Likewise.
9455         (SRC): Likewise.
9456         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
9457         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
9458         "bp-asm.h".
9459         (PARMS): Do not use macros from bp-asm.h.
9460         (strlen): Do not use BP_SYM.
9461         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
9462         "bp-asm.h".
9463         (PARMS): Do not use macros from bp-asm.h.
9464         (S1): Likewise.
9465         (S2): Likewise.
9466         (SIZE): Likewise.
9467         (__mpn_sub_n): Do not use BP_SYM.
9468         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
9469         "bp-asm.h".
9470         (PARMS): Do not use macros from bp-asm.h.
9471         (S1): Likewise.
9472         (SIZE): Likewise.
9473         (__mpn_submul_1): Do not use BP_SYM.
9474         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
9475         "bp-asm.h".
9476         (PARMS): Do not use macros from bp-asm.h.
9477         (S1): Likewise.
9478         (S2): Likewise.
9479         (SIZE): Likewise.
9480         (__mpn_add_n): Do not use BP_SYM.
9481         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
9482         weak_alias.
9483         (bzero): Likewise.
9484         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
9485         "bp-asm.h".
9486         (PARMS): Do not use macros from bp-asm.h.
9487         (BLK2): Likewise.
9488         (LEN): Likewise.
9489         (memcmp): Do not use BP_SYM.
9490         (bcmp): Do not use BP_SYM in weak_alias.
9491         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
9492         "bp-asm.h".
9493         (PARMS): Do not use macros from bp-asm.h.
9494         (DEST): Likewise.
9495         (SRC): Likewise.
9496         (LEN): Likewise.
9497         (memcpy): Likewise.  Do not use BP_SYM.
9498         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
9499         "bp-asm.h".
9500         (PARMS): Do not use macros from bp-asm.h.
9501         (DEST): Likewise.
9502         (SRC): Likewise.
9503         (LEN): Likewise.
9504         (memmove): Likewise.  Do not use BP_SYM.
9505         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
9506         "bp-asm.h".
9507         (PARMS): Do not use macros from bp-asm.h.
9508         (DEST): Likewise.
9509         (SRC): Likewise.
9510         (LEN): Likewise.
9511         (__mempcpy): Likewise.  Do not use BP_SYM.
9512         (mempcpy): Do not use BP_SYM in weak_alias.
9513         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
9514         "bp-asm.h".
9515         (PARMS): Do not use macros from bp-asm.h.
9516         (DEST): Likewise.
9517         (LEN): Likewise.
9518         [!BZERO_P] (CHR): Likewise.
9519         (memset): Likewise.  Do not use BP_SYM.
9520         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
9521         "bp-asm.h".
9522         (PARMS): Do not use macros from bp-asm.h.
9523         (STR2): Likewise.
9524         (strcmp): Do not use BP_SYM.
9525         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
9526         "bp-asm.h".
9527         (PARMS): Do not use macros from bp-asm.h.
9528         (STR): Likewise.
9529         (DELIM): Likewise.
9530         [USE_AS_STRTOK_R] (SAVE): Likewise.
9531         (FUNCTION): Likewise.  Do not use BP_SYM.
9532         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
9533         aliases.
9534         (strtok_r): Likewise.
9535         (__GI___strtok_r): Likewise.
9536         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9537         (PARMS): Do not use macros from bp-asm.h.
9538         (S): Likewise.
9539         (SIZE): Likewise.
9540         (__mpn_lshift): Do not use BP_SYM.
9541         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9542         (PARMS): Do not use macros from bp-asm.h.
9543         (STR): Likewise.
9544         (CHR): Likewise.
9545         (__memchr): Do not use BP_SYM.
9546         (memchr): Do not use BP_SYM in weak_alias.
9547         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9548         (PARMS): Do not use macros from bp-asm.h.
9549         (BLK2): Likewise.
9550         (LEN): Likewise.
9551         (memcmp): Do not use BP_SYM.
9552         (bcmp): Do not use BP_SYM in weak_alias.
9553         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
9554         (PARMS): Do not use macros from bp-asm.h.
9555         (S1): Likewise.
9556         (SIZE): Likewise.
9557         (__mpn_mul_1): Do not use BP_SYM.
9558         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
9559         "bp-asm.h".
9560         (PARMS): Do not use macros from bp-asm.h.
9561         (STR): Likewise.
9562         (CHR): Likewise.
9563         (__rawmemchr): Do not use BP_SYM.
9564         (rawmemchr): Do not use BP_SYM in weak_alias.
9565         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9566         (PARMS): Do not use macros from bp-asm.h.
9567         (S): Likewise.
9568         (SIZE): Likewise.
9569         (__mpn_rshift): Do not use BP_SYM.
9570         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9571         (PARMS): Do not use macros from bp-asm.h.
9572         (SIGMSK): Likewise.
9573         (__sigsetjmp): Likewise.  Do not use BP_SYM.
9574         * sysdeps/i386/start.S: Do not include "bp-sym.h".
9575         (_start): Do not use BP_SYM.
9576         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
9577         (PARMS): Do not use macros from bp-asm.h.
9578         (DEST): Likewise.
9579         (SRC): Likewise.
9580         (__stpcpy): Likewise.  Do not use BP_SYM.
9581         (stpcpy): Do not use BP_SYM in weak_alias.
9582         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
9583         "bp-asm.h".
9584         (PARMS): Do not use macros from bp-asm.h.
9585         (DEST): Likewise.
9586         (SRC): Likewise.
9587         (LEN): Likewise.
9588         (__stpncpy): Likewise.  Do not use BP_SYM.
9589         (stpncpy): Do not use BP_SYM in weak_alias.
9590         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9591         (PARMS): Do not use macros from bp-asm.h.
9592         (STR): Likewise.
9593         (CHR): Likewise.
9594         (strchr): Likewise.  Do not use BP_SYM.
9595         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
9596         "bp-asm.h".
9597         (PARMS): Do not use macros from bp-asm.h.
9598         (STR): Likewise.
9599         (CHR): Likewise.
9600         (__strchrnul): Likewise.  Do not use BP_SYM.
9601         (strchrnul): Do not use BP_SYM in weak_alias.
9602         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
9603         "bp-asm.h".
9604         (PARMS): Do not use macros from bp-asm.h.
9605         (STOP): Likewise.
9606         (strcspn): Do not use BP_SYM.
9607         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
9608         "bp-asm.h".
9609         (PARMS): Do not use macros from bp-asm.h.
9610         (STR): Likewise.
9611         (STOP): Likewise.
9612         (strpbrk): Likewise.  Do not use BP_SYM.
9613         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
9614         "bp-asm.h".
9615         (PARMS): Do not use macros from bp-asm.h.
9616         (STR): Likewise.
9617         (CHR): Likewise.
9618         (strrchr): Likewise.  Do not use BP_SYM.
9619         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
9620         (PARMS): Do not use macros from bp-asm.h.
9621         (SKIP): Likewise.
9622         (strspn): Do not use BP_SYM.
9623         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
9624         (PARMS): Do not use macros from bp-asm.h.
9625         (STR): Likewise.
9626         (DELIM): Likewise.
9627         (SAVE): Likewise.
9628         (FUNCTION): Likewise.  Do not use BP_SYM.
9629         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
9630         aliases.
9631         (strtok_r): Likewise.
9632         (__GI___strtok_r): Likewise.
9633         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9634         (PARMS): Do not use macros from bp-asm.h.
9635         (S1): Likewise.
9636         (S2): Likewise.
9637         (SIZE): Likewise.
9638         (__mpn_sub_n): Do not use BP_SYM.
9639         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
9640         "bp-asm.h".
9641         (PARMS): Do not use macros from bp-asm.h.
9642         (S1): Likewise.
9643         (SIZE): Likewise.
9644         (__mpn_submul_1): Do not use BP_SYM.
9645         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
9646         <bp-sym.h>.
9647         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
9648         and <bp-asm.h>.
9649         (PARMS): Do not use macros from bp-asm.h.
9650         (FLAGS): Likewise.
9651         (PTID): Likewise.
9652         (TLS): Likewise.
9653         (CTID): Likewise.
9654         (__clone): Do not use BP_SYM.
9655         (clone): Do not use BP_SYM in weak_alias.
9656         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
9657         and <bp-asm.h>.
9658         (PARMS): Do not use macros from bp-asm.h.
9659         (LEN): Likewise.
9660         (__mmap64): Do not use BP_SYM.
9661         (mmap64): Do not use BP_SYM in weak_alias.
9662         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9663         <bp-sym.h> and <bp-asm.h>.
9664         (PARMS): Do not use macros from bp-asm.h.
9665         (__posix_fadvise64_l64): Do not use BP_SYM.
9666         * sysdeps/unix/sysv/linux/i386/semtimedop.S
9667         (PARMS): Do not use macros from bp-asm.h.
9668         (NSOPS): Likewise.
9669         (semtimedop): Do not use BP_SYM.
9670         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
9671         and <bp-asm.h>.
9673 2013-02-21  Allan McRae  <allan@archlinux.org>
9675         * manual/message.texi (Charset conversion in gettext):
9676         Move @end statement to beginning of line.
9678 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9680         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
9681         static.
9682         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9683         Likewise.
9685         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
9686         (denorm): Likewise.
9687         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
9688         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
9690 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9692         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
9693         tail-call to the resolved function if pltexit isn't needed.
9695 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9697         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
9698         or Y being zero as being unlikely.
9699         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9700         Likewise.
9702 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
9704         * manual/nss.texi (System Databases and Name Service Switch):
9705         Remove frobnicate @pxref.
9707 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
9709         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9710         __attribute__ ((unused)) to __attribute__ ((__unused__)).
9712 2013-02-20  Petr Machata  <pmachata@redhat.com>
9714         * elf/elf.h (R_ARM_TARGET1): New macro.
9715         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
9716         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
9717         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
9718         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
9719         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
9720         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
9721         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
9722         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
9723         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
9724         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
9725         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
9726         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
9727         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
9728         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
9729         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
9730         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
9731         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
9732         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
9733         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
9734         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
9735         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
9736         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
9737         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
9738         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
9739         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
9740         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
9741         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
9742         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
9743         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
9744         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
9745         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
9746         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
9747         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
9748         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
9749         (R_ARM_THM_GOT_BREL12): Likewise.
9750         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
9751         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
9752         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
9753         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
9754         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
9755         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
9756         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
9757         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
9758         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
9760 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
9762         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9763         __attribute_used__ to __attribute__ ((unused)).
9765 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
9767         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
9768         powerpc mpa.c.
9769         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
9770         comment formatting.
9771         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
9773 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
9775         [BZ #13550]
9776         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
9777         Remove macro.
9778         (ENTER): Remove both macro definitions.
9779         (LEAVE): Likewise.
9780         (CHECK_BOUNDS_LOW): Likewise.
9781         (CHECK_BOUNDS_HIGH): Likewise.
9782         (CHECK_BOUNDS_BOTH): Likewise.
9783         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
9784         (RETURN_BOUNDED_POINTER): Likewise.
9785         (RETURN_NULL_BOUNDED_POINTER): Likewise.
9786         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
9787         (POP_ERRNO_LOCATION_RETURN): Likewise.
9788         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
9789         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9790         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
9791         macros.
9792         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9793         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
9794         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
9795         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
9796         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
9797         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
9798         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
9799         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
9800         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
9801         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
9802         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
9803         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
9804         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9805         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
9806         removed macros.
9807         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9808         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
9809         macros.
9810         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9811         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
9812         * sysdeps/i386/i586/memset.S (memset): Likewise.
9813         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
9814         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9815         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
9816         macros.
9817         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9818         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
9819         Change uses of L(2) to L(out).
9820         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
9821         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
9822         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
9823         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9824         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
9825         removed macros.
9826         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9827         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
9828         macros.
9829         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9830         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
9831         (RETURN): Do not use macro LEAVE.
9832         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
9833         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
9834         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
9835         * sysdeps/i386/i686/memset.S (memset): Likewise.
9836         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
9837         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
9838         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9839         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
9840         Likewise.
9841         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9842         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
9843         L(1_2) and L(1_3) into L(1).
9844         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9845         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
9846         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9847         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
9848         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9849         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
9850         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
9851         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9852         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
9853         macros.
9854         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
9855         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9856         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
9857         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
9858         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
9859         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9860         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
9861         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
9862         * sysdeps/i386/strcspn.S (strcspn): Likewise.
9863         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
9864         * sysdeps/i386/strrchr.S (strrchr): Likewise.
9865         * sysdeps/i386/strspn.S (strspn): Likewise.
9866         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
9867         conditional code.
9868         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9869         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
9870         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9871         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
9872         L(1_3) into L(1_1).
9873         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
9874         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9875         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
9876         macros.
9877         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9879 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
9881         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
9882         macro.
9884 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9886         * math/atest-exp.c (exp_mpn): Remove ROUND.
9887         * math/atest-exp2.c (exp_mpn): Likewise.
9888         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
9890         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
9891         * stdlib/tst-tls-atexit-lib.c: Likewise.
9892         * stdlib/tst-tls-atexit.c: Likewise.
9894 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
9896         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
9897         and __attribute_alloc_size__.
9899 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
9901         * include/programs/xmalloc.h: Change __attribute_alloc_size to
9902         __attribute_alloc_size__.
9903         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
9904         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
9906 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
9908         * include/programs/xmalloc.h: New file.
9909         * catgets/gencat.c: Include it.
9910         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
9911         * elf/pldd.c: Likewise.
9912         * iconv/iconv_charmap.c: Likewise.
9913         * iconv/iconvconfig.c: Likewise.
9914         * iconv/strtab.c: Likewise.
9915         * locale/programs/locale.c: Likewise.
9916         * locale/programs/localedef.h: Likewise.
9917         * locale/programs/simple-hash.c: Likewise.
9918         * nscd/nscd.h: Likewise.
9919         * nss/makedb.c: Likewise.
9920         * sysdeps/generic/ldconfig.h: Likewise.
9922 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
9924         * Versions.def: Add GLIBC_2.18.
9925         * include/link.h (struct link_map): New member l_tls_dtor_count.
9926         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
9927         (__call_tls_dtors): Likewise.
9928         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
9929         __cxa_thread_atexit_impl.
9930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9931         Likewise.
9932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9933         Likewise.
9934         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9935         Likewise.
9936         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9937         Likewise.
9938         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9939         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
9940         Likewise.
9941         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
9942         Likewise.
9943         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9944         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9945         Likewise.
9946         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
9947         (tests): Add test case tst-tls-atexit.
9948         (modules-names): Add shared library for tst-tls-atexit.
9949         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
9950         (GLIBC_PRIVATE): Add __call_tls_dtors.
9951         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
9952         for libstdc++.
9953         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
9954         * stdlib/tst-tls-atexit.c: New test case.
9955         * stdlib/tst-tls-atexit-lib.c: New test case.
9957         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
9959         * elf/Versions (ld): Add _dl_find_dso_for_object.
9960         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
9961         * elf/dl-open.c (_dl_find_dso_for_object): New function.
9962         (dl_open_worker): Use _dl_find_dso_for_object.
9963         * elf/dl-sym.c (do_sym): Likewise.
9964         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
9966 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9968         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
9969         Syntactic changes only.
9970         (_dl_runtime_profile): Do a tail-call to the resolved function.
9972 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
9974         [BZ #13550]
9975         * sysdeps/x86_64/bp-asm.h: Remove file.
9976         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
9977         <bp-sym.h> and <bp-asm.h>.
9978         (__clone): Do not use BP_SYM.
9979         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
9980         <bp-sym.h> and <bp-asm.h>.
9981         * sysdeps/unix/x86_64/sysdep.S: Likewise.
9982         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
9983         "bp-asm.h".
9984         (_setjmp): Do not use BP_SYM.
9985         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
9986         "bp-asm.h".
9987         (setjmp): Do not use BP_SYM.
9988         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
9989         libc_hidden_def.
9990         (mempcpy): Do not use BP_SYM in weak_alias.
9991         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
9992         "bp-asm.h".
9993         (strchr): Do not use BP_SYM.
9994         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
9995         "bp-asm.h".
9996         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
9997         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
9998         (_start): Do not use BP_SYM.
9999         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
10000         "bp-asm.h".
10001         (strcat): Do not use BP_SYM.
10002         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
10003         "bp-asm.h".
10004         (STRCMP): Do not use BP_SYM.
10005         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
10006         "bp-asm.h".
10007         (STRCPY): Do not use BP_SYM.
10008         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
10009         "bp-asm.h".
10010         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
10011         "bp-asm.h".
10012         (FUNCTION): Do not use BP_SYM.
10013         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
10014         weak_alias.
10015         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
10017 2013-02-17  Andreas Jaeger  <aj@suse.de>
10019         * time/Versions: Sort entries.
10020         * string/Versions: Likewise.
10021         * resolv/Versions: Likewise.
10022         * posix/Versions: Likewise.
10023         * iconv/Versions: Likewise.
10024         * elf/Versions: Likewise.
10025         * wcsmbs/Versions: Likewise.
10027 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10029         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
10030         loop termination condition.
10032         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
10033         variable to calculate EZ.
10034         (__sqr): Likewise.
10036         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
10037         the lower precision input.
10039 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
10041         [BZ #13550]
10042         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
10043         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
10044         (run-via-rtld-prefix): Do not handle %-bp tests.
10045         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
10046         (all-object-suffixes): Remove .ob.
10047         (bppfx): Remove variable.
10048         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
10049         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
10050         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
10051         [$(build-bounded) = yes] (libtype.ob): Likewise.
10052         * Makerules (elide-routines.ob): Remove variable.
10053         (do-tests-clean): Do not handle *-bp.out.
10054         (common-mostlyclean): Do not handle *-bp and *-bp.out.
10055         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
10056         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
10057         (tests): Do not include $(tests-bp.out).
10058         (xtests): Do not include $(xtests-bp.out).
10059         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
10060         [$(build-bounded) = yes] ($(addprefix
10061         $(objpfx),$(binaries-bounded))): Remove rule.
10062         ($(objpfx)%-bp.out): Remove rule.
10063         * config.make.in (build-bounded): Remove variable.
10064         * crypt/Makefile [$(build-bounded) = yes]
10065         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
10066         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
10067         append to variable.
10068         [$(build-bounded) = yes] (install-lib): Likewise.
10069         [$(build-bounded) = yes] (generated): Likewise.
10070         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
10071         Remove rule.
10072         * intl/Makefile [$(build-bounded) = yes]
10073         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
10074         * math/Makefile [$(build-bounded) = yes]
10075         ($(tests:%=$(objpfx)%-bp): Likewise.
10076         * misc/Makefile [$(build-bounded) = yes]
10077         ($(objpfx)tst-tsearch-bp): Likewise.
10078         * nptl/Makeconfig (bounded-thread-library): Remove variable.
10079         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
10080         Remove dependency.
10081         * string/Makefile (o-objects.ob): Remove variable.
10082         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
10083         (CFLAGS-.ob): Remove variable.
10084         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
10085         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
10086         both definitions of variable.
10087         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
10088         (ASFLAGS-.ob): Remove variable.
10090 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
10092         [BZ #13550]
10093         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
10094         Remove __BOUNDED_POINTERS__ from condition.
10095         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
10096         * string/bits/string2.h [!__NO_STRING_INLINES &&
10097         !__BOUNDED_POINTERS__]: Likewise.
10098         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
10099         Likewise.
10100         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
10101         Remove conditional code.
10102         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
10103         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
10104         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
10105         condition.
10107         [BZ #13550]
10108         * csu/libc-start.c: Do not include <bp-sym.h>.
10109         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
10110         * elf/dl-open.c: Do not include <bp-sym.h>.
10111         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
10112         * math/fegetenv.c: Do not include <bp-sym.h>.
10113         (fegetenv): Do not use BP_SYM in versioned symbols.
10114         * nptl/sysdeps/pthread/bits/libc-lockP.h
10115         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
10116         <bp-sym.h>.
10117         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10118         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
10119         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10120         (__pthread_mutex_destroy): Likewise.
10121         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10122         (__pthread_mutex_lock): Likewise.
10123         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10124         (__pthread_mutex_trylock): Likewise.
10125         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10126         (__pthread_mutex_unlock): Likewise.
10127         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10128         (__pthread_mutexattr_init): Likewise.
10129         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10130         (__pthread_mutexattr_destroy): Likewise.
10131         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10132         (__pthread_mutexattr_settype): Likewise.
10133         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10134         (__pthread_rwlock_init): Likewise.
10135         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10136         (__pthread_rwlock_destroy): Likewise.
10137         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10138         (__pthread_rwlock_rdlock): Likewise.
10139         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10140         (__pthread_rwlock_tryrdlock): Likewise.
10141         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10142         (__pthread_rwlock_wrlock): Likewise.
10143         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10144         (__pthread_rwlock_trywrlock): Likewise.
10145         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10146         (__pthread_rwlock_unlock): Likewise.
10147         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10148         (__pthread_key_create): Likewise.
10149         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10150         (__pthread_setspecific): Likewise.
10151         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10152         (__pthread_getspecific): Likewise.
10153         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
10154         Likewise.
10155         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10156         (_pthread_cleanup_push_defer): Likewise.
10157         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10158         (_pthread_cleanup_pop_restore): Likewise.
10159         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10160         (pthread_setcancelstate): Likewise.
10161         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
10162         <bp-sym.h>.
10163         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
10164         (memchr): Do not use BP_SYM in weak_alias.
10165         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
10166         (fegetenv): Do not use BP_SYM in versioned symbols.
10167         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
10168         (fesetenv): Do not use BP_SYM in versioned symbols.
10169         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10170         (feupdateenv): Do not use BP_SYM in versioned symbols.
10171         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10172         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10173         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
10174         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
10175         (open64): Do not use BP_SYM in weak_alias.
10176         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
10177         (fegetenv): Do not use BP_SYM in versioned symbols.
10178         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
10179         (fesetenv): Do not use BP_SYM in versioned symbols.
10180         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10181         (feupdateenv): Do not use BP_SYM in versioned symbols.
10182         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
10183         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
10184         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
10185         (feraiseexcept): Do not use BP_SYM in versioned symbols.
10186         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10187         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10188         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
10189         <bp-sym.h>.
10190         (__libc_start_main): Do not use BP_SYM.
10192 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10194         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
10195         redundant return line.
10196         (norm): Likewise.
10197         (denorm): Likewise.
10198         (dbl_mp): Likewise.
10199         (sub_magnitudes): Likewise.
10200         (__add): Likewise.
10201         (__sub): Likewise.
10202         (__mul): Likewise.
10203         (__inv): Likewise.
10204         (__dvd): Likewise.
10205         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
10206         (norm): Likewise.
10207         (denorm): Likewise.
10208         (dbl_mp): Likewise.
10209         (sub_magnitudes): Likewise.
10210         (__add): Likewise.
10211         (__sub): Likewise.
10212         (__mul): Likewise.
10213         (__inv): Likewise.
10214         (__dvd): Likewise.
10216         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
10217         instead of __mul.
10218         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10219         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
10220         (cc32): Likewise.
10222         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
10223         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
10224         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
10225         of __mul for squares.
10226         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
10227         function
10228         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
10229         Likewise.
10230         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
10231         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10233 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
10235         [BZ #13550]
10236         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
10237         code.
10238         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
10239         prototype or function definition.  Rename ubp_* variables and
10240         parameters.  Remove argv definitions conditional on
10241         [__BOUNDED_POINTERS__].
10242         * debug/backtrace.c (__backtrace): Do not use __unbounded.
10243         * elf/dl-runtime.c (_dl_fixup): Likewise.
10244         * include/set-hooks.h (RUN_HOOK): Likewise.
10245         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
10246         definition.
10247         * string/strcpy.c (strcpy): Do not use __unbounded.
10248         * sysdeps/generic/frame.h (struct layout): Likewise.
10249         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
10250         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
10251         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
10252         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
10253         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
10254         (__backtrace): Likewise.
10255         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
10256         use __ptrvalue.
10257         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10258         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10259         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
10260         Likewise.
10261         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
10262         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
10263         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10264         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10265         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
10266         Do not use __unbounded.
10267         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
10268         Rename __unboundedrlimits parameter to rlimits in prototype.
10269         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
10270         Do not use __unbounded.
10271         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
10272         not use __ptrvalue.
10273         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10274         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
10275         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10276         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
10277         __ptrvalue or __unbounded.
10278         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
10279         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
10280         use __unbounded.
10281         (__new_msgctl): Do not use __ptrvalue.
10282         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
10283         __unbounded.
10284         (__libc_msgrcv): Do not use __ptrvalue.
10285         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
10286         startup_info): Do not use __unbounded.
10287         (__libc_start_main): Likewise.  Rename ubp_* variables and
10288         parameters.  Remove argv definitions conditional on
10289         [__BOUNDED_POINTERS__].
10290         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
10291         __ptrvalue.
10292         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
10293         use __unbounded.
10294         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
10295         or __ptrvalue.
10296         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
10297         use __unbounded.
10298         (__new_shmctl): Do not use __ptrvalue.
10299         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
10300         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
10301         Likewise.
10302         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
10303         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
10304         (__libc_sigaction): Likewise.
10305         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
10306         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
10307         Likewise.
10308         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10310 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
10312         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
10314         * string/mempcpy.c: Implement by calling memcpy.
10316 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
10318         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
10320         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
10321         evaluation.
10323         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
10324         values in the mantissa.
10326         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
10327         minimize writes to Z.
10328         (sub_magnitudes): Simplify code a bit.
10330 2013-02-12  Roland McGrath  <roland@hack.frob.com>
10332         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
10333         from the message.  The linker prefixes all warnings with that already.
10335 2013-02-12  Andreas Schwab  <schwab@suse.de>
10337         [BZ #15078]
10338         * posix/regexec.c (extend_buffers): Add parameter min_len.
10339         (check_matching): Pass minimum needed length.
10340         (clean_state_log_if_needed): Likewise.
10341         (get_subexp): Likewise.
10342         * posix/Makefile (tests): Add bug-regex34.
10343         (bug-regex34-ENV): Define.
10344         * posix/bug-regex34.c: New file.
10346         [BZ #11561]
10347         * posix/regcomp.c (parse_bracket_exp): When looking up collating
10348         elements compare against the byte sequence of it, not its name.
10349         * posix/Makefile (tests): Add bug-regex35.
10350         (bug-regex35-ENV): Define.
10351         * posix/bug-regex35.c: New file.
10353 2013-02-11  Tom de Vries  <tom@codesourcery.com>
10355         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
10356         comment.
10357         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
10358         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
10359         (CHECK_EOL): Add undef.
10361 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
10363         * bits/stdlib-bsearch.h: New file.
10364         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
10365         * stdlib/stdlib.h: Likewise.
10367 2013-02-11  Roland McGrath  <roland@hack.frob.com>
10369         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
10370         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
10371         declaration.
10372         * manual/search.texi (Array Search Function): Add missing const in
10373         lfind prototype.
10374         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
10375         declaration to use rlim_t.
10376         (Basic Scheduling Functions): Remove erroneous const from
10377         sched_getparam prototype.  Remove erroneous * from
10378         sched_get_priority_max and sched_get_priority_min prototypes.
10379         (Resource Usage): Fix summary @comment on vtimes to refer to
10380         sys/vtimes.h rather than vtimes.h.
10381         Add missing *s in vtimes prototype.
10382         (Limits on Resources): Fix ulimit prototype to return long int.
10383         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
10384         prototypes to use long int rather than double.
10385         (BSD Random): Fix initstate and setstate to use char *, not void *.
10386         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
10387         prototype to make second argument 'struct aiocb64 *const[]'.
10388         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
10389         (Status of AIO Operations): Remove erroneous const in aio_return and
10390         aio_return64 prototypes.
10391         (Synchronizing I/O): Fix sync prototype to return void.
10392         * manual/startup.texi (Suboptions): Remove an erroneous const in
10393         getsubopt prototype.
10394         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
10395         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
10396         use size_t rather than int.
10397         (Scanning All Users): Likewise for getpwent_r.
10398         (Setting Groups): Add missing const to setgroups prototype.
10399         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
10400         * manual/socket.texi (Host Names): Fix gethostbyaddr and
10401         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
10402         'const void *' rather than 'const char *'.
10403         (Host Address Functions): Likewise for inet_ntop.
10404         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
10405         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
10406         ssize_t for return value.
10407         (Sending Data): Likewise for send, sendto, sendmsg.
10408         (Socket Option Functions): Add a missing const in setsockopt prototype.
10409         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
10410         use wchar_t for the argument.
10411         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
10412         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
10413         take no arguments.
10414         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
10415         double/float/long double for second argument.
10416         Fix return types of significand, significandf, significandl.
10417         * manual/filesys.texi (Setting Permissions): Use mode_t for second
10418         argument in fchmod prototype.
10419         (File Owner): Use uid_t and gid_t in fchown prototype.
10420         (File Times): Add const to utimes, futimes, and lutimes prototypes.
10421         (Making Special Files): Use mode_t and dev_t in mknod prototype.
10422         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
10423         use 'const struct dirent **' as argument types to CMP function pointer
10424         argument.
10425         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
10426         (File Times): Fix summary magic @comment for struct utimbuf and utime
10427         to refer to utime.h, not time.h.
10428         * manual/string.texi (Argz Functions): Add missing const in
10429         argz_extract and argz_next prototypes.
10430         (Finding Tokens in a String): Likewise for basename.
10431         (String/Array Comparison): Fix typo in wcscasecmp prototype.
10432         (Copying and Concatenation): Fix typo in wmemmove prototype.
10433         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
10434         (Signal Stack): Remove erroneous const in sigstack prototype.
10435         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
10436         prototype.
10437         (Simple Calendar Time): Likewise for stime.
10438         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
10439         prototype.
10440         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
10441         say sys/sysctl.h instead.
10442         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
10443         and vsyslog prototypes.
10445 2013-02-11  Tom de Vries  <tom@codesourcery.com>
10447         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
10448         Remove.
10450 2013-02-11  Roland McGrath  <roland@hack.frob.com>
10452         * misc/sys/mman.h: Fix typo in mremap comment.
10454 2013-02-08  Roland McGrath  <roland@hack.frob.com>
10456         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
10457         the '\0' terminator.
10459 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
10461         [BZ #13550]
10462         * debug/segfault.c: Don't include <bp-checks.h>.
10463         * sysdeps/generic/bp-checks.h: Remove file.
10464         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
10465         (__GETDENTS): Don't use CHECK_N.
10466         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
10467         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10468         (__getgroups): Don't use CHECK_N.
10469         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
10470         (setgroups): Don't use CHECK_N.
10471         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
10472         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
10473         (__libc_msgrcv): Don't use CHECK_N.
10474         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
10475         (__libc_msgsnd): Don't use CHECK_N.
10476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
10477         <bp-checks.h>.
10478         (__libc_pread): Don't use CHECK_N.
10479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
10480         include <bp-checks.h>.
10481         (__libc_pread64): Don't use CHECK_N.
10482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
10483         include <bp-checks.h>.
10484         (__libc_pwrite): Don't use CHECK_N.
10485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
10486         include <bp-checks.h>.
10487         (__libc_pwrite64): Don't use CHECK_N.
10488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
10489         <bp-checks.h>.
10490         (__libc_pread): Don't use CHECK_N.
10491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
10492         include <bp-checks.h>.
10493         (__libc_pread64): Don't use CHECK_N.
10494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
10495         include <bp-checks.h>.
10496         (__libc_pwrite): Don't use CHECK_N.
10497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
10498         include <bp-checks.h>.
10499         (__libc_pwrite64): Don't use CHECK_N.
10500         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
10501         (do_pread): Don't use CHECK_N.
10502         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
10503         (do_pread64): Don't use CHECK_N.
10504         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
10505         (do_pwrite): Don't use CHECK_N.
10506         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
10507         (do_pwrite64): Don't use CHECK_N.
10508         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
10509         (__libc_readv): Don't use CHECK_N.
10510         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
10511         (semop): Don't use CHECK_N.
10512         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
10513         <bp-checks.h>.
10514         (semtimedop): Don't use CHECK_N.
10515         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
10516         (__libc_pread): Don't use CHECK_N.
10517         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
10518         <bp-checks.h>.
10519         (__libc_pread64): Don't use CHECK_N.
10520         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
10521         <bp-checks.h>.
10522         (__libc_pwrite): Don't use CHECK_N.
10523         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
10524         <bp-checks.h>.
10525         (__libc_pwrite64): Don't use CHECK_N.
10526         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
10527         <bp-checks.h>.
10528         (__libc_msgrcv): Don't use CHECK_N.
10529         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
10530         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
10531         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
10532         (__libc_writev): Don't use CHECK_N.
10534 2013-02-08  Roland McGrath  <roland@hack.frob.com>
10536         * string/strcpy.c: Removed unused variable.
10538         * Makeconfig (+sysdep-includes): Define with := rather than =.
10539         Use an existing include/ subdir of each sysdeps dir before it.
10541 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
10543         * nscd/connection.c (register_traced_file): Comment function.
10544         [HAVE_INOTIFY] (union __inev): Define.
10545         [HAVE_INOTIFY] (inotify_check_files): New function.
10546         [HAVE_INOTIFY] (clear_db_cache): Likewise.
10547         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
10548         clear_db_cache.
10549         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
10551 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
10553         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
10554         loaded if not already and that a failure is permanent.
10556 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
10558         [BZ #15006]
10559         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
10560         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
10562 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
10564         [BZ #13550]
10565         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
10566         (CHECK_1_NULL_OK): Likewise.
10567         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
10568         (__fxstat): Do not use CHECK_1.
10569         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
10570         <bp-checks.h>.
10571         (___fxstat64): Do not use CHECK_1.
10572         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10573         <bp-checks.h>.
10574         (__fxstatat): Do not use CHECK_1.
10575         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10576         <bp-checks.h>.
10577         (__fxstatat64): Do not use CHECK_1.
10578         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
10579         <bp-checks.h>.
10580         (__fxstat): Do not use CHECK_1.
10581         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10582         <bp-checks.h>.
10583         (__fxstatat): Do not use CHECK_1.
10584         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10585         <bp-checks.h>.
10586         (__getresgid): Do not use CHECK_1.
10587         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10588         <bp-checks.h>.
10589         (__getresuid): Do not use CHECK_1.
10590         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
10591         <bp-checks.h>.
10592         (__lxstat): Do not use CHECK_1.
10593         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10594         <bp-checks.h>.
10595         (__old_msgctl): Do not use CHECK_1.
10596         (__new_msgctl): Likewise.
10597         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
10598         <bp-checks.h>.
10599         (__new_setrlimit): Do not use CHECK_1.
10600         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10601         <bp-checks.h>.
10602         (__old_shmctl): Do not use CHECK_1.
10603         (__new_shmctl): Likewise.
10604         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
10605         <bp-checks.h>.
10606         (__xstat): Do not use CHECK_1.
10607         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
10608         (__lxstat): Do not use CHECK_1.
10609         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
10610         <bp-checks.h>.
10611         (___lxstat64): Do not use CHECK_1.
10612         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
10613         (__old_msgctl): Do not use CHECK_1.
10614         (__new_msgctl): Likewise.
10615         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
10616         <bp-checks.h>.
10617         (__gettimeofday): Do not use CHECK_1.
10618         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
10619         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
10620         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
10621         <bp-checks.h>.
10622         (__gettimeofday): Do not use CHECK_1.
10623         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
10624         (__old_shmctl): Do not use CHECK_1_NULL_OK.
10625         (__new_shmctl): Do not use CHECK_1.
10626         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
10627         <bp-checks.h>.
10628         (do_sigtimedwait): Do not use CHECK_1.
10629         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
10630         <bp-checks.h>.
10631         (do_sigwaitinfo): Do not use CHECK_1.
10632         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
10633         <bp-checks.h>.
10634         (msgctl): Do not use CHECK_1.
10635         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
10636         <bp-checks.h>.
10637         (shmctl): Do not use CHECK_1.
10638         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
10639         (ustat): Do not use CHECK_1.
10640         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
10641         <bp-checks.h>.
10642         (__fxstat): Do not use CHECK_1.
10643         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10644         <bp-checks.h>.
10645         (__fxstatat): Do not use CHECK_1.
10646         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
10647         <bp-checks.h>.
10648         (__lxstat): Do not use CHECK_1.
10649         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
10650         <bp-checks.h>.
10651         (__xstat): Do not use CHECK_1.
10652         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
10653         (__xstat): Do not use CHECK_1.
10654         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
10655         (___xstat64): Do not use CHECK_1.
10657         [BZ #13550]
10658         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
10659         definitions.
10660         (CHECK_BOUNDS_HIGH): Likewise.
10661         * string/strcpy.c: Do not include <bp-checks.h>.
10662         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
10664 2013-02-07  Roland McGrath  <roland@hack.frob.com>
10666         * nscd/nscd-client.h (__nscd_drop_map_ref):
10667         Add __attribute__ ((unused)).
10668         * nis/nss-nisplus.h (niserr2nss): Likewise.
10670         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
10671         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
10673         * csu/libc-tls.c (init_static_tls, init_slotinfo):
10674         Remove inline keyword.
10675         * include/rounding-mode.h (round_away): Likewise.
10676         * libio/wfileops.c (adjust_wide_data): Likewise.
10677         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
10678         (__m128i_strloadu_tolower): Likewise.
10679         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
10680         (__m128i_strloadu_tolower): Likewise.
10681         * time/mktime.c (ydhms_diff): Likewise.
10682         * locale/elem-hash.h (elem_hash): Likewise.
10683         * locale/setlocale.c (setdata): Likewise.
10684         * posix/regex_internal.h (re_string_char_size_at): Likewise.
10685         (re_string_wchar_at): Likewise.
10686         (bitset_not, bitset_merge, bitset_mask): Likewise.
10687         [!(__GNUC__ > 3)] (inline): Remove macro.
10688         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
10689         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
10690         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10691         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
10692         * string/memcmp.c (memcmp_bytes): Likewise.
10693         * locale/programs/locarchive.c (compute_hashval): Likewise.
10694         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
10695         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
10696         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
10697         * nss/getent.c (print_rpc, print_protocols): Likewise.
10698         (print_passwd, print_group, print_aliases): Likewise.
10699         * nis/nss-nisplus.h (niserr2nss): Likewise.
10700         * nscd/connections.c (restart_p): Likewise.
10701         Change return type to bool.
10703 2013-02-05  Roland McGrath  <roland@hack.frob.com>
10705         * Makeconfig (all-Depend-files): Add existing
10706         $(sorted-subdirs:=/Depend) files.
10707         (all-subdirs): Remove nss.
10708         * sysdeps/unix/inet/Subdirs: Add it here instead.
10709         * hesiod/Depend: New file.
10711         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
10712         instead of calling alloca.
10714         * io/lseek.c (__lseek): Rename to __libc_lseek.
10715         Define __lseek as an alias.
10717         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
10719 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
10721         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
10722         else clause and remove check for non-standard endianness.
10724 2013-02-04  David S. Miller  <davem@davemloft.net>
10726         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10728 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
10730         [BZ #13550]
10731         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
10732         (__ubp_memchr): Remove prototype.
10733         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
10734         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10735         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
10736         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10737         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
10738         Remove alias.
10739         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
10740         (__ubp_memchr): Likewise.
10741         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
10742         (__ubp_memchr): Likewise.
10743         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
10744         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
10745         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
10746         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
10747         CHECK_STRING.
10748         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10749         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
10750         (__getcwd): Do not use CHECK_STRING.
10751         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10752         <bp-checks.h>.
10753         (__real_chown): Do not use CHECK_STRING.
10754         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
10755         <bp-checks.h>.
10756         (fchownat): Do not use CHECK_STRING.
10757         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
10758         CHECK_STRING.
10759         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10760         <bp-checks.h>.
10761         (__lchown): Do not use CHECK_STRING.
10762         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10763         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10764         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10765         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10767         include <bp-checks.h>.
10768         (truncate64): Do not use CHECK_STRING.
10769         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10770         <bp-checks.h>.
10771         (__real_chown): Do not use CHECK_STRING.
10772         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10773         <bp-checks.h>.
10774         (__lchown): Do not use CHECK_STRING.
10775         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10776         <bp-checks.h>.
10777         (__chown): Do not use CHECK_STRING.
10778         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
10779         <bp-checks.h>.
10780         (truncate64): Do not use CHECK_STRING.
10781         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
10782         Likewise.
10783         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
10784         (__xmknod): Do not use CHECK_STRING.
10785         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10786         <bp-checks.h>.
10787         (__xmknodat): Do not use CHECK_STRING.
10788         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10789         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
10791 2013-02-04  Andreas Schwab  <schwab@suse.de>
10793         [BZ #14142]
10794         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
10795         * include/netdb.h: Likewise for h_errno.
10796         * elf/tst-stackguard1.c: Include <tls.h>.
10798 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
10800         * elf/link.h (struct link_map): Extend the l_addr comment.
10801         * include/link.h (struct link_map): Likewise.
10803 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
10805         [BZ #13550]
10806         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
10807         (BOUNDED_1): Remove macro.
10808         * debug/backtrace.c: Don't include <bp-checks.h>.
10809         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
10810         (__backtrace): Likewise.
10811         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
10812         <bp-checks.h>.
10813         (__backtrace): Don't use BOUNDED_1.
10814         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
10815         <bp-checks.h>.
10816         (__backtrace): Don't use BOUNDED_1.
10817         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
10818         (__backtrace): Don't use BOUNDED_1.
10819         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
10820         (shmat): Don't use BOUNDED_N.
10822 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
10824         [BZ #13550]
10825         * sysdeps/generic/bp-start.h: Remove file.
10826         * csu/libc-start.c: Don't include <bp-start.h>.
10827         (LIBC_START_MAIN): Set up __environ directly instead of using
10828         INIT_ARGV_and_ENVIRON.
10829         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
10830         <bp-start.h>.
10832         [BZ #13550]
10833         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
10834         definitions.
10835         (CHECK_FCNTL): Likewise.
10836         (CHECK_N_PAGES): Likewise.
10838         [BZ #13550]
10839         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
10840         definitions.
10841         (CHECK_SIGSET_NULL_OK): Likewise.
10842         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
10843         <bp-checks.h>.
10844         (sigpending): Don't use CHECK_SIGSET.
10845         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
10846         <bp-checks.h>.
10847         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10848         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
10849         <bp-checks.h>.
10850         (do_sigsuspend): Don't use CHECK_SIGSET.
10851         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
10852         use CHECK_SIGSET.
10853         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
10854         (do_sigwait): Don't use CHECK_SIGSET.
10855         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
10856         use CHECK_SIGSET.
10857         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
10858         include <bp-checks.h>.
10859         (sigpending): Don't use CHECK_SIGSET.
10860         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
10861         include <bp-checks.h>.
10862         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10863         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
10864         <bp-checks.h>.
10865         (sigpending): Don't use CHECK_SIGSET.
10866         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
10867         <bp-checks.h>.
10868         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10870         [BZ #13550]
10871         * sysdeps/generic/bp-semctl.h: Remove file.
10872         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
10873         <bp-checks.h> and <bp-semctl.h>.
10874         (__old_semctl): Don't use CHECK_SEMCTL.
10875         (__new_semctl): Likewise.
10876         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
10877         and <bp-semctl.h>.
10878         (__old_semctl): Don't use CHECK_SEMCTL.
10879         (__new_semctl): Likewise.
10880         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
10881         <bp-checks.h> and <bp-semctl.h>.
10882         (__old_semctl): Don't use CHECK_SEMCTL.
10883         (__new_semctl): Likewise.
10884         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
10885         <bp-checks.h> and <bp-semctl.h>.
10886         (semctl): Don't use CHECK_SEMCTL.
10888         [BZ #13550]
10889         * Makerules (elide-bp-thunks): Remove variable.
10890         (elide-routines.oS): Don't use $(elide-bp-thunks).
10891         (elide-routines.os): Likewise.
10892         (elide-routines.o): Likewise.
10893         (elide-routines.op): Likewise.
10894         (elide-routines.og): Likewise.
10895         (objects): Don't use $(bp-thunks).
10896         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
10897         include.
10898         (common-generated): Do not add s-proto-bp.d.
10899         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
10900         (int): Likewise.
10901         (typ): Likewise.
10902         Do not generate makefile rules for bounded-pointer thunks.
10903         * sysdeps/generic/bp-thunks.h: Remove file.
10904         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
10905         * sysdeps/unix/s-proto-bp.S: Likewise.
10907         [BZ #15062]
10908         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
10909         parts of result separately when argument is not close to line from
10910         -i to i and one part of argument is small.
10911         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10912         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10913         * math/libm-test.inc (cacos_test): Add more tests.
10914         (casin_test): Likewise.
10915         (casinh_test): Likewise.
10916         * sysdeps/i386/fpu/libm-test-ulps: Update.
10917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10919 2013-01-31  David S. Miller  <davem@davemloft.net>
10921         * po/de.po: Update from translation team.
10923 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
10925         * time/tzfile.c: Include stdint.h for SIZE_MAX.
10927 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
10929         * configure.in (_AC_PROG_CC_C89): New definition.
10930         * configure: Regenerate.
10932         * configure.in (AC_PROG_CPP): New definition.
10933         * configure: Regenerate.
10935 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
10937         * debug/tst-backtrace.h: New file.
10938         * debug/tst-backtrace2.c: Include tst-backtrace.h.
10939         (ret): Remove variable.
10940         (x): Likewise.
10941         (FAIL): Remove macro.
10942         (NO_INLINE): Likewise.
10943         (fn1): Use match function instead of strstr.
10944         * debug/tst-backtrace3.c: Include tst-backtrace.h.
10945         (ret): Remove variable.
10946         (x): Likewise.
10947         (FAIL): Remove macro.
10948         (NO_INLINE): Likewise.
10949         (fn): Use match function instead of strstr.
10950         * debug/tst-backtrace4.c: Include tst-backtrace.h.
10951         (ret): Remove variable.
10952         (x): Likewise.
10953         (FAIL): Remove macro.
10954         (NO_INLINE): Likewise.
10955         (handle_signal): Use match function instead of strstr.
10956         * debug/tst-backtrace5.c: Include tst-backtrace.h.
10957         (ret): Remove variable.
10958         (x): Likewise.
10959         (FAIL): Remove macro.
10960         (NO_INLINE): Likewise.
10961         (handle_signal): Use match function instead of strstr.
10963 2013-01-23  Roland McGrath  <roland@hack.frob.com>
10965         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
10967 2013-01-23  David S. Miller  <davem@davemloft.net>
10969         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
10970         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
10971         argument of CAS if possible.
10972         * sysdeps/sparc/sparc64/bits/atomic.h
10973         (__arch_compare_and_exchange_val_32_acq): Likewise.
10974         (__arch_compare_and_exchange_val_64_acq): Likewise.
10976 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
10978         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
10979         * sysdeps/posix/ulimit.c: ... this.
10980         Include <limits.h>.
10981         * sysdeps/unix/bsd/ulimit.c: Remove file.
10983 2013-01-23  Adam Conrad  <adconrad@0c3.net>
10985         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
10986         (LDFLAGS-tst-array5): Likewise.
10988 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
10990         [BZ #15036]
10991         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
10992         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
10993         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
10994         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
10996 2013-01-21  David S. Miller  <davem@davemloft.net>
10998         * sysdeps/sparc/backtrace.c: New file.
10999         * sysdeps/sparc/sparc32/backtrace.h: New file.
11000         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
11001         * sysdeps/sparc/sparc64/backtrace.h: New file.
11002         * sysdeps/sparc/sparc64/backtrace.c: Delete.
11003         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
11004         -funwind-tables.
11006 2013-01-21  Andreas Schwab  <schwab@suse.de>
11008         [BZ #15020]
11009         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
11010         closed its stdout.
11012 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
11014         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
11015         "mpa2.h".
11016         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11018 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
11019             Mark Mitchell  <mark@codesourcery.com>
11020             Tom de Vries  <tom@codesourcery.com>
11021             Paul Pluzhnikov  <ppluzhnikov@google.com>
11023         * debug/tst-backtrace2.c: New file.
11024         * debug/tst-backtrace3.c: Likewise.
11025         * debug/tst-backtrace4.c: Likewise.
11026         * debug/tst-backtrace5.c: Likewise.
11027         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
11028         (CFLAGS-tst-backtrace3.c): Likewise.
11029         (CFLAGS-tst-backtrace4.c): Likewise.
11030         (CFLAGS-tst-backtrace5.c): Likewise.
11031         (LDFLAGS-tst-backtrace2): Likewise.
11032         (LDFLAGS-tst-backtrace3): Likewise.
11033         (LDFLAGS-tst-backtrace4): Likewise.
11034         (LDFLAGS-tst-backtrace5): Likewise.
11035         (tests): Add new tests tst-backtrace2, tst-backtrace3,
11036         tst-backtrace4 and tst-backtrace5.
11038 2013-01-18  Anton Blanchard  <anton@samba.org>
11039             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11041         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
11042         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
11043         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
11044         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
11045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11046         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
11047         "+r" and remove output regs list as redundant.  Add explicit inline
11048         asm to specify register of return val to work around compiler codegen
11049         bug.  Remove (int) cast on return value.  Add return type parameter to
11050         use in macro so that this macro does not truncate return value for
11051         64-bit values.
11052         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
11053         pass to INTERNAL_VSYSCALL_NCS.
11054         (INLINE_VSYSCALL): Add 'long int' as return type to
11055         INTERNAL_VSYSCALL_NCS macro invocation.
11056         (INTERNAL_VSYSCALL): Add 'long int' as return type to
11057         INTERNAL_VSYSCALL_NCS macro invocation.
11058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11060 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11062         [BZ #14496]
11063         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
11064         Fix application of SIMD FP exception mask.
11066         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
11067         mp_no from a power of two.
11068         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
11069         __mpexp_twomm1.  Use __pow_mp.
11071         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
11072         multiplication.
11074 2013-01-17  David S. Miller  <davem@davemloft.net>
11076         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11078 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
11080         [BZ #15023]
11081         * include/complex.h: Condition contents on [!_COMPLEX_H].
11082         (__kernel_casinhf): New prototype.
11083         (__kernel_casinh): Likewise.
11084         (__kernel_casinhl): Likewise.
11085         * math/Makefile (libm_calls): Add k_casinh.
11086         * math/k_casinh.c: New file.
11087         * math/k_casinhf.c: Likewise.
11088         * math/k_casinhl.c: Likewise.
11089         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
11090         finite nonzero arguments.
11091         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
11092         finite nonzero arguments.
11093         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
11094         finite nonzero arguments.
11095         * math/s_casinh.c: Do not include <float.h>.
11096         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
11097         * math/s_casinhf.c: Do not include <float.h>.
11098         (__casinhf): Move code for finite nonzero arguments to
11099         k_casinhf.c.
11100         * math/s_casinhl.c: Do not include <float.h>.
11101         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
11102         redefine.
11103         (__casinhl): Move code for finite nonzero arguments to
11104         k_casinhl.c.
11105         * math/libm-test.inc (cacos_test): Add more tests.
11106         * sysdeps/i386/fpu/libm-test-ulps: Update.
11107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11109 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
11111         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
11112         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
11113         [!HAVE_MREMAP]: Remove [defined linux] case.
11114         * malloc/arena.c: Do not include <malloc-sysdep.h>.
11116 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
11118         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
11120 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
11122         * elf/elf.h (R_386_SIZE32): New relocation.
11123         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
11124         R_386_SIZE32.
11125         (elf_machine_rela): Likewise.
11126         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11127         R_X86_64_SIZE64 and R_X86_64_SIZE32.
11129 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
11131         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
11132         (FP_FAST_FMA): Do not define.
11133         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
11134         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
11135         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
11136         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
11137         !_SOFT_FLOAT]: Likewise.
11138         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
11139         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
11140         value.
11141         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
11142         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
11143         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
11144         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
11145         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
11146         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
11147         file.
11149 2013-01-16  Andreas Schwab  <schwab@suse.de>
11151         [BZ #14327]
11152         * include/stdlib.h (__mktemp): Add declaration.
11153         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
11154         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
11156 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11158         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
11159         definitions.
11160         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11161         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
11162         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
11163         definitions here.
11164         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
11165         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
11166         definitions.
11167         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
11168         and ONE.
11169         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
11170         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
11171         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
11172         definitions.
11173         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
11174         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
11175         definitions.
11176         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11178         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
11180 2013-01-15  David S. Miller  <davem@davemloft.net>
11182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11183         trunc{,f} to libm-sysdep_routes.
11184         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
11186         file.
11187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
11188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
11189         file.
11190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
11191         file.
11192         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
11193         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
11194         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
11195         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
11196         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
11197         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
11198         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
11199         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
11201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11202         nearbyint{,f} to libm-sysdep_routes.
11203         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
11205         New file.
11206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
11207         file.
11208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
11209         New file.
11210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
11211         file.
11212         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
11213         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
11214         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
11215         file.
11216         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
11217         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
11218         file.
11219         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
11220         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
11221         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
11223         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
11224         libc_feholdexcept and libc_fesetenv.
11226 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
11228         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
11230 2013-01-14  David S. Miller  <davem@davemloft.net>
11232         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
11233         (SPARC_ASM_VIS2_IFUNC): Likewise.
11234         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
11235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
11236         use of 'siam' instruction.
11237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
11238         Likewise.
11239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
11240         Likewise.
11241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
11242         Likewise.
11243         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
11244         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11245         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
11246         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
11247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
11248         file.
11249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
11250         file.
11251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
11252         file.
11253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
11254         file.
11255         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
11256         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
11257         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
11258         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
11259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
11260         new VIS2 routines.
11261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
11262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
11264         Likewise.
11265         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11266         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11267         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11268         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
11270         routines to libm-sysdep_routines.
11271         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11274         fdim/fdimf to libm-sysdep_routines.
11275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
11276         file.
11277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
11278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
11279         file.
11280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
11281         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
11282         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
11283         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
11284         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
11285         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
11286         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
11288 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11290         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
11291         to optimize copies.
11293         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
11294         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11295         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11297         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
11298         local variable MPTWO.
11299         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11300         Likewise.
11302 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
11304         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
11305         GLOB_NOESCAPE.
11307 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
11309         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
11311 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
11313         * manual/pattern.texi (glob_t): Document gl_flags.
11314         (glob64_t): Likewise.
11316 2013-01-11  David S. Miller  <davem@davemloft.net>
11318         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
11319         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
11320         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
11321         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
11322         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
11323         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
11324         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
11325         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
11326         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
11327         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
11328         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
11329         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
11330         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
11332         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11333         sparc V9 rather than using V8 code.
11334         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11335         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11337         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11338         Move to...
11339         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
11340         Here.
11342 2013-01-11  Roland McGrath  <roland@hack.frob.com>
11344         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
11345         not in the main loop.
11346         * configure: Regenerated.
11348 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
11350         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
11351         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
11352         to just #else.
11353         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
11354         [!__GLIBC_HAVE_LONG_LONG] case.
11355         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
11356         condition to just #else.
11357         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
11358         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
11359         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
11360         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
11361         unconditional.
11362         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
11363         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11364         #elif condition to just #else.
11365         * sysdeps/unix/sysv/linux/sys/sysmacros.h
11366         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
11367         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11368         #elif condition to just #else.
11370 2013-01-11  Steve Ellcey  <sellcey@mips.com>
11372         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
11373         (EF_MIPS_ARCH_64): Fix value.
11374         (EF_MIPS_ARCH_32R2): New.
11375         (EF_MIPS_ARCH_64R2): New.
11377 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
11379         * Makeconfig (+link-pie-before-libc): New.
11380         (+link-pie-after-libc): Likewise.
11381         (+link-pie-tests): Likewise.
11382         (+link-pie): Rewritten.
11383         (link-before-libc): Remove $(config-LDFLAGS).
11384         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
11385         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
11386         (config-LDFLAGS): Renamed to ...
11387         (rtld-LDFLAGS): This.
11388         (rtld-tests-LDFLAGS): New macro.
11389         (link-libc-rpath-link): Likewise.
11390         (link-libc-tests-rpath-link): Likewise.
11391         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
11392         (link-libc): Prepand $(link-libc-rpath-link).
11393         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
11394         (test-program-prefix): New macro.
11395         (test-via-rtld-prefix): Likewise.
11396         (test-program-cmd): Likewise.
11397         (host-test-program-cmd): Likewise.
11398         * Makefile ($(common-objpfx)testrun.sh): Replace
11399         $(run-program-prefix) with $(test-program-prefix).
11400         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
11401         $(rtld-LDFLAGS).
11402         ($(common-objpfx)shlib.lds): Likewise.
11403         (build-module-helper): Likewise.
11404         ($(common-objpfx)format.lds): Likewise.
11405         * Rules (binaries-pie-tests): New.
11406         (binaries-pie-notests): Likewise.
11407         (binaries-pie): Rewritten.
11408         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
11409         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
11410         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
11411         (make-test-out): Replace $(host-built-program-cmd) with
11412         $(host-test-program-cmd).
11413         * config.make.in (build-hardcoded-path-in-tests): New variable.
11414         * configure.in (--enable-hardcoded-path-in-tests): New configure
11415         option.
11416         (hardcoded_path_in_tests): New AC_SUBST.
11417         * configure: Regenerated.
11418         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
11419         $(built-program-cmd) with $(test-program-cmd).
11420         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
11421         (test_program_cmd): This.
11422         * elf/Makefile ($(objpfx)order.out): Run test with
11423         $(test-program-prefix).
11424         ($(objpfx)order2.out): Likewise.
11425         ($(objpfx)tst-initorder.out): Likewise.
11426         ($(objpfx)tst-initorder2.out): Likewise.
11427         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
11428         $(test-program-cmd).
11429         ($(objpfx)tst-array1-static.out): Likewise.
11430         ($(objpfx)tst-array2.out): Likewise.
11431         ($(objpfx)tst-array3.out): Likewise.
11432         ($(objpfx)tst-array4.out): Likewise.
11433         ($(objpfx)tst-array5.out): Likewise.
11434         ($(objpfx)tst-array5-static.out): Likewise.
11435         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
11436         $(test-program-cmd).
11437         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
11438         $(run-program-prefix) with $(test-program-prefix).
11439         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
11440         (test_program_prefix): This.
11441         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
11442         $(run-program-prefix) with $(test-program-prefix).
11443         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
11444         (test_program_prefix): This.
11445         * iconvdata/tst-tables.sh: Likewise.
11446         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
11447         $(run-program-prefix) with $(test-program-prefix).
11448         ($(objpfx)tst-translit.out): Likewise.
11449         ($(objpfx)tst-gettext2.out): Likewise.
11450         ($(objpfx)tst-gettext4.out): Likewise.
11451         ($(objpfx)tst-gettext6.out): Likewise.
11452         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
11453         (test_program_prefix): This.
11454         * intl/tst-gettext2.sh: Likewise.
11455         * intl/tst-gettext4.sh  Likewise.
11456         * intl/tst-gettext6.sh: Likewise.
11457         * intl/tst-translit.sh: Likewise.
11458         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
11459         with $(test-program-cmd).
11460         * libio/Makefile ($(objpfx)test-freopen.out): Replace
11461         $(run-program-prefix) with $(test-program-prefix).
11462         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
11463         (test_program_prefix): This.
11464         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
11465         $(run-program-prefix) with $(test-program-prefix).
11466         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
11467         (test_program_prefix): This.
11468         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
11469         * posix/Makefile ($(objpfx)globtest.out): Replace
11470         $(run-via-rtld-prefix) and $(test-wrapper) with
11471         $(test-program-prefix) and $(test-via-rtld-prefix).
11472         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
11473         $(test-program-prefix).
11474         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
11475         $(host-test-program-cmd).
11476         (tst-spawn-ARGS): Likewise.
11477         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
11478         $(test-program-prefix).
11479         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
11480         (test_via_rtld_prefix): This.
11481         (test_wrapper): Renamed to ...
11482         (test_program_prefix): This.
11483         (run_program_prefix): Replaced by test_program_prefix.
11484         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
11485         (test_program_prefix): This.
11486         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
11487         with $(host-test-program-cmd).
11488         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
11489         $(run-program-prefix) with $(test-program-prefix).
11490         ($(objpfx)tst-printf.out): Likewise.
11491         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
11492         $(test-program-cmd).
11493         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
11494         (test_program_prefix): This.
11495         * stdio-common/tst-unbputc.sh: Likewise.
11496         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
11497         $(run-program-prefix) with $(test-program-prefix).
11498         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
11499         (test_program_prefix): This.
11500         * string/Makefile ($(objpfx)tst-svc.out):  Replace
11501         $(built-program-cmd) with $(test-program-cmd).
11503 2013-01-11  Andreas Jaeger  <aj@suse.de>
11505         [BZ #15003]
11506         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
11507         value. Sync with Linux 3.7.
11509 2013-01-10  David S. Miller  <davem@davemloft.net>
11511         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
11512         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11513         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11515 2013-01-10  Roland McGrath  <roland@hack.frob.com>
11517         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
11518         never set.
11519         * configure: Regenerated.
11521 2013-01-10  David S. Miller  <davem@davemloft.net>
11523         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11524         sparc V9 rather than using V8 code.
11525         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11526         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11528 2013-01-10  Roland McGrath  <roland@hack.frob.com>
11530         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
11531         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
11532         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
11533         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
11534         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
11535         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
11536         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
11537         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
11538         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
11539         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
11540         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
11541         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
11542         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
11543         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
11544         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
11545         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
11546         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
11547         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
11548         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
11549         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
11550         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
11551         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
11552         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
11553         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
11554         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
11555         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
11556         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
11558 2013-01-10  David S. Miller  <davem@davemloft.net>
11560         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11562 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
11564         * posix/Makefile (tests-static): New variable.
11565         (tests): Add $(tests-static).
11566         (tst-exec-static-ARGS): New variable.
11567         (tst-spawn-static-ARGS): Likewise.
11568         * posix/tst-exec-static.c: New file.
11569         * posix/tst-spawn-static.c: Likewise.
11570         * posix/tst-exec.c: Support run directly.
11571         * posix/tst-spawn.c: Likewise.
11573 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
11575         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
11576         long.
11577         * math/bits/mathcalls.h (llrint): Likewise.
11578         (llround): Likewise.
11579         * stdlib/stdlib.h (struct drand48_data): Likewise.
11580         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
11581         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
11582         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
11583         Likewise.
11584         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
11585         Likewise.
11586         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
11587         (elf_greg_t): Likewise.
11588         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
11589         (__jmp_buf): Likewise.
11590         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
11591         definitions.
11592         (llrint): Likewise, for all definitions.
11593         (llrintl): Likewise.
11595         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
11596         Remove [__GNUC__] condition.
11597         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
11598         condition to just [__USE_ISOC99].
11599         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
11601 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
11603         [BZ #14200]
11604         * sysdeps/unix/sysv/linux/x86/bits/environments.h
11605         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
11606         defined.
11607         (_POSIX_V6_ILP32_OFF32): Likewise.
11608         (_XBS5_ILP32_OFF32): Likewise.
11609         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
11610         (__ILP32_OFFBIG_LDFLAGS): Likewise.
11612 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11614         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
11616         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
11617         doubles __mpexp_twomm1.  Adjust usage.
11618         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
11619         Remove.
11621 2013-01-10  Andreas Schwab  <schwab@suse.de>
11623         [BZ #14964]
11624         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
11625         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
11627 2013-01-09  David S. Miller  <davem@davemloft.net>
11629         [BZ #15003]
11630         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
11631         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
11632         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
11633         TCP_FASTOPEN): Define.
11634         (tcp_repair_opt): New structure.
11635         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
11636         enum values.
11637         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
11638         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
11639         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
11640         (tcp_cookie_transactions): New structure.
11642 2013-01-09  Anton Blanchard  <anton@samba.org>
11644         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
11645         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
11646         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
11647         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
11649 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
11651         * include/features.h (__USE_ANSI): Remove.
11653 2013-01-09  Roland McGrath  <roland@hack.frob.com>
11655         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
11657         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
11659 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
11661         * sysdeps/s390/fpu/libm-test-ulps: Update.
11663         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11665         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
11666         (__acr): Likewise.
11667         (__cpy): Likewise.
11668         (norm): Likewise.
11669         (denorm): Likewise.
11670         (__mp_dbl): Likewise.
11671         (__dbl_mp): Likewise.
11672         (add_magnitudes): Likewise.
11673         (sub_magnitudes): Likewise.
11674         (__add): Likewise.
11675         (__sub): Likewise.
11676         (__mul): Likewise.
11677         (__inv): Likewise.
11678         (__dvd): Likewise.
11679         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
11680         (__acr): Likewise.
11681         (__cpy): Likewise.
11682         (norm): Likewise.
11683         (denorm): Likewise.
11684         (__mp_dbl): Likewise.
11685         (__dbl_mp): Likewise.
11686         (add_magnitudes): Likewise.
11687         (sub_magnitudes): Likewise.
11688         (__add): Likewise.
11689         (__sub): Likewise.
11690         (__mul): Likewise.
11691         (__inv): Likewise.
11692         (__dvd): Likewise.
11693         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
11694         (__acr): Likewise.
11695         (__cpy): Likewise.
11696         (norm): Likewise.
11697         (denorm): Likewise.
11698         (__mp_dbl): Likewise.
11699         (__dbl_mp): Likewise.
11700         (add_magnitudes): Likewise.
11701         (sub_magnitudes): Likewise.
11702         (__add): Likewise.
11703         (__sub): Likewise.
11704         (__mul): Likewise.
11705         (__inv): Likewise.
11706         (__dvd): Likewise.
11708 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
11710         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
11711         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
11712         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
11713         2 && __USE_EXTERN_INLINES]: Likewise.
11715 2013-01-08  Andreas Jaeger  <aj@suse.de>
11717         [BZ# 14985]
11718         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
11719         Remove.
11720         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11721         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11723 2013-01-07  Anton Blanchard  <anton@samba.org>
11725         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
11726         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11727         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
11728         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11729         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11730         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11731         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
11732         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11733         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11734         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11735         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11736         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11737         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11738         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11739         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11740         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11741         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11742         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11743         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11744         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11745         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11746         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
11747         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11748         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11749         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
11750         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11751         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11752         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11753         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
11754         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11755         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11756         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11757         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11758         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11759         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11760         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11761         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11762         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11763         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
11764         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11765         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
11766         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11767         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11769 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
11771         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
11772         (__MALLOC_PMT): Likewise.
11773         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
11774         [__GNUC__], only on [_LIBC].
11775         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11776         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
11777         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11778         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
11779         forward declaration.
11780         (realloc_hook_ini): Likewise.
11781         (memalign_hook_ini): Likewise.
11782         (__libc_memalign): Do not use __MALLOC_PMT in variable
11783         declaration.
11784         (__libc_valloc): Likewise.
11785         (__libc_pvalloc): Likewise.
11786         (__libc_calloc): Likewise.
11787         (__posix_memalign): Likewise.
11789         [BZ #14996]
11790         * math/s_casinh.c: Include <float.h>.
11791         (__casinh): Do not do computation with squaring and square root
11792         for large arguments.
11793         * math/s_casinhf.c: Include <float.h>.
11794         (__casinhf): Do not do computation with squaring and square root
11795         for large arguments.
11796         * math/s_casinhl.c: Include <float.h>.
11797         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
11798         (__casinhl): Do not do computation with squaring and square root
11799         for large arguments.
11800         * math/libm-test.inc (casin_test): Add more tests.
11801         (casinh_test): Likewise.
11802         * sysdeps/i386/fpu/libm-test-ulps: Update.
11803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11805 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
11807         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
11808         (__x86_64_raw_data_cache_size): Likewise.
11809         (__x86_64_data_cache_size_half): Likewise.
11810         (__x86_64_raw_data_cache_size_half): Likewise.
11811         (__x86_64_shared_cache_size): Likewise.
11812         (__x86_64_raw_shared_cache_size): Likewise.
11813         (__x86_64_shared_cache_size_half): Likewise.
11814         (__x86_64_raw_shared_cache_size_half): Likewise.
11815         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
11816         to ...
11817         (__x86_data_cache_size): This.
11818         (__x86_64_raw_data_cache_size): Renamed to ...
11819         (__x86_raw_data_cache_size): This.
11820         (__x86_64_data_cache_size_half): Renamed to ...
11821         (__x86_data_cache_size_half): This.
11822         (__x86_64_raw_data_cache_size_half): Renamed to ...
11823         (__x86_raw_data_cache_size_half): This.
11824         (__x86_64_shared_cache_size): Renamed to ...
11825         (__x86_shared_cache_size): This.
11826         (__x86_64_raw_shared_cache_size): Renamed to ...
11827         (__x86_raw_shared_cache_size): This.
11828         (__x86_64_shared_cache_size_half): Renamed to ...
11829         (__x86_shared_cache_size_half): This.
11830         (__x86_64_raw_shared_cache_size_half): Renamed to ...
11831         (__x86_raw_shared_cache_size_half): This.
11832         * sysdeps/x86_64/memcpy.S: Updated.
11833         * sysdeps/x86_64/memset.S: Likewise.
11834         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11835         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11836         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11838 2013-01-04  David S. Miller  <davem@davemloft.net>
11840         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11842 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
11844         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
11845         1 to avoid redefinition warning.
11846         (__USE_GNU): Don't define.
11847         (init_signaling_nan): Protoize.
11849         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11851 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11853         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
11854         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
11855         (__cpymn): Likewise.
11856         (norm): Remove commented code.
11857         (denorm): Likewise.
11858         (__mp_dbl): Likewise.
11859         (__inv): Likewise.
11860         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
11861         (__cpymn): Likewise.
11862         (norm): Remove commented code.
11863         (denorm): Likewise.
11864         (__mp_dbl): Likewise.
11865         (__inv): Likewise.
11867         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
11868         mp_no value for 1.0 and 2.0.
11869         (norm): Use RADIXI instead of radixi.d.
11870         (denorm): Likewise.
11871         (__mul): Use 0.0 instead of zero.d.
11872         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
11873         mp_no value for 1.0 and 2.0.
11874         (norm): Use RADIXI instead of radixi.d.
11875         (denorm): Likewise.
11876         (__mul): Use 0.0 instead of zero.d.
11878 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
11880         [BZ #14994]
11881         * math/s_casinh.c (__casinh): Reduce finite argument to first
11882         quadrant then set signs of results at the end.
11883         * math/s_casinhf.c (__casinhf): Likewise.
11884         * math/s_casinhl.c (__casinhl): Likewise.
11885         * math/libm-test.inc (casin_test): Add more tests.
11886         (casinh_test): Likewise.
11887         * sysdeps/i386/fpu/libm-test-ulps: Update.
11888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11890 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11892         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
11894         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
11896         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
11897         declarations.
11898         (denorm): Likewise.
11899         (__mp_dbl): Likewise.
11900         (__inv): Likewise.
11902         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
11903         and adjust the header comment.
11905         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
11906         variable name from declaration.
11908 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
11910         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11911         Initialize COMMON_CPUID_INDEX_7 element.
11912         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
11913         (CPUID_RTM): Likewise.
11914         (HAS_RTM): Likewise.
11915         (COMMON_CPUID_INDEX_7): New enum.
11917 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
11919         [BZ #14981]
11920         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
11921         size is zero, record memory as freed.
11923 2013-01-03  Andreas Jaeger  <aj@suse.de>
11925         * po/ia.po: Add new Interlingua translation.
11927 2012-01-03  Allan McRae  <allan@archlinux.org>
11929         * locale/programs/localedef.c: Fix description of '--posix' flag.
11931 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
11933         * NEWS: Update dates in second copyright notice.
11934         * README: Update copyright dates in example.
11935         * manual/libc.texinfo: Update copyright dates.
11936         * scripts/test-installation.pl: Update copyright date in --version
11937         output.
11939         * hurd/ctty-input.c: Fix copyright notice formatting.
11940         * hurd/ctty-output.c: Likewise.
11941         * hurd/dtable.c: Likewise.
11942         * hurd/hurd-raise.c: Likewise.
11943         * hurd/hurdprio.c: Likewise.
11944         * hurd/msgportdemux.c: Likewise.
11945         * misc/sys/file.h: Likewise.
11946         * misc/sys/ioctl.h: Likewise.
11947         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11948         * sysdeps/mach/hurd/chdir.c: Likewise.
11949         * sysdeps/mach/hurd/fchdir.c: Likewise.
11950         * sysdeps/mach/hurd/rename.c: Likewise.
11951         * sysdeps/mach/hurd/rmdir.c: Likewise.
11952         * sysdeps/mach/hurd/seekdir.c: Likewise.
11953         * sysdeps/mach/hurd/setsid.c: Likewise.
11954         * sysdeps/posix/wait3.c: Likewise.
11956         * All files with FSF copyright notices: Update copyright dates
11957         using scripts/update-copyrights.
11958         * intl/plural.c: Regenerated.
11959         * locale/programs/charmap-kw.h: Likewise.
11960         * locale/programs/locfile-kw.h: Likewise.
11962 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11964         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
11965         four values.
11967         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
11968         calculation loop and add branch prediction.
11970         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
11971         check access beyond bounds of m1np.
11973         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11974         MPTWO.
11975         (__inv): Remove local variable MPTWO to use the global
11976         constant.
11977         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
11978         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11979         variable MPTWO.
11980         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
11981         MP3HALFS static const.
11983 2013-01-01  David S. Miller  <davem@davemloft.net>
11985         * po/ca.po: Update from translation team.
11987 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
11989         * scripts/update-copyrights: New file.
11990         * Makeconfig: Reformat copyright notice.
11991         * ctype/ctype.h: Likewise.
11992         * debug/swprintf_chk.c: Likewise.
11993         * elf/dl-cache.c: Likewise.
11994         * elf/dl-debug.c: Likewise.
11995         * elf/dl-object.c: Likewise.
11996         * grp/initgroups.c: Likewise.
11997         * hurd/Makefile: Likewise.
11998         * hurd/hurd/signal.h: Likewise.
11999         * hurd/hurdfault.c: Likewise.
12000         * hurd/hurdioctl.c: Likewise.
12001         * hurd/hurdlookup.c: Likewise.
12002         * hurd/intr-msg.c: Likewise.
12003         * iconv/gconv_open.c: Likewise.
12004         * libio/swprintf.c: Likewise.
12005         * locale/lc-ctype.c: Likewise.
12006         * locale/nl_langinfo.c: Likewise.
12007         * mach/Machrules: Likewise.
12008         * mach/Makefile: Likewise.
12009         * malloc/obstack.h: Likewise.
12010         * manual/Makefile: Likewise.
12011         * manual/tsort.awk: Likewise.
12012         * misc/bits/stab.def: Likewise.
12013         * nis/nis_print_group_entry.c: Likewise.
12014         * nis/nis_table.c: Likewise.
12015         * nis/nss_compat/compat-pwd.c: Likewise.
12016         * nis/nss_compat/compat-spwd.c: Likewise.
12017         * po/Makefile: Likewise.
12018         * posix/fnmatch.c: Likewise.
12019         * posix/regex.h: Likewise.
12020         * resolv/Makefile: Likewise.
12021         * resolv/nss_dns/dns-network.c: Likewise.
12022         * resolv/res_hconf.c: Likewise.
12023         * scripts/gen-sorted.awk: Likewise.
12024         * soft-fp/soft-fp.h: Likewise.
12025         * stdio-common/printf.h: Likewise.
12026         * stdlib/monetary.h: Likewise.
12027         * stdlib/random.c: Likewise.
12028         * stdlib/random_r.c: Likewise.
12029         * sysdeps/generic/Makefile: Likewise.
12030         * sysdeps/gnu/Makefile: Likewise.
12031         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12032         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12033         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12034         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12035         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12036         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12037         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12038         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12039         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12040         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12041         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12042         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12043         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12044         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12045         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
12046         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12047         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12048         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12049         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12050         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12051         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12052         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12053         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12054         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12055         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
12056         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12057         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12058         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
12059         * sysdeps/mach/hurd/errnos.awk: Likewise.
12060         * sysdeps/mach/hurd/fork.c: Likewise.
12061         * sysdeps/mach/hurd/getcwd.c: Likewise.
12062         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
12063         * sysdeps/mach/hurd/mmap.c: Likewise.
12064         * sysdeps/mach/hurd/utimes.c: Likewise.
12065         * sysdeps/mach/hurd/xmknod.c: Likewise.
12066         * sysdeps/posix/profil.c: Likewise.
12067         * sysdeps/posix/readdir_r.c: Likewise.
12068         * sysdeps/powerpc/bits/mathdef.h: Likewise.
12069         * sysdeps/powerpc/bits/setjmp.h: Likewise.
12070         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
12071         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12072         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12073         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
12074         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12075         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12076         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12077         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
12078         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12079         * sysdeps/pthread/lio_listio.c: Likewise.
12080         * sysdeps/sparc/dl-procinfo.h: Likewise.
12081         * sysdeps/unix/i386/sysdep.S: Likewise.
12082         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
12083         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
12084         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
12085         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
12086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12087         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
12088         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
12089         * sysdeps/unix/sysv/linux/speed.c: Likewise.
12090         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
12091         * sysdeps/wordsize-32/divdi3.c: Likewise.
12092         * time/sys/time.h: Likewise.
12093         * wcsmbs/Makefile: Likewise.
12095 2013-01-01  David S. Miller  <davem@davemloft.net>
12097         * po/fr.po: Update from translation team.
12099         * catgets/gencat.c: Update copyright year.
12100         * csu/version.c: Likewise.
12101         * debug/catchsegv.sh: Likewise.
12102         * debug/pcprofiledump.c: Likewise.
12103         * debug/xtrace.sh: Likewise.
12104         * elf/ldconfig.c: Likewise.
12105         * elf/ldd.bash.in: Likewise.
12106         * elf/pldd.c: Likewise.
12107         * elf/sotruss.ksh: Likewise.
12108         * elf/sprof.c: Likewise.
12109         * iconv/iconv_prog.c: Likewise.
12110         * iconv/iconvconfig.c: Likewise.
12111         * locale/programs/locale.c: Likewise.
12112         * locale/programs/localedef.c: Likewise.
12113         * login/programs/pt_chown.c: Likewise.
12114         * malloc/memusage.sh: Likewise.
12115         * malloc/memusagestat.c: Likewise.
12116         * malloc/mtrace.pl: Likewise.
12117         * nscd/nscd.c: Likewise.
12118         * nss/getent.c: Likewise.
12119         * nss/makedb.c: Likewise.
12120         * posix/getconf.c: Likewise.
12122 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
12124         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
12125         numbers.
12127 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
12129         * math/bits/mathcalls.h (modf): Use __nonnull.
12131 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12133         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
12134         (split): Use macro CN instead of the bare value.
12135         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
12136         could be used.
12137         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
12138         instead of the bare value.
12139         (power1): Likewise.
12141 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12143         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
12144         __ATAN_TWOM.
12145         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12147         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
12148         their values.
12149         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12150         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12151         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
12152         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
12154 2012-12-28  Andreas Jaeger  <aj@suse.de>
12156         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
12157         values are from Linux 3.7.
12159         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
12160         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
12162 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12164         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
12165         TRUE case.
12167         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
12168         (norm): Likewise.
12169         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
12170         variables with preprocessor constants.
12171         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12172         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12173         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12175 2012-12-27  Bruno Haible  <bruno@clisp.org>
12177         [BZ #14317]
12178         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
12179         only if needed.
12181 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12183         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
12184         and use variable directly.
12185         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
12187         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12188         MPONE.
12189         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
12190         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12191         variable MPONE.
12192         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12193         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12194         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
12195         include directive.  Remove local variable MPONE.
12196         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
12197         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
12198         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12200 2012-12-25  David S. Miller  <davem@davemloft.net>
12202         * version.h (RELEASE): Set to "development".
12203         (VERSION): Set to "2.17.90".
12204         * NEWS: Add 2.18 section.
12206 2012-12-21  David S. Miller  <davem@davemloft.net>
12208         * po/hr.po: Update from translation team.
12210 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12212         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
12214 2012-12-19  Steve Ellcey  <sellcey@mips.com>
12216         * NEWS:  Mention new memcpy for MIPS.
12218 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12220         * manual/contrib.texi (Contributors): Spelling correction.
12222 2012-12-15  David S. Miller  <davem@davemloft.net>
12224         * po/ru.po: Update from translation team.
12226 2012-12-13  David S. Miller  <davem@davemloft.net>
12228         * NEWS: Mention IFUNC testsuite enhancements.
12230         * po/pl.po: Update from translation team.
12231         * po/bg.po: Likewise.
12233         * manual/contrib.texi (Contributors): Update entries for Hongjiu
12234         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
12236 2012-12-11  David S. Miller  <davem@davemloft.net>
12238         * po/sv.po: Update from translation team.
12240         * po/vi.po: Update from translation team.
12242         * po/cs.po: Update from translation team.
12244         * po/de.po: Update from translation team.
12245         * po/eo.po: Likewise.
12246         * po/nl.po: Likewise.
12248 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12250         [BZ #14246]
12251         * manual/argp.texi (Argp Helper Functions): Move node to follow
12252         Argp Parsing State.
12254         [BZ #14872]
12255         * manual/conf.texi (Limits on File System Capacity): Mention if
12256         terminating null is included in the max size.
12258 2012-12-10  Andreas Jaeger  <aj@suse.de>
12260         * po/cs.po: Update from translation team.
12262 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12264         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
12265         void pointer and cast to uintptr_t.
12266         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
12267         path.
12268         * sysdeps/s390/s390-64/memcpy.S: Likewise.
12269         * sysdeps/s390/s390-64/memset.S: Likewise.
12271 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
12273         [BZ #14833]
12274         * menual/message.texi (Message Translation): Fix typos.
12275         (Helper programs for gettext): Likewise.
12277 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
12279         [BZ #14898]
12280         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
12281         Change to -1.
12283 2012-12-07  David S. Miller  <davem@davemloft.net>
12285         * po/libc.pot: Update.
12287 2012-12-07  Richard Henderson  <rth@redhat.com>
12289         [BZ #10114]
12290         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
12291         normal/normal case to before the switch.
12292         (_FP_DIV): Likewise.
12294 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
12295             Mike Frysinger  <vapier@gentoo.org>
12297         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
12298         check for __NR_fadvise64_64.
12300 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
12302         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
12303         0, not just to plain "0" as a statement.
12304         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
12305         with cw.
12307 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
12309         * NEWS: Use sourceware.org in Bugzilla URL.
12311 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
12313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12314         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12316         * stdio-common/tst-put-error.c (do_test): Add newline to the
12317         padded test to ensure flush.
12319 2012-12-05  Jeff Law  <law@redhat.com>
12321         * sunrpc/etc.rpc (fedfs_admin): Add entry.
12323 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
12325         * README: Don't refer to ports add-on as distributed separately.
12326         Mention AArch64 in list of systems supported in the ports add-on.
12328         * LICENSES: Add more non-FSF copyright and license notices.
12330         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
12331         ((unused)).
12333         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
12335         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
12336         10000 as width of padded output.
12338 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
12340         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
12342         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
12343         variable LX with __attribute__ ((unused)).
12344         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12345         Likewise.
12346         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12347         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12348         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
12349         with __attribute__ ((unused)).
12351 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
12353         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
12355 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
12357         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
12358         (CFLAGS-nldbl-acos.c): New variable.
12359         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
12360         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
12361         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
12362         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
12363         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
12364         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
12365         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
12366         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
12367         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
12368         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
12369         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
12370         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
12371         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
12372         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
12373         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
12374         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
12375         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
12376         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
12377         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
12378         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
12379         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
12380         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
12381         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
12382         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
12383         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
12384         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
12385         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
12386         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
12387         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
12388         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
12389         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
12390         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
12391         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
12392         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
12393         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
12394         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
12395         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
12396         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
12397         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
12398         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
12399         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
12400         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
12401         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
12402         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
12403         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
12404         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
12405         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
12406         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
12407         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
12408         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
12409         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
12410         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
12411         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
12412         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
12413         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
12414         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
12415         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
12416         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
12417         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
12418         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
12419         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
12420         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
12421         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
12422         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
12423         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
12424         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
12425         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
12426         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
12427         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
12428         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
12429         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
12430         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
12431         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
12432         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
12433         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
12434         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
12435         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
12436         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
12437         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
12438         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
12439         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
12440         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
12441         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
12442         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
12443         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
12444         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
12445         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
12446         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
12447         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
12448         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
12449         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
12450         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
12451         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
12452         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
12453         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
12454         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
12455         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
12457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12458         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12460         [BZ #14914]
12461         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
12462         whole low double instead of just low 47 bits when splitting values
12463         into two parts.
12465 2012-12-03  Allan McRae  <allan@archlinux.org>
12467         * manual/stdio.texi (Predefined Printf Handlers): Remove
12468         @hsep and @vsep usage.
12470 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
12472         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
12473         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
12475 2012-12-03  Jeff Law  <law@redhat.com>
12477         * time/sys/time.h (settimeofday): Do not mark TV argument
12478         as __nonnull.
12480 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
12482         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
12483         when currently writing and seek to current position when not.
12484         * libio/Makefile (tests): Remove bug-fclose1.
12485         * libio/bug-fclose1.c: Delete.
12487 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
12489         * manual/arith.texi (feenableexcept): Fix typo.
12490         (fedisableexcept): Likewise.
12492 2012-11-30  Roland McGrath  <roland@hack.frob.com>
12494         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
12495         second, differently-typed declaration, rather than a cast.
12497 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12499         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
12500         * include/rpc/svc.h: ... here.
12502 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
12504         [BZ #13013]
12505         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
12506         depending n and resplen2 to catch cases where answer
12507         equals answerp2.
12509 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
12511         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
12512         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
12514 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
12516         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
12518 2012-11-29  Roland McGrath  <roland@hack.frob.com>
12520         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
12522 2012-11-28  Jeff Law  <law@redhat.com>
12524         [BZ #13761]
12525         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
12526         dataset_temporary.  Track alloca usage into alloca_used.
12527         If dataset is large allocate and release it via malloc/free.
12529 2012-06-04  Florian Weimer  <fweimer@redhat.com>
12531         [BZ #14197]
12532         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
12534 2012-11-28  David S. Miller  <davem@davemloft.net>
12536         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12538 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
12540         [BZ #14803]
12541         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
12542         of pi/2 rounded to nearest to 64 bits.
12543         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
12544         nearest to 64 bits.
12545         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
12546         bits.
12548 2012-11-28  Jeff Law <law@redhat.com>
12549             Martin Osvald <mosvald@redhat.com>
12551         [BZ #14889]
12552         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
12553         * sunrpc/svc.c: Include time.h.
12554         (__svc_accept_failed): New function.
12555         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
12556         any reason other than EINTR, call __svc_accept_failed.
12557         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
12558         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
12560 2012-11-28  Andreas Schwab  <schwab@suse.de>
12562         * scripts/abilist.awk: Also handle indirect functions in .opd
12563         section.
12565 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
12567         [BZ #13881]
12568         * sysdeps/x86/fpu/powl_helper.c: New file.
12569         * sysdeps/x86/fpu/Makefile: Likewise.
12570         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
12571         (p3): New object.
12572         (__ieee754_powl): Use __powl_helper for finite arguments except
12573         integer exponents below 8.
12574         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
12575         (p3): New object.
12576         (__ieee754_powl): Use __powl_helper for finite arguments except
12577         integer exponents below 8.
12578         * math/libm-test.inc (pow_test): Add more tests and enable some
12579         previously disabled tests.
12580         * sysdeps/i386/fpu/libm-test-ulps: Update.
12581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12583 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12584             Carlos O'Donell  <carlos_odonell@mentor.com>
12586         * nss/makedb.c (is_prime): Assert that input is odd and greater
12587         than 4.  Note that fact in a comment too.
12588         (next_prime): Add 4 to input.
12590 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12592         [BZ #11741]
12593         * libio/Makefile (tests): Add test case tst-fwrite-error.
12594         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
12595         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12596         * libio/tst-fwrite-error.c: New test case.
12598 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
12600         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
12601         before casting to void *.
12602         * include/libc-internal.h (__pointer_type): New macro.
12603         (__integer_if_pointer_type_sub): Likewise.
12604         (__integer_if_pointer_type): Likewise.
12605         (cast_to_integer): Likewise.
12606         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
12607         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
12608         before casting to atomic64_t.
12609         (atomic_exchange_acq): Likewise.
12610         (__arch_exchange_and_add_body): Likewise.
12611         (__arch_add_body): Likewise.
12612         (atomic_add_negative): Likewise.
12613         (atomic_add_zero): Likewise.
12615 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
12617         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
12618         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
12619         (add_fdes): Likewise.
12620         (linear_search_fdes): Likewise.
12621         (binary_search_unencoded_fdes): Likewise.
12623 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
12625         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
12627 2012-11-24  Adam Conrad  <adconrad@0c3.net>
12629         * configure.in: Autodetect C++ header directories.
12630         * configure: Regenerated.
12632 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
12634         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
12636 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
12638         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12640 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
12642         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
12643         LDBL_MANT_DIG == 106]: Disable some tests.
12644         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12645         Likewise.
12646         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12647         Likewise.
12649         [BZ #14871]
12650         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
12651         input for small inputs.  Return +/- pi/2 for large inputs.
12652         * math/libm-test.inc (atan_test): Add more tests.
12654         * sysdeps/generic/unwind-dw2-fde-glibc.c
12655         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
12656         __attribute__ ((unused)).
12658         [BZ #14645]
12659         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
12660         x * y if x and y are nonzero and z is zero.
12662         [BZ #14811]
12663         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
12664         nonzero exponents with absolute value below 0x1p-117 to +/-
12665         0x1p-117.
12667         [BZ #14869]
12668         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
12669         up arguments below 2**-450, not just those below 2**-500.
12670         * math/libm-test.inc (hypot_test): Add another test.
12672         [BZ #14868]
12673         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12674         Return a+b for ratio over 2**120, not 2**60.
12675         * math/libm-test.inc (hypot_test): Add another test.
12677         * math/libm-test.inc (clog_test): Use
12678         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
12679         (clog10_test): Likewise.
12681         [BZ #6778]
12682         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
12684 2012-11-22  Andreas Schwab  <schwab@suse.de>
12686         * sysdeps/i386/fpu/libm-test-ulps: Update.
12688 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
12690         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
12691         printf output with newline.
12693 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
12695         [BZ #14865]
12696         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
12697         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
12698         -z nodlopen, -z initfirst and -z execstack support.
12699         * configure: Regenerated.
12701         * elf/elf.h (DF_1_NODIRECT): New macro.
12702         (DF_1_IGNMULDEF): Likewise.
12703         (DF_1_NOKSYMS): Likewise.
12704         (DF_1_NOHDR): Likewise.
12705         (DF_1_EDITED): Likewise.
12706         (DF_1_NORELOC): Likewise.
12707         (DF_1_SYMINTPOSE): Likewise.
12708         (DF_1_GLOBAUDIT): Likewise.
12709         (DF_1_SINGLETON): Likewise.
12710         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
12711         DT_1_SUPPORTED_MASK bits.
12712         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
12714 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
12716         * sysdeps/unix/make-syscalls.sh: Document prefixes.
12718 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
12720         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
12721         macro.
12723         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
12724         (sendmmsg): Move declarations...
12725         * socket/sys/socket.h: ... here.
12726         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
12727         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
12728         include it from...
12729         * socket/recvmmsg.c: ... this new file.
12730         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
12731         (sendmmsg): Rename to __sendmmsg, create weak alias and make
12732         definition of __sendmmsg hidden.
12733         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12734         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
12735         Move ENOSYS stub into and include it from...
12736         * socket/sendmmsg.c: ... this new file.
12737         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
12738         (sysdep_routines): Move recvmmsg and sendmmsg...
12739         * socket/Makefile (routines): ... here.
12740         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
12741         (GLIBC_PRIVATE): Add __sendmmsg.
12742         * include/sys/socket.h (__sendmmsg): Add declarations.
12743         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
12744         sendmmsg.
12746 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
12748         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
12749         variable I1 with __attribute__ ((unused)).
12750         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12752 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
12754         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
12755         DUMMY variables with __attribute__ ((unused)).
12757         * bits/byteswap.h: Include <bits/types.h>.
12758         (__bswap_64): Use __uint64_t instead of unsigned long long int.
12760 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
12762         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
12763         string_t.  Do not manually set errno.
12764         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
12765         length with __strnlen.  Make sure to both set errno and return it on
12766         failure.
12768 2012-11-19  David S. Miller  <davem@davemloft.net>
12770         With help from Joseph Myers.
12771         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
12772         very large arguments properly.
12773         * math/libm-test.inc (atan_test): New tests.
12774         (atan2_test): New tests.
12775         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12776         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12778 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
12780         [BZ #14856]
12781         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
12782         Define to 3.
12784         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
12785         [POSIX] (EADDRNOTAVAIL): Likewise.
12786         [POSIX] (EAFNOSUPPORT): Likewise.
12787         [POSIX] (EALREADY): Likewise.
12788         [POSIX] (ECONNABORTED): Likewise.
12789         [POSIX] (ECONNREFUSED): Likewise.
12790         [POSIX] (ECONNRESET): Likewise.
12791         [POSIX] (EDESTADDRREQ): Likewise.
12792         [POSIX] (EDQUOT): Likewise.
12793         [POSIX] (EHOSTUNREACH): Likewise.
12794         [POSIX] (EIDRM): Likewise.
12795         [POSIX] (EISCONN): Likewise.
12796         [POSIX] (ELOOP): Likewise.
12797         [POSIX] (EMULTIHOP): Likewise.
12798         [POSIX] (ENETDOWN): Likewise.
12799         [POSIX] (ENETUNREACH): Likewise.
12800         [POSIX] (ENOBUFS): Likewise.
12801         [POSIX] (ENODATA): Likewise.
12802         [POSIX] (ENOLINK): Likewise.
12803         [POSIX] (ENOMSG): Likewise.
12804         [POSIX] (ENOPROTOOPT): Likewise.
12805         [POSIX] (ENOSR): Likewise.
12806         [POSIX] (ENOSTR): Likewise.
12807         [POSIX] (ENOTCONN): Likewise.
12808         [POSIX] (ENOTSOCK): Likewise.
12809         [POSIX] (EOPNOTSUPP): Likewise.
12810         [POSIX] (EOVERFLOW): Likewise.
12811         [POSIX] (EPROTO): Likewise.
12812         [POSIX] (EPROTONOSUPPORT): Likewise.
12813         [POSIX] (EPROTOTYPE): Likewise.
12814         [POSIX] (ESTALE): Likewise.
12815         [POSIX] (ETIME): Likewise.
12816         [POSIX] (ETXTBSY): Likewise.
12817         [POSIX] (EWOULDBLOCK): Likewise.
12818         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
12819         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
12820         [POSIX] (SEEK_CUR): Likewise.
12821         [POSIX] (SEEK_END): Likewise.
12822         [POSIX || UNIX98] (mode_t): Do not require.
12823         [POSIX] (off_t): Likewise.
12824         [POSIX] (pid_t): Likewise.
12825         [POSIX] (sys/stat.h): Do not allow header.
12826         [POSIX] (unistd.h): Likewise.
12827         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
12828         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
12829         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
12830         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
12831         require.
12832         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
12833         sigevent): Specify elements.
12834         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
12835         entry.
12836         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
12837         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
12839         * conform/data/cpio.h-data [POSIX]: Disable whole file.
12840         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
12841         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
12842         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
12843         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
12844         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
12845         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
12846         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
12847         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
12848         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
12849         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
12850         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
12851         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
12852         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
12853         Likewise.
12854         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
12855         Likewise.
12856         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
12857         Likewise.
12858         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
12859         Likewise.
12860         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
12861         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
12862         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
12863         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
12864         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
12865         Specify lower bound on value.
12866         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
12867         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
12868         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
12869         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
12870         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
12871         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
12872         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
12873         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
12874         value.
12875         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
12876         as optional.
12877         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
12878         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
12879         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
12880         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
12881         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
12882         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
12883         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
12884         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
12885         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
12886         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
12887         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
12888         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
12889         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
12890         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
12891         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
12892         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
12893         entry.
12894         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
12895         optional.
12896         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
12897         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
12898         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
12899         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
12900         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
12901         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
12902         Likewise.
12903         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
12904         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
12905         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
12906         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
12907         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
12908         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
12909         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
12910         as optional.
12911         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
12912         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
12913         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
12914         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
12915         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
12916         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
12917         specify as optional.
12918         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
12919         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
12920         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
12921         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
12922         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
12923         [XPG3] (NL_LANGMAX): Likewise.
12924         [POSIX || XPG3] (NL_MSGMAX): Likewise.
12925         [POSIX || XPG3] (NL_NMAX): Likewise.
12926         [POSIX || XPG3] (NL_SETMAX): Likewise.
12927         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
12928         [XPG3] (NZERO): Likewise.
12929         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
12930         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
12931         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
12932         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
12933         (REG_ERANGE): Expect.
12934         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
12935         optional-constant.
12936         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
12937         Use (void) in prototype.
12938         [POSIX] (*_t): Allow.
12939         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
12940         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
12941         (WRDE_BADVAL): Expect.
12943         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
12944         expect.
12945         [XPG3 || XPG4] (O_RSYNC): Likewise.
12946         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
12947         Likewise.
12948         [XPG3 || XPG4] (pthread_sigmask): Likewise.
12949         [XPG3 || XPG4] (sigqueue): Likewise.
12950         [XPG3 || XPG4] (sigtimedwait): Likewise.
12951         [XPG3 || XPG4] (sigwaitinfo): Likewise.
12952         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
12953         [XPG3 || XPG4] (vsnprintf): Likewise.
12954         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
12955         Likewise.
12956         [XPG3 || XPG4] (blksize_t): Likewise.
12957         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
12958         Likewise.
12959         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
12960         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12961         [XPG3 || XPG4] (struct itimerspec): Likewise.
12962         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
12963         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
12964         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
12965         [XPG3 || XPG4] (clockid_t): Likewise.
12966         [XPG3 || XPG4] (timer_t): Likewise.
12967         [XPG3 || XPG4] (clock_getres): Likewise.
12968         [XPG3 || XPG4] (clock_gettime): Likewise.
12969         [XPG3 || XPG4] (clock_settime): Likewise.
12970         [XPG3 || XPG4] (nanosleep): Likewise.
12971         [XPG3 || XPG4] (timer_create): Likewise.
12972         [XPG3 || XPG4] (timer_delete): Likewise.
12973         [XPG3 || XPG4] (timer_gettime): Likewise.
12974         [XPG3 || XPG4] (timer_getoverrun): Likewise.
12975         [XPG3 || XPG4] (timer_settime): Likewise.
12976         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
12977         [XPG3 || XPG4] (getlogin_r): Likewise.
12978         [XPG3 || XPG4] (pread): Likewise.
12979         [XPG3 || XPG4] (pthread_atfork): Likewise.
12980         [XPG3 || XPG4] (pwrite): Likewise.
12982         [BZ #14835]
12983         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
12984         <bits/siginfo.h>.
12986 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
12988         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
12989         finalizing MALLSTREAM.
12991         * sysdeps/mach/hurd/syncfs.c: New file.
12993 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12995         [BZ #14719]
12996         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
12997         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
12998         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
12999         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
13000         (_nss_dns_gethostbyname4_r): Likewise.
13001         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
13002         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
13004 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
13006         [BZ #13763]
13007         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
13009 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
13011         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
13012         * elf/cache.c (print_entry): Print ",AArch64" for
13013         FLAG_AARCH64_LIB64
13015         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
13016         * elf/cache.c (print_entry): Print ",hard-float" for
13017         FLAG_ARM_LIBHF.
13019 2012-11-18  David S. Miller  <davem@davemloft.net>
13021         With help from Joseph Myers.
13022         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
13023         cutoff to 2**-13.
13024         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
13025         cutoff to 2**-25.
13026         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
13027         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
13028         small.
13029         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
13030         * math/libm-test.inc (y0_test): New tests.
13031         (y1_test): New tests.
13032         * sysdeps/i386/fpu/libm-test-ulps: Update.
13033         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13034         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13036 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
13038         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
13039         64-bit targets.
13040         * configure: Regenerated.
13042 2012-11-17  David S. Miller  <davem@davemloft.net>
13044         [BZ #14811]
13045         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
13046         nonzero exponents with absolute value below 0x1p-128 to +/-
13047         0x1p-128.
13049 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
13051         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
13053         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
13055         * posix/getconf-speclist.c: New file.
13056         * posix/posix-envs.def: Likewise.
13057         * posix/confstr.c (START_ENV_GROUP): New macro.
13058         (END_ENV_GROUP): Likewise.
13059         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13060         (KNOWN_PRESENT_ENV_STRING): Likewise.
13061         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13062         (UNKNOWN_ENVIRONMENT): Likewise.
13063         (confstr): Include posix-envs.def instead of handling
13064         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
13065         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
13066         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
13067         (END_ENV_GROUP): Likewise.
13068         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13069         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13070         (UNKNOWN_ENVIRONMENT): Likewise.
13071         (__sysconf): Include posix-envs.def instead of handling associated
13072         cases directly here.
13073         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
13074         preprocessing getconf-speclist.c rather than running getconf or
13075         generating empty file.
13077 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
13079         * scripts/check-local-headers.sh: Ignore 'mach' headers.
13081 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
13083         [BZ #14672]
13084         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
13086 2012-11-16  David S. Miller  <davem@davemloft.net>
13088         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
13089         smaller than LDBL_EPSILON/2.0L, just return xm1.
13091 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
13093         * elf/tst-array1.c (init): Set constructor priority to 1000.
13094         (fini): Set destructor priority to 1000.
13095         * elf/tst-array2dep.c: Likewise.
13097 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13099         [BZ #11741]
13100         * libio/fileops.c (_IO_new_file_write): Correctly return error.
13101         (_IO_new_file_xsputn): Also return EOF if none of the input
13102         data was written when overflow failed.
13103         * libio/iopadn.c (_IO_padn): Likewise.
13104         * libio/iowpadn.c (_IO_wpadn): Likewise.
13105         * stdio-common/tst-put-error.c: Add copyright notice.
13106         (do_test): Add case for printing padded string.
13107         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
13108         _IO_padn returned error.
13109         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
13110         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
13111         return EOF.
13113 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13115         * libio/libioP.h: Add comment note that the references to C++
13116         bits are now obsolete.
13118 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13120         * math/libm-test.inc (check_complex): Use asprintf.
13122 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
13124         * debug/pcprofiledump.c (print_version): Update copyright year.
13125         * malloc/memusagestat.c (print_version): Likewise.
13127 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
13129         [BZ #14831]
13130         * elf/Makefile (tests): Add tst-audit8.
13131         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
13132         ($(objpfx)tst-audit8.out): New target.
13133         (tst-audit8-ENV): New variable.
13134         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
13135         audit if l_reloc_result is NULL.
13136         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
13137         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
13138         * elf/tst-audit8.c: New file.
13140 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13142         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
13143         * misc/Makefile (CFLAGS-select.c): Define.
13144         * posix/Makefile (CFLAGS-pause.c): Define.
13146 2012-11-13  David S. Miller  <davem@davemloft.net>
13148         * crypt/Makefile: Move test targets after toplevel Rules
13149         inclusion.  Grab any necessary sysdep routines when linking.
13150         * crypt/md5.c (md5_process_block): Remove define, we will always
13151         name it __md5_process_block.
13152         (md5_finish_ctx): Update md5_process_block call.
13153         (md5_stream): Likewise.
13154         (md5_process_bytes): Likewise.
13155         (md5_process_block): Rename to __md5_process_block and move to ...
13156         * crypt/md5-block.c: ... here.
13157         * crypt/sha256.c (sha256_process_block): Move to ...
13158         * crypt/sha256-block.c: ... here.
13159         * crypt/sha512.c (sha512_process_block): Move to ...
13160         * crypt/sha512-block.c: ... here.
13161         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
13162         path.
13163         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
13164         * sysdeps/sparc/sparc64/multiarch/Makefile
13165         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
13166         crypt subdir.
13167         (localedef-aux): Add md5 crypto assembler when in locale subdir.
13168         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
13169         multiarch changes.
13170         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
13171         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
13172         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
13173         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
13174         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
13175         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
13176         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
13177         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
13178         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
13179         file.
13180         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
13181         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
13182         file.
13183         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
13185 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
13187         * timezone/tzselect.ksh: Update from tzcode git revision
13188         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
13189         * timezone/zdump.c: Likewise.
13190         * timezone/zic.c: Likewise.
13191         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
13192         in TZVERSION setting, not $(PKGVERSION).
13193         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
13194         REPORT_BUGS_TO settings.
13196         [BZ #14838]
13197         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
13198         macro.
13200 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13202         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
13203         detection to immediately after _FP_ROUND().
13204         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
13205         bits are 0.
13207 2012-11-11  David S. Miller  <davem@davemloft.net>
13209         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
13210         inttypes.h
13211         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
13212         __close rather than their public counterparts.
13214 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
13216         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
13217         file.
13218         [UNIX98] (sem_timedwait): Do not expect.
13219         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
13220         [XPG4 || UNIX98] (sockatmark): Do not expect.
13221         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
13222         (clock_getcpuclockid): Do not expect.
13223         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
13224         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
13225         Do not expect.
13226         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
13227         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
13228         [UNIX98] (vwscanf): Likewise.
13229         [UNIX98] (vswscanf): Likewise.
13231 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
13233         * timezone/version.h: Remove file.
13234         * timezone/README: Do not refer to version.h.
13235         * timezone/Makefile ($(objpfx)zic.o): New dependency on
13236         $(objpfx)version.h.
13237         ($(objpfx)zdump.o): Likewise.
13238         ($(objpfx)version.h): New target.
13240         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
13241         2012i.
13242         * timezone/README: Don't mention modification to tzselect.ksh.
13243         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
13244         work on unmodified tzselect.ksh.  Substitute version numbers in
13245         tzselect.ksh.
13247         * Makefile (format-me): Remove.
13248         (INSTALL): Adjust indentation.  Use commands directly instead of
13249         using $(format-me).
13251         * aclocal.m4 (ACX_PKGVERSION): New macro.
13252         (ACX_BUGURL): Likewise.
13253         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
13254         (PKGVERSION): New AC_DEFINE_UNQUOTED.
13255         (REPORT_BUGS_TO): Likewise.
13256         * configure: Regenerated.
13257         * config.h.in (PKGVERSION): New macro.
13258         (REPORT_BUGS_TO): Likewise.
13259         * config.make.in (PKGVERSION): New variable.
13260         (PKGVERSION_TEXI): Likewise.
13261         (REPORT_BUGS_TO): Likewise.
13262         (REPORT_BUGS_TEXI): Likewise.
13263         * Makefile (format-me): Use -I$(common-objpfx)manual.
13264         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
13265         ($(common-objpfx)manual/%): New target.
13266         (manual/%): Remove target.
13267         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
13268         (print_version): Use PKGVERSION.
13269         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
13270         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
13271         and REPORT_BUGS_TO.
13272         ($(objpfx)xtrace): Likewise.
13273         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
13274         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
13275         (print_version): Use PKGVERSION.
13276         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
13277         (do_version): Use PKGVERSION.
13278         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
13279         REPORT_BUGS_TO.
13280         (common-ldd-rewrite): Likewise.
13281         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
13282         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
13283         (print_version): Use PKGVERSION.
13284         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
13285         * elf/pldd.c (argp_program_bug_address): Remove variable.
13286         (more_help): New function.
13287         (argp): Use more_help.
13288         (print_version): Use PKGVERSION.
13289         * elf/sln.c (main): Use PKGVERSION.
13290         (usage): Use REPORT_BUGS_TO.
13291         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
13292         (top level): Use PKGVERSION.
13293         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
13294         (print_version): Use PKGVERSION.
13295         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
13296         (print_version): Use PKGVERSION.
13297         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
13298         (print_version): Use PKGVERSION.
13299         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
13300         (print_version): Use PKGVERSION.
13301         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
13302         (print_version): Use PKGVERSION.
13303         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
13304         (print_version): Use PKGVERSION.
13305         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
13306         and BUGURL.
13307         ($(objpfx)memusage): Likewise.
13308         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
13309         (do_version): Use PKGVERSION.
13310         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
13311         (print_version): Use PKGVERSION.
13312         * malloc/mtrace.pl ($PACKAGE): Remove variable.
13313         ($PKGVERSION): New variable.
13314         ($REPORT_BUGS_TO): Likewise.
13315         (usage): Use $REPORT_BUGS_TO.
13316         (top level): Use $PKGVERSION.
13317         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
13318         ($(objpfx)pkgvers.texi): New rule.
13319         ($(objpfx)stamp-pkgvers): Likewise.
13320         * manual/install.texi: Include pkgvers.texi.
13321         (--with-pkgversion): Document new configure option.
13322         (--with-bugurl): Likewise.
13323         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
13324         than necessarily for this particular distribution.  Use
13325         REPORT_BUGS_TO for where to report bugs.
13326         * INSTALL: Regenerated.
13327         * manual/libc.texinfo: Include pkgvers.texi.
13328         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
13329         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
13330         (print_version): Use PKGVERSION.
13331         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
13332         (print_version): Use PKGVERSION.
13333         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
13334         (print_version): Use PKGVERSION.
13335         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
13336         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
13337         macro.
13338         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
13339         (print_version): Use PKGVERSION.
13340         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
13341         (print_version): Use PKGVERSION.
13342         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
13343         and PKGVERSION.
13345         * timezone/checktab.awk: Update from tzcode 2012i.
13346         * timezone/ialloc.c: Likewise.
13347         * timezone/private.h: Likewise.
13348         * timezone/scheck.c: Likewise.
13349         * timezone/tzfile.h: Likewise.
13350         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
13351         (TZVERSION): Hardcode tzcode version number.
13352         * timezone/zdump.c: Update from tzcode 2012i.
13353         * timezone/zic.c: Likewise.
13354         * timezone/version.h: New file.
13355         * timezone/README: Describe version.h.  Update upstream location.
13357         [BZ #14824]
13358         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
13359         (mktemp): Enable declaration.
13360         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
13361         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
13362         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
13363         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
13364         Likewise.
13365         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
13366         Likewise.
13367         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
13368         Likewise.
13369         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
13370         Likewise.
13371         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
13372         Likewise.
13373         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
13374         Likewise.
13376         [BZ #14821]
13377         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
13378         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
13379         for copies of such integer values.
13380         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13381         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13383 2012-11-09  Andreas Jaeger  <aj@suse.de>
13385         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
13386         definitions and declarations that are provided by
13387         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13389 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13391         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
13392         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
13393         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
13394         definition.
13396 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13398         * elf/elf.h: Update comment before AArch64 relocations.
13400 2012-11-07  David S. Miller  <davem@davemloft.net>
13402         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
13403         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13404         (__start_context): Declare.
13405         (__makecontext_ret): Delete.
13406         (__makecontext): Hook up __start_context instead of
13407         __makecontext_ret.
13408         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
13409         (sysdep_routines): Add __start_context when in stdlib.
13411 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
13413         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
13414         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
13415         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
13416         hardcoded "nm".
13417         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
13418         (READELF): New variable.  Use it instead of hardcoded "readelf".
13420 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
13422         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
13423         * sysdeps/x86/Makefile: Here.
13424         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
13425         * sysdeps/x86/tst-xmmymm.sh: This.
13427 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
13429         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
13430         expectations.
13431         [UNIX98] (pthread_barrier_t): Do not expect.
13432         [UNIX98] (pthread_barrierattr_t): Likewise.
13433         [UNIX98] (pthread_spinlock_t): Likewise.
13434         [UNIX98] (pthread_barrier_destroy): Likewise.
13435         [UNIX98] (pthread_barrier_init): Likewise.
13436         [UNIX98] (pthread_barrier_wait): Likewise.
13437         [UNIX98] (pthread_barrierattr_destroy): Likewise.
13438         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
13439         [UNIX98] (pthread_barrierattr_init): Likewise.
13440         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
13441         [UNIX98] (pthread_getcpuclockid): Likewise.
13442         [UNIX98] (pthread_mutex_timedlock): Likewise.
13443         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
13444         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
13445         [UNIX98] (pthread_sigmask): Likewise.
13446         [UNIX98] (pthread_spin_destroy): Likewise.
13447         [UNIX98] (pthread_spin_init): Likewise.
13448         [UNIX98] (pthread_spin_lock): Likewise.
13449         [UNIX98] (pthread_spin_trylock): Likewise.
13450         [UNIX98] (pthread_spin_unlock): Likewise.
13451         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
13452         Do not expect.
13453         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
13454         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
13455         [XPG3 || XPG4] (pthread_cond_t): Likewise.
13456         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
13457         [XPG3 || XPG4] (pthread_key_t): Likewise.
13458         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
13459         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
13460         [XPG3 || XPG4] (pthread_once_t): Likewise.
13461         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
13462         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
13463         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
13464         [XPG3 || XPG4] (pthread_t): Likewise.
13466         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
13467         not expect.
13468         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
13470         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
13471         Change function return type to int.
13473         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
13474         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
13475         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
13476         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
13477         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
13478         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
13479         [!POSIX] (posix_madvise): Likewise.
13480         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
13481         && !UNIX98].
13482         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
13483         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
13484         (mode_t): Likewise.
13485         (posix_mem_offset): Likewise.
13486         (posix_typed_mem_get_info): Likewise.
13487         (posix_typed_mem_open): Likewise.
13489         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
13490         Change condition to [XOPEN2K8].
13492         * conform/conformtest.pl: Preprocess allow-header data with -x c
13493         instead of from stdin.
13494         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
13495         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
13496         [C99-based standards] (cerfc): Likewise.
13497         [C99-based standards] (cexp2): Likewise.
13498         [C99-based standards] (cexpm1): Likewise.
13499         [C99-based standards] (clog10): Likewise.
13500         [C99-based standards] (clog1p): Likewise.
13501         [C99-based standards] (clog2): Likewise.
13502         [C99-based standards] (clgamma): Likewise.
13503         [C99-based standards] (ctgamma): Likewise.
13504         [C99-based standards] (cerff): Likewise.
13505         [C99-based standards] (cerfcf): Likewise.
13506         [C99-based standards] (cexp2f): Likewise.
13507         [C99-based standards] (cexpm1f): Likewise.
13508         [C99-based standards] (clog10f): Likewise.
13509         [C99-based standards] (clog1pf): Likewise.
13510         [C99-based standards] (clog2f): Likewise.
13511         [C99-based standards] (clgammaf): Likewise.
13512         [C99-based standards] (ctgammaf): Likewise.
13513         [C99-based standards] (cerfl): Likewise.
13514         [C99-based standards] (cerfcl): Likewise.
13515         [C99-based standards] (cexp2l): Likewise.
13516         [C99-based standards] (cexpm1l): Likewise.
13517         [C99-based standards] (clog10l): Likewise.
13518         [C99-based standards] (clog1pl): Likewise.
13519         [C99-based standards] (clog2l): Likewise.
13520         [C99-based standards] (clgammal): Likewise.
13521         [C99-based standards] (ctgammal): Likewise.
13522         * conform/data/inttypes.h-data [C99-based standards]: Include
13523         stdint.h-data.  Remove all expectations for stdint.h contents.
13524         [C99-based standards] (PRI*): Do not allow.
13525         [C99-based standards] (SCN*): Likewise.
13526         [C99-based standards] (*_t): Likewise.
13527         [C99-based-standards] (PRId8): Expect macro.
13528         [C99-based-standards] (PRIi8): Likewise.
13529         [C99-based-standards] (PRIo8): Likewise.
13530         [C99-based-standards] (PRIu8): Likewise.
13531         [C99-based-standards] (PRIx8): Likewise.
13532         [C99-based-standards] (PRIX8): Likewise.
13533         [C99-based-standards] (SCNd8): Likewise.
13534         [C99-based-standards] (SCNi8): Likewise.
13535         [C99-based-standards] (SCNo8): Likewise.
13536         [C99-based-standards] (SCNu8): Likewise.
13537         [C99-based-standards] (SCNx8): Likewise.
13538         [C99-based-standards] (PRIdLEAST8): Likewise.
13539         [C99-based-standards] (PRIiLEAST8): Likewise.
13540         [C99-based-standards] (PRIoLEAST8): Likewise.
13541         [C99-based-standards] (PRIuLEAST8): Likewise.
13542         [C99-based-standards] (PRIxLEAST8): Likewise.
13543         [C99-based-standards] (PRIXLEAST8): Likewise.
13544         [C99-based-standards] (SCNdLEAST8): Likewise.
13545         [C99-based-standards] (SCNiLEAST8): Likewise.
13546         [C99-based-standards] (SCNoLEAST8): Likewise.
13547         [C99-based-standards] (SCNuLEAST8): Likewise.
13548         [C99-based-standards] (SCNxLEAST8): Likewise.
13549         [C99-based-standards] (PRIdFAST8): Likewise.
13550         [C99-based-standards] (PRIiFAST8): Likewise.
13551         [C99-based-standards] (PRIoFAST8): Likewise.
13552         [C99-based-standards] (PRIuFAST8): Likewise.
13553         [C99-based-standards] (PRIxFAST8): Likewise.
13554         [C99-based-standards] (PRIXFAST8): Likewise.
13555         [C99-based-standards] (SCNdFAST8): Likewise.
13556         [C99-based-standards] (SCNiFAST8): Likewise.
13557         [C99-based-standards] (SCNoFAST8): Likewise.
13558         [C99-based-standards] (SCNuFAST8): Likewise.
13559         [C99-based-standards] (SCNxFAST8): Likewise.
13560         [C99-based-standards] (PRId16): Likewise.
13561         [C99-based-standards] (PRIi16): Likewise.
13562         [C99-based-standards] (PRIo16): Likewise.
13563         [C99-based-standards] (PRIu16): Likewise.
13564         [C99-based-standards] (PRIx16): Likewise.
13565         [C99-based-standards] (PRIX16): Likewise.
13566         [C99-based-standards] (SCNd16): Likewise.
13567         [C99-based-standards] (SCNi16): Likewise.
13568         [C99-based-standards] (SCNo16): Likewise.
13569         [C99-based-standards] (SCNu16): Likewise.
13570         [C99-based-standards] (SCNx16): Likewise.
13571         [C99-based-standards] (PRIdLEAST16): Likewise.
13572         [C99-based-standards] (PRIiLEAST16): Likewise.
13573         [C99-based-standards] (PRIoLEAST16): Likewise.
13574         [C99-based-standards] (PRIuLEAST16): Likewise.
13575         [C99-based-standards] (PRIxLEAST16): Likewise.
13576         [C99-based-standards] (PRIXLEAST16): Likewise.
13577         [C99-based-standards] (SCNdLEAST16): Likewise.
13578         [C99-based-standards] (SCNiLEAST16): Likewise.
13579         [C99-based-standards] (SCNoLEAST16): Likewise.
13580         [C99-based-standards] (SCNuLEAST16): Likewise.
13581         [C99-based-standards] (SCNxLEAST16): Likewise.
13582         [C99-based-standards] (PRIdFAST16): Likewise.
13583         [C99-based-standards] (PRIiFAST16): Likewise.
13584         [C99-based-standards] (PRIoFAST16): Likewise.
13585         [C99-based-standards] (PRIuFAST16): Likewise.
13586         [C99-based-standards] (PRIxFAST16): Likewise.
13587         [C99-based-standards] (PRIXFAST16): Likewise.
13588         [C99-based-standards] (SCNdFAST16): Likewise.
13589         [C99-based-standards] (SCNiFAST16): Likewise.
13590         [C99-based-standards] (SCNoFAST16): Likewise.
13591         [C99-based-standards] (SCNuFAST16): Likewise.
13592         [C99-based-standards] (SCNxFAST16): Likewise.
13593         [C99-based-standards] (PRId32): Likewise.
13594         [C99-based-standards] (PRIi32): Likewise.
13595         [C99-based-standards] (PRIo32): Likewise.
13596         [C99-based-standards] (PRIu32): Likewise.
13597         [C99-based-standards] (PRIx32): Likewise.
13598         [C99-based-standards] (PRIX32): Likewise.
13599         [C99-based-standards] (SCNd32): Likewise.
13600         [C99-based-standards] (SCNi32): Likewise.
13601         [C99-based-standards] (SCNo32): Likewise.
13602         [C99-based-standards] (SCNu32): Likewise.
13603         [C99-based-standards] (SCNx32): Likewise.
13604         [C99-based-standards] (PRIdLEAST32): Likewise.
13605         [C99-based-standards] (PRIiLEAST32): Likewise.
13606         [C99-based-standards] (PRIoLEAST32): Likewise.
13607         [C99-based-standards] (PRIuLEAST32): Likewise.
13608         [C99-based-standards] (PRIxLEAST32): Likewise.
13609         [C99-based-standards] (PRIXLEAST32): Likewise.
13610         [C99-based-standards] (SCNdLEAST32): Likewise.
13611         [C99-based-standards] (SCNiLEAST32): Likewise.
13612         [C99-based-standards] (SCNoLEAST32): Likewise.
13613         [C99-based-standards] (SCNuLEAST32): Likewise.
13614         [C99-based-standards] (SCNxLEAST32): Likewise.
13615         [C99-based-standards] (PRIdFAST32): Likewise.
13616         [C99-based-standards] (PRIiFAST32): Likewise.
13617         [C99-based-standards] (PRIoFAST32): Likewise.
13618         [C99-based-standards] (PRIuFAST32): Likewise.
13619         [C99-based-standards] (PRIxFAST32): Likewise.
13620         [C99-based-standards] (PRIXFAST32): Likewise.
13621         [C99-based-standards] (SCNdFAST32): Likewise.
13622         [C99-based-standards] (SCNiFAST32): Likewise.
13623         [C99-based-standards] (SCNoFAST32): Likewise.
13624         [C99-based-standards] (SCNuFAST32): Likewise.
13625         [C99-based-standards] (SCNxFAST32): Likewise.
13626         [C99-based-standards] (PRId64): Likewise.
13627         [C99-based-standards] (PRIi64): Likewise.
13628         [C99-based-standards] (PRIo64): Likewise.
13629         [C99-based-standards] (PRIu64): Likewise.
13630         [C99-based-standards] (PRIx64): Likewise.
13631         [C99-based-standards] (PRIX64): Likewise.
13632         [C99-based-standards] (SCNd64): Likewise.
13633         [C99-based-standards] (SCNi64): Likewise.
13634         [C99-based-standards] (SCNo64): Likewise.
13635         [C99-based-standards] (SCNu64): Likewise.
13636         [C99-based-standards] (SCNx64): Likewise.
13637         [C99-based-standards] (PRIdLEAST64): Likewise.
13638         [C99-based-standards] (PRIiLEAST64): Likewise.
13639         [C99-based-standards] (PRIoLEAST64): Likewise.
13640         [C99-based-standards] (PRIuLEAST64): Likewise.
13641         [C99-based-standards] (PRIxLEAST64): Likewise.
13642         [C99-based-standards] (PRIXLEAST64): Likewise.
13643         [C99-based-standards] (SCNdLEAST64): Likewise.
13644         [C99-based-standards] (SCNiLEAST64): Likewise.
13645         [C99-based-standards] (SCNoLEAST64): Likewise.
13646         [C99-based-standards] (SCNuLEAST64): Likewise.
13647         [C99-based-standards] (SCNxLEAST64): Likewise.
13648         [C99-based-standards] (PRIdFAST64): Likewise.
13649         [C99-based-standards] (PRIiFAST64): Likewise.
13650         [C99-based-standards] (PRIoFAST64): Likewise.
13651         [C99-based-standards] (PRIuFAST64): Likewise.
13652         [C99-based-standards] (PRIxFAST64): Likewise.
13653         [C99-based-standards] (PRIXFAST64): Likewise.
13654         [C99-based-standards] (SCNdFAST64): Likewise.
13655         [C99-based-standards] (SCNiFAST64): Likewise.
13656         [C99-based-standards] (SCNoFAST64): Likewise.
13657         [C99-based-standards] (SCNuFAST64): Likewise.
13658         [C99-based-standards] (SCNxFAST64): Likewise.
13659         [C99-based-standards] (PRIdMAX): Likewise.
13660         [C99-based-standards] (PRIiMAX): Likewise.
13661         [C99-based-standards] (PRIoMAX): Likewise.
13662         [C99-based-standards] (PRIuMAX): Likewise.
13663         [C99-based-standards] (PRIxMAX): Likewise.
13664         [C99-based-standards] (PRIXMAX): Likewise.
13665         [C99-based-standards] (SCNdMAX): Likewise.
13666         [C99-based-standards] (SCNiMAX): Likewise.
13667         [C99-based-standards] (SCNoMAX): Likewise.
13668         [C99-based-standards] (SCNuMAX): Likewise.
13669         [C99-based-standards] (SCNxMAX): Likewise.
13670         [C99-based-standards] (PRIdPTR): Likewise.
13671         [C99-based-standards] (PRIiPTR): Likewise.
13672         [C99-based-standards] (PRIoPTR): Likewise.
13673         [C99-based-standards] (PRIuPTR): Likewise.
13674         [C99-based-standards] (PRIxPTR): Likewise.
13675         [C99-based-standards] (PRIXPTR): Likewise.
13676         [C99-based-standards] (SCNdPTR): Likewise.
13677         [C99-based-standards] (SCNiPTR): Likewise.
13678         [C99-based-standards] (SCNoPTR): Likewise.
13679         [C99-based-standards] (SCNuPTR): Likewise.
13680         [C99-based-standards] (SCNxPTR): Likewise.
13681         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
13682         allow.
13683         * conform/data/stdint.h-data: Update comments to clarify
13684         requirements.
13685         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
13686         type.
13687         [C99-based standards] (INT8_MAX): Likewise.
13688         [C99-based standards] (INT16_MIN): Likewise.
13689         [C99-based standards] (INT16_MAX): Likewise.
13690         [C99-based standards] (INT32_MIN): Likewise.
13691         [C99-based standards] (INT32_MAX): Likewise.
13692         [C99-based standards] (INT64_MIN): Likewise.
13693         [C99-based standards] (INT64_MAX): Likewise.
13694         [C99-based standards] (UINT8_MAX): Likewise.
13695         [C99-based standards] (UINT16_MAX): Likewise.
13696         [C99-based standards] (UINT32_MAX): Likewise.
13697         [C99-based standards] (UINT64_MAX): Likewise.
13698         [C99-based standards] (INT_LEAST8_MIN): Likewise.
13699         [C99-based standards] (INT_LEAST8_MAX): Likewise.
13700         [C99-based standards] (INT_LEAST16_MIN): Likewise.
13701         [C99-based standards] (INT_LEAST16_MAX): Likewise.
13702         [C99-based standards] (INT_LEAST32_MIN): Likewise.
13703         [C99-based standards] (INT_LEAST32_MAX): Likewise.
13704         [C99-based standards] (INT_LEAST64_MIN): Likewise.
13705         [C99-based standards] (INT_LEAST64_MAX): Likewise.
13706         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
13707         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
13708         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
13709         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
13710         [C99-based standards] (INT_FAST8_MIN): Likewise.
13711         [C99-based standards] (INT_FAST8_MAX): Likewise.
13712         [C99-based standards] (INT_FAST16_MIN): Likewise.
13713         [C99-based standards] (INT_FAST16_MAX): Likewise.
13714         [C99-based standards] (INT_FAST32_MIN): Likewise.
13715         [C99-based standards] (INT_FAST32_MAX): Likewise.
13716         [C99-based standards] (INT_FAST64_MIN): Likewise.
13717         [C99-based standards] (INT_FAST64_MAX): Likewise.
13718         [C99-based standards] (UINT_FAST8_MAX): Likewise.
13719         [C99-based standards] (UINT_FAST16_MAX): Likewise.
13720         [C99-based standards] (UINT_FAST32_MAX): Likewise.
13721         [C99-based standards] (UINT_FAST64_MAX): Likewise.
13722         [C99-based standards] (INTPTR_MIN): Likewise.
13723         [C99-based standards] (INTPTR_MAX): Likewise.
13724         [C99-based standards] (UINTPTR_MAX): Likewise.
13725         [C99-based standards] (INTMAX_MIN): Likewise.
13726         [C99-based standards] (INTMAX_MAX): Likewise.
13727         [C99-based standards] (UINTMAX_MAX): Likewise.
13728         [C99-based standards] (PTRDIFF_MIN): Likewise.
13729         [C99-based standards] (PTRDIFF_MAX): Likewise.
13730         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
13731         [C99-based standards] (SIZE_MAX): Likewise.
13732         [C99-based standards] (WCHAR_MAX): Likewise.
13733         [C99-based standards] (WINT_MAX): Likewise.
13734         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
13735         constraint on value.
13736         [C99-based standards] (WCHAR_MIN): Likewise.
13737         [C99-based standards] (WINT_MIN): Likewise.
13738         [C99-based standards] (*_t): Allow.
13739         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
13740         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
13741         Include math.h-data and complex.h-data.  Remove all expectations
13742         of math.h and complex.h contents.
13743         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
13744         at end of line.
13745         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
13746         (struct tm): Expect tag.
13747         [C99-based-standards] (wcstof): Expect function.
13748         [C99-based-standards] (wcstold): Likewise.
13749         [C99-based-standards] (wcstoll): Likewise.
13750         [C99-based-standards] (wcstoull): Likewise.
13751         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
13752         macro-int-constant.  Specify type.
13753         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
13754         constraint on value.
13755         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13756         Specify type.
13757         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
13758         Specify value.
13759         [ISO C standards]: Do not allow headers.
13760         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
13761         wcs[abcdefghijklmnopqrstuvwxyz]*.
13762         [ISO C standards] (*_t): Do not allow.
13763         * conform/data/wctype.h-data [C99-based standards] (iswblank):
13764         Expect function.
13765         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
13766         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13767         Specify type.
13768         [ISO C standards]: Do not allow headers.
13769         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
13770         is[abcdefghijklmnopqrstuvwxyz]*.
13771         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
13772         to[abcdefghijklmnopqrstuvwxyz]*.
13773         [ISO C standards] (*_t): Do not allow.
13774         * conform/data/stdalign.h-data: New file.
13775         * conform/data/stdbool.h-data: Likewise.
13776         * conform/data/stdnoreturn.h-data: Likewise.
13778 2012-11-07  Roland McGrath  <roland@hack.frob.com>
13780         [BZ #14815]
13781         * manual/filesys.texi (Directory Entries): Typo fix.
13782         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
13784 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13786         * elf/elf.h (EM_AARCH64): New macro.
13787         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
13788         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
13789         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
13790         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
13791         (R_AARCH64_TLSDESC): Likewise.
13792         (NT_ARM_TLS): Likewise.
13793         (NT_ARM_HW_BREAK): Likewise.
13794         (NT_ARM_HW_WATCH): Likewise.
13796 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
13798         [BZ #14811]
13799         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
13800         (__ieee754_powl): Saturate nonzero exponents with absolute value
13801         below 0x1p-79 to +/- 0x1p-79.
13802         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
13803         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
13804         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
13805         nonzero exponents with absolute value below 0x1p-32 to +/-
13806         0x1p-32.
13807         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
13808         (__ieee754_powl): Saturate nonzero exponents with absolute value
13809         below 0x1p-79 to +/- 0x1p-79.
13810         * math/libm-test.inc (pow_test): Add more tests.
13812 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13814         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
13815         _dl_s390_cap_flags with kernel. Increase string length.
13816         (_dl_s390_platforms): Add z196 and zEC12.
13818 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
13820         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
13821         Change XOPEN21K to XOPEN2K.
13823 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
13825         * string/memmove.c: Use memcpy when possible.
13827 2012-11-06  Andreas Jaeger  <aj@suse.de>
13829         * po/eo.po: Update from translation team.
13831 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
13833         [BZ #14793]
13834         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
13835         exponent and small x and y exponents, scale x or y up.  Increase
13836         by 2 the exponent used in scaling up.
13837         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13838         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13839         * math/libm-test.inc (fma_test): Add more tests.
13840         (fma_test_towardzero): Likewise.
13841         (fma_test_downward): Likewise.
13842         (fma_test_upward): Likewise.
13844 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
13846         [BZ #14805]
13847         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
13848         fenv_t *.
13850         [BZ #14801]
13851         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
13852         namespace for names of struct fields.
13853         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
13854         fenv_t fields.
13855         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
13856         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
13858 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13860         [BZ #3665]
13861         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
13863 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
13865         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
13866         PTR_DEMANGLE.
13868         [BZ #5246]
13869         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
13870         PTR_DEMANGLE.
13872 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
13874         [BZ #14797]
13875         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
13876         definitely overflow as x * y not x * y + z.
13877         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13878         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13879         * math/libm-test.inc (fma_test): Add more tests.
13880         (fma_test_towardzero): Likewise.
13881         (fma_test_downward): Likewise.
13882         (fma_test_upward): Likewise.
13884 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
13886         [BZ #157]
13888         * include/stub-tag.h: Remove file.
13889         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
13890         '#include' of it.
13891         * manual/maint.texi (Porting): Don't reference it.
13892         * Makerules ($(objpfx)stubs): Likewise.
13893         * dirent/closedir.c: Don't include <stub-tag.h>.
13894         * dirent/dirfd.c: Likewise.
13895         * dirent/fdopendir.c: Likewise.
13896         * dirent/getdents.c: Likewise.
13897         * dirent/getdents64.c: Likewise.
13898         * dirent/opendir.c: Likewise.
13899         * dirent/readdir.c: Likewise.
13900         * dirent/readdir64.c: Likewise.
13901         * dirent/readdir64_r.c: Likewise.
13902         * dirent/readdir_r.c: Likewise.
13903         * dirent/rewinddir.c: Likewise.
13904         * dirent/seekdir.c: Likewise.
13905         * dirent/telldir.c: Likewise.
13906         * gmon/profil.c: Likewise.
13907         * grp/setgroups.c: Likewise.
13908         * inet/if_index.c: Likewise.
13909         * io/access.c: Likewise.
13910         * io/chdir.c: Likewise.
13911         * io/chmod.c: Likewise.
13912         * io/chown.c: Likewise.
13913         * io/close.c: Likewise.
13914         * io/dup.c: Likewise.
13915         * io/dup2.c: Likewise.
13916         * io/dup3.c: Likewise.
13917         * io/euidaccess.c: Likewise.
13918         * io/faccessat.c: Likewise.
13919         * io/fchdir.c: Likewise.
13920         * io/fchmod.c: Likewise.
13921         * io/fchmodat.c: Likewise.
13922         * io/fchown.c: Likewise.
13923         * io/fchownat.c: Likewise.
13924         * io/fcntl.c: Likewise.
13925         * io/flock.c: Likewise.
13926         * io/fstatfs.c: Likewise.
13927         * io/fstatfs64.c: Likewise.
13928         * io/fstatvfs.c: Likewise.
13929         * io/fstatvfs64.c: Likewise.
13930         * io/futimens.c: Likewise.
13931         * io/fxstat.c: Likewise.
13932         * io/fxstat64.c: Likewise.
13933         * io/fxstatat.c: Likewise.
13934         * io/fxstatat64.c: Likewise.
13935         * io/getcwd.c: Likewise.
13936         * io/isatty.c: Likewise.
13937         * io/lchmod.c: Likewise.
13938         * io/lchown.c: Likewise.
13939         * io/link.c: Likewise.
13940         * io/linkat.c: Likewise.
13941         * io/lseek.c: Likewise.
13942         * io/lseek64.c: Likewise.
13943         * io/lxstat64.c: Likewise.
13944         * io/mkdir.c: Likewise.
13945         * io/mkdirat.c: Likewise.
13946         * io/mkfifo.c: Likewise.
13947         * io/mkfifoat.c: Likewise.
13948         * io/open.c: Likewise.
13949         * io/open64.c: Likewise.
13950         * io/openat.c: Likewise.
13951         * io/openat64.c: Likewise.
13952         * io/pipe.c: Likewise.
13953         * io/pipe2.c: Likewise.
13954         * io/poll.c: Likewise.
13955         * io/posix_fadvise.c: Likewise.
13956         * io/posix_fadvise64.c: Likewise.
13957         * io/posix_fallocate.c: Likewise.
13958         * io/posix_fallocate64.c: Likewise.
13959         * io/read.c: Likewise.
13960         * io/readlink.c: Likewise.
13961         * io/readlinkat.c: Likewise.
13962         * io/rmdir.c: Likewise.
13963         * io/sendfile.c: Likewise.
13964         * io/sendfile64.c: Likewise.
13965         * io/statfs.c: Likewise.
13966         * io/statfs64.c: Likewise.
13967         * io/statvfs.c: Likewise.
13968         * io/statvfs64.c: Likewise.
13969         * io/symlink.c: Likewise.
13970         * io/symlinkat.c: Likewise.
13971         * io/ttyname.c: Likewise.
13972         * io/ttyname_r.c: Likewise.
13973         * io/umask.c: Likewise.
13974         * io/unlink.c: Likewise.
13975         * io/unlinkat.c: Likewise.
13976         * io/utime.c: Likewise.
13977         * io/utimensat.c: Likewise.
13978         * io/write.c: Likewise.
13979         * io/xmknod.c: Likewise.
13980         * io/xmknodat.c: Likewise.
13981         * io/xstat.c: Likewise.
13982         * io/xstat64.c: Likewise.
13983         * login/getpt.c: Likewise.
13984         * login/grantpt.c: Likewise.
13985         * login/unlockpt.c: Likewise.
13986         * math/e_acoshl.c: Likewise.
13987         * math/e_acosl.c: Likewise.
13988         * math/e_asinl.c: Likewise.
13989         * math/e_atan2l.c: Likewise.
13990         * math/e_atanhl.c: Likewise.
13991         * math/e_coshl.c: Likewise.
13992         * math/e_expl.c: Likewise.
13993         * math/e_fmodl.c: Likewise.
13994         * math/e_gammal_r.c: Likewise.
13995         * math/e_hypotl.c: Likewise.
13996         * math/e_j0l.c: Likewise.
13997         * math/e_j1l.c: Likewise.
13998         * math/e_jnl.c: Likewise.
13999         * math/e_lgammal_r.c: Likewise.
14000         * math/e_log10l.c: Likewise.
14001         * math/e_log2l.c: Likewise.
14002         * math/e_logl.c: Likewise.
14003         * math/e_powl.c: Likewise.
14004         * math/e_rem_pio2l.c: Likewise.
14005         * math/e_sinhl.c: Likewise.
14006         * math/e_sqrtl.c: Likewise.
14007         * math/fclrexcpt.c: Likewise.
14008         * math/fedisblxcpt.c: Likewise.
14009         * math/feenablxcpt.c: Likewise.
14010         * math/fegetenv.c: Likewise.
14011         * math/fegetexcept.c: Likewise.
14012         * math/fegetround.c: Likewise.
14013         * math/feholdexcpt.c: Likewise.
14014         * math/fesetenv.c: Likewise.
14015         * math/fesetround.c: Likewise.
14016         * math/feupdateenv.c: Likewise.
14017         * math/fgetexcptflg.c: Likewise.
14018         * math/fraiseexcpt.c: Likewise.
14019         * math/fsetexcptflg.c: Likewise.
14020         * math/ftestexcept.c: Likewise.
14021         * math/k_cosl.c: Likewise.
14022         * math/k_rem_pio2l.c: Likewise.
14023         * math/k_sinl.c: Likewise.
14024         * math/k_tanl.c: Likewise.
14025         * math/s_asinhl.c: Likewise.
14026         * math/s_atanl.c: Likewise.
14027         * math/s_cbrtl.c: Likewise.
14028         * math/s_erfl.c: Likewise.
14029         * math/s_expm1l.c: Likewise.
14030         * math/s_log1pl.c: Likewise.
14031         * math/s_tanhl.c: Likewise.
14032         * misc/acct.c: Likewise.
14033         * misc/brk.c: Likewise.
14034         * misc/chflags.c: Likewise.
14035         * misc/chroot.c: Likewise.
14036         * misc/fchflags.c: Likewise.
14037         * misc/fgetxattr.c: Likewise.
14038         * misc/flistxattr.c: Likewise.
14039         * misc/fremovexattr.c: Likewise.
14040         * misc/fsetxattr.c: Likewise.
14041         * misc/fsync.c: Likewise.
14042         * misc/ftruncate.c: Likewise.
14043         * misc/futimes.c: Likewise.
14044         * misc/futimesat.c: Likewise.
14045         * misc/getdomain.c: Likewise.
14046         * misc/getdtsz.c: Likewise.
14047         * misc/gethostid.c: Likewise.
14048         * misc/gethostname.c: Likewise.
14049         * misc/getloadavg.c: Likewise.
14050         * misc/getpagesize.c: Likewise.
14051         * misc/getsysstats.c: Likewise.
14052         * misc/getxattr.c: Likewise.
14053         * misc/gtty.c: Likewise.
14054         * misc/ioctl.c: Likewise.
14055         * misc/lgetxattr.c: Likewise.
14056         * misc/listxattr.c: Likewise.
14057         * misc/llistxattr.c: Likewise.
14058         * misc/lremovexattr.c: Likewise.
14059         * misc/lsetxattr.c: Likewise.
14060         * misc/lutimes.c: Likewise.
14061         * misc/madvise.c: Likewise.
14062         * misc/mincore.c: Likewise.
14063         * misc/mlock.c: Likewise.
14064         * misc/mlockall.c: Likewise.
14065         * misc/mmap.c: Likewise.
14066         * misc/mprotect.c: Likewise.
14067         * misc/msync.c: Likewise.
14068         * misc/munlock.c: Likewise.
14069         * misc/munlockall.c: Likewise.
14070         * misc/munmap.c: Likewise.
14071         * misc/preadv.c: Likewise.
14072         * misc/preadv64.c: Likewise.
14073         * misc/ptrace.c: Likewise.
14074         * misc/pwritev.c: Likewise.
14075         * misc/pwritev64.c: Likewise.
14076         * misc/readv.c: Likewise.
14077         * misc/reboot.c: Likewise.
14078         * misc/remap_file_pages.c: Likewise.
14079         * misc/removexattr.c: Likewise.
14080         * misc/revoke.c: Likewise.
14081         * misc/select.c: Likewise.
14082         * misc/setdomain.c: Likewise.
14083         * misc/setegid.c: Likewise.
14084         * misc/seteuid.c: Likewise.
14085         * misc/sethostid.c: Likewise.
14086         * misc/sethostname.c: Likewise.
14087         * misc/setregid.c: Likewise.
14088         * misc/setreuid.c: Likewise.
14089         * misc/setxattr.c: Likewise.
14090         * misc/sstk.c: Likewise.
14091         * misc/stty.c: Likewise.
14092         * misc/swapoff.c: Likewise.
14093         * misc/swapon.c: Likewise.
14094         * misc/sync.c: Likewise.
14095         * misc/syncfs.c: Likewise.
14096         * misc/syscall.c: Likewise.
14097         * misc/truncate.c: Likewise.
14098         * misc/ualarm.c: Likewise.
14099         * misc/usleep.c: Likewise.
14100         * misc/ustat.c: Likewise.
14101         * misc/utimes.c: Likewise.
14102         * misc/vhangup.c: Likewise.
14103         * misc/writev.c: Likewise.
14104         * posix/_exit.c: Likewise.
14105         * posix/alarm.c: Likewise.
14106         * posix/execve.c: Likewise.
14107         * posix/fexecve.c: Likewise.
14108         * posix/fork.c: Likewise.
14109         * posix/fpathconf.c: Likewise.
14110         * posix/getaddrinfo.c: Likewise.
14111         * posix/getegid.c: Likewise.
14112         * posix/geteuid.c: Likewise.
14113         * posix/getgid.c: Likewise.
14114         * posix/getgroups.c: Likewise.
14115         * posix/getlogin.c: Likewise.
14116         * posix/getlogin_r.c: Likewise.
14117         * posix/getpgid.c: Likewise.
14118         * posix/getpid.c: Likewise.
14119         * posix/getppid.c: Likewise.
14120         * posix/getresgid.c: Likewise.
14121         * posix/getresuid.c: Likewise.
14122         * posix/getsid.c: Likewise.
14123         * posix/getuid.c: Likewise.
14124         * posix/glob64.c: Likewise.
14125         * posix/nanosleep.c: Likewise.
14126         * posix/pathconf.c: Likewise.
14127         * posix/pause.c: Likewise.
14128         * posix/posix_madvise.c: Likewise.
14129         * posix/pread.c: Likewise.
14130         * posix/pread64.c: Likewise.
14131         * posix/pwrite.c: Likewise.
14132         * posix/pwrite64.c: Likewise.
14133         * posix/sched_getaffinity.c: Likewise.
14134         * posix/sched_getp.c: Likewise.
14135         * posix/sched_gets.c: Likewise.
14136         * posix/sched_primax.c: Likewise.
14137         * posix/sched_primin.c: Likewise.
14138         * posix/sched_rr_gi.c: Likewise.
14139         * posix/sched_setaffinity.c: Likewise.
14140         * posix/sched_setp.c: Likewise.
14141         * posix/sched_sets.c: Likewise.
14142         * posix/sched_yield.c: Likewise.
14143         * posix/setgid.c: Likewise.
14144         * posix/setlogin.c: Likewise.
14145         * posix/setpgid.c: Likewise.
14146         * posix/setresgid.c: Likewise.
14147         * posix/setresuid.c: Likewise.
14148         * posix/setsid.c: Likewise.
14149         * posix/setuid.c: Likewise.
14150         * posix/sleep.c: Likewise.
14151         * posix/spawni.c: Likewise.
14152         * posix/sysconf.c: Likewise.
14153         * posix/times.c: Likewise.
14154         * posix/wait.c: Likewise.
14155         * posix/wait3.c: Likewise.
14156         * posix/wait4.c: Likewise.
14157         * posix/waitpid.c: Likewise.
14158         * resolv/gai_sigqueue.c: Likewise.
14159         * resource/getpriority.c: Likewise.
14160         * resource/getrlimit.c: Likewise.
14161         * resource/getrusage.c: Likewise.
14162         * resource/nice.c: Likewise.
14163         * resource/setpriority.c: Likewise.
14164         * resource/setrlimit.c: Likewise.
14165         * resource/ulimit.c: Likewise.
14166         * rt/aio_cancel.c: Likewise.
14167         * rt/aio_fsync.c: Likewise.
14168         * rt/aio_read.c: Likewise.
14169         * rt/aio_sigqueue.c: Likewise.
14170         * rt/aio_suspend.c: Likewise.
14171         * rt/aio_write.c: Likewise.
14172         * rt/clock_getres.c: Likewise.
14173         * rt/clock_gettime.c: Likewise.
14174         * rt/clock_nanosleep.c: Likewise.
14175         * rt/clock_settime.c: Likewise.
14176         * rt/lio_listio.c: Likewise.
14177         * rt/mq_close.c: Likewise.
14178         * rt/mq_getattr.c: Likewise.
14179         * rt/mq_notify.c: Likewise.
14180         * rt/mq_open.c: Likewise.
14181         * rt/mq_receive.c: Likewise.
14182         * rt/mq_send.c: Likewise.
14183         * rt/mq_setattr.c: Likewise.
14184         * rt/mq_timedreceive.c: Likewise.
14185         * rt/mq_timedsend.c: Likewise.
14186         * rt/mq_unlink.c: Likewise.
14187         * rt/shm_open.c: Likewise.
14188         * rt/shm_unlink.c: Likewise.
14189         * rt/timer_create.c: Likewise.
14190         * rt/timer_delete.c: Likewise.
14191         * rt/timer_getoverr.c: Likewise.
14192         * rt/timer_gettime.c: Likewise.
14193         * rt/timer_settime.c: Likewise.
14194         * setjmp/__longjmp.c: Likewise.
14195         * setjmp/setjmp.c: Likewise.
14196         * signal/kill.c: Likewise.
14197         * signal/killpg.c: Likewise.
14198         * signal/raise.c: Likewise.
14199         * signal/sigaction.c: Likewise.
14200         * signal/sigaltstack.c: Likewise.
14201         * signal/sigblock.c: Likewise.
14202         * signal/sigignore.c: Likewise.
14203         * signal/sigintr.c: Likewise.
14204         * signal/signal.c: Likewise.
14205         * signal/sigpause.c: Likewise.
14206         * signal/sigpending.c: Likewise.
14207         * signal/sigqueue.c: Likewise.
14208         * signal/sigreturn.c: Likewise.
14209         * signal/sigset.c: Likewise.
14210         * signal/sigsetmask.c: Likewise.
14211         * signal/sigstack.c: Likewise.
14212         * signal/sigsuspend.c: Likewise.
14213         * signal/sigtimedwait.c: Likewise.
14214         * signal/sigvec.c: Likewise.
14215         * signal/sigwait.c: Likewise.
14216         * signal/sigwaitinfo.c: Likewise.
14217         * signal/sysv_signal.c: Likewise.
14218         * socket/accept.c: Likewise.
14219         * socket/accept4.c: Likewise.
14220         * socket/bind.c: Likewise.
14221         * socket/connect.c: Likewise.
14222         * socket/getpeername.c: Likewise.
14223         * socket/getsockname.c: Likewise.
14224         * socket/getsockopt.c: Likewise.
14225         * socket/isfdtype.c: Likewise.
14226         * socket/listen.c: Likewise.
14227         * socket/recv.c: Likewise.
14228         * socket/recvfrom.c: Likewise.
14229         * socket/recvmsg.c: Likewise.
14230         * socket/send.c: Likewise.
14231         * socket/sendmsg.c: Likewise.
14232         * socket/sendto.c: Likewise.
14233         * socket/setsockopt.c: Likewise.
14234         * socket/shutdown.c: Likewise.
14235         * socket/sockatmark.c: Likewise.
14236         * socket/socket.c: Likewise.
14237         * socket/socketpair.c: Likewise.
14238         * stdio-common/ctermid.c: Likewise.
14239         * stdio-common/cuserid.c: Likewise.
14240         * stdio-common/remove.c: Likewise.
14241         * stdio-common/rename.c: Likewise.
14242         * stdio-common/renameat.c: Likewise.
14243         * stdio-common/tempname.c: Likewise.
14244         * stdlib/getcontext.c: Likewise.
14245         * stdlib/makecontext.c: Likewise.
14246         * stdlib/setcontext.c: Likewise.
14247         * stdlib/swapcontext.c: Likewise.
14248         * stdlib/system.c: Likewise.
14249         * streams/fattach.c: Likewise.
14250         * streams/fdetach.c: Likewise.
14251         * streams/getmsg.c: Likewise.
14252         * streams/getpmsg.c: Likewise.
14253         * streams/putmsg.c: Likewise.
14254         * streams/putpmsg.c: Likewise.
14255         * sysdeps/unix/bsd/getpt.c: Likewise.
14256         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
14257         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
14258         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14260         Likewise.
14261         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
14262         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14263         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14264         * sysvipc/msgctl.c: Likewise.
14265         * sysvipc/msgget.c: Likewise.
14266         * sysvipc/msgrcv.c: Likewise.
14267         * sysvipc/msgsnd.c: Likewise.
14268         * sysvipc/semctl.c: Likewise.
14269         * sysvipc/semget.c: Likewise.
14270         * sysvipc/semop.c: Likewise.
14271         * sysvipc/semtimedop.c: Likewise.
14272         * sysvipc/shmat.c: Likewise.
14273         * sysvipc/shmctl.c: Likewise.
14274         * sysvipc/shmdt.c: Likewise.
14275         * sysvipc/shmget.c: Likewise.
14276         * termios/tcdrain.c: Likewise.
14277         * termios/tcflow.c: Likewise.
14278         * termios/tcflush.c: Likewise.
14279         * termios/tcgetattr.c: Likewise.
14280         * termios/tcgetpgrp.c: Likewise.
14281         * termios/tcsendbrk.c: Likewise.
14282         * termios/tcsetattr.c: Likewise.
14283         * termios/tcsetpgrp.c: Likewise.
14284         * time/adjtime.c: Likewise.
14285         * time/clock.c: Likewise.
14286         * time/getitimer.c: Likewise.
14287         * time/gettimeofday.c: Likewise.
14288         * time/setitimer.c: Likewise.
14289         * time/settimeofday.c: Likewise.
14290         * time/stime.c: Likewise.
14291         * time/time.c: Likewise.
14293 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
14295         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
14296         /usr/old/bin.
14298         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
14299         instead of spaces.
14300         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
14302 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
14304         [BZ #14796]
14305         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
14306         FE_TONEAREST before applying Dekker multiplication and Knuth
14307         addition.  Clear inexact exceptions and check for exact zero
14308         results afterwards.
14309         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14310         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14311         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14312         * math/libm-test.inc (fma_test): Add more tests.
14313         (fma_test_towardzero): Likewise.
14314         (fma_test_downward): Likewise.
14315         (fma_test_upward): Likewise.
14316         * sysdeps/generic/math_private.h (default_libc_fesetround): New
14317         function.
14318         (libc_fesetround): New macro.
14319         (libc_fesetroundf): Likewise.
14320         (libc_fesetroundl): Likewise.
14321         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
14322         function.
14323         (libc_fesetround_387): Likewise.
14324         (libc_fesetroundf): New macro.
14325         (libc_fesetround): Likewise.
14326         (libc_fesetroundl): Likewise.
14327         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
14328         function.
14329         (libc_fesetroundf): New macro.
14330         (libc_fesetround): Likewise.
14331         (libc_fesetroundl): Likewise.
14332         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
14333         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
14334         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
14335         libm_hidden_ver.
14336         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
14337         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
14338         libm_hidden_def.
14339         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
14340         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
14341         libm_hidden_ver.
14342         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
14343         libm_hidden_def.
14345         [BZ #3439]
14346         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
14347         integer constant usable in #if and use that to give value to enum
14348         constant.
14349         (FE_DIVBYZERO): Likewise.
14350         (FE_UNDERFLOW): Likewise.
14351         (FE_OVERFLOW): Likewise.
14352         (FE_INVALID): Likewise.
14353         (FE_INVALID_SNAN): Likewise.
14354         (FE_INVALID_ISI): Likewise.
14355         (FE_INVALID_IDI): Likewise.
14356         (FE_INVALID_ZDZ): Likewise.
14357         (FE_INVALID_IMZ): Likewise.
14358         (FE_INVALID_COMPARE): Likewise.
14359         (FE_INVALID_SOFTWARE): Likewise.
14360         (FE_INVALID_SQRT): Likewise.
14361         (FE_INVALID_INTEGER_CONVERSION): Likewise.
14362         (FE_TONEAREST): Likewise.
14363         (FE_TOWARDZERO): Likewise.
14364         (FE_UPWARD): Likewise.
14365         (FE_DOWNWARD): Likewise.
14366         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
14367         (FE_DIVBYZERO): Likewise.
14368         (FE_OVERFLOW): Likewise.
14369         (FE_UNDERFLOW): Likewise.
14370         (FE_INEXACT): Likewise.
14371         (FE_TONEAREST): Likewise.
14372         (FE_DOWNWARD): Likewise.
14373         (FE_UPWARD): Likewise.
14374         (FE_TOWARDZERO): Likewise.
14375         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
14376         (FE_UNDERFLOW): Likewise.
14377         (FE_OVERFLOW): Likewise.
14378         (FE_DIVBYZERO): Likewise.
14379         (FE_INVALID): Likewise.
14380         (FE_TONEAREST): Likewise.
14381         (FE_TOWARDZERO): Likewise.
14382         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
14383         (FE_OVERFLOW): Likewise.
14384         (FE_UNDERFLOW): Likewise.
14385         (FE_DIVBYZERO): Likewise.
14386         (FE_INEXACT): Likewise.
14387         (FE_TONEAREST): Likewise.
14388         (FE_TOWARDZERO): Likewise.
14389         (FE_UPWARD): Likewise.
14390         (FE_DOWNWARD): Likewise.
14391         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
14392         (FE_DIVBYZERO): Likewise.
14393         (FE_OVERFLOW): Likewise.
14394         (FE_UNDERFLOW): Likewise.
14395         (FE_INEXACT): Likewise.
14396         (FE_TONEAREST): Likewise.
14397         (FE_DOWNWARD): Likewise.
14398         (FE_UPWARD): Likewise.
14399         (FE_TOWARDZERO): Likewise.
14401 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
14403         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
14405 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
14407         * scripts/cross-test-ssh.sh (command): Use newlines to separate
14408         commands.  Quote $PWD.
14409         (blacklist_exports): Don't use remove_newlines.  Replace "declare
14410         -x" by "export".
14411         (remove_newlines): Remove.
14413 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
14415         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
14416         * stdlib/stdlib.h (atof): Moved to ...
14417         * include/bits/stdlib-float.h: Here.  New file.
14418         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
14419         * stdlib/bits/stdlib-float.h: New file.
14420         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
14421         -mno-sse -mno-mmx.
14422         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
14423         <xmmintrin.h>.
14425 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
14427         * conform/conformtest.pl (@headers): Add fenv.h.
14428         * conform/data/fenv.h-data: New file.
14429         * include/fenv.h [_ISOMAC]: Disable all contents of file except
14430         include of <math/fenv.h>.
14432         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
14433         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
14434         && !UNIX98].  Enables tests for XOPEN2K8.
14435         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
14436         POSIX2008]: Likewise.
14438         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
14439         (struct rusage): Do not expect type or its members.
14441         [BZ #3439]
14442         * math/math.h (FP_NAN): Define macro to integer constant usable in
14443         #if and use that to give value to enum constant.
14444         (FP_INFINITE): Likewise.
14445         (FP_ZERO): Likewise.
14446         (FP_SUBNORMAL): Likewise.
14447         (FP_NORMAL): Likewise.
14449 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
14451         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
14452         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
14453         arguments.
14455 2012-11-02  Roland McGrath  <roland@hack.frob.com>
14457         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
14458         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
14459         autoconf-time if not.
14460         * configure.in: Remove AC_PREREQ.
14462 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14464         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
14465         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
14466         of the internal implementation.
14468 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
14470         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
14471         except include of <misc/sys/syslog.h>.
14473 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
14475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
14476         function returns with a NULL context exit with zero.
14478 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14480         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
14482 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
14484         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
14485         (run_program_cmd): This.
14486         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
14487         (tst_langinfo): New variable.  Use it.
14489 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
14491         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
14492         floating point opcodes.
14494 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
14496         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
14497         variable.
14499         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
14501         * sysdeps/mach/hurd/powerpc: Remove directory.
14502         * sysdeps/mach/powerpc: Likewise.
14504 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
14506         * scripts/check-local-headers.sh: Ignore c++ headers.
14508 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
14510         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
14511         __libc_cleanup_region_start argument.
14513 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
14515         [BZ #14784]
14516         [BZ #14785]
14517         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
14518         x * y using scaling, not as x * y + z.
14519         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14520         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14521         * math/libm-test.inc (fma_test): Add more tests.
14522         (fma_test_towardzero): Likewise.
14523         (fma_test_downward): Likewise.
14524         (fma_test_upward): Likewise.
14526 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
14528         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
14530 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
14532         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
14533         New variable.
14535 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
14537         * rt/tst-shm.c (worker): Correct checking for mmap failure.
14539 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
14541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14542         Fix sort order.
14543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14544         Likewise.
14546 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14549         Fix the order of the list for glibc 2.17.
14550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14551         Likewise.
14553 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
14555         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14557 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
14559         [BZ #14610]
14560         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
14561         for low part of x being zero before using __atanl (y).
14562         * math/libm-test.inc (atan2_test): Add another test.
14564         * manual/install.texi (Configuring and compiling): Document
14565         general use of test-wrapper and test-wrapper-env.
14566         * INSTALL: Regenerated.
14568         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
14569         (__fma): Do not extract and scale down low bits on after-rounding
14570         systems when result rounded to normal precision would have normal
14571         exponent.
14572         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
14573         (__fmal): Do not extract and scale down low bits on after-rounding
14574         systems when result rounded to normal precision would have normal
14575         exponent.
14576         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
14577         (__fmal): Do not extract and scale down low bits on after-rounding
14578         systems when result rounded to normal precision would have normal
14579         exponent.
14580         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
14581         macro.
14582         (fma_test): Add more tests.
14583         (fma_test_towardzero): Likewise.
14584         (fma_test_downward): Likewise.
14585         (fma_test_upward): Likewise.
14587 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
14589         * sysdeps/i386/tininess.h: Renamed to ...
14590         * sysdeps/x86/tininess.h: This.
14591         * sysdeps/x86_64/tininess.h: Removed.
14593 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
14595         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
14596         input.  Use $(build-program-cmd).
14597         ($(objpfx)tst-array1-static.out): Likewise.
14598         ($(objpfx)tst-array2.out): Likewise.
14599         ($(objpfx)tst-array3.out): Likewise.
14600         ($(objpfx)tst-array4.out): Likewise.
14601         ($(objpfx)tst-array5.out): Likewise.
14602         ($(objpfx)tst-array5-static.out): Likewise.
14604 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
14606         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
14607         if defined.
14609         * nss/nsswitch.h (nss_interface_function): Provide new
14610         macro for use with NSS functions.
14611         * grp/initgroups.c: Use new macro.
14612         * nss/getXXbyYY.c: Likewise.
14613         * nss/getXXbyYY_r.c: Likewise.
14614         * nss/getXXent.c: Likewise.
14615         * nss/getXXent_r.c: Likewise.
14616         * sysdeps/posix/getaddrinfo.c: Likewise.
14618 2012-10-30  Andreas Jaeger  <aj@suse.de>
14620         * po/ru.po: Update Russion translation from translation project.
14622 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
14624         [BZ #14152]
14625         [BZ #14783]
14626         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
14627         result and shift together with sticky bit instead of replicating
14628         round-to-nearest rounding.
14629         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14630         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14631         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
14632         missing underflow exceptions.
14633         (fma_test_towardzero): Add more tests.
14634         (fma_test_downward): Likewise.
14635         (fma_test_upward): Likewise.
14637         [BZ #14047]
14638         * sysdeps/generic/tininess.h: New file.
14639         * sysdeps/i386/tininess.h: Likewise.
14640         * sysdeps/sh/tininess.h: Likewise.
14641         * sysdeps/x86_64/tininess.h: Likewise.
14642         * stdlib/tst-strtod-underflow.c: Likewise.
14643         * stdlib/tst-tininess.c: Likewise.
14644         * stdlib/strtod_l.c: Include <tininess.h>.
14645         (round_and_return): Do not set errno for exact underflow cases.
14646         Force an underflow exception when setting errno for underflow.
14647         Determine underflow based on rounding to normal precision if
14648         TININESS_AFTER_ROUNDING.
14649         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
14650         ERANGE for exact underflow cases.
14651         * stdlib/Makefile (tests): Add tst-tininess and
14652         tst-strtod-underflow.
14653         ($(objpfx)tst-tininess): Use $(link-libm).
14654         ($(objpfx)tst-strtod-underflow): Likewise.
14656 2012-10-30  Andreas Jaeger  <aj@suse.de>
14658         [BZ#14767]
14659         * elf/Makefile (tests): Remove conditional for have-initfini-array
14660         since this is now always required and the variable does not exist
14661         anymore.
14662         (tests-static): Likewise.
14663         (modules-names): Likewise.
14665         * po/eo.po: Add Esperanto translation from translation project.
14667         * elf/tst-array1.c (fini_array): Make writeable so that it can be
14668         merged with constructor/destructor.
14669         (init_array): Likewise.
14670         * elf/tst-array2dep.c (fini_array): Likewise.
14671         (init_array): Likewise.
14673 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
14675         * manual/message.texi: Delete @cartouche tags.
14677 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
14679         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
14680         EOPNOTSUPP.
14681         * sysdeps/mach/hurd/fsync.c: Likewise.
14683         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
14684         [_POSIX_REALTIME_SIGNALS]: Change condition to
14685         [_POSIX_REALTIME_SIGNALS > 0].
14687 2012-10-27  Andreas Jaeger  <aj@suse.de>
14689         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
14690         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
14691         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
14692         [__WORDSIZE != 64]: Likewise.
14694 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
14696         *  iconvdata/tst-table.sh: Remove ${SHELL}.
14697         *  iconvdata/tst-tables.sh: Likewise.
14699 2012-10-25  David S. Miller  <davem@davemloft.net>
14701         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14702         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
14703         of strtoull.
14705         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
14706         ifunc-impl-list.c
14707         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14708         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
14709         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
14710         file.
14712 2012-10-25  Roland McGrath  <roland@hack.frob.com>
14714         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14715         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
14716         __getdirentries.
14718 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
14719             Jim Blandy  <jimb@codesourcery.com>
14721         * scripts/cross-test-ssh.sh: New file.
14722         * manual/install.texi (Configuring and compiling): Document use of
14723         cross-test-ssh.sh.
14724         * INSTALL: Regenerated.
14726 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
14728         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
14729         EOPNOTSUPP.
14731 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
14733         * Makeconfig (run-program-prefix): Fix comment.
14735 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
14736             Jim Blandy  <jimb@codesourcery.com>
14738         * Makeconfig (test-wrapper): New variable,
14739         (test-wrapper-env): Likewise.
14740         [$(cross-compiling) = yes && $(test-wrapper) != ""]
14741         (run-built-tests): Define to yes.
14742         (run-program-prefix): Use $(test-wrapper).
14743         (built-program-cmd): Likewise.
14744         * Rules (make-test-out): Use $(test-wrapper-env) and
14745         $(host-built-program-cmd).
14746         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
14747         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
14748         tst-pathopt.sh.
14749         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
14750         $(test-wrapper-env) to tst-rtld-load-self.sh.
14751         ($(objpfx)order2.out): Use $(test-wrapper).
14752         ($(objpfx)tst-initorder.out): Likewise.
14753         ($(objpfx)tst-initorder2.out): Likewise.
14754         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
14755         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
14756         (test_wrapper_env): New variable.  Use it to run ld.so.
14757         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
14758         Use it to run ld.so.
14759         (test_wrapper_env): Likewise.
14760         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
14761         $(test-wrapper) to run-iconv-test.sh.
14762         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
14763         (ICONV): Use $test_wrapper.
14764         * posix/Makefile ($(objpfx)globtest.out): Pass
14765         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
14766         globtest.sh, not $(run-program-prefix).
14767         * posix/globtest.sh (run_via_rtld_prefix): New variable.
14768         (test_wrapper): Likewise.
14769         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
14770         set together with run_via_rtld_prefix.
14771         (run_program_prefix): Define in terms of test_wrapper and
14772         run_via_rtld_prefix.
14774 2012-10-24  Roland McGrath  <roland@hack.frob.com>
14776         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
14777         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
14778         Targets removed.
14780         [BZ #14743]
14781         * include/time.h: Remove librt_hidden_proto (clock_gettime).
14782         Declare __clock_getres, __clock_gettime, __clock_settime,
14783         __clock_nanosleep, and __clock_getcpuclockid.
14784         * rt/clock_gettime.c: Define __clock_gettime as an alias.
14785         Remove librt_hidden_def (clock_gettime).
14786         * sysdeps/unix/clock_gettime.c: Likewise.
14787         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
14788         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14789         * rt/clock_getres.c: Define __clock_getres as an alias.
14790         * sysdeps/posix/clock_getres.c: Likewise.
14791         * rt/clock_settime.c: Define __clock_settime as an alias.
14792         * sysdeps/unix/clock_settime.c: Likewise.
14793         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
14794         * sysdeps/unix/clock_nanosleep.c: Likewise.
14795         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14796         * rt/clock-compat.c: New file.
14797         * rt/Makefile (librt-routines): Add clock-compat and move
14798         $(clock-routines) to ...
14799         (routines): ... here, new variable.
14800         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
14801         Don't add get_clockfreq here.
14802         * rt/Versions (libc: GLIBC_2.17): New version set.
14803         Add clock_* symbols here.
14804         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
14805         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
14806         (GLIBC_2.17): Add clock_* symbols.
14807         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14808         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14809         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14811         Likewise.
14812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14813         Likewise.
14814         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14815         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14816         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14817         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14818         * NEWS: Mention the move.
14820         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14821         Use __open, __read, __close rather than their public counterparts.
14822         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14823         (__get_clockfreq_via_cpuinfo): Likewise.
14824         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
14825         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
14827         * config.h.in (HAVE_IFUNC): New #undef.
14828         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
14829         was successful.
14830         * configure: Regenerated.
14832 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
14834         * configure.in: Move READELF check to start of file.
14835         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
14836         libc_cv_asm_gnu_indirect_function in the process.
14837         * configure: Regenerated.
14839 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
14841         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
14842         send the output to /dev/null.
14843         (libc_cv_cc_with_libunwind): Likewise.
14844         (libc_cv_as_noexecstack): Likewise.
14845         * configure: Regenerate.
14847 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
14849         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
14851         * posix/globtest.sh (TMPDIR): Do not set.
14852         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
14853         (testout): Likewise.
14855 2012-10-24  Andreas Jaeger  <aj@suse.de>
14857         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
14858         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
14859         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
14860         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
14861         posix_fadvise64, posix_fallocate64.
14863         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
14864         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
14865         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
14866         Likewise.
14867         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
14868         Likewise.
14869         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
14871         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
14872         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
14873         <bits/fcntl-linux.h>.
14874         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
14876         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
14877         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
14878         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
14879         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
14880         [__WORDSIZE != 64]: Likewise.
14882 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
14884         * Makeconfig (run-built-tests): New variable.
14885         * Rules [$(cross-compiling) = yes]: Change condition to
14886         [$(run-built-tests) = no].
14887         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
14888         to [$(run-built-tests) = yes].
14889         * elf/Makefile [$(cross-compiling) = no]: Likewise
14890         * grp/Makefile [$(cross-compiling) = no]: Likewise.
14891         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
14892         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
14893         * intl/Makefile [$(cross-compiling) = no]: Likewise.
14894         * io/Makefile [$(cross-compiling) = no]: Likewise.
14895         * libio/Makefile [$(cross-compiling) = no]: Likewise.
14896         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
14897         * misc/Makefile [$(cross-compiling) = no]: Likewise.
14898         * posix/Makefile [$(cross-compiling) = no]: Likewise.
14899         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
14900         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
14901         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
14902         * string/Makefile [$(cross-compiling) = no]: Likewise.
14904         * posix/Makefile ($(objpfx)globtest.out): Pass
14905         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
14906         $(rtld-installed-name).
14907         * posix/globtest.sh (elf_objpfx): Remove variable.
14908         (rtld_installed_name): Likewise.
14909         (library_path): Likewise.
14910         (run_program_prefix): New variable.  Use for running globtest
14911         binary.
14913 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
14914             Joseph Myers  <joseph@codesourcery.com>
14916         * Makeconfig (host-built-program-cmd): New variable.
14917         * elf/Makefile (tst-stackguard1-ARGS): Use
14918         $(host-built-program-cmd).
14919         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
14920         (tst-spawn-ARGS): Likewise.
14921         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
14923 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
14924             Jim Blandy  <jimb@codesourcery.com>
14926         * Makeconfig (run-via-rtld-prefix): New variable.
14927         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
14928         (built-program-cmd): Likewise.
14930 2012-10-22  Andreas Jaeger  <aj@suse.de>
14932         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
14933         __O_RSYNC if it exists, otherwise to O_SYNC.
14935 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
14936             Joseph Myers  <joseph@codesourcery.com>
14938         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
14939         /dev/null.
14940         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
14941         from /dev/null
14942         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
14943         /dev/null.
14945 2012-10-22  Andreas Jaeger  <aj@suse.de>
14947         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
14948         Define always.
14949         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
14951         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14952         bits/fcntl-linux.h.
14954         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
14955         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
14957         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
14958         to __O_LARGEFILE.
14959         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
14960         to __O_LARGEFILE.
14962 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
14963             Joseph Myers  <joseph@codesourcery.com>
14965         * config.make.in (NM): New variable.
14967 2012-10-21  Andreas Jaeger  <aj@suse.de>
14969         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
14970         definitions and declarations that are provided by
14971         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14973 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
14975         [BZ #14683]
14976         * elf/Makefile (tests-static): Add tst-leaks1-static.
14977         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
14978         ($(objpfx)tst-leaks1-static): New rule.
14979         ($(objpfx)tst-leaks1-static-mem): Likewise.
14980         (tst-leaks1-static-ENV): New macro.
14981         * elf/dl-open.c (dl_open_worker): Check the main application
14982         only if SHARED is defined.
14983         * elf/tst-leaks1-static.c: New file.
14985 2012-10-20  Andreas Jaeger  <aj@suse.de>
14987         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
14988         generic values for Linux.
14989         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
14990         and declarations that are provided by <bits/fcntl-linux.h> and
14991         include <bits/fcntl-linux.h>.
14992         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14993         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14995 2012-10-20  Roland McGrath  <roland@hack.frob.com>
14997         * io/fcntl.h: Move include of <bits/types.h> to the top and
14998         include it unconditionally.
15000 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
15002         * wcsmbs/Makefile (tests-ifunc): New variable.
15003         (tests): Add $(tests-ifunc).
15004         * wcsmbs/test-wcschr-ifunc.c: New file.
15005         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
15006         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
15007         * wcsmbs/test-wcslen-ifunc.c: Likewise.
15008         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
15009         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
15011         * string/Makefile (tests-ifunc): New variable.
15012         (tests): Add $(tests-ifunc).
15013         * string/test-memccpy.c (TEST_NAME): New macro.
15014         * string/test-memchr.c (TEST_NAME): Likewise.
15015         * string/test-memcmp.c (TEST_NAME): Likewise.
15016         * string/test-memcpy.c (TEST_NAME): Likewise.
15017         * string/test-memmem.c (TEST_NAME): Likewise.
15018         * string/test-memmove.c (TEST_NAME): Likewise.
15019         * string/test-memset.c (TEST_NAME): Likewise.
15020         * string/test-rawmemchr.c (TEST_NAME): Likewise.
15021         * string/test-stpcpy.c (TEST_NAME): Likewise.
15022         * string/test-stpncpy.c (TEST_NAME): Likewise.
15023         * string/test-strcasecmp.c (TEST_NAME): Likewise.
15024         * string/test-strcasestr.c (TEST_NAME): Likewise.
15025         * string/test-strcat.c (TEST_NAME): Likewise.
15026         * string/test-strchr.c (TEST_NAME): Likewise.
15027         * string/test-strcmp.c(TEST_NAME): Likewise.
15028         * string/test-strcpy.c (TEST_NAME): Likewise.
15029         * string/test-strcspn.c (TEST_NAME): Likewise.
15030         * string/test-strlen.c (TEST_NAME): Likewise.
15031         * string/test-strncasecmp.c (TEST_NAME): Likewise.
15032         * string/test-strncmp.c (TEST_NAME): Likewise.
15033         * string/test-strncpy.c (TEST_NAME): Likewise.
15034         * string/test-strnlen.c (TEST_NAME): Likewise.
15035         * string/test-strpbrk.c (TEST_NAME): Likewise.
15036         * string/test-strrchr.c (TEST_NAME): Likewise.
15037         * string/test-strspn.c (TEST_NAME): Likewise.
15038         * string/test-strstr.c (TEST_NAME): Likewise.
15039         * string/test-bcopy-ifunc.c: New file.
15040         * string/test-bzero-ifunc.c: Likewise.
15041         * string/test-memccpy-ifunc.c: Likewise.
15042         * string/test-memchr-ifunc.c: Likewise.
15043         * string/test-memcmp-ifunc.c: Likewise.
15044         * string/test-memcpy-ifunc.c: Likewise.
15045         * string/test-memmem-ifunc.c: Likewise.
15046         * string/test-memmove-ifunc.c: Likewise.
15047         * string/test-mempcpy-ifunc.c: Likewise.
15048         * string/test-memset-ifunc.c: Likewise.
15049         * string/test-rawmemchr-ifunc.c: Likewise.
15050         * string/test-stpcpy-ifunc.c: Likewise.
15051         * string/test-stpncpy-ifunc.c: Likewise.
15052         * string/test-strcasecmp-ifunc.c: Likewise.
15053         * string/test-strcasestr-ifunc.c: Likewise.
15054         * string/test-strcat-ifunc.c: Likewise.
15055         * string/test-strchr-ifunc.c: Likewise.
15056         * string/test-strchrnul-ifunc.c: Likewise.
15057         * string/test-strcmp-ifunc.c: Likewise.
15058         * string/test-strcpy-ifunc.c: Likewise.
15059         * string/test-strcspn-ifunc.c: Likewise.
15060         * string/test-strlen-ifunc.c: Likewise.
15061         * string/test-strncasecmp-ifunc.c: Likewise.
15062         * string/test-strncat-ifunc.c: Likewise.
15063         * string/test-strncmp-ifunc.c: Likewise.
15064         * string/test-strncpy-ifunc.c: Likewise.
15065         * string/test-strnlen-ifunc.c: Likewise.
15066         * string/test-strpbrk-ifunc.c: Likewise.
15067         * string/test-strrchr-ifunc.c: Likewise.
15068         * string/test-strspn-ifunc.c: Likewise.
15069         * string/test-strstr-ifunc.c: Likewise.
15071         * debug/Makefile (tests-ifunc): New variable.
15072         (tests): Add $(tests-ifunc).
15073         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
15074         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
15075         * debug/test-stpcpy_chk-ifunc.c: New file.
15076         * debug/test-strcpy_chk-ifunc.c: Likewise.
15078 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
15080         [BZ #13601]
15081         * elf/dl-load.c (open_verify): Retry read if the entire ELF
15082         header is not read in.
15084 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
15086         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
15087         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
15088         directly.  Pass built executable to script as
15089         $(built-program-cmd).
15090         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
15091         $testprogram without using LD_LIBRARY_PATH and $ldso.
15093         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
15094         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
15095         $(rtld-installed-name).
15096         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
15097         (rtld_installed_name): Likewise.
15098         (library_path): Likewise.
15099         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
15100         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
15101         $(run-program-prefix) to tst-tables.sh.
15102         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
15103         it to run tst-table-from and tst-table-to.
15104         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
15105         Pass it to tst-table.sh.
15106         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
15107         $(run-program-prefix) to tst-gettext.sh.
15108         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
15109         tst-translit.sh.
15110         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
15111         tst-gettext2.sh.
15112         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
15113         to run tst-gettext.
15114         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
15115         to run tst-gettext2.
15116         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
15117         to run tst-translit.
15118         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
15119         $(run-program-prefix) to tst-mtrace.sh.
15120         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
15121         to run tst-mtrace.
15122         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
15123         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
15124         $(rtld-installed-name).
15125         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
15126         (rtld_installed_name): Likewise.
15127         (run_program_prefix): New variable.  Use it to run wordexp-test.
15129         * Makeconfig (ARCH): Remove all definitions.
15130         (machine): Likewise.
15131         [ARCH]: Remove conditional code.
15132         [!objdir]: Give error.
15133         [!objdir] (objpfx): Remove.
15134         [!objdir] (common-objpfx): Likewise.
15135         [!objdir] (common-objdir): Likewise.
15136         * configure.in (config_makefile): Remove.  Hardcode Makefile in
15137         AC_CONFIG_FILES call.
15138         * configure: Regenerated.
15140         [BZ #13888]
15141         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
15142         or TMPDIR.
15143         (testout): Likewise.
15145         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
15146         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
15147         $(rtld-installed-name).
15148         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
15149         (rtld_installed_name): Likwise.
15150         (runit): Remove function.
15151         (run_getconf): New variable,  Use it for running getconf binary.
15153 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
15155         [BZ #14716]
15156         * string/test-memmem.c (check_result): New function.
15157         (do_one_test): Use it.
15158         (check1): New function.
15159         (test_main): Use it.
15161 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
15163         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
15165 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
15167         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
15168         (_G_LSEEK64): Likewise.
15169         (_G_MMAP64): Likewise.
15170         (_G_FSTAT64): Likewise.
15171         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
15172         (_G_LSEEK64): Likewise.
15173         (_G_MMAP64): Likewise.
15174         (_G_FSTAT64): Likewise.
15175         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
15176         unconditional.  Call __mmap64 directly.
15177         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
15178         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
15179         __lseek64 directly.
15180         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
15181         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
15182         __mmap64 directly.
15183         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
15184         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
15185         __lseek64 directly.
15186         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
15187         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
15188         __lseek64 directly.
15189         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
15190         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
15191         __lseek64 directly.
15192         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
15193         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
15194         __fxstat64 directly.
15195         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
15196         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
15197         unconditional.
15198         (freopen64) [!_G_OPEN64]: Remove conditional code.
15199         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
15200         unconditional.
15201         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
15202         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
15203         unconditional.
15204         (ftello64) [!_G_LSEEK64]: Remove conditional code.
15205         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
15206         unconditional.
15207         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15208         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
15209         unconditional.
15210         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
15211         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
15212         unconditional.
15213         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15214         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
15215         unconditional.
15216         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15217         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
15218         unconditional.
15219         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15221 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15223         [BZ #12140]
15224         * manual/memory.texi (Malloc Tunable Parameters): Add note
15225         about free list pointers overwriting some perturb bytes.
15226         Wording suggested by Roland McGrath.
15228 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
15230         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
15231         (lgamma_test): Likewise.
15232         (tgamma_test): Likewise.
15234 2012-10-16  Florian Weimer  <fweimer@redhat.com>
15236         [BZ #14700]
15237         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
15238         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
15240 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
15242         * NEWS: Mention BZ #14716.
15243         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
15244         when removing AVAILABLE1_USES_J macro.
15246 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
15248         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
15249         (__bswap_64): __uint64_t for unsigned 64-bit int.
15251 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
15253         * include/string.h (memmem): Declare libc hidden alias.
15254         * string/memmem.c (memmem): Define libc hidden alias.
15255         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
15256         __read, __close instead of open, read, close.
15258 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
15260         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
15261         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
15262         global and hidden.
15263         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
15264         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
15265         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
15266         Likewise.
15267         (__rawmemchr_sse2): Likewise.
15268         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
15269         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
15270         (__strchr_sse2): Likewise.
15271         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
15272         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
15273         (__strcasecmp_sse2): Likewise.
15274         (__strncasecmp_sse2): Likewise.
15275         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
15276         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
15277         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
15278         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
15279         (__strrchr_sse2): Likewise.
15280         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
15281         ifunc-impl-list.c.
15282         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15283         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15284         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15285         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15286         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15287         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15288         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15289         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15290         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
15291         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
15292         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
15293         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
15294         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
15295         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
15296         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
15297         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15298         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
15299         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
15300         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
15301         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
15302         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
15303         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
15304         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
15305         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15306         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
15307         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15308         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15309         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15310         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
15311         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
15313         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
15314         global and hidden.
15315         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
15316         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
15317         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
15318         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
15319         Likewise.
15320         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
15321         Likewise.
15322         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
15323         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
15324         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
15325         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
15326         ifunc-impl-list.c.
15327         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15328         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15329         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15330         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15331         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15332         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15333         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15334         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15335         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15336         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15337         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15338         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15339         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15340         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
15341         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
15342         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15343         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
15344         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
15345         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15346         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15347         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15348         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15349         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15350         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15351         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15352         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
15353         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
15354         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
15355         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
15356         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15357         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
15358         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15359         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15360         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
15361         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15362         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15363         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15364         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15365         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15366         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15367         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
15369         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
15370         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
15371         * include/ifunc-impl-list.h: New file.
15372         * misc/ifunc-impl-list.c: Likewise.
15373         * misc/Makefile (routines): Add ifunc-impl-list.
15374         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
15375         * string/test-string.h: Include <ifunc-impl-list.h>.
15376         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
15377         impl_array): New variables.
15378         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
15379         are defined.
15380         (test_init): Call __libc_ifunc_impl_list to initialize
15381         func_list if TEST_IFUNC and TEST_NAME are defined.
15383         * string/Makefile (strop-tests): Add bcopy and bzero.
15384         * string/test-bcopy.c: New file.
15385         * string/test-bzero.c: Likewise.
15386         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
15387         defined.
15388         * string/test-memset.c: Support bzero test if TEST_BZERO is
15389         defined.
15390         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
15391         __libc_memmove.
15392         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
15393         __libc_memset.
15394         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
15395         of memset.
15397 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
15399         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
15400         * configure: Regenerated.
15402         * Makeconfig (+link-static-before-libc): Don't include
15403         $(link-static-libc).
15405         * libio/libio.h (_IO_pos_t): Remove.
15407 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
15409         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
15410         McGrath.
15412 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
15414         * crypt/crypt-entry.c: Include fips-private.h.
15415         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
15416         * crypt/md5c-test.c (main): Tolerate disabled MD5.
15417         * sysdeps/unix/sysv/linux/fips-private.h: New file.
15418         * sysdeps/generic/fips-private.h: New file, dummy fallback.
15420 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
15422         * crypt/crypt-private.h: Include stdbool.h.
15423         (_ufc_setup_salt_r): Return bool.
15424         * crypt/crypt-entry.c: Include errno.h.
15425         (__crypt_r): Return NULL with EINVAL for bad salt.
15426         * crypt/crypt_util.c (bad_for_salt): New.
15427         (_ufc_setup_salt_r): Check that salt is long enough and within
15428         the specified alphabet.
15429         * crypt/badsalttest.c: New file.
15430         * crypt/Makefile (tests): Add it.
15431         ($(objpfx)badsalttest): New.
15433 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
15435         * NEWS: Add entry for BZ #14602.
15437 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
15439         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
15440         type-generic.
15441         * math/libm-test.inc: Update comment listing what functions and
15442         macros are tested.
15443         (isgreater_test): New function.
15444         (isgreaterequal_test): Likewise.
15445         (isless_test): Likewise.
15446         (islessequal_test): Likewise.
15447         (islessgreater_test): Likewise.
15448         (isunordered_test): Likewise.
15449         (main): Call the new functions.
15451 2012-10-09  Roland McGrath  <roland@hack.frob.com>
15453         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
15454         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
15455         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
15456         * sysdeps/i386/configure: Regenerated.
15457         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
15458         * sysdeps/mach/configure: Regenerated.
15459         * sysdeps/mach/hurd/configure: Regenerated.
15460         * sysdeps/powerpc/configure: Regenerated.
15461         * sysdeps/powerpc/powerpc32/configure: Regenerated.
15462         * sysdeps/powerpc/powerpc64/configure: Regenerated.
15463         * sysdeps/s390/s390-32/configure: Regenerated.
15464         * sysdeps/s390/s390-64/configure: Regenerated.
15465         * sysdeps/sh/configure: Regenerated.
15466         * sysdeps/sparc/configure: Regenerated.
15467         * sysdeps/unix/sysv/linux/configure: Regenerated.
15468         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15469         * sysdeps/x86_64/configure: Regenerated.
15471         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
15472         defined.  Don't check if MAP is NULL.
15474 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
15476         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
15477         (_G_stat64): Likewise.
15478         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
15479         (_G_stat64): Likewise.
15480         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
15481         instead of struct _G_stat64.
15482         * libio/fileops.c (mmap_remap_check): Likewise.
15483         (decide_maybe_mmap): Likewise.
15484         (_IO_new_file_seekoff): Likewise.
15485         (_IO_file_stat): Likewise.
15486         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
15487         _G_off64_t.
15488         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
15489         instead of struct _G_stat64.
15490         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15492 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
15494         [BZ #14602]
15495         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15496         Replace with ...
15497         (CHECK_EOL): New macro.
15498         (two_way_short_needle): Check beginning of haystack for EOL.  Use
15499         CHECK_EOL.
15500         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15501         Replace with CHECK_EOL.
15502         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15503         Replace with CHECK_EOL.
15505 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
15507         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
15508         type-generic.
15509         * math/libm-test.inc: Update comment listing what functions and
15510         macros are tested.
15511         (finite_test): New function.
15512         (isinf_test): Likewise.
15513         (isnan_test): Likewise.
15514         (fpclassify_test): Test subnormal input.
15515         (isfinite_test): Likewise.
15516         (isnormal_test): Likewise.
15517         (main): Call the new functions.
15519 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
15521         [BZ #14660]
15522         * Makerules (%.dynsym): Force C locale when running
15523         $(OBJDUMP) --dynamic-syms.
15525 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
15527         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
15528         <stdint.h>.
15530 2012-10-06  David S. Miller  <davem@davemloft.net>
15532         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
15533         upper 32-bits of the length value in %o2 since we use branch-on-register
15534         tests which consider the entire 64-bit register.
15536 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
15538         * string/test-strstr.c (check2): Add a test for page boundary.
15540 2012-10-05  David S. Miller  <davem@davemloft.net>
15542         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
15543         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
15544         file.
15545         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15546         sysdep_routines.
15547         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15548         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
15549         and bzero when HWCAP_SPARC_CRYPTO is present.
15551 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
15553         [BZ #14602]
15554         * string/test-strstr.c (check2): New function.
15555         (test_main): Call check2.
15557         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
15558         and bug-strchr1.
15559         * string/bug-strcasestr1.c (do_test): Moved to ...
15560         * string/test-strcasestr.c (check1): Here.  New function.
15561         (do_one_test): Break out result checking code into ...
15562         (check_result): This.  New function.
15563         (do_one_test): Call check_result.
15564         (test_main): Call check1.
15565         * string/bug-strchr1.c (do_test): Moved to ...
15566         * string/test-strchr.c (check1): Here.  New function.
15567         (do_one_test): Break out result checking code into ...
15568         (check_result): This.  New function.
15569         (do_one_test): Call check_result.
15570         (test_main): Call check1.
15571         * string/bug-strstr1.c (main): Moved to ...
15572         * string/test-strstr.c (check1): Here.  New function.
15573         (do_one_test): Break out result checking code into ...
15574         (check_result): This.  New function.
15575         (do_one_test): Call check_result.
15576         (test_main): Call check1.
15577         * string/bug-strcasestr1.c: Removed.
15578         * string/bug-strchr1.c: Likewise.
15579         * string/bug-strstr1.c: Likewise.
15581         * elf/Makefile (dl-routines): Add hwcaps.
15582         * elf/dl-support.c (_dl_important_hwcaps): Removed.
15583         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
15584         (_dl_important_hwcaps): Moved to ...
15585         * elf/dl-hwcaps.c: Here.  New file.
15586         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
15588         [BZ #14557]
15589         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
15590         if IS_IN_rtld isn't defined.
15592         * elf/dl-support.c (_dl_sysinfo_map): New.
15593         Include "get-dynamic-info.h" and "setup-vdso.h".
15594         (_dl_non_dynamic_init): Call setup_vdso.
15595         * elf/dynamic-link.h: Don't include <assert.h>.
15596         (elf_get_dynamic_info): Moved to ...
15597         * elf/get-dynamic-info.h: Here.  New file.
15598         * elf/dynamic-link.h: Include "get-dynamic-info.h".
15599         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
15600         * elf/setup-vdso.h: Here.  New file.
15601         * elf/rtld.c: Include "setup-vdso.h".
15602         (dl_main): Call setup_vdso.
15604 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
15606         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
15607         creal in comment listing functions tested.  List finite, isinf,
15608         isnan, isless, islessequal, isgreater, isgreaterequal,
15609         islessgreater, isunordered, lgamma_r and pow10 as functions and
15610         macros not tested.  Mention which functions not tested are aliases
15611         for other functions.  Fix typo.  Note that signs of NaNs are not
15612         tested.
15614         * scripts/config.guess: Update from config.git.
15615         * scripts/config.sub: Likewise.
15617 2012-10-04  Roland McGrath  <roland@hack.frob.com>
15619         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
15620         * misc/madvise.c (madvise): Renamed to __madvise.
15621         Make madvise a weak alias.
15622         * include/sys/mman.h: Declare __madvise.
15623         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
15624         * sysdeps/unix/syscalls.list
15625         (madvise): Make __madvise the strong name, and madvise a weak alias.
15626         * sysdeps/unix/sysv/linux/syscalls.list
15627         (madvise, mmap): Remove redundant entries.
15628         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
15629         * malloc/malloc.c (mtrim): Likewise.
15630         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
15632 2012-10-03  Roland McGrath  <roland@hack.frob.com>
15634         * sysdeps/mach/hurd/dl-cache.c: File removed.
15635         * config.h.in (USE_LDCONFIG): New #undef.
15636         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
15637         * configure: Regenerated.
15638         * elf/Makefile (dl-routines): Add dl-cache only under
15639         [$(use-ldconfig) = yes].
15640         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
15641         cache on [USE_LDCONFIG].
15642         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
15643         [USE_LDCONFIG].
15644         * elf/rtld.c (dl_main): Likewise.
15646 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
15648         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
15649         _SC_LEVEL4_CACHE_LINESIZE.
15651 2012-10-03  Roland McGrath  <roland@hack.frob.com>
15653         * sysdeps/unix/bsd/confstr.h: File removed.
15655 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
15657         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
15658         sys/sdt-config.h.
15660 2012-10-02  Roland McGrath  <roland@hack.frob.com>
15662         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
15663         Make 'mapoff' field ElfW(Off) rather than off_t.
15665 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
15667         * nscd/Makefile: Remove nscd-cflags and all its users.
15668         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
15669         (CFLAGS-nonlib): Add compiler flags for nscd modules.
15671         [BZ #10631]
15672         * malloc.c (malloc_printerr): Clarify error message.
15674 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
15676         [BZ #14648]
15677         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15678         Set bit_FMA_Usable if FMA is supported.
15679         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
15680         macro.
15681         (bit_FMA4_Usable): Updated.
15682         (index_FMA_Usable): New macro.
15683         (CPUID_FMA): Likewise
15684         (HAS_FMA): Defined with bit_FMA_Usable.
15686 2012-10-01  Roland McGrath  <roland@hack.frob.com>
15688         * bits/types.h (__swblk_t): Type removed.
15689         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
15690         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
15691         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15692         (__SWBLK_T_TYPE): Likewise.
15693         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15694         (__SWBLK_T_TYPE): Likewise.
15695         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15696         (__SWBLK_T_TYPE): Likewise.
15697         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15698         (__SWBLK_T_TYPE): Likewise.
15700 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
15701             Honza Horak <hhorak@redhat.com>
15703         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
15704         (xdr_mapname): Use YPMAXMAP as maxsize.
15705         (xdr_peername): Use YPMAXPEER as maxsize.
15706         (xdr_keydat): Use YPAXRECORD as maxsize.
15707         (xdr_valdat): Use YPMAXRECORD as maxsize.
15709 2012-10-01  Roland McGrath  <roland@hack.frob.com>
15711         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
15713         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
15714         * csu/init-first.c: ... here.
15715         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
15716         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15717         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15718         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15719         * sysdeps/i386/init-first.c: File removed.
15720         * sysdeps/sh/init-first.c: File removed.
15722 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
15724         [BZ #14645]
15725         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
15726         if x * y might underflow to zero and z is zero.
15727         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15728         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15729         * math/libm-test.inc (min_subnorm_value): New variable.
15730         (fma_test): Add more tests.
15731         (fma_test_towardzero): Likewise.
15732         (fma_test_downward): Likewise
15733         (fma_test_upward): Likewise.
15734         (initialize): Set min_subnorm_value.
15736 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
15738         [BZ #14638]
15739         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
15740         0 + 0.
15741         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
15742         mode for addition resulting in exact zero.
15743         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
15744         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
15745         exact 0 + 0.
15746         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15747         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15748         * math/libm-test.inc (fma_test): Add more tests.
15749         (fma_test_towardzero): New function.
15750         (fma_test_downward): Likewise.
15751         (fma_test_upward): Likewise.
15752         (main): Call the new functions.
15754 2012-09-28  David S. Miller  <davem@davemloft.net>
15756         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
15758 2012-09-28  Roland McGrath  <roland@hack.frob.com>
15760         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
15761         instead of SIGALRM.
15763         * sysdeps/gnu/_G_config.h: Moved to ...
15764         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
15765         * sysdeps/mach/hurd/_G_config.h: Moved to ...
15766         * sysdeps/generic/_G_config.h: ... here.
15768         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
15770         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
15772         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
15773         Conditionalize target on [libnss_test1.so-version].
15775         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
15777         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
15778         (elfobjdir): Move out of conditionals.
15780         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
15781         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
15782         (__nss_lookup_function): Conditionalize label remove_from_tree on
15783         [!DO_STATIC_NSS || SHARED], matching its only use.
15785 2012-09-28  David S. Miller  <davem@davemloft.net>
15787         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
15788         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
15789         file.
15790         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15791         sysdep_routines.
15792         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15793         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
15794         when HWCAP_SPARC_CRYPTO is present.
15796 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
15798         * io/tst-mknodat.c: Create a FIFO instead of a socket.
15800 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
15802         [BZ #6530]
15803         * stdio-common/vfprintf.c (process_string_arg): Revert
15804         2000-07-22 change.
15806 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
15808         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
15809         for testcase.
15810         * stdio-common/tst-sprintf.c: Include <locale.h>
15811         (main): Test sprintf's handling of incomplete multibyte
15812         characters.
15814 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
15816         * elf/dl-runtime.c (VERSYMIDX): Removed.
15817         * elf/dl-version.c (VERSYMIDX): Likewise.
15818         * elf/do-rel.h (VERSYMIDX): Likewise.
15819         (VALIDX): Likewise.
15820         * elf/dynamic-link.h (VERSYMIDX): Likewise.
15821         * elf/rtld.c (VALIDX): Likewise.
15822         (ADDRIDX): Likewise.
15823         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
15824         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
15825         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
15826         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
15827         (VALIDX): Likewise.
15828         (ADDRIDX): Likewise.
15830 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
15832         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
15834 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
15836         [BZ #11438]
15837         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
15838         to global scope.
15839         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
15840         addresses are in the same scope as 192.0.2/24.
15841         * posix/gai.conf: Document new scope table defaults.
15843 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15845         [BZ #5298]
15846         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
15847         for ftell.  Compute offsets from write pointers instead.
15848         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15850 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15852         [BZ #14543]
15853         * libio/Makefile (tests): New test case tst-fseek.
15854         * libio/tst-fseek.c: New test case to verify that fseek/ftell
15855         combination works in wide mode.
15856         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
15857         state when the external buffer state changes.
15859 2012-09-27  David S. Miller  <davem@davemloft.net>
15861         [BZ #14376]
15862         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
15863         pass reloc->r_addend in as the 'high' argument to
15864         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
15866         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15868 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
15870         * rt/tst-aio2.c: Include <pthread.h>.
15871         * rt/tst-aio3.c: Likewise.
15873 2012-09-27  Steve Ellcey  <sellcey@mips.com>
15875         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
15877 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
15879         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
15880         contents on [SHARED].
15882 2012-09-26  Marek Polacek  <polacek@redhat.com>
15884         [BZ #14530]
15885         [BZ #13741]
15886         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
15887         for C++ and GCC <4.3 as well as for non GCC compilers.
15889 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
15891         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15893 2012-09-25  Roland McGrath  <roland@hack.frob.com>
15895         * Makefile.in (all, install): Declare with .PHONY.
15896         Reported by Michael Hope <michael.hope@linaro.org>.
15898 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15900         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
15901         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
15902         system header.
15903         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
15904         Likewise.
15905         (sydep_routines): Add the new and the internal functions.
15906         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
15907         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
15908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
15909         (GLIBC_2.17): Add the new function.
15910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15911         (GLIBC_2.17): Likewise.
15912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
15913         (GLIBC_2.17): Likewise.
15914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
15915         (GLIBC_2.17): Likewise.
15916         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
15918 2012-09-25  Alan Modra  <amodra@gmail.com>
15920         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
15921         Add release barrier before setting once_control to say
15922         initialisation is done.  Add hints on lwarx.  Use macro in
15923         place of isync.
15924         (clear_once_control): Add release barrier.
15926 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
15928         [BZ #13629]
15929         * math/s_clog.c (__clog): Handle more values close to |z| = 1
15930         specially.
15931         * math/s_clog10.c (__clog10): Likewise.
15932         * math/s_clog10f.c (__clog10f): Likewise.
15933         * math/s_clog10l.c (__clog10l): Likewise.
15934         * math/s_clogf.c (__clogf): Likewise.
15935         * math/s_clogl.c (__clogl): Likewise.
15936         * math/Makefile (libm-calls): Add x2y2m1.
15937         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
15938         (__x2y2m1): Likewise.
15939         (__x2y2m1l): Likewise.
15940         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
15941         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
15942         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15943         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15944         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
15945         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
15946         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
15947         * sysdeps/i386/fpu/libm-test-ulps: Update.
15948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15950         [BZ #14621]
15951         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
15952         int as type of variable DEPTH.
15953         (glob): Use size_t instead of int as type of variables NEWCOUNT
15954         and OLD_PATHC.
15956 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15958         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15959         Add s_sincosf-sse2.
15960         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
15961         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
15962         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
15963         macros for using routine as __sincosf_ia32.
15964         Use macro for function declaration and weak_alias.
15965         * sysdeps/i386/fpu/libm-test-ulps: Update.
15967         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
15968         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15970         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
15971         subnormal argument.
15972         * math/s_cexpf.c (__cexpf): Likewise.
15973         * math/s_csinf.c (__csinf): Likewise.
15974         * math/s_csinhf.c (__csinhf): Likewise.
15975         * math/s_ctanf.c (__ctanf): Likewise.
15976         * math/s_ctanhf.c (__ctanhf): Likewise.
15977         * math/s_ccosh.c (__ccoshf): Likewise.
15978         * math/s_cexp.c (__cexpl): Likewise.
15979         * math/s_csin.c (__csin): Likewise.
15980         * math/s_csinh.c (__csinh): Likewise.
15981         * math/s_ctan.c (__ctan): Likewise.
15982         * math/s_ctanh.c (ctanh): Likewise.
15983         * math/s_ccoshl.c (__ccoshl): Likewise.
15984         * math/s_cexpl.c (__cexpl): Likewise.
15985         * math/s_csinl.c (__csinl): Likewise.
15986         * math/s_csinhl.c (__csinhl): Likewise.
15987         * math/s_ctanl.c (__ctanl): Likewise.
15988         * math/s_ctanhl.c (__ctanhl): Likewise.
15990 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
15992         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
15993         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
15994         (_IO_off_t): Define to __off_t, not _G_off_t.
15995         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
15996         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
15997         (_IO_wint_t): Define to wint_t, not _G_wint_t.
15998         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
15999         type of __dummy and __dummy2 fields.
16000         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
16001         (_G_ssize_t): Likewise.
16002         (_G_off_t): Likewise.
16003         (_G_pid_t): Likewise.
16004         (_G_uid_t): Likewise.
16005         (_G_wchar_t): Likewise.
16006         (_G_wint_t): Likewise.
16007         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
16008         (_G_ssize_t): Likewise.
16009         (_G_off_t): Likewise.
16010         (_G_pid_t): Likewise.
16011         (_G_uid_t): Likewise.
16012         (_G_wchar_t): Likewise.
16013         (_G_wint_t): Likewise.
16014         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
16015         (_G_ssize_t): Likewise.
16016         (_G_off_t): Likewise.
16017         (_G_pid_t): Likewise.
16018         (_G_uid_t): Likewise.
16019         (_G_wchar_t): Likewise.
16020         (_G_wint_t): Likewise.
16022 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16024         * malloc/arena.c: Include malloc-sysdep.h.
16025         (shrink_heap): Use check_may_shrink_heap to decide if madvise
16026         is sufficient to shrink the heap or an unmap is needed.
16027         * sysdeps/generic/malloc-sysdep.h: New file.  Define
16028         new function check_may_shrink_heap.
16029         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
16030         new function check_may_shrink_heap.
16032 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16034         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
16035         comments.
16037 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
16039         * catgets/test-gencat.sh: Add "set -e".
16040         * elf/tst-pathopt.sh: Likewise.
16041         * grp/tst_fgetgrent.sh: Likewise.
16042         * iconvdata/run-iconv-test.sh: Likewise.
16043         * intl/tst-gettext.sh: Likewise.
16044         * intl/tst-gettext2.sh: Likewise.
16045         * intl/tst-gettext4.sh: Likewise.
16046         * intl/tst-gettext6.sh: Likewise.
16047         * intl/tst-translit.sh: Likewise.
16048         * io/ftwtest-sh: Likewise.
16049         * libio/test-freopen.sh: Likewise.
16050         * malloc/tst-mtrace.sh: Likewise.
16051         * posix/globtest.sh: Likewise.
16052         * posix/tst-getconf.sh: Likewise.
16053         * posix/wordexp-tst.sh: Likewise.
16054         * stdio-common/tst-printf.sh: Likewise.
16055         * stdio-common/tst-unbputc.sh: Likewise.
16056         * stdlib/tst-fmtmsg.sh: Likewise.
16057         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16058         * catgets/Makefile: Do not specify -e option when running
16059         testsuite shell scripts.
16060         * elf/Makefile: Likewise.
16061         * grp/Makefile: Likewise.
16062         * iconvdata/Makefile: Likewise.
16063         * intl/Makefile: Likewise.
16064         * io/Makefile: Likewise.
16065         * libio/Makefile: Likewise.
16066         * malloc/Makefile: Likewise.
16067         * posix/Makefile: Likewise.
16068         * stdio-common/Makefile: Likewise.
16069         * stdlib/Makefile: Likewise.
16070         * sysdeps/x86_64/Makefile: Likewise.
16072         * io/ftwtest-sh: Add copyright header.
16073         * posix/globtest.sh: Likewise.
16074         * posix/tst-getconf.sh: Likewise.
16075         * posix/wordexp-tst.sh: Likewise.
16076         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16078 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
16080         [BZ #13679]
16081         * Makeconfig (+link): Defined as $(+link-static) if
16082         $(build-shared) isn't yes.
16083         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
16084         isn't yes.
16085         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
16087         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
16089         [BZ #14562]
16090         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
16091         new chunk size with MALLOC_ALIGN_MASK.
16093 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
16095         [BZ #5044]
16096         * stdio-common/printf_fphex.c: Include <stdbool.h> and
16097         <rounding-mode.h>.
16098         (__printf_fphex): Determine rounding using get_rounding_mode and
16099         round_away.
16100         * stdio-common/tst-printf-round.c (struct hex_test): New
16101         structure.
16102         (hex_tests): New variable.
16103         (test_hex_in_one_mode): New function.
16104         (do_test): Also run tests for hex float output.
16106 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
16108         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16109         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16110         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
16111         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16112         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16113         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
16114         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16115         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16117 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
16119         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
16120         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
16121         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
16122         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
16124 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
16126         [BZ #14579]
16127         * elf/rtld.c (dl_main): Limit the check for self loading to normal
16128         mode only.
16129         * elf/tst-rtld-load-self.sh: New test.
16130         * elf/Makefile: Run it.
16132 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
16134         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
16135         (tst-writev-ENV): Remove.
16136         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
16138 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
16140         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
16142 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
16144         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
16145         unconditional.
16146         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
16147         Likewise.
16148         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
16149         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
16150         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
16151         Likewise.
16153 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
16155         [BZ #14587]
16156         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
16157         * config.make.in (have-cpp-asm-debuginfo): Removed.
16158         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
16159         * configure: Regenerated.
16161 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
16163         [BZ #5044]
16164         * stdio-common/printf_fp.c: Include <stdbool.h> and
16165         <rounding-mode.h>.
16166         (___printf_fp): Determine rounding using get_rounding_mode and
16167         round_away.
16168         * stdio-common/tst-printf-round.c: New file.
16169         * stdio-common/Makefile (tests): Add tst-printf-round.
16170         (link-libm): New variable.
16171         ($(objpfx)tst-printf-round): Depend in $(link-libm).
16173 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
16175         [BZ #14576]
16176         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
16177         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
16178         Likewise.
16179         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
16180         Likewise.
16182 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
16184         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
16185         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16186         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16187         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16189 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
16191         [BZ #14518]
16192         * include/rounding-mode.h: New file.
16193         * sysdeps/generic/get-rounding-mode.h: Likewise.
16194         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
16195         * stdlib/strtod_l.c: Include <rounding-mode.h>.
16196         (MAX_VALUE): New macro.
16197         (MIN_VALUE): Likewise.
16198         (overflow_value): New function.
16199         (underflow_value): Likewise.
16200         (round_and_return): Use overflow_value and underflow_value to
16201         determine return values in overflow and underflow cases.  Use
16202         round_away to determine rounding depending on rounding mode.
16203         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
16204         determine return values in overflow and underflow cases.
16205         * stdlib/tst-strtod-round.c: Include <fenv.h>.
16206         (struct test_results): New structure.
16207         (struct test): Use struct test_results to store expected results
16208         for all rounding modes.
16209         (TEST): Include expected results for all rounding modes.
16210         (test_in_one_mode): New function.
16211         (do_test): Use test_in_one_mode to compute and check results.
16212         Check results for all rounding modes.
16213         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
16214         $(link-libm).
16216 2012-12-09  Allan McRae  <allan@archlinux.org>
16218         * sysdeps/i386/fpu/libm-test-ulps: Update
16220 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
16222         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
16223         (_G_int32_t): Likewise.
16224         (_G_uint16_t): Likewise.
16225         (_G_uint32_t): Likewise.
16226         (_G_HAVE_BOOL): Likewise.
16227         (_G_HAVE_ATEXIT): Likewise.
16228         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16229         (_G_HAVE_IO_FILE_OPEN): Likewise.
16230         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
16231         (_G_int32_t): Likewise.
16232         (_G_uint16_t): Likewise.
16233         (_G_uint32_t): Likewise.
16234         (_G_HAVE_BOOL): Likewise.
16235         (_G_HAVE_ATEXIT): Likewise.
16236         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16237         (_G_HAVE_IO_FILE_OPEN): Likewise.
16238         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
16239         (_G_int32_t): Likewise.
16240         (_G_uint16_t): Likewise.
16241         (_G_uint32_t): Likewise.
16242         (_G_HAVE_BOOL): Likewise.
16243         (_G_HAVE_ATEXIT): Likewise.
16244         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16245         (_G_HAVE_IO_FILE_OPEN): Likewise.
16247 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
16249         * csu/libc-tls.c: Update copyright years.
16251 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
16253         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
16254         [!_G_USING_THUNKS]: Remove conditional code.
16255         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
16256         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
16258         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
16259         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
16260         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16261         (_G_VTABLE_LABEL_PREFIX): Likewise.
16262         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16263         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16264         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16265         (_G_VTABLE_LABEL_PREFIX): Likewise.
16266         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16267         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16268         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16269         (_G_VTABLE_LABEL_PREFIX): Likewise.
16270         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16272 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
16274         * libio/Makefile: Include ../Makeconfig before tests.
16275         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
16276         only if $(build-shared) is yes.
16278         * iconv/gconv_db.c: Update copyright years.
16280 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16282         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
16283         unwind info if defined PIC. Fix special cases description.
16284         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
16286         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
16287         DP_HI_MASK entry.
16288         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
16290 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
16292         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
16294         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
16295         is NULL.
16297         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
16298         (LDLIBS-tst-chk4): This.
16299         (LDFLAGS-tst-chk5): Renamed to ...
16300         (LDLIBS-tst-chk5): This.
16301         (LDFLAGS-tst-chk6): Renamed to ...
16302         (LDLIBS-tst-chk6): This.
16303         (LDFLAGS-tst-lfschk4): Renamed to ...
16304         (LDLIBS-tst-lfschk4): This.
16305         (LDFLAGS-tst-lfschk5): Renamed to ...
16306         (LDLIBS-tst-lfschk5): This.
16307         (LDFLAGS-tst-lfschk6): Renamed to ...
16308         (LDLIBS-tst-lfschk6): This.
16310         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
16311         on $(common-objpfx)soversions.mk.
16313 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
16315         [BZ #10014]
16316         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
16317         example host name.
16319 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
16321         * malloc/arena.c (arena_get_retry): New function that gets
16322         another arena for the caller to try its request on.
16323         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
16324         current arena cannot fulfill the request.
16325         (__libc_memalign): Likewise.
16326         (__libc_memalign): Likewise.
16327         (__libc_pvalloc): Likewise.
16328         (__libc_calloc): Likewise.
16330 2012-09-05  John Tobey  <john.tobey@gmail.com>
16332         [BZ #13542]
16333         * manual/arith.texi (Operations on Complex): Fix description
16334         of carg branch cut.
16336 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
16338         [BZ #10014]
16339         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
16340         host name.
16342         [BZ #10038]
16343         * manual/memory.texi (Memory): Make order of menu items match
16344         order of sections.
16346 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
16348         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
16349         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
16350         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
16352 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
16354         * csu/libc-tls.c (static_dtv): Renamed to ...
16355         (_dl_static_dtv): This.  Make it global.
16356         (_dl_initial_dtv): Removed.
16357         (__libc_setup_tls): Updated.
16358         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
16359         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
16360         DL_INITIAL_DTV.
16362 2012-09-06  Petr Machata  <pmachata@redhat.com>
16364         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
16365         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
16366         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
16367         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
16369 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
16371         [BZ #14545]
16372         * csu/libc-tls.c (_dl_initial_dtv): New variable.
16373         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
16374         freeing dtv[-1].
16376 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
16378         [BZ #14544]
16379         * Makeconfig (link-static-before-libc): Replace $(+prector)
16380         with $(+prectorT).
16381         (link-static-after-libc): Replace $(+postctor) with
16382         $(+postctorT).
16383         (link-bounded): Replace $(+prector)/$(+postctor) with
16384         $(+prectorT)/$(+postctorT).
16385         (+prectorT): New macro.
16386         (+postctorT): Likewise.
16388 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
16390         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
16391         (round_str): Handle values above the maximum for IBM long double
16392         as inexact.
16393         * stdlib/tst-strtod-round.c (tests): Regenerated.
16395 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16397         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
16398         assembler flag.
16399         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
16400         zarch_nohighgprs around the zarch optimized routines.
16401         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
16402         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
16403         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
16404         for zarch.
16406 2012-09-05  David S. Miller  <davem@davemloft.net>
16408         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16410         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
16411         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
16412         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
16413         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16414         entries.
16416 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
16418         * malloc/arena.c: Fold copyright years.
16419         * malloc/mcheck.c, malloc/memusage.c: Likewise.
16421 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
16423         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
16425 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
16427         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
16429 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
16431         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
16432         change internal state upon failure.
16434 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
16436         * malloc/mcheck.c (mcheck_check_all): Fix typo.
16437         * malloc/memusage.c (mmap): Likewise.
16438         (mmap64, mremap): Likewise.  Adjust name in comment.
16440 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16442         * libio/fileops.c: Fix typos in comments.
16443         * libio/oldfileops.c: Likewise.
16444         * libio/wfileops.c: Likewise.
16446 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16448         [BZ #1349]
16449         * malloc/Makefile (tests): Add tst-malloc-usable test case.
16450         (tst-malloc-usable-ENV): Set environment for test case.
16451         * malloc/hooks.c (malloc_check_get_size): New function to get
16452         requested size.
16453         * malloc/malloc.c (musable): Use malloc_check_get_size.
16454         * malloc/tst-malloc-usable.c: New test case.
16456 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
16458         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
16460 2012-09-05  Allan McRae  <allan@archlinux.org>
16462         [BZ #13966]
16463         * configure.in (CXX_SYSINCLUDES): Use compiler output to
16464         determine header location.
16465         * configure: Regenerated.
16467 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
16469         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
16470         float format.
16471         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
16472         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
16473         format.
16474         (test): Regenerate.
16476 2012-09-04  David S. Miller  <davem@davemloft.net>
16478         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
16479         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
16480         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
16482 2012-09-04  Florian Weimer  <fweimer@redhat.com>
16484         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
16485         failures.
16487         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
16489 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
16491         [BZ #9914]
16492         * libio/iogetdelim.c: Include <limits.h>.
16493         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
16494         + len + 1 would overflow.
16496 2012-09-03  Andreas Jaeger  <aj@suse.de>
16498         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16499         * sysdeps/i386/fpu/libm-test-ulps: Update.
16501 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16503         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16504         Add s_sinf-sse2, s_conf-sse2.
16506         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
16507         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
16508         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
16509         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
16511         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
16512         for using routine as __sinf_ia32.
16513         Use macro for function declaration and weak_alias.
16514         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
16515         for using routine as __cosf_ia32.
16516         Use macro for function declaration and weak_alias.
16518         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
16519         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
16521         * sysdeps/x86_64/fpu/s_sinf.S: New file.
16522         * sysdeps/x86_64/fpu/s_cosf.S: New file.
16523         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16525         * math/libm-test.inc (cos_test): Add more test cases.
16526         (sin_test): Likewise.
16527         (sincos_test): Likewise.
16529 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16531         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
16532         (IFUNC_RESOLVE): Make pointers to the specialized implementations
16533         hidden.
16534         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16536 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
16538         [BZ #14538]
16539         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
16540         first element of the GOT.
16541         (elf_machine_load_address): Return the difference between
16542         the runtime address of _DYNAMIC and elf_machine_dynamic ().
16544 2012-09-01  Allan McRae  <allan@archlinux.org>
16546         [BZ #13412]
16547         * configure.in (AWK): Require gawk version 3.0 or later.
16548         * configure: Regenerated.
16550 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
16552         * sysdeps/unix/sysv/linux/kernel-features.h
16553         (__ASSUME_POSIX_CPU_TIMERS): Remove.
16554         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16555         [__NR_clock_getres]: Make code unconditional.
16556         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
16557         (clock_getcpuclockid): Remove code left unreachable by removal of
16558         conditionals.
16559         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
16560         code unconditional.
16561         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16562         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16563         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
16564         Make code unconditional.
16565         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16566         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16567         * sysdeps/unix/sysv/linux/clock_settime.c
16568         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
16569         conditional code.
16570         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
16571         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16573 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
16575         [BZ #14476]
16576         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
16577         scripts/test-installation.pl.
16579         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
16580         and $ld_so_version if it is set.
16582 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16584         [BZ #14516]
16585         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
16586         failure if reading from procfs failed.
16587         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
16589 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
16591         * sysdeps/unix/sysv/linux/kernel-features.h
16592         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
16593         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16594         Remove conditional code.
16595         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16596         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
16597         Remove conditional code.
16598         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16599         * sysdeps/unix/sysv/linux/i386/fxstat.c
16600         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16601         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16602         * sysdeps/unix/sysv/linux/i386/fxstatat.c
16603         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16604         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16605         * sysdeps/unix/sysv/linux/i386/lxstat.c
16606         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16607         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16608         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
16609         Remove conditional code.
16610         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16611         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16612         Remove conditional code.
16613         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16614         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
16615         <kernel-features.h>.
16616         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
16617         Remove.
16618         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
16619         Remove conditional code.
16620         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16621         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
16622         Remove conditional.
16624 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
16626         [BZ #5400]
16627         * NEWS: Add fixed bug number.
16629 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
16631         [BZ #14519]
16632         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
16633         underflowing exponent in case of negative sign.
16634         * stdlib/tst-strtod-round-data: Add more tests.
16635         * stdlib/tst-strtod-round.c (tests): Regenerated.
16637         [BZ #3479]
16638         * stdlib/strtod_l.c (NDIG): Remove.
16639         (HEXNDIG): Likewise.
16640         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
16641         smallest representable value.
16642         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
16643         lie within an exact representation of 1/2 ulp of the result.
16644         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
16645         unconditionally.
16646         (TENS_P9_IDX): Define unconditionally.
16647         (TENS_P9_SIZE): Likewise.
16648         (TENS_P10_IDX): Likewise.
16649         (TENS_P10_SIZE): Likewise.
16650         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
16651         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
16652         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
16653         entries for 10^2^13 and 10^2^14.
16654         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
16655         (TENS_P13_IDX): Define.
16656         (TENS_P13_SIZE): Likewise.
16657         (TENS_P14_IDX): Likewise.
16658         (TENS_P14_SIZE): Likewise.
16659         (_fpioconst_pow10): Change array size to
16660         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
16661         unconditional.
16662         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
16663         1024]: Add entries for 10^2^13 and 10^2^14.
16664         [LAST_POW10 > _LAST_POW10]: Remove #error.
16665         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
16666         (_fpioconst_pow10): Change array size to
16667         FPIOCONST_POW10_ARRAY_SIZE.
16668         * stdlib/gen-fpioconst.c: New file.
16669         * stdlib/gen-tst-strtod-round.c: Likewise.
16670         * stdlib/tst-strtod-round-data: Likewise.
16671         * stdlib/tst-strtod-round.c: Likewise.
16672         * stdlib/Makefile (tests): Add tst-strtod-round.
16674         [BZ #14459]
16675         * stdlib/strtod_l.c: Include <stdint.h>.
16676         (NDEBUG): Do not define.
16677         (round_and_return): Change EXPONENT parameter to type intmax_t.
16678         Rearrange calculations to avoid internal overflow possibilities.
16679         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
16680         Rearrange calculations to avoid internal overflow possibilities.
16681         Assert that number fits inside MPNSIZE limbs.
16682         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
16683         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
16684         calculations and add assertions to avoid internal overflow
16685         possibilities.  Add casts to avoid signed/unsigned operations.
16686         * stdlib/tst-strtod-overflow.c: New file.
16687         * stdlib/Makefile (tests): Add tst-strtod-overflow.
16689 2012-08-25  Marek Polacek  <polacek@redhat.com>
16691         * time/time.h: Fix some typos in comments.
16693 2012-08-23  Roland McGrath  <roland@hack.frob.com>
16695         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
16696         * posix/tst-rfc3484-2.c: Likewise.
16697         * posix/tst-rfc3484-3.c: Likewise.
16699 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
16701         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
16702         (EF_ARM_ABI_FLOAT_HARD): Likewise.
16704 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
16706         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
16707         #include of fxstatat64.c.
16709 2012-08-22  Roland McGrath  <roland@hack.frob.com>
16711         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
16712         * shadow/getspent_r.c: Likewise.
16713         * shadow/getspnam.c: Likewise.
16714         * shadow/getspnam_r.c: Likewise.
16715         * gshadow/getsgent.c: Likewise.
16716         * gshadow/getsgent_r.c: Likewise.
16717         * gshadow/getsgnam.c: Likewise.
16718         * gshadow/getsgnam_r.c: Likewise.
16719         * inet/getnetbyad.c: Likewise.
16720         * inet/getnetbyad_r.c: Likewise.
16721         * inet/getnetbynm.c: Likewise.
16722         * inet/getnetbynm_r.c: Likewise.
16723         * inet/getnetent.c: Likewise.
16724         * inet/getnetent_r.c: Likewise.
16725         * inet/getproto.c: Likewise.
16726         * inet/getproto_r.c: Likewise.
16727         * inet/getprtent.c: Likewise.
16728         * inet/getprtent_r.c: Likewise.
16729         * inet/getprtname.c: Likewise.
16730         * inet/getprtname_r.c: Likewise.
16731         * inet/getrpcbyname.c: Likewise.
16732         * inet/getrpcbyname_r.c: Likewise.
16733         * inet/getrpcbynumber.c: Likewise.
16734         * inet/getrpcbynumber_r.c: Likewise.
16735         * inet/getrpcent.c: Likewise.
16736         * inet/getrpcent_r.c: Likewise.
16737         * inet/getaliasent.c: Likewise.
16738         * inet/getaliasent_r.c: Likewise.
16739         * inet/getaliasname.c: Likewise.
16740         * inet/getaliasname_r.c: Likewise.
16741         * nscd/getgrgid_r.c: Likewise.
16742         * nscd/getgrnam_r.c: Likewise.
16743         * nscd/gethstbyad_r.c: Likewise.
16744         * nscd/gethstbynm3_r.c: Likewise.
16745         * nscd/getpwnam_r.c: Likewise.
16746         * nscd/getpwuid_r.c: Likewise.
16747         * nscd/getsrvbynm_r.c: Likewise.
16748         * nscd/getsrvbypt_r.c: Likewise.
16749         * nscd/gai.c: Likewise.
16751         * configure.in (build_nscd): New substituted variable, set
16752         by --disable-build-nscd and defaults to $use_nscd.
16753         * configure: Regenerated.
16754         * config.make.in (build-nscd): New substituted variable.
16755         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
16756         Change conditional to require [$(build-nscd) = yes] as well.
16757         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
16759         [BZ# 13696]
16760         * configure.in (use_nscd): New substituted variable, set by
16761         --disable-nscd.  If enabled, define USE_NSCD.
16762         * configure: Regenerated.
16763         * config.h.in: Add USE_NSCD.
16764         * config.make.in (use-nscd): New substituted variable.
16765         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
16766         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
16767         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
16768         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
16769         (CFLAGS-getgrnam_r.c): Likewise.
16770         (CFLAGS-initgroups.c): Likewise.
16771         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
16772         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
16773         Variables removed.
16774         * inet/getnetgrent_r.c
16775         (nscd_setnetgrent): New function, broken out of ...
16776         (setnetgrent): ... here.  Call it.
16777         (innetgr): Conditionalize nscd bits on [USE_NSCD].
16778         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
16779         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
16780         * nscd/Makefile (routines, aux): Move definitions after include of
16781         Makeconfig.  Conditionalize on [$(use-nscd) != no].
16782         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
16783         Conditionalize on [USE_NSCD].
16784         (is_nscd, nscd_init_cb): Likewise.
16785         (nss_load_library): Conditionalize init callback on [USE_NSCD].
16786         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
16787         * nss/nss_db/db-init.c: Likewise.
16788         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
16789         [USE_NSCD].
16790         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
16791         (make_request): Use it.
16792         (cache_valid_p): New function.
16793         (__check_pf): Use it.
16794         * NEWS: Add item for --disable-nscd.
16796 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
16798         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
16799         to support sed >= 4.2.1-20-ga9bf076.
16800         * configure: Regenerated.
16802 2012-08-22  Roland McGrath  <roland@hack.frob.com>
16804         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
16805         Conditionalize whole body on [IREL].
16807 2012-08-22  Jeff Law <law@redhat.com>
16809         [BZ #14505]
16810         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
16811         if the family is PF_UNSPEC.
16813 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
16815         * Makerules (lib-version): Rename from V.
16816         (install-lib-nosubdir): Change V to lib-version.
16818 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
16820         [BZ #14252]
16821         * powerpc32/power6/wcschr.c: New file.
16822         * powerpc32/power6/wcscpy.c: New file.
16823         * powerpc32/power6/wcsrchr.c: New file.
16824         * powerpc64/power6/wcschr.c: New file.
16825         * powerpc64/power6/wcscpy.c: New file.
16826         * powerpc64/power6/wcsrchr.c: New file.
16828 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
16830         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
16831         (two_way_short_needle): Use it.
16832         * string/strstr.c (AVAILABLE1_USES_J): Define.
16833         * string/strcasestr.c: Likewise.
16835         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
16836         array references.
16837         * string/strcasestr.c (TOLOWER): Make side-effect safe.
16839         [BZ #11607]
16840         * NEWS: Add an entry.
16841         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
16842         define their defaults.
16843         (two_way_short_needle): Detect end-of-string on-the-fly.
16844         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
16845         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
16846         * string/bug-strcasestr1.c: New test.
16847         * string/Makefile: Run it.
16849 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
16851         [BZ #11607]
16852         * string/str-two-way.h (two_way_short_needle): Optimize matching of
16853         the first character.
16855 2012-08-21  Roland McGrath  <roland@hack.frob.com>
16857         * csu/elf-init.c (__libc_csu_irel): Function removed.
16858         * csu/libc-start.c (apply_irel): New function.
16859         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
16861 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
16863         * sysdeps/unix/sysv/linux/kernel-features.h
16864         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
16865         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16866         <kernel-features.h>.
16867         [__NR_fadvise64_64]: Make code unconditional.
16868         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
16869         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16870         !__NR_fadvise64_64)]: Likewise.
16871         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16872         !__NR_fadvise64_64))]: Likewise.
16873         [__NR_fadvise64]: Make code unconditional.
16874         [!__NR_fadvise64]: Remove conditional code.
16875         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
16876         <kernel-features.h>.
16877         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16878         unconditional.
16879         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16880         conditional code.
16881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
16882         not include <kernel-features.h>.
16883         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16884         unconditional.
16885         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16886         conditional code.
16887         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
16888         include <kernel-features.h>.
16889         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16890         unconditional.
16891         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16892         conditional code.
16894 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
16896         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
16897         slight instruction rearrangements per scrollpipe analysis.
16898         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16900 2012-08-20  Roland McGrath  <roland@hack.frob.com>
16902         * manual/syslog.texi (syslog; vsyslog, closelog):
16903         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
16904         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
16906         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
16907         DSOCAPS to match condition on defining it.
16909 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
16911         * sysdeps/unix/sysv/linux/kernel-features.h
16912         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
16913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
16914         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16915         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
16917         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16918         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
16920         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16921         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16923         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
16924         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
16926         * sysdeps/unix/sysv/linux/kernel-features.h
16927         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
16928         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
16929         unconditional.
16930         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16931         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
16932         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16933         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16934         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
16935         Make code unconditional.
16936         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16937         (__mmap64) [!__NR_mmap2]: Likewise.
16938         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
16939         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16940         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16941         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
16942         [__NR_mmap2]: Make code unconditional.
16943         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16944         (__mmap64) [!__NR_mmap2]: Likewise.
16946 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16948         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
16950 2012-08-18  Andreas Jaeger  <aj@suse.de>
16952         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
16954 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
16956         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
16957         * include/unistd.h (__have_sock_cloexec): Likewise.
16958         (__have_pipe2): Likewise.
16959         (__have_dup3): Likewise.
16961 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
16963         [BZ #9685]
16964         * include/unistd.h (__have_pipe2): Change define into an extern int.
16965         (__have_dup3): Likewise.
16966         * socket/have_sock_cloexec.c: Include fcntl.h.
16967         (__have_pipe2): New variable.
16968         (__have_dup3): Likewise.
16970 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
16972         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
16974 2012-08-17  Marek Polacek  <polacek@redhat.com>
16976         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
16977         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
16979 2012-08-17  Roland McGrath  <roland@hack.frob.com>
16981         * configure.in: Add AC_SUBST for sysheaders.
16982         * configure: Regenerated.
16983         * config.make.in (sysheaders): New substituted variable.
16985         * sysdeps/unix/mkfifo.c: Moved ...
16986         * sysdeps/posix/mkfifo.c: ... here.
16987         * sysdeps/unix/mkfifoat.c: Moved ...
16988         * sysdeps/posix/mkfifoat.c: ... here.
16990         * sysdeps/unix/utime.c: Moved ...
16991         * sysdeps/posix/utime.c: ... here.
16993         * sysdeps/unix/time.c: Moved ...
16994         * sysdeps/posix/time.c: ... here.
16995         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
16996         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
16998         * sysdeps/unix/nice.c: Moved ...
16999         * sysdeps/posix/nice.c: ... here.
17001         * sysdeps/unix/alarm.c: Moved ...
17002         * sysdeps/posix/alarm.c: ... here.
17004         * intl/Makefile ($(codeset_mo)): Depend on the input file.
17006 2012-08-17  Jeff Law <law@redhat.com>
17008         * intl/Makefile (codeset_mo): New variable.
17009         ($(codeset_mo)): New target.
17010         (tst-codeset.out): Depend on that.  Remove explicit rule.
17011         (tst-gettext3.out, tst-gettext5.out): Likewise.
17012         (LOCPATH-ENV, tst-codeset-ENV): New variables.
17013         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
17014         * intl/tst-codeset.sh: Remove.
17015         * intl/tst-gettext3.sh: Likewise.
17016         * intl/tst-gettext5.sh: Likewise.
17018 2012-08-17  Roland McGrath  <roland@hack.frob.com>
17020         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
17021         * sysdeps/unix/syscalls.list: ... here.
17023         * sysdeps/posix/getaddrinfo.c
17024         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
17025         (gaiconf_init, gaiconf_reload): Use them.
17026         [!_STATBUF_ST_NSEC]
17027         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
17028         Define using time_t rather than struct timespec.
17030         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
17031         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
17032         Macros removed.
17033         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
17034         [!NO_THREADS].
17035         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
17036         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
17037         Likewise.
17039         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
17040         __libc_cleanup_push argument.
17042         * bits/param.h: New file.
17043         * misc/sys/param.h: New file.
17044         * include/sys/param.h: New file.
17045         * misc/Makefile (headers): Add bits/param.h.
17046         * sysdeps/generic/sys/param.h: File removed.
17047         * sysdeps/unix/sysv/linux/bits/param.h: New file.
17048         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
17049         * sysdeps/mach/hurd/bits/param.h: New file.
17050         * sysdeps/mach/hurd/sys/param.h: File removed.
17052         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
17053         last change.
17055         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
17056         [_IO_MTSAFE_IO].
17057         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
17058         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
17059         New macros.
17061         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
17062         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
17063         rather than -D_IO_MTSAFE_IO conditionally.
17064         * stdio-common/Makefile (CPPFLAGS): Likewise.
17065         * wcsmbs/Makefile (CPPFLAGS): Likewise.
17066         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
17067         Use $(libio-mtsafe).
17068         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
17069         of -D_IO_MTSAFE_IO.
17070         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
17071         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
17072         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
17073         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
17074         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
17075         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
17076         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
17077         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
17078         (CFLAGS-fread_u_chk.c): Likewise.
17079         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
17080         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
17081         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
17082         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
17083         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
17084         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
17085         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
17086         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
17087         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
17089         * libio/Makefile: Test [$(libc-reentrant) = yes]
17090         instead of [$(filter %REENTRANT, $(defines)) nonempty].
17092         * Makeconfig
17093         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
17094         * sysdeps/pthread/configure: File removed.
17095         * sysdeps/pthread/Makeconfig: New file.
17096         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
17097         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
17099 2012-08-16  Gary Benson  <gbenson@redhat.com>
17101         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
17102         unmapping the first object in a namespace.
17104 2012-08-16  Roland McGrath  <roland@hack.frob.com>
17106         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
17107         (__internal_setnetgrent): ... this.  Add internal_function to
17108         definition.  Add libc_hidden_def.
17109         (setnetgrent): Update caller.
17110         (internal_endnetgrent): Renamed to ...
17111         (__internal_endnetgrent): ... this.  Add internal_function to
17112         definition.  Add libc_hidden_def.
17113         (endnetgrent): Update caller.
17114         (internal_getnetgrent_r): Renamed to ...
17115         (__internal_getnetgrent_r): ... this.  Add internal_function to
17116         definition.  Add libc_hidden_def.
17117         (__getnetgrent_r): Update caller.
17118         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
17120 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
17122         * stdlib/longlong.h: Update from GCC.
17124 2012-08-16  Roland McGrath  <roland@hack.frob.com>
17126         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
17127         on _QL, which is set by umul_ppmm but never used.
17128         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
17129         variables, which are set by GMP macros but never used.
17130         * stdio-common/_itowa.c (_itowa): Likewise.
17131         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
17132         * stdlib/mod_1.c (mpn_mod_1): Likewise.
17134 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
17136         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
17137         struct La_sh_regs is not constant.
17138         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
17139         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
17140         and struct La_sparc64_regs are not constant.
17142 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
17144         * sysdeps/unix/sysv/linux/kernel-features.h
17145         (__ASSUME_POSIX_TIMERS): Remove.
17146         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17147         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17148         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
17149         Make code unconditional.
17150         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17151         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
17152         Make code unconditional.
17153         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17154         * sysdeps/unix/sysv/linux/clock_nanosleep.c
17155         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
17156         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17157         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
17158         Make code unconditional.
17159         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17160         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
17161         (__libc_missing_posix_timers): Remove.
17163 2012-08-15  Roland McGrath  <roland@hack.frob.com>
17165         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
17166         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
17168         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
17170         * elf/dl-sym.c: Include <stdlib.h>.
17172         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
17173         constants, which avoids warnings in 32-bit builds.
17175         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
17176         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
17178         * misc/lseek.c: File moved to ...
17179         * io/lseek.c: ... here.
17181         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
17183         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
17184         shifting LEN more than 31 bits at once.
17186 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17188         [BZ #14195]
17189         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
17190         segmentation fault for a case of two empty input strings.
17191         * string/test-strncasecmp.c (check1): Renamed to...
17192         (bz12205): ...this.
17193         (bz14195): Add new testcase for two empty input strings and N > 0.
17194         (test_main): Call new testcase, adapt for renamed function.
17196 2012-08-15  Andreas Jaeger  <aj@suse.de>
17198         [BZ #14090]
17199         * crypt/md5test2.c: New test, based on test supplied by Serge
17200         Belyshev <belyshev@depni.sinp.msu.ru>.
17201         * crypt/Makefile (xtests): Add md5test-giant..
17202         * crypt/Makefile ($(objpfx)md5test-giant): Add.
17204 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
17206         [BZ #14090]
17207         * crypt/md5.c (md5_process_block): Don't assume the buffer
17208         length is less than 2**32.
17209         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
17210         length is less than 2**64.
17212 2012-08-15  Roland McGrath  <roland@hack.frob.com>
17214         * string/str-two-way.h: Include <sys/param.h>.
17215         (MAX): Macro removed.
17217         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
17218         Move #define and #undef of memmove to just before and after
17219         including <string.h>.
17221         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
17222         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
17223         and after including <string.h>.  Move declarations of
17224         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
17225         to before #include "string/memmove.c".
17227         * include/dirent.h: Declare __getdirentries.
17229         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
17230         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
17232 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
17234         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
17235         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
17236         * sysdeps/i386/configure: Regenerated.
17237         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
17238         STABS_CURRENT_FILE, and STABS_FUN.
17239         (END): Remove call to STABS_FUN_END.
17240         (STABS_CURRENT_FILE1): Delete.
17241         (STABS_CURRENT_FILE): Likewise.
17242         (STABS_FUN): Likewise.
17243         (STABS_FUN_END): Likewise.
17244         (STABS_FUN2): Likewise.
17245         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
17246         * sysdeps/x86_64/configure: Regenerated.
17248 2012-08-14  Roland McGrath  <roland@hack.frob.com>
17250         * elf/dl-open.c: Include <atomic.h>.
17251         * elf/dl-lookup.c: Likewise.
17253 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
17255         * sysdeps/unix/sysv/linux/kernel-features.h
17256         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
17257         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
17258         unconditionally.
17259         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
17260         unconditionally.
17261         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
17262         condition on __ASSUME_CLONE_THREAD_FLAGS.
17264 2012-08-14  Andreas Jaeger  <aj@suse.de>
17266         * sysdeps/i386/fpu/libm-test-ulps: Update.
17268 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
17270         * include/atomic.h (atomic_exchange_and_add): Split into ...
17271         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
17272         New atomic macros.
17274 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
17276         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17278 2012-08-13  Jeff Law <law@redhat.com>
17280         * manual/stdio.texi (snprintf): Clarify handling of the trailing
17281         null byte in the output string.
17283 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
17285         * sysdeps/unix/sysv/linux/kernel-features.h
17286         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
17287         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
17288         (__ASSUME_ARG_MAX_STACK_BASED): Define.
17289         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17290         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
17291         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
17292         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
17294 2012-08-09  Jeff Law <law@redhat.com>
17296         [BZ #13939]
17297         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
17298         When avoid_arena is set, don't retry in the that arena.  Pick the
17299         next one, whatever it might be.
17300         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
17301         (arena_lock): Pass in new parameter to arena_get2.
17302         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
17303         arena_get2.
17304         (__libc_malloc): Unify retrying after main arena failure with
17305         __libc_memalign version.
17306         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
17308 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
17310         [BZ #14166]
17311         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
17312         to __redirect_strstr.
17313         (__strstr_sse42): Use typeof __redirect_strstr.
17314         (__strstr_ia32): Likewise.
17315         (__libc_strstr): New prototype.
17316         (strstr): Renamed to ...
17317         (__libc_strstr): This.
17318         (strstr): New strong alias of __libc_strstr.
17319         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17320         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
17321         __redirect_time.
17322         Include <time.h>.
17323         (__libc_time): New prototype.
17324         (time_ifunc): Replace time with __libc_time.
17325         (time): New strong alias and hidden definition of __libc_time.
17326         (__GI_time): Remove strong alias.
17327         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
17328         Include <stddef.h>.
17329         (memmove): Redefined to __redirect_memmove.
17330         (__memmove_sse2): Use typeof __redirect_memmove.
17331         (__memmove_ssse3): Likewise.
17332         (__memmove_ssse3_back): Likewise.
17333         (__libc_memmove): New prototype.
17334         (memmove): Renamed to ...
17335         (__libc_memmove): This.
17336         (memmove): New strong alias of __libc_memmove.
17338 2012-08-08  Mark Salter  <msalter@redhat.com>
17340         * elf/elf.h
17341         (R_MN10300_TLS_GD): Define.
17342         (R_MN10300_TLS_LD): Likewise.
17343         (R_MN10300_TLS_LDO): Likewise.
17344         (R_MN10300_TLS_GOTIE): Likewise.
17345         (R_MN10300_TLS_IE): Likewise.
17346         (R_MN10300_TLS_LE): Likewise.
17347         (R_MN10300_TLS_DTPMOD): Likewise.
17348         (R_MN10300_TLS_DTPOFF): Likewise.
17349         (R_MN10300_TLS_TPOFF): Likewise.
17350         (R_MN10300_SYM_DIFF): Likewise.
17351         (R_MN10300_ALIGN): Likewise.
17352         (R_MN10300_NUM): Update.
17354 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
17356         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
17357         Remove.
17359 2012-08-08  Roland McGrath  <roland@hack.frob.com>
17361         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
17363         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
17364         sysdeps/unix -> sysdeps/posix move.
17365         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17367 2012-08-07      Allan McRae     <allan@archlinux.org>
17369         [BZ #14303]
17370         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
17371         (SUNOS_CPP): Likewise.
17372         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
17373         not found.
17374         (open_input): Call CPP using execvp.
17376 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
17378         * sysdeps/unix/sysv/linux/kernel-features.h
17379         (__ASSUME_PROT_GROWSUPDOWN): Remove.
17380         (__ASSUME_NO_CLONE_DETACHED): Likewise.
17381         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17382         (__ASSUME_WAITID_SYSCALL): Likewise.
17383         * sysdeps/unix/sysv/linux/dl-execstack.c
17384         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
17385         code unconditional.
17386         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
17387         conditional code.
17388         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
17389         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
17390         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
17391         code.
17392         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
17393         unconditional.
17394         [__ASSUME_WAITID_SYSCALL]: Likewise.
17395         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
17397 2012-08-07  Roland McGrath  <roland@hack.frob.com>
17399         * sysdeps/unix/closedir.c: Renamed to ...
17400         * sysdeps/posix/closedir.c: ... here.
17401         * sysdeps/unix/dirfd.c: Renamed to ...
17402         * sysdeps/posix/dirfd.c: ... here.
17403         * sysdeps/unix/dirstream.h: Renamed to ...
17404         * sysdeps/posix/dirstream.h: ... here.
17405         * sysdeps/unix/fdopendir.c: Renamed to ...
17406         * sysdeps/posix/fdopendir.c: ... here.
17407         * sysdeps/unix/opendir.c: Renamed to ...
17408         * sysdeps/posix/opendir.c: ... here.
17409         * sysdeps/unix/readdir.c: Renamed to ...
17410         * sysdeps/posix/readdir.c: ... here.
17411         * sysdeps/unix/readdir_r.c: Renamed to ...
17412         * sysdeps/posix/readdir_r.c: ... here.
17413         * sysdeps/unix/rewinddir.c: Renamed to ...
17414         * sysdeps/posix/rewinddir.c: ... here.
17415         * sysdeps/unix/seekdir.c: Renamed to ...
17416         * sysdeps/posix/seekdir.c: ... here.
17417         * sysdeps/unix/telldir.c: Renamed to ...
17418         * sysdeps/posix/telldir.c: ... here.
17419         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
17420         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
17421         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
17422         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
17424         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
17425         * bits/fcntl.h: ... here.
17427         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
17428         not 0.
17429         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
17430         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
17431         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
17432         (struct flock): Move l_start, l_len to the beginning.
17433         Use __pid_t for l_pid.
17434         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
17435         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
17436         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
17437         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
17438         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
17439         [__USE_LARGEFILE64] (struct flock64): New type.
17440         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
17442         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
17443         * bits/dirent.h: ... here.
17445         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
17446         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
17448 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
17450         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17451         Change from 2.6.0 to 2.6.16.
17452         * sysdeps/unix/sysv/linux/configure: Regenerated.
17453         * sysdeps/unix/sysv/linux/kernel-features.h
17454         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
17455         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
17456         version.
17457         (__ASSUME_UTIMES): Likewise.
17458         (__ASSUME_CLONE_STOPPED): Remove.
17459         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
17460         architectures, not kernel version.
17461         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
17462         (__ASSUME_NO_CLONE_DETACHED): Likewise.
17463         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17464         (__ASSUME_WAITID_SYSCALL): Likewise.
17465         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
17466         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
17467         * README: State 2.6.16 as minimum Linux kernel version.  Do not
17468         refer to older versions.
17470 2012-08-06  Roland McGrath  <roland@hack.frob.com>
17472         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
17473         Define alphasort64 as an alias.
17474         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
17475         Define versionsort64 as an alias.
17476         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
17477         Define scandir64 as an alias.
17478         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
17479         Define scandirat64 as an alias.
17480         * dirent/alphasort64.c (alphasort64):
17481         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
17482         * dirent/versionsort64.c: Likewise.
17483         * dirent/scandir64.c: Likewise.
17484         * dirent/scandirat64.c: Likewise.
17485         * sysdeps/wordsize-64/alphasort.c: File removed.
17486         * sysdeps/wordsize-64/alphasort64.c: File removed.
17487         * sysdeps/wordsize-64/scandir.c: File removed.
17488         * sysdeps/wordsize-64/scandir64.c: File removed.
17489         * sysdeps/wordsize-64/scandirat.c: File removed.
17490         * sysdeps/wordsize-64/scandirat64.c: File removed.
17491         * sysdeps/wordsize-64/versionsort.c: File removed.
17492         * sysdeps/wordsize-64/versionsort64.c: File removed.
17493         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
17494         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
17495         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
17496         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
17497         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
17498         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
17499         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
17500         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
17502         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
17503         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17504         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
17505         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17506         [defined __arch64__ || defined __sparcv9]
17507         (__INO_T_MATCHES_INO64_T): New macro.
17508         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17509         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
17510         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
17511         * sysdeps/unix/sysv/linux/bits/dirent.h
17512         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
17513         (_DIRENT_MATCHES_DIRENT64): New macro.
17515         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
17516         Define lockf64 as an alias.
17517         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
17518         Define fseeko64 as an alias.
17519         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
17520         Define ftello64 as an alias.
17521         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
17522         Define _IO_fgetpos64 and fgetpos64 as aliases.
17523         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
17524         Define _IO_fsetpos64 and fsetpos64 as aliases.
17525         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
17526         Conditionalize body on this.
17527         * libio/fseeko64.c: Likewise.
17528         * libio/ftello64.c: Likewise.
17529         * libio/iofgetpos64.c: Likewise.
17530         * libio/iofsetpos64.c: Likewise.
17531         * sysdeps/wordsize-64/lockf.c: File removed.
17532         * sysdeps/wordsize-64/lockf64.c: File removed.
17533         * sysdeps/wordsize-64/fseeko.c: File removed.
17534         * sysdeps/wordsize-64/fseeko64.c: File removed.
17535         * sysdeps/wordsize-64/ftello.c: File removed.
17536         * sysdeps/wordsize-64/ftello64.c: File removed.
17537         * sysdeps/wordsize-64/iofgetpos.c: File removed.
17538         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
17539         * sysdeps/wordsize-64/iofsetpos.c: File removed.
17540         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
17541         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
17542         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
17543         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
17544         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
17545         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
17546         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
17547         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
17548         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
17549         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
17550         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
17552         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17553         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17554         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
17555         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17556         [defined __arch64__ || defined __sparcv9]
17557         (__OFF_T_MATCHES_OFF64_T): New macro.
17558         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17559         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17560         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17561         (__OFF_T_MATCHES_OFF64_T): New macro.
17563 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
17565         * stdlib/secure-getenv.c (__secure_getenv): Replace
17566         GLIBC_2_16 with GLIBC_2_17.
17568 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
17570         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
17571         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17573 2012-08-03  David S. Miller  <davem@davemloft.net>
17575         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17577 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
17579         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
17580         Remove.
17581         (__ASSUME_CORRECT_SI_PID): Likewise.
17582         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
17583         (__ASSUME_TMPFS_NAME): Likewise.
17584         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
17585         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
17586         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
17587         (HAVE_AUX_SECURE): Make definition unconditional.
17588         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
17589         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
17591 2012-08-03  Roland McGrath  <roland@hack.frob.com>
17593         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
17594         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
17595         * sysdeps/mach/hurd/eloop-threshold.h: New file.
17596         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17597         __eloop_threshold instead of SYMLOOP_MAX.
17599         * sysdeps/generic/eloop-threshold.h: New file.
17600         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
17601         of MAXSYMLINKS.
17602         * elf/chroot_canon.c (chroot_canon): Likewise.
17604 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
17606         [BZ #13717]
17607         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17608         Change to 2.6.0 everywhere.
17609         * sysdeps/unix/sysv/linux/configure: Regenerated.
17610         * sysdeps/unix/sysv/linux/kernel-features.h
17611         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
17612         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
17613         kernel versions.
17614         (__ASSUME_POSIX_TIMERS): Define unconditionally.
17615         (__ASSUME_FUTEX_REQUEUE): Remove.
17616         (__ASSUME_STATFS64): Define unconditionally.
17617         (__ASSUME_AT_SECURE): Likewise.
17618         (__ASSUME_CORRECT_SI_PID): Likewise.
17619         (__ASSUME_TGKILL): Define without depending on kernel version for
17620         i386.
17621         (__ASSUME_UTIMES): Likewise.
17622         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
17623         kernel version.
17624         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
17625         (__ASSUME_TMPFS_NAME): Likewise.
17626         * README: Update reference to Linux kernel versions.
17628 2012-08-02  Marek Polacek  <polacek@redhat.com>
17630         [BZ# 14150]
17631         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
17632         libc_cv_asm_type_prefix with %.
17633         * configure: Regenerated.
17634         * include/libc-symbols.h: Remove comment about
17635         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17636         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
17637         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
17638         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
17639         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
17640         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17641         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
17642         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
17643         * elf/tst-unique2mod1.c: Likewise.
17644         * elf/tst-unique1mod2.c: Likewise.
17645         * elf/tst-unique1mod1.c: Likewise.
17646         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
17647         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
17648         Replace ASM_TYPE_DIRECTIVE with .type.
17649         * sysdeps/s390/s390-64/sysdep.h: Likewise.
17650         * sysdeps/i386/sysdep.h: Likewise.
17651         * sysdeps/x86_64/sysdep.h: Likewise.
17652         * sysdeps/sh/sysdep.h: Likewise.
17653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17654         Do not define ASM_TYPE_DIRECTIVE.
17655         * sysdeps/powerpc/sysdep.h: Likewise.
17656         * sysdeps/powerpc/powerpc32/sysdep.h:
17657         Replace ASM_TYPE_DIRECTIVE with .type.
17658         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17659         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17660         * sysdeps/i386/fpu/e_powf.S: Likewise.
17661         * sysdeps/i386/fpu/e_expl.S: Likewise.
17662         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17663         * sysdeps/i386/fpu/e_acosh.S: Likewise.
17664         * sysdeps/i386/fpu/e_pow.S: Likewise.
17665         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17666         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17667         * sysdeps/i386/fpu/s_expm1.S: Likewise.
17668         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17669         * sysdeps/i386/fpu/e_log2.S: Likewise.
17670         * sysdeps/i386/fpu/e_log2l.S: Likewise.
17671         * sysdeps/i386/fpu/e_scalb.S: Likewise.
17672         * sysdeps/i386/fpu/e_powl.S: Likewise.
17673         * sysdeps/i386/fpu/e_log10f.S: Likewise.
17674         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17675         * sysdeps/i386/fpu/e_logl.S: Likewise.
17676         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17677         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17678         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17679         * sysdeps/i386/fpu/e_log2f.S: Likewise.
17680         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17681         * sysdeps/i386/fpu/e_log.S: Likewise.
17682         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17683         * sysdeps/i386/fpu/e_logf.S: Likewise.
17684         * sysdeps/i386/fpu/e_log10l.S: Likewise.
17685         * sysdeps/i386/fpu/e_atanh.S: Likewise.
17686         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17687         * sysdeps/i386/fpu/e_log10.S: Likewise.
17688         * sysdeps/i386/fpu/s_frexp.S: Likewise.
17689         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17690         * sysdeps/i386/fpu/s_asinh.S: Likewise.
17691         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17692         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17693         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
17694         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17695         * sysdeps/i386/i686/strtok.S: Likewise.
17696         * sysdeps/i386/i386-mcount.S: Likewise.
17697         * sysdeps/i386/strtok.S: Likewise.
17698         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
17699         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17700         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17701         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17702         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17703         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17704         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17705         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17706         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17707         * sysdeps/x86_64/_mcount.S: Likewise.
17708         * sysdeps/x86_64/strtok.S: Likewise.
17709         * sysdeps/sh/_mcount.S: Likewise.
17711 2012-08-01  Roland McGrath  <roland@hack.frob.com>
17713         * libio/iofopen.c: Include <fcntl.h>.
17714         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
17715         (_IO_fopen64, fopen64): Define as aliases.
17716         * libio/iofopen64.c: Include <fcntl.h>.
17717         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
17718         Conditionalize body on this.
17719         * sysdeps/wordsize-64/iofopen.c: File removed.
17720         * sysdeps/wordsize-64/iofopen64.c: File removed.
17722 2012-08-01  Marek Polacek  <polacek@redhat.com>
17724         * libc/Makeconfig: Use elf in place of binfmt-subdir.
17725         Use dlfcn directly instead of a variable.
17726         (binfmt-subdir): Do not define.
17727         (dlfcn): Likewise.
17729 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
17731         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
17732         Remove all definitions.
17733         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
17734         <kernel-features.h>.
17735         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17736         (miss_F_GETOWN_EX): Remove all definitions.
17737         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
17738         macro definition.
17739         [!__ASSUME_FCNTL64]: Remove conditional code.
17740         [__ASSUME_FCNTL64]: Make code unconditional.
17741         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
17742         <kernel-features.h>.
17743         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17744         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
17745         (lockf64) [__NR_fcntl64]: Make code unconditional.
17746         (lockf64) [__ASSUME_FCNTL64]: Likewise.
17748         * sysdeps/unix/sysv/linux/kernel-features.h
17749         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
17750         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
17751         Make code unconditional.
17752         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17753         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
17755         [__NR_vfork]: Make code unconditional.
17756         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17757         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
17759         [__NR_vfork]: Make code unconditional.
17760         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17761         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17763 2012-08-01  Roland McGrath  <roland@hack.frob.com>
17765         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
17766         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
17768         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17769         Define mkstemp64 as an alias.
17770         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17771         Define mkstemps64 as an alias.
17772         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17773         Define mkostemp64 as an alias.
17774         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17775         Define mkostemps64 as an alias.
17776         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
17777         Conditionalize body on this.
17778         * misc/mkostemp64.c: Likewise.
17779         * misc/mkostemps64.c: Likewise.
17780         * misc/mkstemps64.c: Likewise.
17781         * sysdeps/wordsize-64/mkstemp64.c: File removed.
17782         * sysdeps/wordsize-64/mkostemp64.c: File removed.
17783         * sysdeps/wordsize-64/mkostemp.c: File removed.
17784         * sysdeps/wordsize-64/mkstemp.c: File removed.
17785         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
17786         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
17787         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
17788         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
17790         [BZ #14138]
17791         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
17792         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
17793         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
17794         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
17796         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
17797         compat_symbol macros from <shlib-compat.h> rather than the underlying
17798         default_symbol_version and symbol_version macros, so that DEFAULT
17799         lines in shlib-versions are respected.
17800         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
17802 2012-08-01  Florian Weimer  <fweimer@redhat.com>
17804         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
17805         Declare with warn_unused_result.
17806         (setgid, setregid, setegid, setresgid): Likewise.
17807         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
17808         Likewise.
17809         * WUR-REPORT: Remove set*id functions.
17811 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
17813         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
17815 2012-07-31  Roland McGrath  <roland@hack.frob.com>
17817         [BZ #10191]
17818         * include/sys/socket.h (__libc_accept, __libc_accept4):
17819         Add attribute_hidden.
17820         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
17822         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
17823         use of PTR_MANGLE.
17824         * inet/getnetgrent_r.c (setup): Likewise.
17826         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
17828 2012-07-31  David S. Miller  <davem@davemloft.net>
17830         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17832 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
17834         [BZ #13629]
17835         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
17836         value between 1.0 and 2.0 and smaller part has absolute value less
17837         than 1.0.
17838         * math/s_clog10.c (__clog10): Likewise.
17839         * math/s_clog10f.c (__clog10f): Likewise.
17840         * math/s_clog10l.c (__clog10l): Likewise.
17841         * math/s_clogf.c (__clogf): Likewise.
17842         * math/s_clogl.c (__clogl): Likewise.
17843         * math/libm-test.inc (clog_test): Add more tests.
17844         (clog10_test): Likewise.
17845         * sysdeps/i386/fpu/libm-test-ulps: Update.
17846         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17848 2012-07-31  Florian Weimer  <fweimer@redhat.com>
17850         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
17851         Exit with zero in case no suitable GID is found, and write a
17852         message to standard error.
17854 2012-07-30  Roland McGrath  <roland@hack.frob.com>
17856         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
17857         rather than to 1.
17858         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
17859         (MAXPATHLEN): Removed.
17860         (NOGROUP, NODEV): New macros.
17861         (setbit, clrbit, isset, isclr): New macros.
17862         (howmany, roundup, powerof2): New macros.
17863         (DEV_BSIZE): New macro.
17865         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
17866         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
17868         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
17869         definition on [!__NO_LONG_DOUBLE_MATH].
17871         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
17872         PTR_MANGLE and PTR_DEMANGLE.
17874         * socket/accept4.c (accept4): Rename to __libc_accept4.
17875         Define accept4 as a weak alias.
17877         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
17878         on [_DIRENT_HAVE_D_TYPE].
17879         * io/ftw.c (ftw_dir): Likewise.
17881         * io/xmknod.c (__xmknod): Don't check PATH for being null.
17883         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
17885         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
17886         Use the BSD numbers rather than the arbitrary ones we had.
17887         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
17888         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
17889         (SIGXCPU, SIGXFSZ): New macros.
17890         (_NSIG): Now 32.
17892         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
17893         initializer on [_LIBC_REENTRANT].
17895         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
17896         definitions inside [_POSIX_MAPPED_FILES].
17898         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
17900         * dirent/opendir.c: Include <fcntl.h>.
17902         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
17903         (__libc_getspecific): Likewise.
17904         (__libc_key_create): Likewise.
17906         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
17907         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
17908         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
17909         (tmpfile64): Define as alias.
17910         * sysdeps/wordsize-64/tmpfile.c: File removed.
17911         * sysdeps/wordsize-64/tmpfile64.c: File removed.
17912         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
17913         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
17915         * stdio-common/vfscanf.c: Include <stdbool.h>.
17916         * nss/makedb.c: Likewise.
17917         * stdio-common/_i18n_number.h: Likewise.
17918         * argp/argp-help.c: Likewise.
17919         * posix/wordexp.c: Likewise.
17920         * sysdeps/posix/spawni.c: Likewise.
17921         * nss/nss_files/files-initgroups.c: Likewise.
17922         * stdio-common/reg-modifier.c: Include <stdlib.h>.
17923         * nss/nss_files/files-initgroups.c: Likewise.
17924         * nss/nss_db/db-netgrp.c: Likewise.
17925         * nss/nss_db/db-initgroups.c: Likewise.
17926         * io/fchmodat.c: Include <sys/stat.h>.
17928         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
17929         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
17931         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
17932         [HAVE_MMAP].
17934         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
17935         Add multiple inclusion protection.
17937 2012-07-27  David S. Miller  <davem@davemloft.net>
17939         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17941 2012-07-27  Gary Benson  <gbenson@redhat.com>
17943         [BZ #14298]
17944         * elf/rtld.c: Include <stap-probe.h>.
17945         (dl_main): Added static probes "init_start" and "init_complete".
17946         * elf/dl-load.c: Include <stap-probe.h>.
17947         (lose): Take new parameter "nsid".
17948         Added static probe "map_failed".
17949         (_dl_map_object_from_fd): Pass namespace id to lose.
17950         Added static probe "map_start".
17951         (open_verify): Pass namespace id to lose.
17952         * elf/dl-open.c: Include <stap-probe.h>.
17953         (dl_open_worker) Added static probes "map_complete", "reloc_start"
17954         and "reloc_complete".
17955         * elf/dl-close.c: Include <stap-probe.h>.
17956         (_dl_close_worker): Added static probes "unmap_start" and
17957         "unmap_complete".
17958         * elf/rtld-debugger-interface.txt: New file documenting the above.
17960 2012-07-26  Roland McGrath  <roland@hack.frob.com>
17962         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
17963         rather than a string variable.
17964         * sunrpc/rpc_main.c (h_output): Likewise.
17965         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
17967 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
17969         * inet/check_native.c: New file.
17971 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
17973         [BZ #13629]
17974         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
17975         if larger part has absolute value 1.0.
17976         * math/s_clog10.c (__clog10): Likewise.
17977         * math/s_clog10f.c (__clog10f): Likewise.
17978         * math/s_clog10l.c (__clog10l): Likewise.
17979         * math/s_clogf.c (__clogf): Likewise.
17980         * math/s_clogl.c (__clogl): Likewise.
17981         * math/libm-test.inc (clog_test): Add more tests.
17982         (clog10_test): Likewise.
17983         * sysdeps/i386/fpu/libm-test-ulps: Update.
17984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17986         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
17987         (pltexit): Likewise.
17988         (La_regs): Likewise.
17989         (La_retval): Likewise.
17990         (int_retval): Likewise.
17991         Update #error for removed macros to refer only to definitions in
17992         tst-audit.h.
17993         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
17994         macro.
17995         (pltexit): Likewise.
17996         (La_regs): Likewise.
17997         (La_retval): Likewise.
17998         (int_retval): Likewise.
17999         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
18000         macro.
18001         (pltexit): Likewise.
18002         (La_regs): Likewise.
18003         (La_retval): Likewise.
18004         (int_retval): Likewise.
18005         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
18006         macro.
18007         (pltexit): Likewise.
18008         (La_regs): Likewise.
18009         (La_retval): Likewise.
18010         (int_retval): Likewise.
18011         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
18012         macro.
18013         (pltexit): Likewise.
18014         (La_regs): Likewise.
18015         (La_retval): Likewise.
18016         (int_retval): Likewise.
18017         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
18018         macro.
18019         (pltexit): Likewise.
18020         (La_regs): Likewise.
18021         (La_retval): Likewise.
18022         (int_retval): Likewise.
18023         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
18024         macro.
18025         (pltexit): Likewise.
18026         (La_regs): Likewise.
18027         (La_retval): Likewise.
18028         (int_retval): Likewise.
18029         * sysdeps/generic/tst-audit.h: Update comment to refer only to
18030         macro definitions in tst-audit.h.
18031         * sysdeps/i386/tst-audit.h: New file.
18032         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
18033         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
18034         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
18035         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
18036         * sysdeps/sh/tst-audit.h: Likewise.
18037         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
18038         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
18039         * sysdeps/x86_64/tst-audit.h: Likewise.
18041 2012-07-26  Andreas Jaeger  <aj@suse.de>
18043         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
18044         ptrace.
18046         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
18047         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
18048         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
18049         PTRACE_O_MASK.
18050         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
18051         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
18052         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
18054         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
18055         value.
18057         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
18058         _sigsys.
18059         (si_call_addr, si_syscall, si_arch): Define new macro.
18060         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
18061         _sigsys.
18062         (si_call_addr, si_syscall, si_arch): Define new marcro.
18063         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
18064         _sigsys.
18065         (si_call_addr, si_syscall, si_arch): Define new macro.
18066         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
18067         _sigsys.
18068         (si_call_addr, si_syscall, si_arch): Define new macro.
18070 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
18072         [BZ #13717]
18073         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18074         Change to 2.4.21 where previously 2.4.1.
18075         * sysdeps/unix/sysv/linux/configure: Regenerated.
18076         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
18077         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
18078         Linux kernel version.
18079         (__ASSUME_STD_AUXV): Remove.
18080         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
18081         kernel version.
18082         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
18083         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
18084         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
18085         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
18086         (__ASSUME_NETLINK_SUPPORT): Likewise.
18087         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
18088         (__no_netlink_support): Remove conditional definition.
18089         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
18090         Remove.
18091         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18092         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
18093         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
18094         (if_nameindex_ioctl): Remove.
18095         (if_nameindex_netlink): Do not handle __no_netlink_support.
18096         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18097         code.
18098         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
18099         Remove conditional code.
18100         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18101         code.
18102         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
18103         unconditional.
18104         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18105         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
18106         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
18107         Remove.
18108         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
18109         [!__ASSUME_STD_AUXV]: Remove conditional code.
18110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
18111         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
18112         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
18113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
18114         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
18115         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18116         code.
18117         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18119         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
18120         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18121         conditional code.
18122         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18124         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18125         code.
18126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18127         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18128         conditional code.
18129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
18130         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18131         code unconditional.
18132         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18133         conditional code.
18134         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18135         unconditional.
18136         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18137         conditional code.
18138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18139         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18140         unconditional.
18141         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18142         conditional code.
18143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
18144         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18145         code unconditional.
18146         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18147         conditional code.
18148         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18149         unconditional.
18150         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18151         conditional code.
18152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
18153         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18154         code unconditional.
18155         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18156         conditional code.
18157         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18158         unconditional.
18159         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18160         conditional code.
18162 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
18164         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
18165         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
18166         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18167         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
18168         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
18169         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
18170         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18171         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
18172         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
18173         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
18174         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
18175         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
18176         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
18177         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
18178         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
18179         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
18180         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
18181         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
18182         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
18183         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
18184         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
18185         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
18186         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18188 2012-07-25  Florian Weimer  <fweimer@redhat.com>
18190         * Versions.def: Add GLIBC_2.17.
18191         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
18192         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
18193         Introduce __libc_secure_getenv.
18194         * stdlib/Versions (2.17): Add secure_getenv
18195         (GLIBC_PRIVATE): Add __libc_secure_getenv.
18196         * stdlib/secure-getenv.c: Rename __secure_getenv to
18197         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
18198         symbol __secure_getenv for GLIBC_2.0.
18199         * stdlib/tst-secure-getenv.c: New.
18200         * stdlib/Makefile (tests): Add testcase.
18201         * manual/startup.texi (Environment Access): Document
18202         secure_getenv.
18203         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
18204         __libc_secure_getenv.
18205         * inet/ruserpass.c (ruserpass): Likewise.
18206         * malloc/mtrace.c (mtrace): Likewise.
18207         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
18208         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
18209         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
18210         * sysdeps/posix/tempname.c: Likewise.  Evaluate
18211         HAVE_SECURE_GETENV.
18212         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
18213         __secure_getenv to __libc_secure_getenv.
18214         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
18215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18216         Likewise.
18217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18218         Likewise.
18219         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18220         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18221         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18222         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18223         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18224         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18225         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18227 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
18229         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
18230         (struct La_i86_retval): Likewise.
18231         (struct La_x86_64_regs): Likewise.
18232         (struct La_x86_64_retval): Likewise.
18233         (struct La_x32_regs): Likewise.
18234         (struct La_x32_retval): Likewise.
18235         (struct La_ppc32_regs): Likewise.
18236         (struct La_ppc32_retval): Likewise.
18237         (struct La_ppc64_regs): Likewise.
18238         (struct La_ppc64_retval): Likewise.
18239         (struct La_sh_regs): Likewise.
18240         (struct La_sh_retval): Likewise.
18241         (struct La_s390_32_regs): Likewise.
18242         (struct La_s390_32_retval): Likewise.
18243         (struct La_s390_64_regs): Likewise.
18244         (struct La_s390_64_retval): Likewise.
18245         (struct La_sparc32_regs): Likewise.
18246         (struct La_sparc32_retval): Likewise.
18247         (struct La_sparc64_regs): Likewise.
18248         (struct La_sparc64_retval): Likewise.
18249         (struct audit_ifaces): Remove architecture-specific pltenter and
18250         pltexit members.
18251         * sysdeps/i386/ldsodefs.h: New file.
18252         * sysdeps/powerpc/ldsodefs.h: Likewise.
18253         * sysdeps/s390/ldsodefs.h: Likewise.
18254         * sysdeps/sh/ldsodefs.h: Likewise.
18255         * sysdeps/sparc/ldsodefs.h: Likewise.
18256         * sysdeps/x86_64/ldsodefs.h: Likewise.
18258 2012-07-25  Marek Polacek  <polacek@redhat.com>
18260         [BZ #6808]
18261         * math/libm-test.inc (yn_test): Add another test.
18262         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
18263         to ERANGE when the result is +-Inf.
18264         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18265         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
18266         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
18267         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
18269 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
18271         * conform/data/time.h-data (NULL): Use macro-constant.  Require
18272         equal to 0.
18273         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
18274         clock_t.
18275         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
18277 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
18279         * configure.in <sysdeps resolving>: Correct printing
18280         Implies_before.
18281         * configure: Regenerate.
18283 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
18285         * math/w_ilogb.c: Include <limits.h>.
18286         * math/w_ilogbl.c: Likewise.
18288 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
18290         * manual/lang.texi (__va_copy): Document primarily as ISO C99
18291         va_copy.  Document allowing for unavailable va_copy only as
18292         pre-C99 compatibility.
18293         * manual/string.texi (Copying and Concatenation): Use va_copy
18294         instead of __va_copy in concat example.
18296 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
18298         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
18299         (__sendto): Use create_address_port.  Initialize APORT and deallocate
18300         it if not null.
18302         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
18303         with O_NOLINK passed to __file_name_lookup.
18305         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
18306         with O_NOLINK passed to __file_name_lookup.
18308         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
18309         negative N or less than NGIDS.
18311         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
18312         type to string_t.  Set ERANGE as errno and return it if NAME is not big
18313         enough.  Use memcpy instead of strncpy.
18315 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
18317         * elf/Makefile (check-data): Remove.
18318         (localplt.data): New vpath directive.
18319         ($(objpfx)check-localplt.out): Use localplt.data from vpath
18320         instead of $(check-data).
18321         * scripts/data/localplt-generic.data: Move to ...
18322         * sysdeps/generic/localplt.data: ... here.
18323         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
18324         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
18325         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
18326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
18327         ... here.
18328         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
18329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
18330         ... here.
18331         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
18332         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
18333         ... here.
18334         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
18335         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
18336         ... here.
18337         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
18338         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
18339         ... here.
18340         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
18341         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
18342         ... here.
18344 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18346         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
18347         PPC32 and PPC64 files.
18348         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
18349         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
18351 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18353         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
18354         __makecontext_ret to ...
18355         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18356         ... here and call exit if uc_link is NULL.  New file.
18357         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
18358         __makecontext_ret.S.
18359         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
18360         __makecontext_ret to ...
18361         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18362         ... here and call exit if uc_link is NULL.  New file.
18363         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
18364         __makecontext_ret.S.
18366 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18368         * elf/elf.h (R_390_IRELATIVE): New definition.
18369         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
18370         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
18371         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
18372         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18373         (elf_machine_lazy_rel): Likewise.
18374         * sysdeps/s390/dl-irel.h: New file.
18375         * sysdeps/s390/s390-64/memcpy.S: New asm code.
18376         * sysdeps/s390/s390-64/memset.S: New asm code.
18377         * sysdeps/s390/s390-64/memcmp.S: New asm code.
18378         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
18379         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
18380         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
18381         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
18382         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
18383         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
18384         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
18385         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
18386         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
18387         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
18388         * sysdeps/s390/s390-32/memcpy.S: New asm code.
18389         * sysdeps/s390/s390-32/memset.S: New asm code.
18390         * sysdeps/s390/s390-32/memcmp.S: New asm code.
18392 2012-07-17  Marek Polacek  <polacek@redhat.com>
18394         [BZ #14349]
18395         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
18396         * sysdeps/s390/s390-64/configure.in: Likewise.
18397         * sysdeps/sparc/configure.in: Likewise.
18398         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
18399         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
18400         * sysdeps/i386/configure.in: Likewise.
18401         * sysdeps/x86_64/configure.in: Likewise.
18402         * sysdeps/sh/configure.in: Likewise.
18403         * sysdeps/s390/s390-32/configure: Regenerated.
18404         * sysdeps/s390/s390-64/configure: Likewise.
18405         * sysdeps/x86_64/configure: Likewise.
18406         * sysdeps/sh/configure: Likewise.
18407         * sysdeps/powerpc/powerpc64/configure: Likewise.
18408         * sysdeps/powerpc/powerpc32/configure: Likewise.
18409         * sysdeps/sparc/configure: Likwise.
18410         * sysdeps/i386/configure: Likewise.
18412         * elf/dl-open.c: Comment fixes.
18414 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
18416         * Makefile [CXX] (check-data): Remove.
18417         [CXX] (c++-types.data): New vpath directive.
18418         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
18419         vpath.  Do not allow for C++ type data being missing.
18420         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
18421         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
18422         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
18423         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
18424         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
18425         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
18426         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
18427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
18428         ... here.
18429         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
18430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18431         ... here.
18432         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
18433         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
18434         ... here.
18435         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
18436         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
18437         ... here.
18438         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
18439         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
18440         ... here.
18441         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
18442         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
18443         ... here.
18444         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
18445         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
18446         ... here.
18447         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
18448         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
18450         * elf/tls-macros.h (TLS_LE): Move architecture-specific
18451         definitions to architecture-specific files.
18452         (TLS_IE): Likewise.
18453         (TLS_LD): Likewise.
18454         (TLS_GD): Likewise.
18455         * sysdeps/i386/tls-macros.h: New file.
18456         * sysdeps/powerpc/tls-macros.h: Likewise.
18457         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
18458         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
18459         * sysdeps/sh/tls-macros.h: Likewise.
18460         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
18461         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
18462         * sysdeps/x86_64/tls-macros.h: Likewise.
18464 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
18466         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
18467         zero value for regular exit case.
18469         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18470         (__start_context): Preserve zero value for regular exit case.
18472 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
18473             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18475         * manual/setjmp.texi (setcontext): Clarify normal process
18476         termination when uc_link is the null pointer.
18477         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
18478         exit call.
18480 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
18482         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
18483         preprocessor.  Test for each exception mask separately.
18485 2012-07-16  Andreas Jaeger  <aj@suse.de>
18487         * po/ru.po: Update from translation team.
18489 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
18491         * conform/data/string.h-data (NULL): Use macro-constant.  Require
18492         equal to 0.
18493         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18494         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18495         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
18496         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
18497         [ISO || ISO99 || ISO11] (*_t): Do not allow.
18499 2012-07-13  Andreas Jaeger  <aj@suse.de>
18501         * po/fr.po: Update from translation team.
18503 2012-07-12  Marek Polacek  <polacek@redhat.com>
18505         [BZ #14173]
18506         * math/libm-test.inc (yn_test): Add test for BZ #14173.
18507         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
18508         loop condition.
18510 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
18512         [BZ #13717]
18513         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18514         Change to 2.4.1 where previously 2.4.0.
18515         * sysdeps/unix/sysv/linux/configure: Regenerated.
18516         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
18517         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
18518         version.
18519         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
18520         (__ASSUME_AT_CLKTCK): Remove.
18521         (__ASSUME_AT_PAGESIZE): Likewise.
18522         (__ASSUME_AT_XID): Likewise.
18523         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
18524         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
18525         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
18526         unconditionally.
18527         (HAVE_AUX_PAGESIZE): Likewise.
18528         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
18529         [__ASSUME_AT_CLKTCK]: Make code unconditional.
18530         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
18532 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
18534         [BZ #14307]
18535         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
18536         the temporary buffer used to invoke __gethostbyname2_r,
18537         __gethostbyaddr_r and gethostbyname4_r to make room for struct
18538         host_data / struct gaih_addrtuple.
18539         * resolv/nss_dns/dns-host.c (global scope): Move definition of
18540         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
18541         header file nss/nsswitch.h.
18542         * nss/nsswitch.h (global scope): Add definition of implementation
18543         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
18544         resolv/nss_dns/dns-host.c).
18546 2012-07-11  Andreas Jaeger  <aj@suse.de>
18548         * po/fr.po: Update from translation team.
18550         * po/sv.po: Update from translation team
18551         * po/fr.po: Another update from translation team.
18553 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18555         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
18556         for subnormals or multiply small sinh result by itself.
18557         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18558         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18560 2012-07-11  David S. Miller  <davem@davemloft.net>
18562         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18564 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
18566         [BZ #14347]
18567         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
18568         (INTERNAL_MARK): Shift it here.
18570 2012-07-10  Marek Polacek  <polacek@redhat.com>
18572         [BZ #14151]
18573         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
18574         libc_cv_asm_global_directive with .globl.
18575         * configure: Regenerated.
18576         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
18577         with .globl.
18578         * sysdeps/i386/configure: Regenerated.
18579         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
18580         with .globl.
18581         * sysdeps/x86_64/configure: Regenerated.
18582         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
18583         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
18584         * elf/tst-unique2mod2.c: Likewise.
18585         * elf/tst-unique2mod1.c: Likewise.
18586         * elf/tst-unique1mod2.c: Likewise.
18587         * elf/tst-unique1mod1.c: Likewise.
18588         * sysdeps/s390/s390-32/sysdep.h: Likewise.
18589         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18590         * sysdeps/s390/s390-64/sysdep.h: Likewise.
18591         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18592         * sysdeps/mach/sysdep.h: Likewise.
18593         * sysdeps/i386/sysdep.h: Likewise.
18594         * sysdeps/i386/i386-mcount.S: Likewise.
18595         * sysdeps/x86_64/_mcount.S: Likewise.
18596         * sysdeps/x86_64/sysdep.h: Likewise.
18597         * sysdeps/sh/_mcount.S: Likewise.
18598         * sysdeps/sh/sysdep.h: Likewise.
18599         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
18600         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
18601         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
18602         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18603         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
18604         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
18605         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
18606         * locale/localeinfo.h: Likewise.
18607         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
18608         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
18610 2012-07-09  Roland McGrath  <roland@hack.frob.com>
18612         [BZ #14336]
18613         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
18614         system".
18615         * manual/message.texi (The Uniforum approach): Likewise.
18616         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
18617         (glibc iconv Implementation): Likewise.
18619 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
18621         [BZ #14337]
18622         * math/s_clog.c (__clog): Avoid scaling a value down where that
18623         could result in underflow.
18624         * math/s_clog10.c (__clog10): Likewise.
18625         * math/s_clog10f.c (__clog10f): Likewise.
18626         * math/s_clog10l.c (__clog10l): Likewise.
18627         * math/s_clogf.c (__clogf): Likewise.
18628         * math/s_clogl.c (__clogl): Likewise.
18629         * math/libm-test.inc (clog_test): Add more tests.
18630         (clog10_test): Likewise.
18631         * sysdeps/i386/fpu/libm-test-ulps: Update.
18632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18634 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
18636         [BZ #14283]
18637         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
18638         by 7 not 8 to examine high bit of fractional part.
18640         [BZ #14042]
18641         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
18642         for call to __mcount_internal.
18643         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
18644         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
18645         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
18647 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
18649         [BZ #14154]
18650         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
18651         approximation for values within 0x1p-13f of an odd multiple of
18652         pi/4.
18653         * math/libm-test.inc (tan_test): Do not allow spurious underflow
18654         exception.  Add more tests.
18655         * sysdeps/i386/fpu/libm-test-ulps: Update.
18657         [BZ #6778]
18658         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
18659         inputs and return -1 for them.  Do not check for +Inf in case not
18660         reachable for +Inf.
18661         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18662         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
18663         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18664         and return -1 for them.  Do not check for +Inf in case not
18665         reachable for +Inf.
18666         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
18667         define.
18668         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18669         and return -1 for them.  Do not check for +Inf in case not
18670         reachable for +Inf.
18671         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
18672         spurious underflow.
18673         * sysdeps/i386/fpu/libm-test-ulps: Update.
18674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18676 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
18678         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
18680 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
18682         [BZ #14157]
18683         [BZ #14331]
18684         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
18685         could result in spurious underflow.  Scale down values above
18686         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
18687         * math/s_csqrtf.c (__csqrtf): Likewise.
18688         * math/s_csqrtl.c (__csqrtl): Likewise.
18689         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
18690         spurious underflow.
18691         * sysdeps/i386/fpu/libm-test-ulps: Update.
18692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18694 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
18696         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
18697         xopen-msg.sed.
18698         * catgets/xopen-msg.awk: New file.
18699         * catgets/xopen-msg.sed: Removed.
18701         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
18702         po2text.sed.
18703         * intl/po2test.awk: New file.
18704         * intl/po2test.sed: Removed.
18706 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
18708         [BZ #14328]
18709         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
18710         or multiply small sinh result by itself.
18711         * math/s_ctanf.c (__ctanf): Likewise.
18712         * math/s_ctanh.c (__ctanh): Likewise.
18713         * math/s_ctanhf.c (__ctanhf): Likewise.
18714         * math/s_ctanhl.c (__ctanhl): Likewise.
18715         * math/s_ctanl.c (__ctanl): Likewise.
18716         * math/libm-test.inc (ctan_test_tonearest): New function.
18717         (ctan_test_towardzero): Likewise.
18718         (ctan_test_downward): Likewise.
18719         (ctan_test_upward): Likewise.
18720         (ctanh_test_tonearest): Likewise.
18721         (ctanh_test_towardzero): Likewise.
18722         (ctanh_test_downward): Likewise.
18723         (ctanh_test_upward): Likewise.
18724         (main): Call these new functions.
18725         * sysdeps/i386/fpu/libm-test-ulps: Update.
18726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18728 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
18730         * .gitignore: Delete /ports entry.
18732 2012-07-03  Andreas Jaeger  <aj@suse.de>
18734         * po/bg.po: Update from translation team.
18735         * po/cs.po: Likewise.
18736         * po/de.po: Likewise.
18737         * po/hr.po: Likewise.
18738         * po/nl.pl: Likewise.
18739         * po/pl.po: Likewise.
18740         * po/vi.po: Likewise.
18742 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
18744         * Makeconfig [!+link] (+link-before-libc): New variable.
18745         [!+link] (+link-after-libc): Likewise.
18746         [!+link] (+link-tests): Likewise.
18747         [!+link] (+link): Define in terms of $(+link-before-libc) and
18748         $(+link-after-libc).
18749         [!+link-static] (+link-static-before-libc): New variable.
18750         [!+link-static] (+link-static-after-libc): Likewise.
18751         [!+link-static] (+link-static-tests): Likewise.
18752         [!+link-static] (+link-static): Define in terms of
18753         $(+link-static-before-libc) and $(+link-static-after-libc).
18754         [build-shared] (link-libc-before-gnulib): New variable.
18755         [build-shared] (link-libc-tests): Likewise.
18756         [build-shared] (link-libc): Define in terms of
18757         $(link-libc-before-gnulib).
18758         [!build-shared] (link-libc-tests): New variable.
18759         (link-libc-static-tests): New variable.
18760         [!gnulib] (gnulib-arch): New variable.
18761         [!gnulib] (gnulib-tests): Likewise.
18762         [!gnulib] (static-gnulib-arch): Likewise.
18763         [!gnulib] (static-gnulib-tests): Likewise.
18764         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
18765         Define with "=" instead of ":=".
18766         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
18767         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
18768         * Rules (binaries-all-notests): New variable.
18769         (binaries-all-tests): Likewise.
18770         (binaries-static-notests): Likewise.
18771         (binaries-static-tests): Likewise.
18772         (binaries-all): Define using $(binaries-all-notests) and
18773         $(binaries-all-tests).
18774         (binaries-static): Define using $(binaries-static-notests) and
18775         $(binaries-static-tests).
18776         (binaries-shared-tests): New variable.
18777         (binaries-shared-notests): Likewise.
18778         (binaries-shared): Remove variable.
18779         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
18780         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
18781         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
18782         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
18783         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
18784         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
18785         * elf/Makefile (sln-modules): New variable.
18786         (extra-objs): Add $(sln-modules:=.o).
18787         (ldconfig-modules): Add static-stubs.
18788         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
18789         * elf/static-stubs.c: New file.
18791         [BZ #14283]
18792         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
18793         by 7 not 8 to examine high bit of fractional part.  Use volatile
18794         variables when splitting into final array of floats if
18795         __FLT_EVAL_METHOD__ != 0.
18796         * math/libm-test.inc (cos_test): Add another test.
18797         (sin_test): Likewise.
18798         * sysdeps/i386/fpu/libm-test-ulps: Update.
18800         [BZ #14273]
18801         * math/libm-test.inc (cosh_test): Add more tests.
18803         * version.h (RELEASE): Set to "development".
18804         (VERSION): Set to "2.16.90".
18806 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
18808         * NEWS: Update copyright. Remove last-updated date.
18809         Mention math library bug fixes and timezone data changes.
18810         * README: Mention GNU/Hurd, x32, and HPPA support status.
18812 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
18814         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
18816 2012-06-27  Andreas Jaeger  <aj@suse.de>
18818         * manual/contrib.texi (Contributors): Add Samuel Thibault.
18820 2012-06-25  Andreas Jaeger  <aj@suse.de>
18822         * sysdeps/s390/fpu/libm-test-ulps: Update.
18824 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
18825             Thomas Schwinge  <thomas@codesourcery.com>
18827         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
18828         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
18829         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
18830         fanotify_mark.
18832 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
18834         * sysdeps/mach/start.c: Remove file.
18835         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
18836         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
18837         * sysdeps/sh/init-first.c: Likewise.
18839         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
18840         registers for frame unwinding purposes, add CFI directives.
18841         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18842         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
18843         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
18844         Likewise.
18846         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
18847         __fortify_fail returning.
18848         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18850         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
18851         sysdeps/sh/____longjmp_chk.S.
18852         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
18853         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
18854         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
18855         (gen-as-const-headers): Append sigaltstack-offsets.sym.
18857         * sysdeps/sh/abort-instr.h: New file.
18858         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
18859         process in case exit returns.
18861         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
18862         initialize the GOT register before use.
18864         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
18865         calculation of ARGC > 4.
18867         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
18868         meaningful names to some local labels.
18870 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
18871             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18873         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
18874         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
18875         (__arch_compare_and_exchange_val_16_acq): Likewise.
18876         (__arch_compare_and_exchange_val_32_acq): Likewise.
18877         (atomic_exchange_and_add): Fix gUSA sequence.
18878         (atomic_add): Likewise.
18879         (atomic_add_negative): Likewise.
18880         (atomic_add_zero): Likewise.
18881         (atomic_bit_test_set): Likewise.
18883 2012-06-22  Andreas Schwab  <schwab@redhat.com>
18885         [BZ #13579]
18886         * include/link.h (struct link_map): Add l_free_initfini.
18887         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
18888         l_initfini.
18889         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
18890         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
18891         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
18892         set.
18894 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
18896         * configure.in: Use AC_LANG_SOURCE.
18897         * configure: Regenerate.
18899 2012-06-22  Roland McGrath  <roland@hack.frob.com>
18901         * configure.in (libc_cv_localstatedir): New substituted variable.
18902         * configure: Regenerated.
18903         * config.make.in (localstatedir): New variable, substituted from
18904         libc_cv_localstatedir.
18905         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
18906         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
18907         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
18908         * sysdeps/gnu/configure: Regenerated.
18910 2012-06-21  Jeff Law  <law@redhat.com>
18912         [BZ #14277]
18913         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
18914         free.  Simplify list management for _LIBC case.
18916 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
18918         [BZ #14273]
18919         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18920         Clear sign bit of 64-bit integer value before comparing against
18921         overflow value.
18923         * sysdeps/mach/configure: Regenerated.
18925 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
18927         [BZ #14278]
18928         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
18930 2012-06-21  Jeff Law  <law@redhat.com>
18932         [BZ #13882]
18933         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
18934         uint16_t for elements in the "seen" array to avoid char overflows.
18935         * elf/dl-fini.c (_dl_sort_fini): Likewise.
18936         * elf/dl-open.c (dl_open_worker): Likewise.
18938 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
18940         * scripts/list-sources.sh: Scan PORTS for translations.
18941         * po/libc.pot: Regenerated.
18943 2012-06-21  Andreas Jaeger  <aj@suse.de>
18945         [BZ #12194]
18946         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
18947         warning.
18948         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
18949         * bits/byteswap-16.h (__bswap_16): Likewise.
18950         * bits/byteswap.h (__bswap_constant_16): Likewise.
18952 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
18954         [BZ #14117]
18955         * sysdeps/i386/fpu_control.h: Removed.
18956         * sysdeps/x86_64/fpu_control.h: Moved to ...
18957         * sysdeps/x86/fpu_control.h: Here.
18959         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
18960         (_FPU_SETCW): Likewise.
18962 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
18964         [BZ #14117]
18965         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
18966         * sysdeps/x86/fpu/bits/mathinline.h: This.
18967         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
18969         [BZ #14050]
18970         [BZ #14117]
18971         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
18972         functions if __x86_64__ is defined.
18974 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
18976         * string/endian.h: Add !__ASSEMBLER__ condition for including
18977         conversion interfaces.
18979 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
18981         [BZ #14241]
18982         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
18983         of ABS(x) in calculating zero to negative powers other than odd
18984         integers.
18985         * math/libm-test.inc (pow_test): Add more tests.
18987 2012-06-15  Andreas Jaeger  <aj@suse.de>
18989         * manual/contrib.texi (Contributors): Update entry of Liubov
18990         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
18991         Machado Filho.
18993 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
18995         * string/string.h: Add __wur to GNU version of strerror_r.
18997 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
18999         [BZ #14229]
19000         * string/Makefile (tests): Add tst-strtok_r.
19001         * string/tst-strtok_r.c: New file.
19002         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
19003         RAX_LP/RDX_LP on SAVE_PTR.
19005 2012-06-14  Roland McGrath  <roland@hack.frob.com>
19007         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
19009 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
19011         * libm_test.inc (csqrt_test): Allow more spurious underflow
19012         exceptions.
19013         (j0_test): Likewise.
19014         (j1_test): Likewise.
19015         (y0_test): Likewise.
19016         (y1_test): Likewise.
19018 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
19020         * po/Makefile (libc.pot): Use UTF-8 charset.
19022 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
19024         [BZ #14210]
19025         Suppress sign-conversion warning from FD_SET.
19026         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
19027         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
19028         not unsigned long int.
19029         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
19031 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
19033         [BZ #14050]
19034         [BZ #14117]
19035         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
19036         __extern_always_inline instead of __extern_inline.
19037         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
19038         (__signbit): Likewise.
19039         (__signbitl): Support C++ namespace.
19040         (lrintf): New inline function.
19041         (lrint): Likewise.
19042         (llrintf): Likewise.
19043         (llrint): Likewise.
19044         (fmaxf): Likewise.
19045         (fmax): Likewise.
19046         (fminf): Likewise.
19047         (fmin): Likewise.
19048         (rint): Likewise.
19049         (rintf): Likewise.
19050         (ceil): Likewise.
19051         (ceilf): Likewise.
19052         (floor): Likewise.
19053         (floorf): Likewise.
19054         (nearbyint): Likewise.
19055         (nearbyintf): Likewise.
19057 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
19059         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
19060         non-default versions.
19062 2012-06-11  Roland McGrath  <roland@hack.frob.com>
19064         [BZ #14218]
19065         * manual/argp.texi (Argp): Reword argp_parse description slightly.
19067 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
19069         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
19070         (FE_UPWARD, FE_DOWNWARD): Don't define.
19071         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
19072         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19074         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
19075         reading it.
19076         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19077         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19079 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19081         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19082         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
19083         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
19084         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
19086 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
19088         [BZ #14117]
19089         * sysdeps/i386/fpu/bits/fenv.h: Removed.
19090         * sysdeps/i386/fpu/Implies: New file.
19091         * sysdeps/x86_64/fpu/Implies: Likewise.
19092         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
19093         * sysdeps/x86/fpu/bits/fenv.h: This.
19095         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
19096         __SSE_MATH__.
19098 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
19100         [BZ #14134]
19101         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
19102         character 0xffff that matches the last element of the
19103         conversion table.
19105 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19107         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
19108         fmodl commit.
19110 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19112         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
19113         values higher than 25.6283.
19115 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19117         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
19118         subnormal exponent extraction and add some __builtin_expect.
19119         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
19120         Fix for subnormal mantissa calculation.
19122 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
19124         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
19125         cpu2 is -1 and errno is not ENOSYS.
19127 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
19129         [BZ #14117]
19130         * sysdeps/i386/i486/bits/string.h: Renamed to ...
19131         * sysdeps/x86/bits/string.h: This.
19132         * sysdeps/x86_64/bits/string.h: Removed.
19134         * sysdeps/i386/i486/bits/string.h: Define inline functions only
19135         if not compiling for x86-64, but compiling for >= i486.
19137         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
19138         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
19140         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
19141         New macro from Linux kernel 3.4.0.
19142         (FP_XSTATE_MAGIC2): Likewise.
19143         (FP_XSTATE_MAGIC2_SIZE): Likewise.
19144         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
19145         (struct _fpx_sw_bytes): New struct.
19146         (struct _xsave_hdr): Likewise.
19147         (struct _ymmh_state): Likewise.
19148         (struct _xstate): Likewise.
19150         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
19151         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
19152         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
19153         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
19154         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
19155         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
19157         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
19158         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
19159         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
19160         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
19161         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
19162         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
19164 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19166         [BZ #13743]
19167         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
19168         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
19169         (sysdep_headers): Include sys/platform/ppc.h.
19170         * sysdeps/powerpc/test-gettimebase.c: Test for
19171         __ppc_get_timebase() to catch future ISA opcode/insn changes.
19172         * manual/Makefile (appendices): Include platform.texi.
19173         * manual/contrib.texi (Contributors): Update @node pointers.
19174         * manual/maint.texi (Maintenance): Likewise.
19175         (Platform): New node.
19176         * manual/platform.texi: New file.  Document the new features.
19178 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19179             Jakub Jelinek  <jakub@redhat.com>
19181         [BZ #14188]
19182         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
19183         where __builtin_expect is unavailable.
19185 2012-06-03  David S. Miller  <davem@davemloft.net>
19187         * stdlib/longlong.h: Updated from GCC.
19189 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
19191         [BZ #14042]
19192         * sysdeps/powerpc/powerpc32/mcount.c: New file.
19193         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
19194         __mcount_internal.
19195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19196         (GLIBC_2.16): Likewise.
19198 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
19200         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
19202 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
19204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
19205         (default-abi): New variable.
19206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
19207         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
19208         variable.
19209         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
19210         Likewise.
19211         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
19212         Likewise.
19213         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
19214         Likewise.
19216         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
19217         definition.  Document in comment.
19219 2012-06-01  David S. Miller  <davem@davemloft.net>
19221         * stdlib/longlong.h: Updated from GCC.
19223 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
19225         [BZ #14117]
19226         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
19227         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
19228         sys/debugreg.h sys/io.h here.
19229         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
19230         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
19231         sys/io.h.
19232         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
19233         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
19234         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
19235         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
19236         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
19237         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
19239         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
19240         Define only if __x86_64__ is defined.
19242 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
19244         [BZ #14048]
19245         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
19246         Use int64_t for variable i.
19247         * math/libm-test.inc (fmod_test): Add more tests.
19249         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
19250         z computation is not scheduled after fetestexcept.
19251         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
19252         Use math_force_eval instead of asm to ensure calculation scheduled
19253         before exception test.
19254         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
19255         Ensure a1 + u.d computation is not scheduled after fetestexcept.
19257 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
19259         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
19260         computation is not scheduled after fetestexcept.
19262 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
19264         [BZ #14117]
19265         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
19266         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
19268 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19270         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
19271         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19273 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
19275         [BZ #14117]
19276         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
19277         <bits/wordsize.h>.
19278         (__WCHAR_MIN): Support __WORDSIZE == 64.
19279         (__WCHAR_MAX): Likewise.
19281         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
19282         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
19284         [BZ #14183]
19285         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
19286         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
19288         [BZ #14117]
19289         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
19290         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
19292         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
19293         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
19295         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
19296         Defined to 1 if __x86_64__ isn't defined.
19297         (_STAT_VER_LINUX_OLD): New.
19298         (st_atime): Remove duplicate.
19299         (st_mtime): Likewise.
19300         (st_ctime): Likewise.
19302 2012-05-31  David S. Miller  <davem@davemloft.net>
19304         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
19305         entries.
19307 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
19309         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
19310         gen-libm-test.pl.
19312         [BZ #14132]
19313         * elf/dl-reloc.c: Include <_itoa.h>.
19314         (_dl_reloc_bad_type): Remove use of INTUSE.
19315         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
19316         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
19317         * stdio-common/psiginfo.c (psiginfo): Likewise.
19318         * stdio-common/psignal.c (psignal): Likewise.
19319         * string/strsignal.c (strsignal): Likewise.
19320         * include/signal.h (_sys_siglist): Declare hidden proto.
19321         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
19322         INTVARDEF with libc_hidden_data_def.
19323         * stdio-common/itoa-udigits.c: Likewise.
19324         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
19325         (_itoa_lower_digits_internal): Remove declaration.
19326         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
19327         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
19328         (_sys_sigabbrev_internal): Remove aliases.
19329         (_sys_siglist): Define hidden alias.
19331 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
19333         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19334         bits/sysctl.h.
19336 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
19338         [BZ #14117]
19339         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
19340         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
19342         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
19343         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
19344         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
19345         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
19346         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
19347         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
19349         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
19350         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
19351         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
19353         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
19354         with __addr.
19355         (insw): Likewise.
19356         (insl): Likewise.
19357         (outsb): Likewise.
19358         (outsw): Likewise.
19359         (outsl): Likewise.
19361         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
19362         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
19363         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
19365         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
19366         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
19367         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
19368         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
19369         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
19370         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
19372         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
19373         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
19375         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
19376         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
19378         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
19379         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
19380         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
19382         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
19383         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
19384         to ...
19385         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
19387         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
19388         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
19389         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
19391         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
19392         for x86-64.
19393         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
19395 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
19397         * math/math.h (M_El): Use two more decimal places.
19398         (M_LOG2El): Likewise.
19399         (M_LOG10El): Likewise.
19400         (M_LN2l): Likewise.
19401         (M_LN10l): Likewise.
19402         (M_PIl): Likewise.
19403         (M_PI_2l): Likewise.
19404         (M_PI_4l): Likewise.
19405         (M_1_PIl): Likewise.
19406         (M_2_PIl): Likewise.
19407         (M_2_SQRTPIl): Likewise.
19408         (M_SQRT2l): Likewise.
19409         (M_SQRT1_2l): Likewise.
19411 2012-05-31  David S. Miller  <davem@davemloft.net>
19413         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
19414         values between float registers.
19415         * sysdeps/sparc/sparc64/memset.S: Likewise.
19416         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19418 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
19420         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
19421         -D_FORTIFY_SOURCE=1.
19422         (CPPFLAGS-tst-longjmp_chk.c): Define.
19423         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
19424         (CPPFLAGS-tst-longjmp_chk2.c): Define.
19425         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
19426         CFLAGS-tst-wchar-h.c.
19428 2012-05-31  Marek Polacek  <polacek@redhat.com>
19430         [BZ #14132]
19431         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
19432         __endmntent_internal): Remove declaration.
19433         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
19434         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
19435         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
19437 2012-05-30  David S. Miller  <davem@davemloft.net>
19439         * sysdeps/sparc/sparc32/soft-fp/q_util.c
19440         (___Q_simulate_exceptions): Use real FP ops rather than writing
19441         into the %fsr.
19442         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
19443         Likewise.
19445 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
19447         [BZ #14117]
19448         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
19449         * sysdeps/x86/bits/xtitypes.h: This.
19451         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
19452         * sysdeps/x86/bits/wordsize.h: This.
19454         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
19455         * sysdeps/x86/bits/huge_vall.h: This.
19457         * sysdeps/i386/bits/select.h: Removed.
19458         * sysdeps/x86_64/bits/select.h: Renamed to ...
19459         * sysdeps/x86/bits/select.h: This.
19461         * sysdeps/i386/bits/setjmp.h: Removed.
19462         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
19463         * sysdeps/x86/bits/setjmp.h: This.
19465         * sysdeps/i386/bits/mathdef.h: Removed.
19466         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
19467         * sysdeps/x86/bits/mathdef.h: This.
19469 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
19471         [BZ #14132]
19472         * include/sys/socket.h (__connect_internal)
19473         (__libc_sa_len_internal): Remove declaration.
19474         (__connect, __libc_sa_len): Declare hidden_proto.
19475         (SA_LEN): Remove use of INTUSE.
19476         * socket/connect.c: Add libc_hidden_def.
19477         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
19478         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
19479         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
19480         alias.
19481         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
19482         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
19483         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
19484         of adding _internal alias.
19486 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
19488         [BZ #14117]
19489         * sysdeps/i386/bits/link.h: Removed.
19490         * sysdeps/i386/bits/linkmap.h: Likewise.
19491         * sysdeps/x86_64/bits/link.h: Renamed to ...
19492         * sysdeps/x86/bits/link.h: This.
19493         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
19494         * sysdeps/x86/bits/linkmap.h: This.
19496         * sysdeps/i386/bits/endian.h: Removed.
19497         * sysdeps/x86_64/bits/endian.h: Renamed to ...
19498         * sysdeps/x86/bits/endian.h: This.
19500         * sysdeps/i386/bits/byteswap.h: Removed.
19501         * sysdeps/i386/bits/byteswap-16.h: Likewise.
19502         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
19503         * sysdeps/x86/bits/byteswap.h: This.
19504         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
19505         * sysdeps/x86/bits/byteswap-16.h: This.
19506         * sysdeps/i386/Implies: Add x86.
19507         * sysdeps/x86_64/Implies: Likewise.
19509 2012-05-30  David S. Miller  <davem@davemloft.net>
19511         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
19512         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
19513         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
19514         (FP_TRAPPING_EXCEPTIONS): Define.
19515         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
19516         (FP_TRAPPING_EXCEPTIONS): Define.
19517         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
19518         subnormals only when inexact has been signalled or underflow
19519         exceptions are enabled.
19520         (_FP_PACK_CANONICAL): Likewise.
19522 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
19524         [BZ #14183]
19525         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
19526         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
19528 2012-05-30  Richard Henderson  <rth@twiddle.net>
19530         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
19531         with #ifndef NOT_IN_libc.
19533         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
19534         marked to avoid plt entry.
19536 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
19538         [BZ #14112]
19539         * Makeconfig (default-abi): New macro.
19540         (abi-includes): Likewise.
19541         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
19542         $(abi-$(default-abi)-lib-soname) for soname if defined.
19543         ($(common-objpfx)gnu/lib-names.stmp): Generate from
19544         abi-variants.
19545         * Makefile (installed-stubs): Likewise.
19546         * include/stubs-biarch.h: Removed.
19547         * scripts/lib-names.awk: Only handle one library at a time.
19548         * scripts/soversions.awk: Remove WORDSIZE support.
19549         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
19550         entries.
19551         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
19552         Removed.
19553         (syscall-list-default-condition): Likewise.
19554         (syscall-list-default-condition): Likewise.
19555         (syscall-list-includes): Likewise.
19556         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
19557         syscall-list-* with abi-*.  Handle undefined abi-variants.
19558         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
19559         * sysdeps/unix/sysv/linux/i386/Implies: New file.
19560         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
19561         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
19562         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
19563         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
19564         Removed.
19565         (syscall-list-32-options): Likewise.
19566         (syscall-list-32-condition): Likewise.
19567         (syscall-list-64-options): Likewise.
19568         (syscall-list-64-condition): Likewise.
19569         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
19570         macro.
19571         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
19572         Renamed to ...
19573         (abi-*): This.
19574         (abi-64-ld-soname): New macro.
19575         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
19576         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
19577         Renamed to ...
19578         (abi-*): This.
19579         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
19580         * sysdeps/x86_64/x32/shlib-versions: Likewise.
19582 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
19584         * sysdeps/unix/sysv/linux/kernel-features.h
19585         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
19586         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
19587         include <kernel-features.h>.
19588         [!__NR_ftruncate64]: Remove conditional code.
19589         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19590         [__NR_ftruncate64]: Make code unconditional.
19591         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19592         * sysdeps/unix/sysv/linux/truncate64.c: Do not
19593         include <kernel-features.h>.
19594         [!__NR_ftruncate64]: Remove conditional code.
19595         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19596         [__NR_ftruncate64]: Make code unconditional.
19597         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
19599         include <kernel-features.h>.
19600         [!__NR_ftruncate64]: Remove conditional code.
19601         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19602         [__NR_ftruncate64]: Make code unconditional.
19603         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19605         include <kernel-features.h>.
19606         [!__NR_ftruncate64]: Remove conditional code.
19607         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19608         [__NR_ftruncate64]: Make code unconditional.
19609         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19611         * configure.in (libc_cv_fpie): Weaken to a compile test using
19612         LIBC_TRY_CC_OPTION.
19613         * configure: Regenerated.
19615 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19617         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
19618         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
19619         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
19620         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19621         Refreshed.
19622         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
19623         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
19624         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
19625         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
19626         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
19627         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19628         Refreshed.
19630 2012-05-27  David S. Miller  <davem@davemloft.net>
19632         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
19633         (___Q_zero): New.
19634         (__Q_simulate_exceptions): Return void.  Change to simulate
19635         exceptions by writing into the %fsr.
19636         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
19637         (__Qp_handle_exceptions): Likewise.
19638         (numbers): Delete.
19639         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
19640         __Qp_handle_exceptions.
19641         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
19642         __Qp_handle_exceptions.
19643         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19644         as unused and give dummy FP_RND_NEAREST initializer.
19645         (FP_INHIBIT_RESULTS): Define.
19646         (___Q_simulate_exceptions): Update declaration.
19647         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
19648         formatting.
19649         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19650         as unused and give dummy FP_RND_NEAREST initializer.
19651         (__Qp_handle_exceptions): Update declaration.
19652         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
19653         formatting.
19655 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
19657         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
19658         the temporary FPU control word.
19659         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19660         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
19661         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
19662         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19663         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19664         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
19665         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
19666         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19667         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19668         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19669         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19671 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19673         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
19674         fields.
19676 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
19678         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
19679         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
19680         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
19681         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
19682         Likewise.
19683         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
19684         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
19685         Likewise.
19687 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
19689         * po/h.po: Update from translation team.
19691 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
19693         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
19695         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
19696         handling of denormals.
19697         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19698         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19699         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19700         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19701         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19702         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
19703         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
19704         Likewise.
19706 2012-05-26  Marek Polacek  <polacek@redhat.com>
19708         [BZ #14152]
19709         * math/libm-test.inc (fma_test): Don't always expect underflow
19710         exception.
19712 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19714         [BZ #12416]
19715         * elf/tst-execstack.c: Include stackinfo.h.
19716         (do_test): Adjust test case to ensure that pthread_getattr_np
19717         behaviour remains the same after marking stack executable.
19719 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
19721         * sysdeps/unix/sysv/linux/kernel-features.h
19722         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
19723         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
19724         kernel-features.h.
19725         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19726         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19727         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
19728         kernel-features.h.
19729         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19730         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19732 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
19734         * configure.in: Define the default includes to being none.
19735         * configure: Regenerated.
19737 2012-05-25  Roland McGrath  <roland@hack.frob.com>
19739         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
19740         * sysdeps/x86_64/setjmp.S: Likewise.
19741         * sysdeps/i386/bsd-setjmp.S: Likewise.
19742         * sysdeps/i386/bsd-_setjmp.S: Likewise.
19743         * sysdeps/i386/setjmp.S: Likewise.
19744         * sysdeps/i386/__longjmp.S: Likewise.
19745         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19746         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
19748         * include/stap-probe.h: New file.
19749         * configure.in: Handle --enable-systemtap.
19750         * configure: Regenerated.
19751         * config.h.in (USE_STAP_PROBE): New #undef.
19752         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
19753         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
19754         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19756 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
19758         [BZ #13717]
19759         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19760         to 2.4.0 where earlier.
19761         * sysdeps/unix/sysv/linux/configure: Regenerated.
19762         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19763         <kernel-features.h>.
19764         [__ASSUME_32BITUIDS]: Make code unconditional.
19765         [!__ASSUME_32BITUIDS]: Remove conditional code.
19766         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
19767         <kernel-features.h>.
19768         [__ASSUME_32BITUIDS]: Make code unconditional.
19769         [!__ASSUME_32BITUIDS]: Remove conditional code.
19770         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
19771         [__ASSUME_32BITUIDS]: Make code unconditional.
19772         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
19773         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
19774         <kernel-features.h>.
19775         [__ASSUME_32BITUIDS]: Make code unconditional.
19776         [!__ASSUME_32BITUIDS]: Remove conditional code.
19777         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
19778         <kernel-features.h>.
19779         [__ASSUME_32BITUIDS]: Make code unconditional.
19780         [!__ASSUME_32BITUIDS]: Remove conditional code.
19781         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
19782         <kernel-features.h>.
19783         [__ASSUME_32BITUIDS]: Make code unconditional.
19784         [!__ASSUME_32BITUIDS]: Remove conditional code.
19785         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
19786         <kernel-features.h>.
19787         [__ASSUME_32BITUIDS]: Make code unconditional.
19788         [!__ASSUME_32BITUIDS]: Remove conditional code.
19789         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19790         <kernel-features.h>.
19791         [__ASSUME_32BITUIDS]: Make code unconditional.
19792         [!__ASSUME_32BITUIDS]: Remove conditional code.
19793         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19794         <kernel-features.h>.
19795         [__ASSUME_32BITUIDS]: Make code unconditional.
19796         [!__ASSUME_32BITUIDS]: Remove conditional code.
19797         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
19798         <kernel-features.h>.
19799         [__ASSUME_32BITUIDS]: Make code unconditional.
19800         [!__ASSUME_32BITUIDS]: Remove conditional code.
19801         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19802         <kernel-features.h>.
19803         [__ASSUME_32BITUIDS]: Make code unconditional.
19804         [!__ASSUME_32BITUIDS]: Remove conditional code.
19805         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19806         <kernel-features.h>.
19807         [__ASSUME_32BITUIDS]: Make code unconditional.
19808         [!__ASSUME_32BITUIDS]: Remove conditional code.
19809         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
19810         <kernel-features.h>.
19811         [__ASSUME_32BITUIDS]: Make code unconditional.
19812         [!__ASSUME_32BITUIDS]: Remove conditional code.
19813         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
19814         <kernel-features.h>.
19815         [__NR_setresgid] (__setresgid): Do not declare.
19816         [__ASSUME_32BITUIDS]: Make code unconditional.
19817         [!__ASSUME_32BITUIDS]: Remove conditional code.
19818         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
19819         <kernel-features.h>.
19820         [__NR_setresuid] (__setresuid): Do not declare.
19821         [__ASSUME_32BITUIDS]: Make code unconditional.
19822         [!__ASSUME_32BITUIDS]: Remove conditional code.
19823         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
19824         <kernel-features.h>.
19825         [__ASSUME_32BITUIDS]: Make code unconditional.
19826         [!__ASSUME_32BITUIDS]: Remove conditional code.
19827         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
19828         <kernel-features.h>.
19829         [__ASSUME_32BITUIDS]: Make code unconditional.
19830         [!__ASSUME_32BITUIDS]: Remove conditional code.
19831         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
19832         <kernel-features.h>.
19833         [__ASSUME_32BITUIDS]: Make code unconditional.
19834         [!__ASSUME_32BITUIDS]: Remove conditional code.
19835         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
19836         <kernel-features.h>.
19837         [__ASSUME_32BITUIDS]: Make code unconditional.
19838         [!__ASSUME_32BITUIDS]: Remove conditional code.
19839         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
19840         <kernel-features.h>.
19841         [__ASSUME_32BITUIDS]: Make code unconditional.
19842         [!__ASSUME_32BITUIDS]: Remove conditional code.
19843         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
19844         <kernel-features.h>.
19845         [__ASSUME_32BITUIDS]: Make code unconditional.
19846         [!__ASSUME_32BITUIDS]: Remove conditional code.
19847         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
19848         <kernel-features.h>.
19849         [__ASSUME_32BITUIDS]: Make code unconditional.
19850         [!__ASSUME_32BITUIDS]: Remove conditional code.
19851         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
19852         <kernel-features.h>.
19853         [__ASSUME_32BITUIDS]: Make code unconditional.
19854         [!__ASSUME_32BITUIDS]: Remove conditional code.
19855         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
19856         <kernel-features.h>.
19857         [__ASSUME_32BITUIDS]: Make code unconditional.
19858         [!__ASSUME_32BITUIDS]: Remove conditional code.
19859         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19860         <kernel-features.h>.
19861         [__ASSUME_32BITUIDS]: Make code unconditional.
19862         [!__ASSUME_32BITUIDS]: Remove conditional code.
19863         * sysdeps/unix/sysv/linux/kernel-features.h
19864         (__ASSUME_SETRESUID_SYSCALL): Remove.
19865         (__ASSUME_SETRESGID_SYSCALL): Likewise.
19866         (__ASSUME_32BITUIDS): Likewise.
19867         (__ASSUME_LDT_WORKS): Likewise.
19868         (__ASSUME_O_DIRECTORY): Likewise.
19869         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
19870         architecture but not kernel version.
19871         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19872         (__ASSUME_MMAP2_SYSCALL): Likewise.
19873         (__ASSUME_STAT64_SYSCALL): Likewise.
19874         (__ASSUME_IPC64): Likewise.
19875         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
19876         <kernel-features.h>.
19877         [__ASSUME_32BITUIDS]: Make code unconditional.
19878         [!__ASSUME_32BITUIDS]: Remove conditional code.
19879         * sysdeps/unix/sysv/linux/opendir.c: Do not include
19880         <kernel-features.h>.
19881         [__ASSUME_O_DIRECTORY]: Make code unconditional.
19882         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
19883         132096]: Remove conditional code.
19884         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
19885         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19886         <kernel-features.h>.
19887         [__ASSUME_32BITUIDS]: Make code unconditional.
19888         [!__ASSUME_32BITUIDS]: Remove conditional code.
19889         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19890         <kernel-features.h>.
19891         [__ASSUME_32BITUIDS]: Make code unconditional.
19892         [!__ASSUME_32BITUIDS]: Remove conditional code.
19893         * sysdeps/unix/sysv/linux/setegid.c: Do not include
19894         <kernel-features.h>.
19895         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
19896         unconditional.
19897         (__setresgid): Do not declare.
19898         [__ASSUME_32BITUIDS]: Make code unconditional.
19899         [!__ASSUME_32BITUIDS]: Remove conditional code.
19900         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
19901         <kernel-features.h>.
19902         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
19903         unconditional.
19904         (__setresuid): Do not declare.
19905         [__ASSUME_32BITUIDS]: Make code unconditional.
19906         [!__ASSUME_32BITUIDS]: Remove conditional code.
19907         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19908         <kernel-features.h>.
19909         [__ASSUME_32BITUIDS]: Make code unconditional.
19910         [!__ASSUME_32BITUIDS]: Remove conditional code.
19911         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
19912         <kernel-features.h>.
19913         [__ASSUME_32BITUIDS]: Make code unconditional.
19914         [!__ASSUME_32BITUIDS]: Remove conditional code.
19916 2012-05-25  Richard Henderson  <rth@twiddle.net>
19918         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
19919         dl_hwcap to ifunc resolver.
19920         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
19921         elf_ifunc_invoke.
19922         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
19923         dl_hwcap to ifunc resolver.
19924         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
19926 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
19928         [BZ #14153]
19929         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
19930         for |x| <= 2**-26, not 2**-57.
19931         * math/libm-test.inc (acos_test): Do not allow spurious underflow
19932         exception.
19934 2012-05-24  Jeff Law  <law@redhat.com>
19936         * stdio-common/Makefile (tests): Add bug25.
19937         * stdio-common/bug25.c: New test.
19939 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
19941         [BZ #13576]
19942         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
19943         multiple of MALLOC_ALIGNMENT in size.
19944         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
19946 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
19948         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
19949         Require >= 256.
19950         (FILENAME_MAX): Use macro-int-constant.
19951         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
19952         (_IOFBF): Use macro-int-constant.
19953         (_IOLBF): Likewise.
19954         (_IONBF): Likewise.
19955         (SEEK_CUR): Likewise.
19956         (SEEK_END): Likewise.
19957         (SEEK_SET): Likewise.
19958         (TMP_MAX): Likewise.
19959         (EOF): Use macro-int-constant.  Require < 0.
19960         (NULL): Use macro-constant.  Require == 0.
19961         (stdin): Require type to be FILE *.
19962         (stdout): Likewise.
19963         (stderr): Likewise.
19964         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
19965         macro-int-constant.
19966         (EXIT_SUCCESS): Likewise.
19967         (NULL): Use macro-constant.  Require == 0.
19968         (RAND_MAX): Use macro-int-constant.
19969         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
19970         [C99-based standards] (strtof): Require function.
19971         [C99-based standards] (strtold): Likewise.
19972         [C99-based standards] (strtoll): Likewise.
19973         [C99-based standards] (strtoull): Likewise.
19974         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19975         [ISO || ISO99 || ISO11] (limits.h): Likewise.
19976         [ISO || ISO99 || ISO11] (math.h): Likewise.
19977         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
19978         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19979         [ISO || ISO99 || ISO11] (*_t): Do not allow.
19981 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
19983         [BZ #14132]
19984         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
19985         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
19986         * intl/dgettext.c (DCGETTEXT): Likewise.
19987         * intl/gettext.c (DCGETTEXT): Likewise.
19988         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
19989         * posix/regex_internal.h (gettext): Likewise.
19990         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
19991         Remove declaration.
19992         * include/argz.h (__argz_count_internal)
19993         (__argz_stringify_internal): Remove declaration.
19994         (__argz_count, __argz_stringify): Declare hidden proto.
19995         * intl/dcgettext.c: Remove use of INTDEF.
19996         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
19997         * string/argz-stringify.c: Likewise.
19998         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19999         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20000         Declare hidden proto.
20001         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20002         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20003         Declare hidden proto.
20004         * include/stdio.h (__asprintf_internal): Don't declare.
20005         (__asprintf): Don't define as macro.  Declare hidden proto.
20006         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
20007         (__fsetlocking): Declare hidden proto.
20008         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
20009         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
20010         hidden proto.
20011         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
20012         (_IO_setlinebuf): Remove use of INTUSE.
20013         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
20014         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
20015         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
20016         Remove declaration.
20017         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
20018         (_IO_do_flush): Remove use of INTUSE.
20019         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
20020         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
20021         (_IO_adjust_column, _IO_least_wmarker)
20022         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
20023         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
20024         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
20025         (_IO_default_doallocate, _IO_wdefault_doallocate)
20026         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
20027         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
20028         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
20029         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
20030         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
20031         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
20032         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
20033         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
20034         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
20035         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
20036         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
20037         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
20038         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
20039         proto.
20040         (_IO_flush_all_internal, _IO_adjust_column_internal)
20041         (_IO_default_uflow_internal, _IO_default_finish_internal)
20042         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
20043         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
20044         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
20045         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
20046         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
20047         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
20048         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
20049         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
20050         (_IO_file_close_internal, _IO_file_close_it_internal)
20051         (_IO_file_underflow_internal, _IO_file_overflow_internal)
20052         (_IO_file_init_internal, _IO_file_attach_internal)
20053         (_IO_file_fopen_internal, _IO_file_read_internal)
20054         (_IO_file_sync_internal, _IO_file_seek_internal)
20055         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
20056         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
20057         (_IO_str_underflow_internal, _IO_str_overflow_internal)
20058         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
20059         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
20060         (_IO_list_all_internal, _IO_link_in_internal)
20061         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
20062         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
20063         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
20064         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
20065         (_IO_do_write_internal, _IO_padn_internal)
20066         (_IO_getline_info_internal, _IO_getline_internal)
20067         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
20068         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
20069         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
20070         (_IO_vfscanf_internal, _IO_vfprintf_internal)
20071         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
20072         (_IO_init_internal, _IO_un_link_internal): Don't declare.
20073         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
20074         with libc_hidden_ver, remove use of INTUSE.
20075         * libio/genops.c: Likewise.
20076         * libio/freopen.c: Likewise.
20077         * libio/freopen64.c: Likewise.
20078         * libio/iofclose.c: Likewise.
20079         * libio/iofdopen.c: Likewise.
20080         * libio/iofflush.c: Likewise.
20081         * libio/iofflush_u.c: Likewise.
20082         * libio/iofgets.c: Likewise.
20083         * libio/iofgets_u.c: Likewise.
20084         * libio/iofopen.c: Likewise.
20085         * libio/iofopncook.c: Likewise.
20086         * libio/iofread.c: Likewise.
20087         * libio/iofread_u.c: Likewise.
20088         * libio/ioftell.c: Likewise.
20089         * libio/iofwrite.c: Likewise.
20090         * libio/iogetline.c: Likewise.
20091         * libio/iogets.c: Likewise.
20092         * libio/iogetwline.c: Likewise.
20093         * libio/iopadn.c: Likewise.
20094         * libio/iopopen.c: Likewise.
20095         * libio/ioseekoff.c: Likewise.
20096         * libio/ioseekpos.c: Likewise.
20097         * libio/iosetbuffer.c: Likewise.
20098         * libio/iosetvbuf.c: Likewise.
20099         * libio/ioungetc.c: Likewise.
20100         * libio/ioungetwc.c: Likewise.
20101         * libio/iovdprintf.c: Likewise.
20102         * libio/iovsprintf.c: Likewise.
20103         * libio/iovsscanf.c: Likewise.
20104         * libio/memstream.c: Likewise.
20105         * libio/obprintf.c: Likewise.
20106         * libio/oldfileops.c: Likewise.
20107         * libio/oldiofclose.c: Likewise.
20108         * libio/oldiofdopen.c: Likewise.
20109         * libio/oldiofopen.c: Likewise.
20110         * libio/oldiopopen.c: Likewise.
20111         * libio/oldstdfiles.c: Likewise.
20112         * libio/putc.c: Likewise.
20113         * libio/setbuf.c: Likewise.
20114         * libio/setlinebuf.c: Likewise.
20115         * libio/stdfiles.c: Likewise.
20116         * libio/strops.c: Likewise.
20117         * libio/vasprintf.c: Likewise.
20118         * libio/vscanf.c: Likewise.
20119         * libio/vsnprintf.c: Likewise.
20120         * libio/vswprintf.c: Likewise.
20121         * libio/wfiledoalloc.c: Likewise.
20122         * libio/wfileops.c: Likewise.
20123         * libio/wgenops.c: Likewise.
20124         * libio/wmemstream.c: Likewise.
20125         * libio/wstrops.c: Likewise.
20126         * libio/__fpurge.c: Likewise.
20127         * libio/__fsetlocking.c: Likewise.
20128         * assert/assert.c: Likewise.
20129         * debug/fgets_chk.c: Likewise.
20130         * debug/fgets_u_chk.c: Likewise.
20131         * debug/fread_chk.c: Likewise.
20132         * debug/fread_u_chk.c: Likewise.
20133         * debug/gets_chk.c: Likewise.
20134         * debug/obprintf_chk.c: Likewise.
20135         * debug/vasprintf_chk.c: Likewise.
20136         * debug/vdprintf_chk.c: Likewise.
20137         * debug/vsnprintf_chk.c: Likewise.
20138         * debug/vsprintf_chk.c: Likewise.
20139         * malloc/mtrace.c: Likewise.
20140         * misc/error.c: Likewise.
20141         * misc/syslog.c: Likewise.
20142         * stdio-common/asprintf.c: Likewise.
20143         * stdio-common/fxprintf.c: Likewise.
20144         * stdio-common/getw.c: Likewise.
20145         * stdio-common/isoc99_fscanf.c: Likewise.
20146         * stdio-common/isoc99_scanf.c: Likewise.
20147         * stdio-common/isoc99_vfscanf.c: Likewise.
20148         * stdio-common/isoc99_vscanf.c: Likewise.
20149         * stdio-common/isoc99_vsscanf.c: Likewise.
20150         * stdio-common/printf-prs.c: Likewise.
20151         * stdio-common/printf_fp.c: Likewise.
20152         * stdio-common/printf_fphex.c: Likewise.
20153         * stdio-common/printf_size.c: Likewise.
20154         * stdio-common/putw.c: Likewise.
20155         * stdio-common/scanf.c: Likewise.
20156         * stdio-common/sprintf.c: Likewise.
20157         * stdio-common/tmpfile.c: Likewise.
20158         * stdio-common/vfprintf.c: Likewise.
20159         * stdio-common/vfscanf.c: Likewise.
20160         * stdlib/strfmon_l.c: Likewise.
20161         * sunrpc/openchild.c: Likewise.
20162         * sunrpc/xdr_stdio.c: Likewise.
20163         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
20164         * sysdeps/mach/hurd/tmpfile.c: Likewise.
20166 2012-05-24  Roland McGrath  <roland@hack.frob.com>
20168         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20170         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
20171         in the third column, to generate for the shared library an IFUNC
20172         that uses _dl_vdso_vsym.
20173         * Makerules (COMPILE.c, compile-stdin.c): New variables.
20174         * Makeconfig (object-suffixes-noshared): New variable.
20176         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
20177         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
20178         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
20179         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
20181         [BZ #14132]
20182         * include/sys/time.h (__gettimeofday): Remove macro.
20183         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
20184         * time/gettimeofday.c (__gettimeofday): Remove #undef.
20185         Remove INTDEF.
20186         (__gettimeofday): Add libc_hidden_def.
20187         (gettimeofday): Add libc_hidden_weak.
20188         * sysdeps/mach/gettimeofday.c: Likewise.
20189         * sysdeps/posix/gettimeofday.c: Likewise.
20190         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
20191         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20192         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
20193         (__gettimeofday_internal): Remove strong_alias.
20194         (__gettimeofday): Add libc_hidden_def.
20195         (gettimeofday): Add libc_hidden_weak.
20196         * sysdeps/unix/syscalls.list (gettimeofday):
20197         Remove __gettimeofday_internal alias.
20199 2012-05-24  Daniel Jacobowitz  <drow@false.org>
20200             H.J. Lu  <hongjiu.lu@intel.com>
20202         [BZ #12495]
20203         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
20204         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
20205         (largebin_index_32_big): New.
20206         (largebin_index): Use it for 16-byte alignment.
20207         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
20208         correction with front_misalign.
20210 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
20212         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
20213         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20214         Likewise.
20215         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
20216         Likewise.
20217         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20218         Likewise.
20219         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
20220         Likewise.
20221         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
20222         Likewise.
20223         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
20224         Likewise.
20225         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
20226         Likewise.
20227         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20228         Likewise.
20229         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
20230         Likewise.
20231         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
20232         Likewise.
20233         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20234         Likewise.
20235         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
20236         Likewise.
20238         * scripts/data/c++-types-x32-linux-gnu.data: New file.
20239         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
20241 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
20243         [BZ #10846]
20244         [BZ #14036]
20245         * math/libm-test.inc (exp_test): Add test from bug 14036.
20246         (pow_test): Add test from bug 10846.
20248         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
20249         and other flags.
20250         (special_function): Do not include flags in test name.
20251         (parse_args): Likewise.
20252         * sysdeps/i386/fpu/libm-test-ulps: Update.
20253         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20254         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20255         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20258         * math/gen-libm-test.pl (%beautify): Add entries for underflow
20259         exceptions.
20260         * math/libm-test.inc ("Philosophy"): Update comment about
20261         exception testing.
20262         (UNDERFLOW_EXCEPTION): New macro.
20263         (UNDERFLOW_EXCEPTION_OK): Likewise.
20264         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
20265         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
20266         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
20267         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
20268         (INVALID_EXCEPTION_OK): Update value.
20269         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20270         (OVERFLOW_EXCEPTION_OK): Likewise.
20271         (IGNORE_ZERO_INF_SIGN): Likewise.
20272         (test_exceptions): Handle underflow exceptions.
20273         (acos_test): Update for underflow exception expectations.
20274         (cexp_test): Likewise.
20275         (clog_test): Likewise.
20276         (clog10_test): Likewise.
20277         (csqrt_test): Likewise.
20278         (ctan_test): Likewise.
20279         (ctanh_test): Likewise.
20280         (exp_test): Likewise.
20281         (exp10_test): Likewise.
20282         (exp2_test): Likewise.
20283         (expm1_test): Likewise.
20284         (fma_test): Likewise.
20285         (j0_test): Likewise.
20286         (jn_test): Likewise.
20287         (nexttoward_test): Likewise.
20288         (pow_test): Likewise.
20289         (scalbn_test): Likewise.
20290         (scalbln_test): Likewise.
20291         (tan_test): Likewise.
20292         (y1_test): Likewise.
20293         * sysdeps/i386/fpu/libm-test-ulps: Update.
20294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20296 2012-05-23  David S. Miller  <davem@davemloft.net>
20298         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20299         (__libc_sigaction): Remove unused local variables.
20301 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
20303         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
20305 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
20307         mktime: avoid signed integer overflow
20308         * time/mktime.c (__mktime_internal): Do not mishandle the case
20309         where diff == INT_MIN.
20311         mktime: simplify computation of average
20312         * time/mktime.c (ranged_convert): Use new time_t_avg function
20313         instead of rolling our own (probably-slower) code.
20315         mktime: do not assume signed right shift propagates sign bit
20316         * time/mktime.c (isdst_differ): New static function.
20317         (__mktime_internal): No need to normalize tm_isdst now.
20318         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
20319         tm_isdst values.
20321         mktime: merge another wrapv change from gnulib
20322         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
20323         from some compilers.
20325         mktime: remove incorrect attempt at unusual arithmetics
20326         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
20327         The code didn't really work on such machines anyway.
20328         (TYPE_MINIMUM): Assume two's complement.
20329         (twos_complement_arithmetic): Verify that long_int and time_t
20330         are two's complement (or unsigned, in the latter case).
20332         mktime: check signed shifts on long_int and time_t, too
20333         * time/mktime.c (SHR): Check that shifts work as desired
20334         on the types long_int and time_t too, as SHR is used on
20335         such types.
20337         mktime: do not assume 'long' is wide enough
20338         * time/mktime.c (verify): Move decl up.
20339         (long_int): New type.
20340         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
20341         to remove assumption in the code that 'long' is wide enough to
20342         store year values.  This assumption is not true on x32 and on
20343         some non-glibc platforms.
20345         mktime: merge wrapv change from gnulib
20346         * time/mktime.c (WRAPV): New macro.
20347         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
20348         (guess_time_tm, __mktime_internal): Do not assume that signed
20349         integer overflow wraps around; modern compilers generate code
20350         where this assumption is no longer valid.
20352 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
20354         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20355         Replace "jmp L(pseudo_end)" with "ret".
20356         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
20357         Likewise.
20359 2012-05-23  Andreas Jaeger  <aj@suse.de>
20361         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
20362         * sysdeps/unix/sysv/linux/poll.c: Remove file.
20364 2012-05-23  Andreas Jaeger  <aj@suse.de>
20365             Maximilian Attems  <max@stro.at>
20367         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
20368         New macros.
20370 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
20372         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
20373         code so that pseudo_end is just ret and the stack pointer is
20374         correct also for static library in error case.
20376 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
20378         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
20379         move to syscalls.list.
20380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
20381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20385         * manual/install.texi (Running make install): Do not mention Linux
20386         kernel version for which pt_chown is not needed.
20387         (Linux): Do not mention problems with nscd with 2.0 kernels.
20388         * INSTALL: Regenerated.
20390 2012-05-23  Andreas Jaeger  <aj@suse.de>
20392         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
20393         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
20394         macro.
20395         * sysdeps/unix/sysv/linux/s390/bits/mman.h
20396         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20397         * sysdeps/unix/sysv/linux/sh/bits/mman.h
20398         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20399         * sysdeps/unix/sysv/linux/i386/bits/mman.h
20400         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20401         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
20402         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20403         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
20404         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20405         * sysdeps/unix/sysv/linux/bits/in.h
20406         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
20408 2012-05-22  Roland McGrath  <roland@hack.frob.com>
20410         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
20411         (PREPARE_VERSION): Just use assert instead, it will be elided
20412         under [NDEBUG] anyway.
20414 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20416         * sysdeps/unix/sysv/linux/Makefile: Include
20417         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
20418         (sysdep_routines): Remove sysctl.
20419         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
20420         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
20421         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
20422         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
20423         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
20425 2012-05-22  Andreas Jaeger  <aj@suse.de>
20427         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
20428         that pseudo_end is just ret and the stack pointer is correct also
20429         for static library in error case.
20431 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
20433         [BZ #14122]
20434         * nss/nsswitch.c (defconfig_entries): New variable.
20435         (__nss_database_lookup): Don't leak defconfig entries.
20436         (nss_parse_service_list): Don't leak on error paths.
20437         (free_database_entries): New function.
20438         (free_defconfig): New function.
20439         (free_mem): Move common code to free_database_entries.
20441 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20443         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
20444         Add arch_prctl.
20445         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
20447         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20448         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
20449         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
20450         New macro.
20451         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
20452         (INTERNAL_SYSCALL_TYPES): Likewise.
20453         (LOAD_ARGS_TYPES_[1-6]): Likewise.
20454         (LOAD_REGS_TYPES_[1-6]): Likewise.
20455         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
20456         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
20458 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20460         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
20461         copysignl for GLIBC_2_0.
20462         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
20463         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
20464         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
20465         logbl for GLIBC_2_0.
20466         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
20467         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
20469 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20471         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
20472         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
20474         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20475         Use "neg %eax".
20477         * time/mktime.c: Update copyright years.
20479 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
20481         mktime: merge comment-quoting-style change from gnulib
20482         * time/mktime.c: Quote 'like this' in comments.
20483         The GNU coding standards suggest that we no longer quote `like this',
20484         as "`" and "'" are typically rendered asymmetrically nowadays.
20485         The typical gnulib style is to quote 'like this' when quoting
20486         code, and "like this" when quoting English.
20488         * time/mktime.c (compile-command): Add "-I.".
20490         mktime: merge mktime-internal.h change from gnulib
20491         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
20493         mktime: merge time_r change from gnulib
20494         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
20496         mktime: merge DEBUG change from gnulib
20497         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
20498         case system <time.h> has a #define.
20500         mktime: merge <sys/types.h> change from gnulib
20501         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
20502         since <time.t> is now guaranteed to define time_t.
20504         mktime: merge HAVE_CONFIG_H change from gnulib
20505         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
20507 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20509         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20510         Use "neg %eax".
20512         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
20513         __rlim_t cast.
20514         (struct rusage): Use anonymous union to pad each field to
20515         __syscall_slong_t.
20517 2012-05-21  David S. Miller  <davem@davemloft.net>
20519         * Makefules (o-iterator): Remove .s cases.
20520         (compile-command.s): Delete.
20521         (COMPILE.s): Delete.
20522         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
20524 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
20526         * configure.in (libc_cv_predef_stack_protector): Only consider
20527         "foobar" and "__stack_chk_fail" lines in libc_undefs.
20528         * configure: Regenerated.
20530 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
20532         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20533         New macro.  Use R*LP on int and pointer.
20534         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
20535         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
20536         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
20537         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
20539         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
20540         [__WORDSIZE_TIME64_COMPAT32] instead of
20541         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
20542         (struct utmp): Likewise.
20543         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
20544         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
20545         Renamed to ...
20546         (__WORDSIZE_TIME64_COMPAT32): This.
20547         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
20548         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
20549         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
20550         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
20551         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
20552         (__WORDSIZE_TIME64_COMPAT32): New macro.
20554 2012-05-21  Andreas Jaeger  <aj@suse.de>
20556         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
20557         only if [SHARED]. Add prototype for __wcschr_ia32.
20559 2012-05-21  Roland McGrath  <roland@hack.frob.com>
20561         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
20562         of %rbp unmolested in the jmp_buf while mangling the low bits.
20563         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
20564         unmolested high bits of %rbp while demangling the low bits.
20565         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20567 2012-05-21  Andreas Jaeger  <aj@suse.de>
20569         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
20570         * sunrpc/svc_simple.c: Use it for registerrpc.
20571         * sunrpc/xcrypt.c: Use it for passwd2des.
20573         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
20575 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
20577         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
20578         Don't define if [__SYSCALL_WORDSIZE != 32].
20579         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
20580         New macro.
20582 2012-05-21  Bruno Haible  <bruno@clisp.org>
20583             Andreas Jaeger  <aj@suse.de>
20585         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
20586         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
20587         inptr and inend for must_buffer_ch.
20588         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
20589         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
20590         * stdio-common/Makefile (tests): Remove bug15.
20591         (bug15-ENV): Remove macro.
20592         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
20593         anymore.
20595 2012-05-19  Andreas Jaeger  <aj@suse.de>
20596             Roland McGrath  <roland@hack.frob.com>
20598         * manual/contrib.texi: Completely rewritten. It contains now an
20599         alphabetical list of contributors and their contributions.
20601 2012-05-21  Richard Henderson  <rth@twiddle.net>
20603         * misc/getauxval.c (__getauxval): Use unsigned long int.
20604         * misc/sys/auxv.h: Include <sys/cdefs.h>.
20605         (getauxval): Use unsigned long int.
20607 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
20609         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20611 2012-05-21  Roland McGrath  <roland@hack.frob.com>
20613         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
20614         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
20615         __alignof__ (long double).
20617 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20619         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20621 2012-05-20  Richard Henderson  <rth@twiddle.net>
20623         * misc/getauxval.c: New file.
20624         * misc/sys/auxv.h: New file.
20625         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
20626         (routines): Add getauxval.
20627         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
20628         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
20629         * elf/dl-sysdep.c (_dl_auxv): Remove.
20630         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
20631         * elf/dl-support.c (_dl_auxv): New variable.
20632         (_dl_aux_init): Initialize it.
20633         * manual/startup.texi (Auxiliary Vector): New node.
20634         * sysdeps/generic/bits/hwcap.h: New file.
20635         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
20636         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
20637         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
20638         * sysdeps/sparc/sysdep.h: ... here.  Include it.
20639         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
20640         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
20641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20642         Update.
20643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
20644         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
20645         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
20646         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
20647         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20648         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20649         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
20650         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
20652 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20654         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20656 2012-05-19  David S. Miller  <davem@davemloft.net>
20658         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20660 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
20662         [BZ #14123]
20663         * math/s_ccosh.c: Include <float.h>
20664         (__ccosh): Avoid internal overflow calculating sinh and cosh
20665         values before multiplying by sin and cos values.
20666         * math/s_ccoshf.c: Likewise.
20667         * math/s_ccoshl.c: Likewise.
20668         * math/s_csin.c: Likewise.
20669         * math/s_csinf.c: Likewise.
20670         * math/s_csinl.c: Likewise.
20671         * math/s_csinh.c: Likewise.
20672         * math/s_csinhf.c: Likewise.
20673         * math/s_csinhl.c: Likewise.
20674         * math/libm-test.inc (ccos_test): Add more tests.
20675         (ccosh_test): Likewise.
20676         (csin_test): Likewise.
20677         (csinh_test): Likewise.
20678         * sysdeps/i386/fpu/libm-test-ulps: Update.
20679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20681 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
20683         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
20684         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20686         * sysdeps/x86_64/x32/_itoa.h: Add comment.
20688 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
20690         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
20691         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
20692         * sysdeps/powerpc/soft-fp/Versions: Likewise.
20693         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
20694         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
20695         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
20696         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
20697         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
20698         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
20699         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
20700         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
20701         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
20702         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
20703         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
20704         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
20705         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
20706         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
20707         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
20708         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
20709         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
20710         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
20711         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
20712         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
20713         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
20714         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
20715         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
20716         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
20717         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
20718         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
20719         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
20720         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
20722 2012-05-18  Andreas Jaeger  <aj@suse.de>
20724         * csu/.gitignore: Delete.
20726 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20728         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
20729         (timex): Use __syscall_slong_t.
20731 2012-05-18  Andreas Jaeger  <aj@suse.de>
20732             Carlos O'Donell  <carlos_odonell@mentor.com>
20734         * manual/install.texi (Configuring and compiling): Update
20735         description about files modified in the source directory.
20736         * INSTALL: Regenerated.
20738 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20740         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
20741         value.  Use "or" to set return value to -1.
20742         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
20743         negate return value.
20745 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20747         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
20748         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
20749         failure if the compiler has Graphite support disabled.
20750         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
20751         Likewise.
20752         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
20753         CFLAGS-memmove.c): Likewise.
20754         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
20755         Likewise.
20757 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20759         * sysdeps/x86_64/x32/_itoa.h: New file.
20761         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
20762         getdents system call only if kernel and user dirents have the
20763         same d_ino and d_off.
20765         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20766         LLONG_MAX != LONG_MAX.
20767         (_itoa_word): Use _ITOA_WORD_TYPE on value.
20768         (_fitoa_word): Likewise.
20770         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
20771         years.
20772         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
20773         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
20774         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
20776         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
20777         include <bits/wordsize.h>.  Check __x86_64__ instead of
20778         __WORDSIZE.
20779         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
20780         if __x86_64__ is defined.  Use anonymous union on fpstate.
20782         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
20783         anonymous union.
20785 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
20787         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
20788         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
20789         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
20790         Refer to _rtld_local_ro instead of _rtld_global_ro.
20791         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
20792         Likewise.
20793         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
20794         Likewise.
20795         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
20796         Likewise.
20797         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
20798         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
20799         of _rtld_global, and rtld_progname instead of _dl_argv[0].
20801         * sysdeps/powerpc/powerpc32/dl-machine.c
20802         (__elf_machine_runtime_setup) [PROF]: Don't reference
20803         _dl_prof_resolve.
20805 2012-05-18  Andreas Jaeger  <aj@suse.de>
20807         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
20808         function only available for GCCs before 3.4 since GCC 3.4
20809         introduced a builtin.
20810         (lrint): Likewise.
20811         (llrintf): Likewise.
20812         (llrint): Likewise.
20813         (fmaxf): Likewise.
20814         (fmax): Likewise.
20815         (fminf): Likewise.
20816         (fmin): Likewise.
20817         (rint): Likewise.
20818         (rintf): Likewise.
20819         (nearbyint): Likewise.
20820         (nearbyintf): Likewise.
20821         (ceil): Likewise.
20822         (ceilf): Likewise.
20823         (floor): Likewise.
20824         (floorf): Likewise.
20826 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
20828         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
20829         on both fields and cast pointer to __syscall_ulong_t.
20831         * bits/types.h (__fsword_t): New type.
20832         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
20833         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
20834         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20835         (__FSWORD_T_TYPE): Likewise.
20836         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20837         (__FSWORD_T_TYPE): Likewise.
20838         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20839         (__FSWORD_T_TYPE): Likewise.
20840         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
20841         (__FSWORD_T_TYPE): Likewise.
20842         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
20843         __SWORD_TYPE with __fsword_t.
20844         (statfs64): Likewise.
20846 2012-05-17  David S. Miller  <davem@davemloft.net>
20848         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
20850 2012-05-17  Andreas Jaeger  <aj@suse.de>
20852         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
20853         warning.
20855 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
20857         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
20859 2012-05-17  Andreas Jaeger  <aj@suse.de>
20861         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
20862         when it is used.
20864 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
20866         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
20868 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
20870         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
20871         * sysdeps/x86_64/tst-mallocalign1.c: New file.
20873 2012-05-17  Andreas Jaeger  <aj@suse.de>
20874             Carlos O'Donell  <carlos_odonell@mentor.com>
20876         [BZ #14059]
20877         * sysdeps/x86_64/multiarch/init-arch.h
20878         (bit_YMM_Usable): Rename to...
20879         (bit_AVX_Usable): ... this.
20880         (bit_FMA4_Usable): New macro.
20881         (bit_XMM_state): New macro.
20882         (bit_YMM_state): New macro.
20883         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
20884         [__ASSEMBLER__] (index_AVX_Usable): ... this.
20885         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
20886         (CPUID_OSXSAVE): New macro.
20887         (CPUID_AVX): New macro.
20888         (CPUID_FMA4): New macro.
20889         (index_YMM_Usable): Rename to...
20890         (index_AVX_Usable): ... this.
20891         (HAS_AVX): Use HAS_ARCH_FEATURE.
20892         (HAS_FMA4): Likewise.
20893         (HAS_YMM_USABLE): Remove.
20894         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20895         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
20896         are present.
20897         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
20898         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
20899         * sysdeps/x86_64/multiarch/Makefile: Likewise.
20900         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
20901         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
20903 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
20905         * math/libm-test.c: Support platforms without multiple rounding modes.
20906         * math/bug-nextafter.c: Support platforms without FP exceptions.
20907         * math/bug-nexttoward.c: Likewise.
20908         * math/test-fenv.c: Likewise.
20909         * math/test-misc.c: Likewise.
20910         * stdlib/bug-getcontext.c: Likewise.
20912 2012-05-17  Andreas Jaeger  <aj@suse.de>
20914         * manual/examples/search.c (critter_cmp): Change signature to
20915         avoid warnings.
20916         * manual/string.texi (Collation Functions): Likewise.
20918 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20920         * bits/types.h: Fold copyright years.
20921         * bits/typesizes.h: Likewise.
20922         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
20923         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20924         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
20925         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
20926         * time/time.h: Likewise.
20928 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
20930         [BZ #208]
20931         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
20932         in instead of returning them.  Return void.
20933         (__libc_mallinfo): Accumulate over all arenas.
20934         (__malloc_stats): Adjust for change in int_mallinfo interface.
20936 2012-05-16  Roland McGrath  <roland@hack.frob.com>
20938         [BZ #10375]
20939         * configure.in (NM): Add AC_CHECK_TOOL for it.
20940         (libc_extra_cflags): New substituted variable.
20941         Check for -fstack-protector being used implicitly.
20942         * configure: Regenerated.
20943         * config.make.in (config-extra-cflags): New variable,
20944         gets @libc_extra_cflags@.
20945         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
20947         [BZ #10375]
20948         * configure.in: Check for _FORTIFY_SOURCE being predefined.
20949         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
20950         * configure: Regenerated.
20951         * config.make.in (CPPUNDEFS): New substituted variable.
20952         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
20953         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
20954         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
20956 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20958         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
20959         (mq_attr): Use __syscall_slong_t.
20961 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20963         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
20964         Check __x86_64__ instead of __WORDSIZE.
20965         (_STAT_VER_LINUX): Likewise.
20966         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
20967         __syscall_ulong_t and __syscall_slong_t.
20968         (stat64): Likewise.
20970 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20972         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
20974 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20976         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
20978 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20980         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
20981         __syscall_ulong_t.
20983         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
20984         include <bits/wordsize.h>.  Check __x86_64__ instead of
20985         __WORDSIZE.
20986         (greg_t): Use "__extension__ long long int" if __x86_64__ is
20987         defined.
20988         (mcontext_t): Replace "unsigned long" with "unsigned long long".
20990         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
20991         include <bits/wordsize.h>.  Check __x86_64__ instead of
20992         __WORDSIZE.
20993         (user_regs_struct): Use "__extension__ unsigned long long"
20994         instead of "unsigned long" if __x86_64__ is defined.
20995         (user): Likewise.  Pad after pointer field if __ILP32__ is
20996         defined.
20998 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
21000         * configure.in (makeinfo): Require version 4.5 or later.  Allow
21001         versions 5 to 9.
21002         * configure: Regenerated.
21003         * manual/install.texi (texinfo): Increase version requirement to
21004         4.5 or later.
21005         * INSTALL: Regenerated.
21007         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
21009 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
21011         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
21013         * sysdeps/x86_64/x32/ffs.c: New file.
21015         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
21016         __syscall_ulong_t.
21017         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
21018         defined.  Use __syscall_ulong_t.
21019         (shminfo): Use __syscall_ulong_t.
21020         (shm_info): Likewise.
21022         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
21023         __syscall_ulong_t.
21025         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
21026         <bits/wordsize.h>.
21027         (msgqnum_t): Use __syscall_ulong_t.
21028         (msglen_t): Likewise.
21029         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
21030         __syscall_ulong_t.
21032         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
21033         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
21035         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
21037         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
21038         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
21040         * sysvipc/sys/msg.h (msgbuf): Replace long int with
21041         __syscall_slong_t.
21043         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
21044         include <bits/wordsize.h>.  Check __x86_64__ instead of
21045         __WORDSIZE.
21047         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
21048         "unsigned long long int" if __x86_64__ is defined.
21049         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
21051         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
21052         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
21053         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
21055         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
21056         <stdint.h>.
21057         (GET_PC): Cast to uintptr_t first.
21058         (GET_FRAME): Likewise.
21059         (GET_STACK): Likewise.
21061         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
21062         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
21063         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
21064         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
21065         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
21066         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
21067         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
21068         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
21069         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
21070         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
21071         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
21072         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
21073         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21074         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
21075         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
21076         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
21077         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
21078         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
21079         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
21080         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
21081         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
21082         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
21083         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
21084         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
21085         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
21086         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
21087         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
21088         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
21089         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
21091 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
21093         * Makerules (+depfiles): Also collect depfiles from .oS in
21094         $(extra-objs).
21095         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
21096         .oS, $(libnldbl-routines)).
21098         * Makerules (native-compile-mkdep-flags): Define.
21099         * sunrpc/Makefile (extra-objs): Add $(addprefix
21100         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
21101         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
21102         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
21103         calling $(make-target-directory).
21105 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21107         * bits/types.h (__snseconds_t): Removed.
21108         * time/time.h (struct timespec): Replace __snseconds_t with
21109         __syscall_slong_t.
21110         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
21111         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
21112         Likewise.
21113         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21114         (__SNSECONDS_T_TYPE): Likewise.
21115         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21116         (__SNSECONDS_T_TYPE): Likewise.
21117         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21118         (__SNSECONDS_T_TYPE): Likewise.
21120 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21122         * sysdeps/mach/hurd/bits/typesizes.h
21123         (__SYSCALL_SLONG_TYPE): New macro.
21124         (__SYSCALL_ULONG_TYPE): Likewise.
21126 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21128         * bits/types.h (__syscall_slong_t): New type.
21129         (__syscall_ulong_t): Likewise.
21131         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
21132         (__SYSCALL_ULONG_TYPE): Likewise.
21133         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21134         (__SYSCALL_SLONG_TYPE): Likewise.
21135         (__SYSCALL_ULONG_TYPE): Likewise.
21136         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21137         (__SYSCALL_SLONG_TYPE): Likewise.
21138         (__SYSCALL_ULONG_TYPE): Likewise.
21139         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21140         (__SYSCALL_SLONG_TYPE): Likewise.
21141         (__SYSCALL_ULONG_TYPE): Likewise.
21143 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21145         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
21146         Add sigaltstack-offsets.sym.
21147         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
21148         <sigaltstack-offsets.h>.
21149         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
21150         longjmp_msg pointer.
21151         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
21152         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
21153         signal stack.
21154         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
21156 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
21158         * elf/stackguard-macros.h: Remove file.
21159         * sysdeps/generic/stackguard-macros.h: New file.
21160         * sysdeps/i386/stackguard-macros.h: Likewise.
21161         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21162         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21163         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21164         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21165         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21166         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21167         * sysdeps/x86_64/stackguard-macros.h: Likewise.
21168         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
21169         <elf/stackguard-macros.h>.
21171         [BZ #14109]
21172         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
21173         __aligned__ in attribute.
21174         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
21175         (gregset_t): Likewise.
21177 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21179         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
21180         * sysdeps/x86_64/64/Implies-after: Here.  New file.
21181         * sysdeps/x86_64/x32/Implies-after: New file.
21183 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21185         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
21186         and access return value for _dl_profile_fixup.  Use R10_LP to
21187         load frame size.
21189 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21191         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
21193 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21195         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
21196         * sysdeps/x86_64/x32/sysdep.h: New file.
21198 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21200         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
21201         * sysdeps/x86_64/setjmp.S: Likewise.
21203 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21205         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
21206         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
21207         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
21208         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
21209         remove unused global constant.
21211 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
21213         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
21214         include of <not-cancel.h>.
21216 2012-05-15  Roland McGrath  <roland@hack.frob.com>
21218         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
21220 2012-05-15  Jeff Law  <law@redhat.com>
21221             Andreas Jaeger  <aj@suse.de>
21223         [BZ #13594]
21224         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
21225         out from...
21226         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
21227         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
21228         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
21229         code changing __hst_map_handle.map.
21231 2012-05-15  Roland McGrath  <roland@hack.frob.com>
21233         * configure.in (sysnames): Look for Implies-before and Implies-after
21234         files.
21235         * configure: Regenerated.
21237 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21239         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
21240         8-byte data alignment with LP_SIZE alignment.
21242 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21244         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
21245         into R10_LP.
21247 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21249         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
21251 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21253         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
21254         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
21255         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
21256         Likewise.
21257         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21259 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21261         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
21262         (stackinfo_sub_sp): Likewise.
21264 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21266         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
21267         RAX_LP.
21269 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21271         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
21272         into R*_LP.
21274 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21276         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
21277         sizes into R*_LP.
21279 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21281         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
21283 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21285         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
21286         into R11_LP and load __x86_64_shared_cache_size_half into
21287         R8_LP.
21289 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21291         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
21292         R8_LP.
21294 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21296         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
21297         logb for POWER7.
21298         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
21299         logbf for POWER7.
21300         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
21301         logbl for POWER7.
21302         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
21303         powerpc32/power7/fpu/s_logb.c via #include.
21304         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
21305         powerpc32/power7/fpu/s_logbf.c via #include.
21306         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
21307         powerpc32/power7/fpu/s_logbl.c via #include.
21309 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
21311         * README.libm: Remove file.
21313 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21315         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
21316         count for x32.  Use R*_LP and omit operand-size suffix.
21318 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21320         * shlib-versions: Move x86_64-.*-linux.* entries to ...
21321         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
21322         * sysdeps/x86_64/x32/shlib-versions: New file.
21324 2012-05-14  Roland McGrath  <roland@hack.frob.com>
21326         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
21327         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
21328         Use _dl_fatal_printf instead.
21330 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
21332         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
21333         set if not set by the user.  Do not allow for being unset.
21334         * sysdeps/unix/sysv/linux/configure: Regenerated.
21336 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21338         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
21339         the `q' suffix from lea and replace .quad with ASM_ADDR.
21341 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21343         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
21344         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
21345         instead of $17.
21346         (PTR_DEMANGLE): Likewise.
21348 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21350         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
21351         (LP_OP): Likewise.
21352         (ASM_ADDR): Likewise.
21353         (RAX_LP): Likewise.
21354         (RBP_LP): Likewise.
21355         (RBX_LP): Likewise.
21356         (RCX_LP): Likewise.
21357         (RDI_LP): Likewise.
21358         (RSI_LP): Likewise.
21359         (RSP_LP): Likewise.
21360         (R8_LP): Likewise.
21361         (R9_LP): Likewise.
21362         (R10_LP): Likewise.
21363         (R10_LP): Likewise.
21364         (R11_LP): Likewise.
21365         (R12_LP): Likewise.
21366         (R13_LP): Likewise.
21367         (R14_LP): Likewise.
21368         (R15_LP): Likewise.
21370 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21372         * sysdeps/x86_64/x32/dl-machine.h: New file.
21374 2012-05-14  Andreas Jaeger  <aj@suse.de>
21376         * manual/Makefile (subdir): Remove export of subdir.
21377         (all): Remove target.
21378         (.PHONY): Remove all from list.
21379         (mkinstalldirs): Remove.
21380         (.PHONY): Remove installdirs from list.
21381         ($(inst_infodir)/libc.info): Use make-target-directory.
21382         (installdirs): Remove.
21383         (subdir_%): Remove.
21384         (glibc-targets): Remove.
21385         (lib): Remove.
21386         (stubs): Remove.
21387         ($(objpfx)stubs ../po/manual.pot): Remove.
21388         ($(objpfx)stamp%): Remove.
21389         (make-target-directory): Remove.
21390         (subdir_install): Remove.
21391         (routines): Remove.
21392         (aux): Remove.
21393         (sources): Remove.
21394         (objects): Remove.
21395         (headers): Remove.
21397         [BZ #13750]
21398         * manual/.gitignore: Remove, it's not needed anymore.
21399         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
21400         all files in it.
21401         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
21402         directory.
21403         (texis): Renamed to $(objpfx)texis.
21404         (texis-path): New, contains path to generated files.
21405         (chapters.%): Use texis-path for complete path, add extra argument
21406         libc-texinfo.sh.
21407         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
21408         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
21409         (summary,texi, stamp-summary): Use complete path of
21410         files. Generate files in build dir.
21411         (dir-add.texi): Build in build dir.
21412         (libm-err.texi,stamp-libm-err): Likewise.
21413         (version.texi, stamp-version): Likewise.
21414         (.%c.texi): Likewise.
21415         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
21416         (mostlyclean): Remove target.
21417         (realclean): Remove target.
21418         (generated): Add new variable with contents from mostlyclean and
21419         realclean, remove entries duplicated in common-mostlyclean, add
21420         stamp-libm-err and stamp-version.
21421         (generated-dirs): Add libc directory.
21422         ($(inst_infodir)/libc.info): Install files from build dir.
21424         * manual/install.texi (Configuring and compiling): Adjust since
21425         the info files are not part of the tar ball anymore.
21427 2012-05-14  Andreas Jaeger  <aj@suse.de>
21429         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
21430         variable.
21432 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
21434         [BZ #13717]
21435         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21436         to 2.2.0 where earlier.
21437         * sysdeps/unix/sysv/linux/configure: Regenerated.
21438         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
21439         Remove conditional code.
21440         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
21441         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
21442         Remove conditional code.
21443         [!__NR_lchown]: Likewise.
21444         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21445         [__NR_lchown]: Likewise.
21446         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
21447         comment referencing __ASSUME_LCHOWN_SYSCALL.
21448         * sysdeps/unix/sysv/linux/i386/sigaction.c
21449         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21450         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21451         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
21452         Remove conditional code.
21453         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
21454         (__protocol_available): Remove #if 0 code.
21455         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
21456         conditional code.
21457         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
21458         * sysdeps/unix/sysv/linux/kernel-features.h
21459         (__ASSUME_GETCWD_SYSCALL): Don't define.
21460         (__ASSUME_REALTIME_SIGNALS): Likewise.
21461         (__ASSUME_PREAD_SYSCALL): Likewise.
21462         (__ASSUME_PWRITE_SYSCALL): Likewise.
21463         (__ASSUME_POLL_SYSCALL): Likewise.
21464         (__ASSUME_LCHOWN_SYSCALL): Likewise.
21465         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
21466         non-SPARC.
21467         (__ASSUME_SIOCGIFNAME): Don't define.
21468         (__ASSUME_MSG_NOSIGNAL): Likewise.
21469         (__ASSUME_SENDFILE): Define unconditionally.
21470         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
21471         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
21472         conditional code.
21473         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
21474         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
21475         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21476         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21477         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
21478         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21479         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
21481         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21482         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21484         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21485         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
21487         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21488         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
21490         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21491         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
21493         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21494         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
21496         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21497         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
21499         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21500         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
21502         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21503         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21504         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
21505         Remove conditional code.
21506         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21507         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21508         Remove conditional code.
21509         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21510         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
21511         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
21512         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21513         Remove conditional code.
21514         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21515         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
21516         Remove conditional code.
21517         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21518         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
21519         Remove conditional code.
21520         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21521         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21522         Remove conditional code.
21523         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21524         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21525         Remove conditional code.
21526         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21527         * sysdeps/unix/sysv/linux/sh/pwrite64.c
21528         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21529         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21530         * sysdeps/unix/sysv/linux/sigaction.c
21531         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21532         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21533         * sysdeps/unix/sysv/linux/sigpending.c
21534         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21535         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21536         * sysdeps/unix/sysv/linux/sigprocmask.c
21537         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21538         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21539         * sysdeps/unix/sysv/linux/sigsuspend.c
21540         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21541         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21542         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21543         (__libc_missing_rt_sigs): Remove.
21544         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
21545         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
21546         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
21547         Remove conditional code.
21548         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
21549         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
21550         return 1.
21551         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
21552         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
21553         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
21554         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
21556 2012-05-14  Andreas Jaeger  <aj@suse.de>
21558         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
21559         it's not used in glibc.
21560         (__coshm1): Likewise.
21561         (__acosh1p): Likewise.
21562         (__sgn): Likewise.
21564         * manual/string.texi (Copying and Concatenation): Add missing
21565         variable in concat example.
21566         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21568 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21570         [BZ #14103]
21571         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
21572         __builtin_clzl with __builtin_clzll.
21574 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21576         [BZ #14104]
21577         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
21578         libc_freeres_ptr.
21580 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21582         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
21583         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
21584         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
21585         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
21587 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
21589         * NEWS: Update ia64 info.
21591 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
21593         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
21594         used as bcopy.
21596 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
21598         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
21599         * sysdeps/unix/syscalls.list (dup3): Likewise.
21600         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
21601         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
21603 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
21605         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
21606         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
21608 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
21610         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
21611         thread pointer.
21612         (TLS_IE): Use mov/add instead of movq/addq to load thread
21613         pointer.
21614         (TLS_GD_PREFIX): New.
21615         (TLS_GD): Use it.
21617 2012-05-11  David S. Miller  <davem@davemloft.net>
21619         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
21620         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
21621         (_FPU_SETCW): Likewise.
21623 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
21625         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
21626         is 32-byte aligned.
21628 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
21630         [BZ #11837]
21631         * iconvdata/gb18030.c: Update tables.
21632         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
21633         characters specially.
21634         (BODY for TO_LOOP): Add encoding of missing ranges.
21636 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
21638         [BZ #13673]
21639         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
21640         * sysdeps/mach/hurd/dup3.c: Likewise.
21641         * sysdeps/mach/hurd/readlinkat.c: Likewise.
21642         * sysdeps/powerpc/memmove.c:: Likewise.
21644 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
21646         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
21647         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
21649 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
21651         * elf/elf.h (R_X86_64_RELATIVE64): New.
21652         (R_X86_64_NUM): Updated.
21653         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21654         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
21655         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
21656         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
21657         tst-quad1pie tst-quad2pie
21658         (modules-names): Add tst-quadmod1 tst-quadmod2.
21659         ($(objpfx)tst-quad1): New dependency.
21660         ($(objpfx)tst-quad2): Likewise.
21661         ($(objpfx)tst-quad1pie): Likewise.
21662         ($(objpfx)tst-quad2pie): Likewise.
21663         * sysdeps/x86_64/tst-quad1.c: New file.
21664         * sysdeps/x86_64/tst-quad1pie.c: New file.
21665         * sysdeps/x86_64/tst-quad2.c: Likewise.
21666         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
21667         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
21668         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
21669         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
21670         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
21672 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21674         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
21675         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
21676         * streams/stropts.h (t_scalar_t): Define type.
21678         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
21679         (_PATH_PRESERVE): Set to "/var/lib".
21680         (_PATH_RWHODIR): Set to "/var/spool/rwho".
21682         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
21683         instead of int.
21685         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
21686         if __dir_mkfile succeeded.
21688         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
21689         checking for _hurd_dtablesize.  Unlock it right after having
21690         finished _hurd_dtable allocation.
21692 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21694         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
21695         * sysdeps/mach/hurd/configure: Regenerated.
21696         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
21697         special-casing to...
21698         * sysdeps/gnu/configure.in: ... this new file.
21699         * sysdeps/unix/sysv/linux/configure: Regenerated.
21700         * sysdeps/gnu/configure: New generated file.
21702         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
21703         for Linux: use nsec instead of usec, as well as:
21704         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
21705         members of type struct timespec.
21706         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
21707         New macros.
21708         (struct stat64): Likewise.
21709         (_STATBUF_ST_NSEC): New macro.
21710         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
21712         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21713         __strtoul_internal rather than strtoul.
21715 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21717         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
21718         and reject them.
21720 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21722         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
21723         which preserves existing values.
21724         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
21726 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21728         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
21729         TIMEOUT values.  Return EINVAL for NFDS values either negative or
21730         greater than FD_SETSIZE.
21732 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21734         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
21735         allocated, call __vm_protect to finish enabling the existing space, and
21736         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
21737         allocate the remainder.
21739 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21741         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
21742         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
21744 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21746         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
21747         sysdeps/mach/hurd/readlink.c.
21749         * posix/tst-sysconf.c (posix_options): Only use
21750         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
21751         _POSIX_SYNCHRONIZED_IO when they are defined
21752         * sysdeps/mach/hurd/bits/posix_opt.h:
21753         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
21754         (_XOPEN_REALTIME): Undefine macro.
21755         (_XOPEN_REALTIME_THREADS): Undefine macro.
21756         (_XOPEN_SHM): Undefine macro.
21757         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
21758         macro to -1.
21759         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
21760         macro to -1.
21761         (_POSIX_ASYNC_IO): Undefine macro.
21762         (_POSIX_PRIORITIZED_IO): Undefine macro.
21763         (_POSIX_SPIN_LOCKS): Define macro to -1.
21765         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
21766         SA_NODEFER, SA_RESETHAND.
21767         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
21768         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
21769         F_DUPFD_CLOEXEC.
21771 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21773         * elf/Makefile (pldd-modules): Define unconditionally.
21775 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21777         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
21779 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21781         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
21782         Return ENOENT when name is empty.
21783         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
21785 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21787         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
21789         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
21791 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21793         Fix mlock in all cases except non-readable pages.
21794         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
21795         instead of VM_PROT_ALL as parameter to __vm_wire function.
21797         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
21798         (__mkdir): When path is `/', just fail with EEXIST.
21799         * sysdeps/mach/hurd/mkdirat.c: Likewise.
21801 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21803         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
21804         <sys/uio.h> (for writev).
21805         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
21806         and <sys/param.h> (for MIN).
21808 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21810         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
21811         REQUESTED_TIME.  Properly set the remaining time and return EINTR
21812         if interrupted.
21814 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21816         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
21817         Depend on against $(link-rpcuserlibs).
21819 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21821         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
21822         (__libc_stack_end): Do not use attribute_relro.
21823         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
21824         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
21825         to libthread-provided value.
21826         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
21827         attribute_relro.
21829 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21831         [BZ #3748]
21832         * bits/libc-lock.h (__libc_once_get): New macro.
21833         * sysdeps/mach/bits/libc-lock.h: Likewise.
21834         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
21835         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
21836         instead of using implementation details.
21838         * libio/fileops.c: Unconditionally include <kernel-features.h>.
21839         * libio/freopen.c: Likewise.
21840         * libio/freopen64.c: Likewise.
21841         * misc/syslog.c: Likewise.
21842         * nscd/connections.c: Likewise.
21843         * nscd/netgroupcache.c: Likewise.
21844         * sysdeps/posix/getcwd.c: Likewise.
21846 2012-05-10  Roland McGrath  <roland@hack.frob.com>
21848         * math/w_ilogbf.c: Add #include <limits.h>.
21850 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21852         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
21853         path instead of returning without unlocking.
21855         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
21856         immediate-write ioctls.
21857         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
21859 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21861         * sysdeps/mach/hurd/i386/init-first.c (init): Use
21862         __builtin_frame_address instead of making assumptions about the
21863         location of the return address relative to DATA.  Force early load of
21864         the return address.
21865         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
21866         __builtin_frame_address.
21868         dup3 for GNU Hurd.
21869         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
21870         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
21871         implement dup3 and do some further code clean-ups.
21872         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
21873         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
21875 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21877         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
21879         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
21880         HURD_CRITICAL_END around holding _hurd_dtable_lock.
21881         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
21882         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
21883         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
21884         d->port.lock.
21886         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
21887         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
21888         when handler == SIG_ERR, not when handler != SIG_ERR.
21890 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21892         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
21893         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
21894         definitions.
21896         accept4 for GNU Hurd.
21897         * include/sys/socket.h (__libc_accept4): New prototype.
21898         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
21899         to implement __libc_accept4.
21900         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
21901         __libc_accept4.
21902         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
21904         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
21905         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
21906         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
21907         signal-defines.sym.
21909 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21911         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
21913 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21915         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
21916         assertion on O_CLOEXEC flag.
21917         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
21918         * hurd/intern-fd.c: Likewise.
21919         * hurd/port2fd.c: Likewise.
21921 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21923         [BZ #3906]
21924         * bits/in.h (IPV6_PKTINFO): Define new macro.
21925         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
21927 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21929         [BZ #13954]
21930         [BZ #13955]
21931         [BZ #13956]
21932         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
21933         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21934         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
21935         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21936         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21937         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21938         * math/libm-test.inc (logb_test) : Additional logb tests.
21940 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
21941             Andreas Jaeger  <aj@suse.de>
21943         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
21944         * configure: Regenerated.
21945         * config.h.in (LINK_OBSOLETE_RPC): New macro.
21946         * config.make.in (link-obsolete-rpc): New substituted variable.
21947         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
21948         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
21949         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21950         (shared-only-routines): Don't set it under [link-obsolete-rpc],
21951         so that libc.a contains the symbols.
21952         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21953         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
21954         * sunrpc/auth_none.c: Likewise.
21955         * sunrpc/auth_unix.c: Likewise.
21956         * sunrpc/authdes_prot.c: Likewise.
21957         * sunrpc/authuxprot.c: Likewise.
21958         * sunrpc/clnt_gen.c: Likewise.
21959         * sunrpc/clnt_perr.c: Likewise.
21960         * sunrpc/clnt_raw.c: Likewise.
21961         * sunrpc/clnt_simp.c: Likewise.
21962         * sunrpc/clnt_tcp.c: Likewise.
21963         * sunrpc/clnt_udp.c: Likewise.
21964         * sunrpc/clnt_unix.c: Likewise.
21965         * sunrpc/des_crypt.c: Likewise.
21966         * sunrpc/des_soft.c: Likewise.
21967         * sunrpc/get_myaddr.c: Likewise.
21968         * sunrpc/key_call.c: Likewise.
21969         * sunrpc/key_prot.c: Likewise.
21970         * sunrpc/netname.c: Likewise.
21971         * sunrpc/pm_getmaps.c: Likewise.
21972         * sunrpc/pm_getport.c: Likewise.
21973         * sunrpc/pmap_clnt.c: Likewise.
21974         * sunrpc/pmap_prot.c: Likewise.
21975         * sunrpc/pmap_prot2.c: Likewise.
21976         * sunrpc/pmap_rmt.c: Likewise.
21977         * sunrpc/publickey.c: Likewise.
21978         * sunrpc/rpc_cmsg.c: Likewise.
21979         * sunrpc/rpc_common.c: Likewise.
21980         * sunrpc/rpc_dtable.c: Likewise.
21981         * sunrpc/rpc_prot.c: Likewise.
21982         * sunrpc/rpc_thread.c: Likewise.
21983         * sunrpc/rtime.c: Likewise.
21984         * sunrpc/svc.c: Likewise.
21985         * sunrpc/svc_auth.c: Likewise.
21986         * sunrpc/svc_raw.c: Likewise.
21987         * sunrpc/svc_run.c: Likewise.
21988         * sunrpc/svc_tcp.c: Likewise.
21989         * sunrpc/svc_udp.c: Likewise.
21990         * sunrpc/svc_unix.c: Likewise.
21991         * sunrpc/svcauth_des.c: Likewise.
21992         * sunrpc/xcrypt.c: Likewise.
21993         * sunrpc/xdr.c: Likewise.
21994         * sunrpc/xdr_array.c: Likewise.
21995         * sunrpc/xdr_float.c: Likewise.
21996         * sunrpc/xdr_intXX_t.c: Likewise.
21997         * sunrpc/xdr_mem.c: Likewise.
21998         * sunrpc/xdr_rec.c: Likewise.
21999         * sunrpc/xdr_ref.c: Likewise.
22000         * sunrpc/xdr_sizeof.c: Likewise.
22001         * sunrpc/xdr_stdio.c: Likewise.
22003 2012-05-10  Roland McGrath  <roland@hack.frob.com>
22005         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
22006         change.  Update copyright years.
22008 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
22010         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
22012 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
22013             Joseph Myers  <joseph@codesourcery.com>
22014             Paul Pluzhnikov  <ppluzhnikov@google.com>
22016         [BZ #14012]
22017         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
22018         requiring rpcgen.
22019         [cross-compiling] (extra-libs): Likewise.
22020         [cross-compiling] (extra-libs-others): Likewise.
22021         [cross-compiling] (librpcsvc-routines): Likewise.
22022         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
22023         [cross-compiling] (omit-deps): Likewise.
22024         (sunrpc-CPPFLAGS): New variable.
22025         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
22026         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
22027         (cross-rpcgen-objs): New variable.
22028         (extra-objs): Append $(cross-rpcgen-objs).
22029         ($(cross-rpcgen-objs)): New rule.
22030         ($(objpfx)cross-rpcgen): Likewise.
22031         (rpcgen-cmd): Define to use $(built-program-file).  Expand
22032         comment.
22033         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
22034         ($(objpfx)x%.stmp): Likewise.
22035         * sunrpc/proto.h [IS_IN_build] (_): Define.
22036         [IS_IN_build] (_libc_intl_domainname): Likewise.
22038 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
22040         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
22041         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
22042         and R_X86_64_TPOFF64.
22044 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
22046         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
22047         sysdeps/unix/sysv/syscalls.list.
22048         (stime): Likewise.
22049         (utime): Likewise.
22050         * sysdeps/unix/sysv/syscalls.list: Remove file.
22052 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
22054         [BZ #3440]
22055         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
22056         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
22057         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
22058         (__LC_IDENTIFICATION): Make these macros useful in #if
22059         expressions, as required by C99.
22061 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
22063         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
22064         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
22065         after this.
22067 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
22069         * stdlib/longlong.h: Updated from GCC.
22071 2012-05-09  Andreas Jaeger  <aj@suse.de>
22073         * nscd/nscd.c (run_modes): Make named enum, reorder so that
22074         default is first entry.
22075         (run_mode): Set type.
22076         (main): Remove informal message about syslog.
22077         (options): Fix typo.
22079         [BZ #14053]
22080         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
22081         to asm.
22082         (lrint): Likewise.
22083         (llrintf): Likewise.
22084         (llrint): Likewise.
22085         (rint): Likewise.
22086         (rintf): Likewise.
22087         (nearbyint): Likewise.
22088         (nearbyintf): Likewise.
22090 2012-05-09  Andreas Jaeger  <aj@suse.de>
22091             Pedro Alves  <palves@redhat.com>
22093         * nscd/nscd.c (run_mode): Use enum.
22094         (main): Cleanup coding style issue.
22096 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
22097             Andreas Jaeger  <aj@suse.de>
22099         * nscd/nscd.c (go_background): Replaced with...
22100         (run_mode): ... this.
22101         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
22102         (options): Add -F --foreground.
22103         (main): Implement it.
22104         (parse_opt): Parse it.
22106 2012-05-09  Andreas Jaeger  <aj@suse.de>
22108         [BZ #14083]
22109         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
22110         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
22111         -Wconversion warning.
22112         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
22113         Likewise.
22115 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
22117         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
22118         == 0.
22119         (LC_ALL): Use macro-int-constant.
22120         (LC_COLLATE): Likewise.
22121         (LC_CTYPE): Likewise.
22122         (LC_MESSAGES): Likewise.
22123         (LC_MONETARY): Likewise.
22124         (LC_NUMERIC): Likewise.
22125         (LC_TIME): Likewise.
22126         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
22127         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22128         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22129         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
22130         Specify type.
22131         [C99-based standards] (float_t): Expect type.
22132         [C99-based standards] (double_t): Expect type.
22133         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
22134         type.
22135         [C99-based standards] (HUGE_VALL): Likewise.
22136         [C99-based standards] (INFINITY): Likewise.
22137         [C99-based standards] (NAN): Likewise.
22138         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
22139         [C99-based standards] (FP_NAN): Likewise.
22140         [C99-based standards] (FP_NORMAL): Likewise.
22141         [C99-based standards] (FP_SUBNORMAL): Likewise.
22142         [C99-based standards] (FP_ZERO): Likewise.
22143         [C99-based standards] (FP_FAST_FMA): Use
22144         optional-macro-int-constant.  Specify type.  Require == 1.
22145         [C99-based standards] (FP_FAST_FMAF): Likewise.
22146         [C99-based standards] (FP_FAST_FMAL): Likewise.
22147         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
22148         [C99-based standards] (FP_ILOGBNAN): Likewise.
22149         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
22150         Specify type.
22151         [C99-based standards] (MATH_ERREXCEPT): Likewise.
22152         [C99-based standards] (math_errhandling): Specify type.
22153         [ISO99 || ISO11] (signgam): Do not allow.
22154         [non-C99-based standards] (copysignf): Do not allow.
22155         [non-C99-based standards] (exp2f): Likewise.
22156         [non-C99-based standards] (log2f): Likewise.
22157         [non-C99-based standards] (modff): Allow.
22158         [non-C99-based standards] (erff): Do not allow.
22159         [non-C99-based standards] (erfcf): Likewise.
22160         [non-C99-based standards] (gammaf): Likewise.
22161         [non-C99-based standards] (hypotf): Likewise.
22162         [non-C99-based standards] (j0f): Likewise.
22163         [non-C99-based standards] (j1f): Likewise.
22164         [non-C99-based standards] (jnf): Likewise.
22165         [non-C99-based standards] (lgammaf): Likewise.
22166         [non-C99-based standards] (tgammaf): Likewise.
22167         [non-C99-based standards] (y0f): Likewise.
22168         [non-C99-based standards] (y1f): Likewise.
22169         [non-C99-based standards] (ynf): Likewise.
22170         [non-C99-based standards] (isnanf): Likewise.
22171         [non-C99-based standards] (acoshf): Likewise.
22172         [non-C99-based standards] (asinhf): Likewise.
22173         [non-C99-based standards] (atanhf): Likewise.
22174         [non-C99-based standards] (cbrtf): Likewise.
22175         [non-C99-based standards] (expm1f): Likewise.
22176         [non-C99-based standards] (ilogbf): Likewise.
22177         [non-C99-based standards] (log1pf): Likewise.
22178         [non-C99-based standards] (logbf): Likewise.
22179         [non-C99-based standards] (nextafterf): Likewise.
22180         [non-C99-based standards] (remainderf): Likewise.
22181         [non-C99-based standards] (rintf): Likewise.
22182         [non-C99-based standards] (scalbf): Likewise.
22183         [non-C99-based standards] (copysignl): Likewise.
22184         [non-C99-based standards] (exp2l): Likewise.
22185         [non-C99-based standards] (log2l): Likewise.
22186         [non-C99-based standards] (modfl): Allow.
22187         [non-C99-based standards] (erfl): Do not allow.
22188         [non-C99-based standards] (erfcl): Likewise.
22189         [non-C99-based standards] (gammal): Likewise.
22190         [non-C99-based standards] (hypotl): Likewise.
22191         [non-C99-based standards] (j0l): Likewise.
22192         [non-C99-based standards] (j1l): Likewise.
22193         [non-C99-based standards] (jnl): Likewise.
22194         [non-C99-based standards] (lgammal): Likewise.
22195         [non-C99-based standards] (tgammal): Likewise.
22196         [non-C99-based standards] (y0l): Likewise.
22197         [non-C99-based standards] (y1l): Likewise.
22198         [non-C99-based standards] (ynl): Likewise.
22199         [non-C99-based standards] (isnanl): Likewise.
22200         [non-C99-based standards] (acoshl): Likewise.
22201         [non-C99-based standards] (asinhl): Likewise.
22202         [non-C99-based standards] (atanhl): Likewise.
22203         [non-C99-based standards] (cbrtl): Likewise.
22204         [non-C99-based standards] (expm1l): Likewise.
22205         [non-C99-based standards] (ilogbl): Likewise.
22206         [non-C99-based standards] (log1pl): Likewise.
22207         [non-C99-based standards] (logbl): Likewise.
22208         [non-C99-based standards] (nextafterl): Likewise.
22209         [non-C99-based standards] (remainderl): Likewise.
22210         [non-C99-based standards] (rintl): Likewise.
22211         [non-C99-based standards] (scalbl): Likewise.
22212         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22213         [non-C99-based standards] (FP_*): Do not allow.
22214         [C99-based standards] (FP_*): Change to
22215         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22216         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22217         allow.
22218         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
22219         (SIG_ERR): Likewise.
22220         [X/Open-based standards] (SIG_HOLD): Likewise.
22221         (SIG_IGN): Likewise.
22222         (SIGABRT): Use macro-int-constant.  Specify type.  Require
22223         positive value.
22224         (SIGFPE): Likewise.
22225         (SIGILL): Likewise.
22226         (SIGINT): Likewise.
22227         (SIGSEGV): Likewise.
22228         (SIGTER): Likewise.
22229         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
22230         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
22231         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
22232         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
22233         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
22234         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
22235         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
22236         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
22237         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
22238         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
22239         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
22240         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
22241         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
22242         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
22243         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
22244         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
22245         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
22246         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
22247         [X/Open-based standards] (SIGTRAP): Likewise.
22248         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
22249         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
22250         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
22251         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
22252         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22253         allow.
22255 2012-05-08  Ian Wienand  <ianw@vmware.com>
22257         [BZ #14080]
22258         * time/tzset.c (__tzset_parse_tz): Update default rules for
22259         daylight time changes in the Energy Policy Act of 2005.
22261 2012-05-09  Andreas Jaeger  <aj@suse.de>
22263         [BZ #13983]
22264         * elf/ldconfig.c (parse_conf): Change string to make clear that
22265         ldconfig only issued a warning if ld.so.conf does not exist.
22267 2012-05-08  David S. Miller  <davem@davemloft.net>
22269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
22270         movxtod instead of popping the value on the stack.
22272         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22274 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
22276         * config.h.in: Add HAVE_ARM_PCS_VFP.
22278 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
22280         [BZ #13979]
22281         * include/features.h: Warn if user requests __FORTIFY_SOURCE
22282         checking but the checks are disabled for any reason.
22284 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
22286         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
22287         and ELF64_R_TYPE with ELFW(R_TYPE).
22289 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
22291         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
22292         (ulimit): Likewise.
22294         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
22295         (settimeofday): Likewise.
22297 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
22299         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
22300         a struct th_u2 inside the union, and move tu_block/tu_code into
22301         a new th_u3 union of tu_block/tu_code inside of that.  Move
22302         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
22303         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
22304         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
22305         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
22306         (th_stuff): Change to th_u1.tu_stuff.
22307         (th_data): Define.
22308         (th_msg): Change to th_u1.th_u2.tu_data.
22310 2012-05-07  David S. Miller  <davem@davemloft.net>
22312         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22314         [BZ #14074]
22315         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
22316         (SETUP_PIC_REG): Use it.
22317         (SETUP_PIC_REG_LEAF): Use it.
22319 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
22321         [BZ #13885]
22322         [BZ #13923]
22323         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22324         USE_AS_EXPM1L.
22325         (EXPL_FINITE): Likewise.
22326         (FLDLOG): Likewise.
22327         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22328         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22329         e_expl.S.
22330         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22331         USE_AS_EXPM1L.
22332         (EXPL_FINITE): Likewise.
22333         (FLDLOG): Likewise.
22334         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22335         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22336         e_expl.S.
22337         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
22338         test of -max_value argument for long double.
22339         * sysdeps/i386/fpu/libm-test-ulps: Update.
22340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22342 2012-05-06  David S. Miller  <davem@davemloft.net>
22344         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
22345         quad soft-float symbols whose references which are compiler
22346         generated.
22347         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22349 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
22351         [BZ #13884]
22352         [BZ #13914]
22353         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22354         USE_AS_EXP10L.
22355         (EXPL_FINITE): Likewise.
22356         (FLDLOG): Likewise.
22357         (c0): Likewise.
22358         (c1): Likewise.
22359         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
22360         Adjust comments for base varying.
22361         (__expl_finite): Change alias to EXPL_FINITE.
22362         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
22363         e_expl.S.
22364         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
22365         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
22366         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22367         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
22368         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22369         USE_AS_EXP10L.
22370         (EXPL_FINITE): Likewise.
22371         (FLDLOG): Likewise.
22372         (c0): Likewise.
22373         (c1): Likewise.
22374         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
22375         Adjust comments for base varying.
22376         (__expl_finite): Change alias to EXPL_FINITE.
22377         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
22378         tests for bugs.
22379         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22381         [BZ #14064]
22382         * math/libm-test.inc (check_float_internal): Correct ulp
22383         calculation for subnormal expected results.
22385 2012-05-06  Andreas Jaeger  <aj@suse.de>
22387         * Makeconfig (+math-flags): New, set to -frounding-math.
22388         (+cflags): Add +math-flags so that all of glibc gets compiled with
22389         it.
22391         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
22393 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
22395         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
22396         Disable one test.
22398         [BZ #13787]
22399         [BZ #13922]
22400         [BZ #14036]
22401         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
22402         (__ieee754_expl): Allow for and saturate large arguments.
22403         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
22404         (u_threshold): Likewise.
22405         (__exp): Call __ieee754_exp before checking for overflow and
22406         underflow.
22407         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
22408         (u_threshold): Likewise.
22409         (__expf): Call __ieee754_expf before checking for overflow and
22410         underflow.
22411         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
22412         (u_threshold): Likewise.
22413         (__expl): Call __ieee754_expl before checking for overflow and
22414         underflow.
22415         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
22416         (__ieee754_expl): Allow for and saturate large arguments.
22417         * math/libm-test.inc (exp_test): Add another test.  Do not allow
22418         missing overflow exception on overflow.
22419         (expm1_test): Do not allow missing overflow exception on overflow.
22421         * sysdeps/i386/fpu/e_expl.c: Move to ...
22422         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
22423         rather than using inline asm.
22424         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
22425         * sysdeps/x86_64/fpu/e_expl.S: Copy from
22426         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
22428         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
22429         (nice): Likewise.
22430         (poll): Likewise.
22431         (signal): Likewise.
22432         (time): Likewise.
22433         (times): Likewise.
22435 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
22437         * sysdeps/unix/syscalls.list (adjtime): Add entry from
22438         sysdeps/unix/common/syscalls.list.
22439         (fchmod): Likewise.
22440         (fchown): Likewise.
22441         (ftruncate): Likewise.
22442         (getrusage): Likewise.
22443         (gettimeofday): Likewise.
22444         (setpgid): Likewise.
22445         (setregid): Likewise.
22446         (setreuid): Likewise.
22447         (sigaction): Likewise.
22448         (truncate): Likewise.
22449         (vhangup): Likewise.
22450         * sysdeps/unix/common/syscalls.list: Remove file.
22451         * sysdeps/unix/bsd/Implies: Don't include unix/common.
22452         * sysdeps/unix/sysv/linux/Implies: Likewise.
22454 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
22456         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
22457         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
22458         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
22459         Moved to ...
22460         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
22461         Here.
22462         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
22463         to ...
22464         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
22465         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
22466         to ...
22467         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
22468         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
22469         to ...
22470         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
22471         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
22472         to ...
22473         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
22474         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
22475         to ...
22476         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
22477         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
22478         to ...
22479         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
22480         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
22481         to ...
22482         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22483         Here.
22484         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
22485         to ...
22486         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
22487         Here.
22488         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
22489         to ...
22490         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
22491         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
22492         Moved to ...
22493         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
22494         Here.
22495         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
22496         to ...
22497         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
22499 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
22501         * sysdeps/unix/common/bits/dirent.h: Remove file.
22502         * sysdeps/unix/common/bits/fcntl.h: Likewise.
22504         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
22505         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
22506         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
22507         * sysdeps/unix/bsd/isatty.c: Likewise.
22508         * sysdeps/unix/bsd/tcdrain.c: Likewise.
22509         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
22510         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
22512 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22514         [BZ #13563]
22515         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
22516         long double comparison inaccuracies.
22517         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22518         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22520 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
22522         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
22523         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
22525 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
22527         [BZ #14049]
22528         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
22529         nonzero digits before rounding a hex value.
22530         * stdlib/tst-strtod.c (tests): Add another test.
22532 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22534         * sysdeps/s390/fpu/libm-test-ulps: Update.
22536 2012-05-03  Andreas Jaeger  <aj@suse.de>
22538         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
22539         does not get optimized out.
22540         (malloc_opt_barrier): New.
22542 2012-05-03  Andreas Jaeger  <aj@suse.de>
22543             Roland McGrath  <roland@hack.frob.com>
22545         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
22546         intermediate file deletion.
22547         (generated): Add .symlist files.
22549 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
22551         [BZ #13775]
22552         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
22553         Redirect under this condition.
22554         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22555         [__USE_GNU] (__dprintf_chk): Not under this condition.
22556         [__USE_GNU] (__vdprintf_chk): Likewise.
22557         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
22558         under this condition.
22559         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22560         [__USE_XOPEN2K8] (dprintf): Define under this condition.
22561         [__USE_XOPEN2K8] (vdprintf): Likewise.
22562         [__USE_GNU] (__dprintf_chk): Not under this condition.
22563         [__USE_GNU] (__vdprintf_chk): Likewise.
22564         [__USE_GNU] (dprintf): Likewise.
22565         [__USE_GNU] (vdprintf): Likewise.
22567 2012-05-03  Roland McGrath  <roland@hack.frob.com>
22569         * elf/Makefile (common-generated): Set this instead of generated for
22570         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
22571         $(all-built-dso)-derived lists.
22573 2012-05-03  Andreas Jaeger  <aj@suse.de>
22575         * sysdeps/i386/fpu/libm-test-ulps: Update.
22577         * FAQ: Removed.
22578         * FAQ.in: Likewise.
22579         * scripts/gen-FAQ.pl: Likewise.
22580         * manual/install.texi (Installation): Point to online location of
22581         FAQ.
22582         * Makefile (files-for-dist): Remove FAQ.
22583         (FAQ): Remove.
22585 2012-05-02  Allan McRae  <allan@archlinux.org>
22587         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
22588         (LDFLAGS-reldepmod5.so): Likewise.
22589         (LDFLAGS-reldep6mod1.so): Likewise.
22590         (LDFLAGS-reldep6mod4.so): Likewise.
22591         (LDFLAGS-reldep8mod3.so): Likewise.
22592         (LDFLAGS-unload4mod1.so): Likewise.
22593         (LDFLAGS-unload4mod2.so): Likewise.
22594         (LDFLAGS-tst-initorder): Likewise.
22595         (LDFLAGS-tst-initordera2.so): Likewise.
22596         (LDFLAGS-tst-initordera3.so): Likewise.
22597         (LDFLAGS-tst-initordera4.so): Likewise.
22598         (LDFLAGS-tst-initorderb2.so): Likewise.
22599         (LDFLAGS-noload): Likewise.
22600         (LDFLAGS-next): Likewise.
22601         (LDFLAGS-order2mod1.so): Likewise.
22602         (LDFLAGS-order2mod2.so): Likewise.
22603         (LDFLAGS-tst-initorder2): Likewise.
22604         (LDFLAGS-tst-initorder2a.so): Likewise.
22605         (LDFLAGS-tst-initorder2b.so): Likewise.
22606         (LDFLAGS-tst-initorder2c.so): Likewise.
22607         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
22609 2012-05-02  David S. Miller  <davem@davemloft.net>
22611         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22613 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
22615         [BZ #14055]
22616         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
22618 2012-05-02  Andreas Jaeger  <aj@suse.de>
22620         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
22621         since we manipulate rounding mode.
22622         (CPPFLAGS-test-idouble.c): Likewise.
22623         (CPPFLAGS-test-ifloat.c): Likewise.
22624         (CFLAGS-test-ldouble.c): Likewise.
22625         (CFLAGS-test-double.c): Likewise.
22626         (CFLAGS-test-float.c): Likewise.
22627         (CFLAGS-test-misc.c): Likewise.
22628         (CFLAGS-test-test-fenv.c): Likewise.
22630 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22632         [BZ #2550]
22633         [BZ #2570]
22634         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
22635         comparisons to determine direction to adjust input.
22637 2012-05-01  Roland McGrath  <roland@hack.frob.com>
22639         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
22640         output to the target.
22642         * scripts/localplt.awk: New file.
22643         * elf/Makefile ($(objpfx)check-localplt): Target removed.
22644         (check-localplt-CFLAGS): Variable removed.
22645         ($(all-built-dso:=.jmprel)): New static pattern rule.
22646         (generated): Add those targets.
22647         (localplt-built-dso): New variable.
22648         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
22650         * elf/check-localplt.c: File removed.
22652         * scripts/check-execstack.awk: New file.
22653         * elf/Makefile ($(objpfx)check-execstack): Target removed.
22654         (check-execstack-CFLAGS): Variable removed.
22655         ($(objpfx)check-execstack.h): Target removed.
22656         ($(objpfx)execstack-default): New target.
22657         (generated): Add that instead of check-execstack.h.
22658         ($(all-built-dso:=.phdr)): New static pattern rule.
22659         (generated): Add those targets.
22660         * elf/check-execstack.c: File removed.
22662         * scripts/check-textrel.awk: New file.
22663         * elf/Makefile ($(objpfx)check-textrel): Target removed.
22664         (check-textrel-CFLAGS): Variable removed.
22665         (all-built-dso): Use := to define.o
22666         ($(all-built-dso:=.dyn)): New static pattern rule.
22667         (generated): Add those targets.
22668         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
22669         * config.make.in (READELF): New substituted variable.
22670         * elf/check-textrel.c: File removed.
22672 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
22674         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22675         allow.
22676         * conform/data/ctype.h-data [C99-based standards] (isblank):
22677         Expect function.
22678         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
22679         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
22680         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22681         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
22682         Specify type.  Require positive value.
22683         (EILSEQ): Likewise.
22684         (ERANGE): Likewise.
22685         [ISO || POSIX] (EILSEQ): Do not expect.
22686         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
22687         Specify type.  Require positive value.
22688         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
22689         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
22690         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
22691         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
22692         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
22693         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
22694         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
22695         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
22696         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
22697         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
22698         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
22699         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
22700         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
22701         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
22702         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
22703         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
22704         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
22705         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
22706         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
22707         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
22708         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
22709         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
22710         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
22711         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
22712         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
22713         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
22714         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
22715         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
22716         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
22717         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
22718         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
22719         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
22720         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
22721         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
22722         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
22723         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
22724         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
22725         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
22726         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
22727         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
22728         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
22729         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
22730         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
22731         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
22732         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
22733         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
22734         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
22735         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
22736         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
22737         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
22738         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
22739         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
22740         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
22741         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
22742         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
22743         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
22744         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
22745         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
22746         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
22747         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
22748         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
22749         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
22750         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
22751         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
22752         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
22753         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
22754         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
22755         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
22756         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
22757         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
22758         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
22759         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
22760         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
22761         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
22762         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
22763         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
22764         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
22765         Require >= 2.
22766         (FLT_ROUNDS): Expect as macro, not constant.
22767         (FLT_MANT_DIG): Use macro-int-constant.
22768         (DBL_MANT_DIG): Likewise.
22769         (LDBL_MANT_DIG): Likewise.
22770         (FLT_DIG): Likewise.
22771         (DBL_DIG): Likewise.
22772         (LDBL_DIG): Likewise.
22773         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
22774         (DBL_MIN_EXP): Likewise.
22775         (LDBL_MIN_EXP): Likewise.
22776         (FLT_MAX_EXP): Use macro-int-constant.
22777         (DBL_MAX_EXP): Likewise.
22778         (LDBL_MAX_EXP): Likewise.
22779         (FLT_MAX_10_EXP): Likewise.
22780         (DBL_MAX_10_EXP): Likewise.
22781         (LDBL_MAX_10_EXP): Likewise.
22782         (FLT_MAX): Use macro-constant.
22783         (DBL_MAX): Likewise.
22784         (LDBL_MAX): Likewise.
22785         (FLT_EPSILON): Use macro-constant.  Give upper bound.
22786         (DBL_EPSILON): Likewise.
22787         (LDBL_EPSILON): Likewise.
22788         (FLT_MIN): Likewise.
22789         (DBL_MIN): Likewise.
22790         (LDBL_MIN): Likewise.
22791         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
22792         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
22793         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
22794         [ISO11] (FLT_HAS_SUBNORM): Likewise.
22795         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
22796         [ISO11] (DBL_DECIMAL_DIG): Likewise.
22797         [ISO11] (FLT_DECIMAL_DIG): Likewise.
22798         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
22799         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
22800         [ISO11] (FLT_TRUE_MIN): Likewise.
22801         [ISO11] (LDBL_TRUE_MIN): Likewise.
22802         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22803         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
22804         (SCHAR_MIN): Use macro-int-constant.  Specify type.
22805         (SCHAR_MAX): Likewise.
22806         (UCHAR_MAX): Likewise.
22807         (CHAR_MIN): Likewise.
22808         (CHAR_MAX): Likewise.
22809         (MB_LEN_MAX): Use macro-int-constant.
22810         (SHRT_MIN): Use macro-int-constant.  Specify type.
22811         (SHRT_MAX): Likewise.
22812         (USHRT_MAX): Likewise.
22813         (INT_MAX): Likewise.
22814         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
22815         bound negative.
22816         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
22817         bound with "U".
22818         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
22819         bound with "L".
22820         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
22821         bound negative.  Suffix upper bound with "L".
22822         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
22823         bound with "UL".
22824         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
22825         Specify type.
22826         [C99-based standards] (LLONG_MAX): Likewise.
22827         [C99-based standards] (ULLONG_MAX): Likewise.
22828         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
22829         == 0.
22830         [ISO11] (max_align_t): Require type.
22831         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22833         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
22834         from $CFLAGS, without defining away __attribute__ calls.
22835         (checknamespace): Use $CFLAGS_namespace.
22837         * conform/conformtest.pl (@keywords): Only include C99 keywords
22838         for standards based on C99 or C11.
22840         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
22841         Disable tests.
22842         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
22843         UNIX98]: Likewise.
22845         * conform/conformtest.pl: Handle "macro-int-constant" and test for
22846         usability of symbols in #if.
22848         * conform/conformtest.pl: If macro or constant types start
22849         "promoted:", expect the symbol to be of the following type
22850         promoted by the integer promotions.
22852         * conform/conformtest.pl: Parse all "constant" and "macro" lines
22853         in one place.  Also handle "macro-constant".
22855         * conform/conformtest.pl: Only accept expected macro values with
22856         "==".  Parse all "macro" lines in one place.
22857         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
22859         * conform/conformtest.pl: Handle braced types on "constant" lines
22860         instead of handling "typed-constant".
22861         * conform/data/signal.h-data: Use "constant" instead of
22862         "typed-constant".
22864         * conform/conformtest.pl: Handle "optional-" at start of lines in
22865         one place rather than duplicating several cases.  Handle each
22866         format of "macro" line with initial "optional-".
22868         * conform/conformtest.pl: Only accept expected constant or
22869         optional-constant values with "==".  Parse all "constant" lines in
22870         one place.  Parse all "optional-constant" lines in one place.
22871         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
22872         * conform/data/fmtmsg.h-data: Likewise.
22873         * conform/data/netinet/in.h-data: Likewise.
22874         * conform/data/tar.h-data: Likewise.
22875         * conform/data/limits.h-data: Use "==" form on "constant" and
22876         "optional-constant" lines.
22878         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
22879         Use -std=c99 for XOPEN2K.
22880         (@knownproblems): Remove.
22881         (newtoken): Don't check %isknown.
22883         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
22884         Do not expect macro.
22885         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
22886         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
22887         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
22888         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
22889         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
22890         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
22891         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
22892         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
22893         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
22894         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
22895         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
22896         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
22897         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
22898         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
22899         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
22900         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
22901         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
22902         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
22903         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
22904         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
22905         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
22906         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
22907         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
22908         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
22909         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
22910         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
22911         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
22912         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
22913         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
22914         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
22915         [XPG3] (acosh): Likewise.
22916         [XPG3] (asinh): Likewise.
22917         [XPG3] (atanh): Likewise.
22918         [XPG3] (cbrt): Likewise.
22919         [XPG3] (expm1): Likewise.
22920         [XPG3] (ilogb): Likewise.
22921         [XPG3] (log1p): Likewise.
22922         [XPG3] (logb): Likewise.
22923         [XPG3] (nextafter): Likewise.
22924         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
22925         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
22926         [XPG3] (remainder): Likewise.
22927         [XPG3] (rint): Likewise.
22928         [XPG3 || XPG4 || UNIX98] (round): Likewise.
22929         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
22930         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
22931         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
22932         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
22933         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
22934         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
22935         [UNIX98 || XOPEN2K] (scalb): Expect.
22936         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
22937         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
22938         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
22939         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
22940         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
22941         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
22942         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
22943         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
22944         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
22945         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
22946         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
22947         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
22948         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
22949         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
22950         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
22951         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
22952         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
22953         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
22954         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
22955         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
22956         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
22957         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
22958         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
22959         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
22960         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
22961         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
22962         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
22963         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
22964         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
22965         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
22966         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
22967         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
22968         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
22969         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
22970         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
22971         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
22972         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
22973         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
22974         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
22975         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
22976         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
22977         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
22978         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
22979         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
22980         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
22981         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
22982         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
22983         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
22984         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
22985         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
22986         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
22987         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
22988         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
22989         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
22990         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
22991         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
22992         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
22993         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
22994         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
22995         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
22996         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
22997         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
22998         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
22999         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
23000         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
23001         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
23002         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
23003         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
23004         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
23005         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
23006         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
23007         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
23008         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
23009         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
23010         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
23011         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
23012         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
23013         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
23014         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
23015         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
23016         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
23017         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
23018         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
23019         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
23020         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
23021         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
23022         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
23023         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
23024         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
23025         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
23026         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
23027         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
23028         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
23029         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
23030         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
23031         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
23032         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
23033         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
23034         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
23035         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
23036         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
23037         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
23038         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
23039         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
23040         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
23041         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
23042         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
23043         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
23044         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
23045         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
23046         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
23047         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
23048         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
23049         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
23050         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
23051         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
23052         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
23053         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
23054         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
23055         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
23056         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
23057         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
23058         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
23059         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
23060         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
23061         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
23062         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
23063         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
23064         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
23065         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
23066         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
23067         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
23068         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
23069         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
23070         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
23071         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
23072         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
23074         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
23075         _XOPEN_SOURCE_EXTENDED for XPG4.
23077         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
23079         * Makeconfig (localtime): Remove variable.
23080         (inst_localtime-file): Likewise.
23082 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
23084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
23085         Update.
23086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23087         Update.
23088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
23089         Update.
23090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23091         Update.
23092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
23093         Update.
23094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
23095         Update.
23096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23097         Update.
23098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
23099         Update.
23100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23101         Update.
23103 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
23105         [BZ #2550]
23106         [BZ #2570]
23107         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
23108         comparisons to determine direction to adjust input.
23109         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
23110         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
23111         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
23112         Likewise.
23113         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
23114         Likewise.
23115         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23116         Likewise.
23117         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
23118         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
23119         Likewise.
23120         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
23121         Likewise.
23122         * math/libm-test.inc (nexttoward_test): Add more tests.
23124 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
23126         [BZ #14040]
23127         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
23128         in version GLIBC_2.1, not GLIBC_2.0.
23129         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
23130         Likewise.
23132 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
23134         [BZ #13942]
23135         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
23136         (1 - x) * (1 + x).
23137         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23138         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
23139         * math/libm-test.inc (acos_test): Add more tests.
23140         (asin_test): Likewise.
23141         * sysdeps/i386/fpu/libm-test-ulps: Update.
23142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23144         [BZ #14034]
23145         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
23146         of square root.
23147         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
23148         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23149         * math/libm-test.inc (acos_test_tonearest): New function.
23150         (acos_test_towardzero): Likewise.
23151         (acos_test_downward): Likewise.
23152         (acos_test_upward): Likewise.
23153         (asin_test_tonearest): Likewise.
23154         (asin_test_towardzero): Likewise.
23155         (asin_test_downward): Likewise.
23156         (asin_test_upward): Likewise.
23157         (main): Call the new functions.
23158         * sysdeps/i386/fpu/libm-test-ulps: Update.
23159         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23161         [BZ #13884]
23162         [BZ #13924]
23163         * math/e_exp10.c: Include <float.h>.
23164         (__ieee754_exp10): Handle underflow here rather than multiplying
23165         large negative argument by M_LN10.
23166         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
23167         of __ieee754_expf.
23168         * math/e_exp10l.c: Include <float.h>.
23169         (__ieee754_exp10l): Handle underflow here rather than multiplying
23170         large negative argument by M_LN10l.
23171         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
23172         spurious overflow exception on underflow.
23174 2012-04-29  Marek Polacek  <polacek@redhat.com>
23176         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
23177         (__fortify_function): New macro.
23178         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
23179         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
23180         __extern_always_inline.
23181         * libio/bits/stdio2.h: Likewise.
23182         * libio/bits/stdio.h: Likewise.
23183         * string/string.h: Likewise.
23184         * string/bits/string3.h: Likewise.
23185         * include/stdio.h: Likewise.
23186         * stdlib/bits/stdlib.h: Likewise.
23187         * stdlib/stdlib.h: Likewise.
23188         * rt/bits/mqueue2.h: Likewise.
23189         * rt/mqueue.h: Likewise.
23190         * posix/bits/unistd.h: Likewise.
23191         * posix/unistd.h: Likewise.
23192         * io/bits/poll2.h: Likewise.
23193         * io/bits/fcntl2.h: Likewise.
23194         * io/fcntl.h: Likewise.
23195         * io/sys/poll.h: Likewise.
23196         * misc/bits/syslog.h: Likewise.
23197         * misc/bits/syslog-ldbl.h: Likewise.
23198         * misc/sys/syslog.h: Likewise.
23199         * socket/bits/socket2.h: Likewise.
23200         * socket/sys/socket.h: Likewise.
23201         * debug/tst-chk1.c: Likewise.
23202         * wcsmbs/bits/wchar2.h: Likewise.
23203         * wcsmbs/bits/wchar-ldbl.h: Likewise.
23204         * wcsmbs/wchar.h: Likewise.
23206 2012-04-29  Andreas Jaeger  <aj@suse.de>
23208         * Makerules (tests): Remove enable-check-abi protection.
23209         (check-abi-warn): Remove.
23210         (check-abi-%): Remove check-abi-warn usage.
23212         * configure.in: Remove check-abi configure option.
23213         * configure: Regenerated.
23214         * config.make.in (enable-check-abi): Remove.
23216 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
23218         [BZ #14033]
23219         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
23220         double functions to double *_finite functions.
23222         [BZ #13941]
23223         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
23224         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
23225         LDBL_MIN_EXP.
23226         * stdio-common/Makefile (tests): Add tst-sprintf3.
23227         * stdio-common/tst-sprintf3.c: New file.
23229         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
23230         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
23232 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
23234         * conform/conformtest.pl: Remove duplicate typed-constant
23235         handling.
23237 2012-04-28  David S. Miller  <davem@davemloft.net>
23239         * Makerules (%.abilist): Add vpath on sysdep_dirs.
23240         (check-abi-%): Remove AWK script prerequisite and explicit
23241         abilist directory.
23242         (check-abi): Rewrite to just diff the symlist with the abilist.
23243         (config-tls, config-abi-config): Delete, no longer used.
23244         (update-abi-%): Remove AWK script and explicit abilist directory.
23245         (update-abi): Rewrite to simply compare and conditionally copy the
23246         symlist and the sysdep abilist file.  Remove update-abi-config
23247         checks.
23248         * abilist/ld.abilist: Remove.
23249         * abilist/libBrokenLocale.abilist: Remove.
23250         * abilist/libanl.abilist: Remove.
23251         * abilist/libcrypt.abilist: Remove.
23252         * abilist/libdl.abilist: Remove.
23253         * abilist/librt.abilist: Remove.
23254         * abilist/libthread_db.abilist: Remove.
23255         * abilist/libutil.abilist: Remove.
23256         * scripts/extract-abilist.awk: Remove.
23257         * scripts/merge-abilist.awk: Remove.
23258         * sysdeps/generic/libcidn.abilist: New file.
23259         * sysdeps/generic/libnss_compat.abilist: New file.
23260         * sysdeps/generic/libnss_db.abilist: New file.
23261         * sysdeps/generic/libnss_dns.abilist: New file.
23262         * sysdeps/generic/libnss_files.abilist: New file.
23263         * sysdeps/generic/libnss_hesiod.abilist: New file.
23264         * sysdeps/generic/libnss_nis.abilist: New file.
23265         * sysdeps/generic/libnss_nisplus.abilist: New file.
23266         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
23267         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
23268         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
23269         file.
23270         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
23271         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
23272         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
23273         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
23274         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
23275         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
23276         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
23277         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
23278         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
23279         file.
23280         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
23281         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
23282         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
23283         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
23284         file.
23285         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
23286         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
23287         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
23288         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
23289         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
23290         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
23291         file.
23292         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
23293         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
23294         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
23295         file.
23296         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
23297         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
23298         New file.
23299         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
23300         New file.
23301         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
23302         New file.
23303         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
23304         New file.
23305         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
23306         New file.
23307         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
23308         New file.
23309         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
23310         New file.
23311         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
23312         New file.
23313         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
23314         New file.
23315         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
23316         New file.
23317         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
23318         New file.
23319         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
23320         New file.
23321         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
23322         New file.
23323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
23324         file.
23325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
23326         New file.
23327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
23328         New file.
23329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
23330         file.
23331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
23332         New file.
23333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
23334         New file.
23335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
23336         file.
23337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
23338         New file.
23339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23340         New file.
23341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
23342         New file.
23343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
23344         New file.
23345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
23346         New file.
23347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
23348         New file.
23349         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
23350         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
23351         file.
23352         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
23353         New file.
23354         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
23355         file.
23356         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
23357         file.
23358         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
23359         file.
23360         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
23361         file.
23362         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
23363         file.
23364         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23365         New file.
23366         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
23367         file.
23368         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
23369         file.
23370         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
23371         New file.
23372         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
23373         file.
23374         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
23375         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
23376         file.
23377         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
23378         New file.
23379         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
23380         file.
23381         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
23382         file.
23383         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
23384         file.
23385         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
23386         file.
23387         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
23388         file.
23389         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23390         New file.
23391         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
23392         file.
23393         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
23394         file.
23395         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
23396         New file.
23397         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
23398         file.
23399         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23400         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
23401         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
23402         file.
23403         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
23404         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
23405         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
23406         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
23407         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
23408         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
23409         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
23410         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
23411         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
23412         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
23413         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
23414         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
23415         file.
23416         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
23417         New file.
23418         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
23419         file.
23420         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
23421         file.
23422         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
23423         file.
23424         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
23425         file.
23426         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
23427         file.
23428         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23429         New file.
23430         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
23431         New file.
23432         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
23433         file.
23434         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
23435         New file.
23436         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
23437         file.
23438         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
23439         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
23440         file.
23441         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
23442         New file.
23443         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
23444         file.
23445         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
23446         file.
23447         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
23448         file.
23449         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
23450         file.
23451         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
23452         file.
23453         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23454         New file.
23455         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
23456         New file.
23457         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
23458         file.
23459         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
23460         New file.
23461         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
23462         file.
23464 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
23466         * conform/conformtest.pl: Fix typo in handling typed-constant from
23467         allow-header.
23469 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
23471         * README: Cut down references to pre-2.6 Linux kernels and
23472         Linuxthreads.  Update lists of configurations in libc and ports
23473         and sort alphabetically.  Say "or newer" with Linux kernel version
23474         requirements.
23476         * config.h.in [IS_IN_build]: Allow compiling without optimization.
23478 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23480         [BZ #887]
23481         * math/libm-test.inc (logb_test_downward): New test to expose
23482         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
23483         rounding mode.
23485 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
23487         [BZ #14027]
23488         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
23489         to be done.
23490         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
23491         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
23493 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
23495         * sysdeps/unix/i386/brk.S: Remove file.
23496         * sysdeps/unix/i386/dl-brk.S: Likewise.
23497         * sysdeps/unix/i386/pipe.S: Likewise.
23498         * sysdeps/unix/i386/sigreturn.S: Likewise.
23499         * sysdeps/unix/i386/syscall.S: Likewise.
23500         * sysdeps/unix/i386/vfork.S: Likewise.
23501         * sysdeps/unix/i386/wait.S: Likewise.
23503         * sysdeps/unix/common/tcsendbrk.c: Move to ...
23504         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
23506         * configure.in (arm*-none*): Do not allow without
23507         --enable-hacker-mode.
23508         (netbsd*): Remove case setting base_os.
23509         (386bsd*): Likewise.
23510         (freebsd*): Likewise.
23511         (bsdi*): Likewise.
23512         (osf*): Likewise.
23513         (sunos*): Likewise.
23514         (ultrix*): Likewise.
23515         (newsos*): Likewise.
23516         (dynix*): Likewise.
23517         (*bsd*): Likewise.
23518         (sysv*): Likewise.
23519         (isc*): Likewise.
23520         (esix*): Likewise.
23521         (sco*): Likewise.
23522         (minix*): Likewise.
23523         (irix4*): Likewise.
23524         (irix6*): Likewise.
23525         (solaris[2-9]*): Likewise.
23526         (none): Likewise.
23527         * configure: Regenerated.
23529 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23531         [BZ #11521]
23532         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
23533         overflow or cancellation in calculating denominator.
23534         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
23535         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
23536         down expression to avoid unexpected rounding in newer GCCs.
23537         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
23539 2012-04-26  David S. Miller  <davem@davemloft.net>
23541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
23542         long-double compat symbols.
23543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
23547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23548         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
23549         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
23550         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
23551         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
23552         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
23553         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
23554         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
23555         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23557 2012-04-25  David S. Miller  <davem@davemloft.net>
23559         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
23560         HWCAP_* values only after the memory barriers have been defined.
23561         (atomic_full_barrier): Define.
23562         (atomic_read_barrier): Define.
23563         (atomic_write_barrier): Define.
23565 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23567         * shlib-versions: Add libgcc_s version information.
23568         * sysdeps/generic/libgcc_s.h: Remove.
23569         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
23570         libgcc_s.h.
23571         * sysdeps/gnu/unwind-resume.c: Likewise.
23572         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
23574 2012-04-25  David S. Miller  <davem@davemloft.net>
23576         * sysdeps/unix/sparc/brk.S: Delete.
23577         * sysdeps/unix/sparc/dl-brk.S: Delete.
23578         * sysdeps/unix/sparc/pipe.S: Delete.
23579         * sysdeps/unix/sparc/sysdep.S: Delete.
23580         * sysdeps/unix/sparc/sysdep.h: Delete.
23581         * sysdeps/unix/sparc/vfork.S: Delete.
23582         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
23583         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
23584         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
23585         ret_ERRVAL, r0, r1, MOVE): Define.
23586         (JUMPTARGET): Remove.
23587         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
23588         sysdeps/unix/sparc/sysdep.h
23589         (ENTRY, END): Remove.
23590         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23592 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
23594         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
23595         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
23596         -DIS_IN_build.
23598         * timezone/README: Update upstream location and email address for
23599         tzcode and tzdata.
23600         * timezone/zdump.c: Update from tzcode 2012b.
23601         * timezone/zic.c: Likewise.
23603         * configure.in (libc_cv_as_needed): Remove test.
23604         * configure: Regenerated.
23605         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
23606         conditional definition.
23607         [$(have-as-needed) != yes] (no-as-needed): Likewise.
23608         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
23609         * config.make.in (have-as-needed): Remove variable.
23611 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23612             Paul Pluzhnikov  <ppluzhnikov@google.com>
23614         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
23615         strings correctly.
23617 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
23619         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
23620         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
23621         * sysdeps/sh/strlen.S: Likewise.
23623 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
23625         * sysdeps/unix/fork.S: Remove file.
23626         * sysdeps/unix/i386/fork.S: Likewise.
23627         * sysdeps/unix/sparc/fork.S: Likewise.
23629         * sysdeps/unix/system.c: Remove file.
23630         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
23632         * sysdeps/unix/getegid.S: Remove file.
23633         * sysdeps/unix/geteuid.S: Likewise.
23635 2012-04-24  Roland McGrath  <roland@hack.frob.com>
23637         * scripts/check-localplt.awk: New file.
23638         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
23639         of diff.
23640         * scripts/data/localplt-generic.data: Add a comment.
23642         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
23643         NODE when __dir_mkfile failed.
23644         * sysdeps/mach/hurd/symlinkat.c: Likewise.
23645         Reported by Ludovic Courtès <ludo@gnu.org>.
23647 2012-04-24  Andreas Jaeger  <aj@suse.de>
23649         * Makerules (common-clean): Also remove gen-as-const-headers
23650         files.
23652 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
23654         * Makerules (native-compile): Do not change working directory for
23655         build.  Use $(OUTPUT_OPTION) in command.
23656         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
23658 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23660         [BZ #13886]
23661         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
23662         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
23663         * math/libm-test.inc (floor_test): Add more tests.
23664         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
23666 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
23668         * sysdeps/unix/getdents.c: Remove file.
23669         * sysdeps/unix/sysv/getdents.c: Likewise.
23670         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
23672         * sysdeps/unix/syscalls.list (madvise): Add syscall from
23673         sysdeps/unix/mman/syscalls.list.
23674         (mmap): Likewise.
23675         (mprotect): Likewise.
23676         (msync): Likewise.
23677         (munmap): Likewise.
23678         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
23679         * sysdeps/unix/mman/syscalls.list: Remove.
23680         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
23682         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
23683         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
23684         * configure: Regenerated.
23685         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
23686         $(libgcc_s_suffix).
23687         * config.make.in (libgcc_s_suffix): Remove variable.
23689 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
23691         * sysdeps/unix/sysv/gethostname.c: Move to ...
23692         * sysdeps/posix/gethostname.c: ... here.
23694         * sysdeps/unix/execve.S: Remove file.
23696         * sysdeps/unix/_exit.S: Remove file.
23698 2012-04-23  Andreas Jaeger  <aj@suse.de>
23700         [BZ #13739]
23701         * manual/Makefile: Remove make dist support, there's no
23702         need for a stand-alone documentation tar ball.
23703         (TEXI2DVI): Define always, it's not in Makeconfig.
23704         (dist): Removed.
23705         (tar-it): Removed.
23706         (edition): Removed.
23707         (glibc-doc-$(edition).tar): Removed
23708         (%.Z): Removed.
23709         (%.gz): Removed.
23710         (%.uu): Removed.
23711         (ETAGS): Remove, it's in Makeconfig.
23712         (move-if-change): Remove, it's in Makeconfig.
23714 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
23716         [BZ #13970]
23717         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
23718         (strtod, strtof, strtold, strtol, strtoul, strtoq)
23719         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
23720         (strtod_l, strtof_l, strtold_l): Remove __wur.
23721         It is not necessarily an error to ignore strtol's return value.
23722         One can reliably look at the stored endptr to decide whether
23723         the number had valid syntax.
23725 2012-04-21  Andreas Jaeger  <aj@suse.de>
23727         [BZ #13739]
23728         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
23730 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
23732         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
23733         * sysdeps/unix/sysv/Versions: Remove file.
23735 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
23737         [BZ #13927]
23738         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23740 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
23742         [BZ #7064]
23743         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
23744         version from __vm86.
23746 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
23748         * sysdeps/unix/common/lxstat.c: Remove file.
23749         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
23751         * sysdeps/unix/sysv/Makefile: Remove file.
23753         * sysdeps/unix/sysv/direct.h: Remove file.
23755         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
23756         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
23757         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
23758         * sysdeps/unix/sysv/bits/signum.h: Likewise.
23759         * sysdeps/unix/sysv/bits/stat.h: Likewise.
23760         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
23761         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
23763         * sysdeps/unix/sysv/setrlimit.c: Remove file.
23765         * sysdeps/unix/xmknod.c: Remove file.
23766         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
23768         * sysdeps/unix/sysv/settimeofday.c: Remove file.
23770         * sysdeps/unix/sysv/i386/time.S: Remove file.
23772         * sysdeps/unix/fxstat.c: Remove file.
23773         * sysdeps/unix/xstat.c: Likewise.
23774         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
23776         * sysdeps/unix/sysv/sigaction.c: Remove file.
23778         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
23779         (sysdep_headers): Remove variable.
23780         [termio.h not in sysdep_headers] (generated): Likewise.
23781         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
23782         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
23783         * sysdeps/unix/sysv/tcdrain.c: Likewise.
23784         * sysdeps/unix/sysv/tcflow.c: Likewise.
23785         * sysdeps/unix/sysv/tcflush.c: Likewise.
23786         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
23787         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
23788         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
23789         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
23790         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
23792         * sysdeps/unix/siglist.c: Remove file.
23794         * sysdeps/unix/getppid.S: Remove file.
23796         * sysdeps/unix/mkdir.c: Remove file.
23797         * sysdeps/unix/rmdir.c: Likewise.
23799 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
23801         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
23802         ERR_MAX value.
23803         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
23804         errlist-compat value.
23806 2012-04-18  David S. Miller  <davem@davemloft.net>
23808         * sysdeps/generic/memcopy.h (reg_char): Delete.
23809         * debug/strcat_chk.c: Use char, not reg_char.
23810         * debug/strcpy_chk.c: Likewise.
23811         * debug/strncat_chk.c: Likewise.
23812         * debug/strncpy_chk.c: Likewise.
23813         * string/memchr.c: Likewise.
23814         * string/memrchr.c: Likewise.
23815         * string/rawmemchr.c: Likewise.
23816         * string/strcat.c: Likewise.
23817         * string/strchr.c: Likewise.
23818         * string/strchrnul.c: Likewise.
23819         * string/strcmp.c: Likewise.
23820         * string/strcpy.c: Likewise.
23821         * string/strncat.c: Likewise.
23822         * string/strncmp.c: Likewise.
23823         * string/strncpy.c: Likewise.
23825 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
23827         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
23828         __builtin_memcopy is called when src and dest ranges are known to not
23829         overlap.
23831 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
23833         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
23834         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
23835         fwd_align_merge macro call.
23836         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
23837         bwd_align_merge macro call.
23838         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23840 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
23842         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
23843         bwd_align_merge macros.
23844         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
23845         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
23846         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23848 2012-04-18  David S. Miller  <davem@davemloft.net>
23850         * sysdeps/sparc/sparc64/memcopy.h: Delete.
23852 2012-04-18  Andreas Jaeger  <aj@suse.de>
23854         [BZ# 6794]
23855         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
23856         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
23857         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23859         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
23860         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
23861         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23863         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
23864         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
23865         Adjust for changed ldbl-128 files.
23867         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
23868         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
23869         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23871 2012-04-17  David S. Miller  <davem@davemloft.net>
23873         * sysdeps/sparc/sparc32/memcopy.h: Delete.
23875 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
23877         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
23878         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
23879         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
23880         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
23881         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23882         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
23884 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23886         [BZ #6794]
23887         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
23888         * math/libm-test.inc: Add ilogb errno and exception tests.
23889         * math/w_ilogb.c: New file: ilogb wrapper.
23890         * math/w_ilogbf.c: New file: ilogbf wrapper.
23891         * math/w_ilogbl.c: New file: ilogbl wrapper.
23892         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
23893         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
23894         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
23895         exception being thrown with 0.0 as argument.
23896         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
23897         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
23898         exception being thrown with 0.0 as argument.
23899         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
23900         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23901         exception being thrown with 0.0 as argument.
23902         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
23903         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23904         exception being thrown with 0.0 as argument.
23905         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
23906         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
23907         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
23908         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
23909         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
23910         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
23911         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
23912         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
23913         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
23915 2012-04-17  Petr Baudis  <pasky@ucw.cz>
23917         * include/sys/uio.h: Change __vector to __iovec to avoid clash
23918         with altivec.
23920 2012-04-16  Marek Polacek  <polacek@redhat.com>
23922         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
23924 2012-04-16  Marek Polacek  <polacek@redhat.com>
23926         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
23927         operands of fdivp instruction.
23929 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
23931         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
23932         * elf/tst-auditmod3b.c: Likewise.
23933         * elf/tst-auditmod4b.c: Likewise.
23934         * elf/tst-auditmod5b.c: Likewise.
23935         * elf/tst-auditmod6b.c: Likewise.
23936         * elf/tst-auditmod6c.c: Likewise.
23937         * elf/tst-auditmod7b.c: Likewise.
23938         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
23939         * sysdeps/x86_64/preconfigure.in: Likewise.
23940         * sysdeps/x86_64/preconfigure: Regenerated.
23942 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
23944         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
23945         __ILP32__.
23947 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
23949         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23950         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
23952 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
23954         [BZ #13973]
23955         * locale/iso-639.def: Fix gl language name. Spotted by
23956         Yaron Shahrabani.
23958 2012-04-12  Roland McGrath  <roland@hack.frob.com>
23960         [BZ #2074]
23961         * libio/libio.h (__io_write_fn): Update comment.
23963 2012-04-12  Petr Baudis  <pasky@ucw.cz>
23965         [BZ #2074]
23966         * stdio.texi (Hook Functions): The user provided writer function
23967         is not allowed to return -1.
23969 2012-04-11  David S. Miller  <davem@davemloft.net>
23971         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23973 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
23975         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
23976         Add a leading slash to rtkaio.
23978 2012-04-11  Jim Meyering  <meyering@redhat.com>
23980         [BZ #11959]
23981         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
23982         It is not necessarily an error to ignore fwrite's return
23983         value.  One can reliably use ferror to test for errors after
23984         the fact.
23986 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
23988         * bits/types.h (__snseconds_t): New type.
23989         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
23991         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
23992         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23993         (__SNSECONDS_T_TYPE): Likewise.
23994         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23995         (__SNSECONDS_T_TYPE): Likewise.
23996         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23997         (__SNSECONDS_T_TYPE): Likewise.
23999 2012-04-10  Andreas Jaeger  <aj@suse.de>
24001         [BZ #2636]
24002         * manual/time.texi (Processor Time): Return type of times is
24003         elapsed real time since an arbitrary point in the past.
24004         (CPU Time): Move CLK_TCK from here...
24005         (Processor Time): ...to here.  Correct description.
24006         * manual/conf.texi (Constants for Sysconf): Correct description of
24007         _SC_CLK_TCK.
24009 2012-04-10  David S. Miller  <davem@davemloft.net>
24011         [BZ #13967]
24012         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
24013         where the is a gap between DT_REL(A) and DT_JMPREL.
24015 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
24017         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
24018         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24019         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24021 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24023         * elf/dl-support.c (_dl_inhibit_cache): New variable.
24024         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
24025         (dl_main): Handle --inhibit-cache.
24026         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
24027         _dl_inhibit_cache.
24028         * elf/dl-load.c (_dl_map_object): Use it.
24029         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
24031 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
24033         [BZ #13872]
24034         * sysdeps/i386/fpu/e_powl.S (p78): New object.
24035         (__ieee754_powl): Saturate large exponents rather than testing for
24036         overflow of y*log2(x).
24037         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24038         * math/libm-test.inc (pow_test): Do not permit spurious overflow
24039         exceptions.
24041         [BZ #11521]
24042         * math/s_ctan.c: Include <float.h>.
24043         (__ctan): Avoid internal overflow or cancellation in calculating
24044         denominator.
24045         * math/s_ctanf.c: Likewise.
24046         * math/s_ctanl.c: Likewise.
24047         * math/s_ctanh.c: Likewise.
24048         * math/s_ctanhf.c: Likewise.
24049         * math/s_ctanhl.c: Likewise.
24050         * math/libm-test.inc (ctan_test): Add more tests.
24051         (ctanh_test): Likewise.
24052         * sysdeps/i386/fpu/libm-test-ulps: Update.
24053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24055 2012-04-09  Andreas Jaeger  <aj@suse.de>
24057         [BZ #6894]
24058         * manual/filesys.texi (Directory Entries): Mention that d_namlen
24059         is an optional BSD extension.
24061         [BZ #10254]
24062         * manual/stdio.texi (Opening Streams): Document additional fopen
24063         parameters.
24065 2012-04-09  Roland McGrath  <roland@hack.frob.com>
24067         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
24068         %eax without telling the compiler.
24070 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
24072         [BZ # 13963]
24073         * manual/install.texi: Use sourceware.org.
24075 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
24077         [BZ #13873]
24078         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
24079         (__ieee754_pow): Generate overflow and underflow using huge*huge
24080         and tiny*tiny rather than just returning constant infinity or zero
24081         for large exponents.
24082         * math/libm-test.inc (pow_test): Require overflow exceptions for
24083         applicable cases of large exponents.
24085         [BZ #706]
24086         * sysdeps/i386/fpu/e_pow.S (p10): New object.
24087         (__ieee754_pow): Use iterative multiplication algorithm only for
24088         integer exponents with absolute value below 1024.  Check for odd
24089         integer exponents when using algorithm for real exponents.
24090         * math/libm-test.inc (pow_test): Add more tests.
24091         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24093 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
24095         [BZ #13705]
24096         * math/libm-test.inc (exp_test): Do not allow overflow exception
24097         on underflow test.
24099 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
24101         [BZ #13705]
24102         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
24103         instead of __kernel_standard_f.
24105 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
24107         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
24108         * sysdeps/x86_64/memset_chk.S: Likewise.
24110 2012-04-08  Andreas Jaeger  <aj@suse.de>
24112         [BZ #10153]
24113         * manual/startup.texi (Environment Access): Describe return value
24114         for putenv and setenv.
24116         [BZ #6895]
24117         * manual/filesys.texi (Directory Entries): Add description for
24118         DT_LNK.
24120         [BZ #6890]
24121         * manual/filesys.texi (Directory Entries): Clarify that it's file
24122         system not operating system in the description of DT_UNKNOWN.
24124         [BZ #6578]
24125         * manual/syslog.texi (closelog): Fix reference, it's openlog.
24127 2012-04-08  Stephen Compall  <s11@member.fsf.org>
24129         [BZ #6649]
24130         * manual/llio.texi (Opening and Closing Files): Add cross
24131         reference to explain mode argument.
24133 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
24135         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
24136         * sysdeps/x86_64/memset_chk.S: Likewise.
24138 2012-04-07  David S. Miller  <davem@davemloft.net>
24140         * elf/elf.h (R_SPARC_WDISP10): Define.
24141         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
24142         R_SPARC_SIZE32.
24143         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
24144         R_SPARC_SIZE64 and R_SPARC_H34.
24146 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
24148         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
24149         conditions and remove no longer applicable assertion.
24151 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
24153         * bits/byteswap.h: Include <features.h>.
24154         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24155         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24157 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
24159         * bits/byteswap.h (__bswap_16): Removed.
24160         Include <bits/byteswap-16.h> to get __bswap_16.
24161         * sysdeps/i386/bits/byteswap.h: Likewise.
24162         * sysdeps/s390/bits/byteswap.h: Likewise.
24163         * sysdeps/x86_64/bits/byteswap.h: Likewise.
24164         * bits/byteswap-16.h: New file.
24165         * sysdeps/i386/bits/byteswap-16.h: Likewise.
24166         * sysdeps/s390/bits/byteswap-16.h: Likewise.
24167         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
24168         * string/Makefile (headers): Add bits/byteswap-16.h.
24170 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
24172         [BZ #13895]
24173         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
24174         extra indirection.
24175         * nss/Makefile (tests-static, tests): Add tst-nss-static.
24176         * nss/tst-nss-static.c: New.
24178 2012-04-06  Robert Millan  <rmh@gnu.org>
24180         [BZ #6486]
24181         * manual/llio.texi (File Position Primitive): lseek
24182         refers to WHENCE when it really means OFFSET.
24184 2012-04-06  Andreas Jaeger  <aj@suse.de>
24186         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
24187         strncmp declarations.
24189         * abilist/libc.abilist: Add __poll and __ppoll.
24191 2012-04-05  David S. Miller  <davem@davemloft.net>
24193         * scripts/check-local-headers.sh: Accept a host triplet in the
24194         path matched by the exclude regexp.
24196         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
24197         definition.
24198         * sysdeps/powerpc/powerpc32/dl-machine.h
24199         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
24200         * sysdeps/s390/s390-32/dl-machine.h
24201         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24202         * sysdeps/sparc/sparc32/dl-machine.h
24203         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24204         * sysdeps/sparc/sparc64/dl-machine.h
24205         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24207         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
24208         lazy binding.
24209         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
24210         undefined symbol errors.
24212         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
24213         DT_NEEDED entries.
24215 2012-04-05  Michael Matz  <matz@suse.de>
24217         [BZ #13592]
24218         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
24220 2012-04-05  Andreas Jaeger  <aj@suse.de>
24222         [BZ #13908]
24223         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
24224         comment.
24226 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
24228         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
24229         which ROUND is no valid rounding mode.
24231 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
24233         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
24234         read again.
24235         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
24237 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
24239         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
24240         an exception using FPU order intentionally.
24242 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
24244         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
24245         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
24246         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
24247         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
24249 2012-04-05  Simon Josefsson  <simon@josefsson.org>
24251         [BZ #12340]
24252         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
24253         EINVAL when BUFLEN is too smal.
24255 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
24257         [BZ #13553]
24258         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
24259         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
24261 2012-04-03  Andreas Jaeger  <aj@suse.de>
24263         [BZ #13938]
24264         * manual/setjmp.texi (System V contexts): Fix sentence.
24266         [BZ #13926]
24267         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
24268         New macro for this case.
24269         [!__GNUC__] (__bswap_64): New inline function for this case.
24270         * sysdeps/x86_64/bits/byteswap.h: Likewise.
24271         * bits/byteswap.h: Likewise.
24272         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
24273         ull, guard with __GLIBC_HAVE_LONG_LONG.
24275         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
24276         __GLIBC_HAVE_LONG_LONG.
24278         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
24279         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
24281 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24283         [BZ #13691]
24284         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
24285         inptr and inend, rather than using last_ch.
24287 2012-04-02  David S. Miller  <davem@davemloft.net>
24289         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
24290         * stdio-common/printf-parse.h (read_int): Change return type to
24291         'int', return -1 on INT_MAX overflow.
24292         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
24293         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
24294         overflows INT_MAX.  Check for overflow of in-format-string precision
24295         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
24296         SIZE_MAX not INT_MAX for integer overflow test.
24297         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
24298         skip the construct in the format string but do not record anything.
24299         * stdio-common/bug22.c: Adjust to test both width/prevision
24300         INT_MAX overflow as well as total length INT_MAX overflow.  Check
24301         explicitly for proper errno values.
24303 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
24305         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
24306         CHAR_MAX.
24307         * string/test-strcmp.c [! WIDE]: Likewise.
24308         * time/tst-mktime2.c: Likewise for INT_MAX.
24309         * string/test-string.h: #include <sys/param.h> for MIN.
24311         * csu/init-first.c (__libc_init_first): Call __ctype_init.
24312         * sysdeps/i386/init-first.c (init): Likewise.
24313         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
24314         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
24315         * sysdeps/sh/init-first.c (init): Likewise.
24317 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
24319         * po/ru.po: Update from translation team.
24320         * po/vi.po: Likewise.
24322 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24324         * resolv/nss_dns/dns-host.c: Merge copyright years.
24326 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24328         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24329         Optimize memcpy with prefetch if
24330         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
24331         src, dst pointers have unequal 16 byte alignments.
24333 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
24335         [BZ #13928]
24336         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
24337         from a CNAME entry and return the minimum ttl for the query.
24338         (gaih_getanswer_slice): Likewise.
24340 2012-03-30  Jeff Law  <law@redhat.com>
24342         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
24343         due to long keys.
24344         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
24345         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
24347         * resolv/nss_dns/dns-host.c: Update copyright year.
24349 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
24351         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
24352         requests to save a system call.  Fix check that all bytes are sent.
24354         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
24355         comments for sendmmsg.
24357 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24359         [BZ #13691]
24360         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
24361         with only 1 character between 0x0041 and 0x01b0.
24362         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
24363         * wcsmbs/tst-mbsnrtowcs.c: New file.
24365 2012-03-29  David S. Miller  <davem@davemloft.net>
24367         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
24368         small copies by hand.
24370 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24372         [BZ #13761]
24373         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
24374         _nss_compat_initgroups_dyn): Fall back to malloc/free
24375         for large group memberships.
24377 2012-03-28  David S. Miller  <davem@davemloft.net>
24379         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
24380         that branches into memcpy.
24381         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24382         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24383         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24384         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24385         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
24386         bits.
24387         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
24388         implementation too.
24389         * sysdeps/sparc/mempcpy.S: New file.
24391         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
24392         the IFUNC routine in the libc case.
24393         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24395         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
24396         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
24397         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
24398         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
24399         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
24400         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
24401         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
24402         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
24404         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
24405         loop to 256 bytes instead of 64 bytes and fix test signedness.
24407         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
24408         * sysdeps/sparc/sparc32/Makefile: rather than here...
24409         * sysdeps/sparc/sparc64/Makefile: and here.
24411 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
24413         * malloc/mallocbug.c: Avoid warnings about unused variables.
24415 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
24417         [BZ #13760]
24418         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
24419         in the right place. Discard and retry query if response is
24420         larger than input buffer size.
24422 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
24424         [BZ #369]
24425         [BZ #2678]
24426         [BZ #3866]
24427         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
24428         x for large integer exponent.
24429         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24430         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
24431         sign of result as needed afterwards.
24432         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
24433         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
24434         result for underflowing pow the same as for overflow.
24435         (__kernel_standard_l): Handle powl overflow and underflow here
24436         rather than calling __kernel_standard.
24437         * math/libm-test.inc (pow_test): Add more tests.
24439         [BZ #3868]
24440         [BZ #13879]
24441         [BZ #13910]
24442         [BZ #13911]
24443         [BZ #13912]
24444         [BZ #13913]
24445         [BZ #13915]
24446         [BZ #13916]
24447         [BZ #13917]
24448         [BZ #13918]
24449         [BZ #13919]
24450         [BZ #13920]
24451         [BZ #13921]
24452         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
24453         * sysdeps/ieee754/k_standard.c: Include <float.h>.
24454         (__kernel_standard_l): New function.
24455         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
24456         __kernel_standard.
24457         * math/w_acosl.c (__acosl): Likewise.
24458         * math/w_asinl.c (__asinl): Likewise.
24459         * math/w_atan2l.c (__atan2l): Likewise.
24460         * math/w_atanhl.c (__atanhl): Likewise.
24461         * math/w_coshl.c (__coshl): Likewise.
24462         * math/w_exp10l.c (__exp10l): Likewise.
24463         * math/w_exp2l.c (__exp2l): Likewise.
24464         * math/w_fmodl.c (__fmodl): Likewise.
24465         * math/w_hypotl.c (__hypotl): Likewise.
24466         * math/w_j0l.c (__j0l, __y0l): Likewise.
24467         * math/w_j1l.c (__j1l, __y1l): Likewise.
24468         * math/w_jnl.c (__jnl, __ynl): Likewise.
24469         * math/w_lgammal.c (__lgammal): Likewise.
24470         * math/w_log10l.c (__log10l): Likewise.
24471         * math/w_log2l.c (__log2l): Likewise.
24472         * math/w_logl.c (__logl): Likewise.
24473         * math/w_powl.c (__powl): Likewise.
24474         * math/w_remainderl.c (__remainderl): Likewise.
24475         * math/w_scalbl.c (sysv_scalbl): Likewise.
24476         * math/w_sinhl.c (__sinhl): Likewise.
24477         * math/w_sqrtl.c (__sqrtl): Likewise.
24478         * math/w_tgammal.c (__tgammal): Likewise.
24479         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
24480         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
24481         * math/libm-test.inc (acos_test): Add more tests.
24482         (acosh_test): Likewise.
24483         (asin_test): Likewise.
24484         (atanh_test): Likewise.
24485         (exp_test): Likewise.
24486         (exp10_test): Likewise.
24487         (exp2_test): Likewise.
24488         (expm1_test): Likewise.
24489         (lgamma_test): Likewise.
24490         (log_test): Likewise.
24491         (log10_test): Likewise.
24492         (log1p_test): Likewise.
24493         (log2_test): Likewise.
24494         (pow_test): Do not allow some spurious overflow exceptions.
24495         (sqrt_test): Add more tests.
24496         (tgamma_test): Likewise.
24497         (y0_test): Likewise.
24498         (y1_test): Likewise.
24499         (yn_test): Likewise.
24501 2012-03-27  Anton Blanchard  <anton@samba.org>
24503         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
24504         MAP_HUGETLB.
24505         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24506         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24507         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24509 2012-03-27  David S. Miller  <davem@davemloft.net>
24511         * conform/Makefile: Run run-conformtest.sh using $(BASH).
24513         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
24514         have-as-vis3 check.
24516 2012-03-27  Andreas Jaeger  <aj@suse.de>
24518         * sysdeps/x86_64/elf/configure.in: Moved to ...
24519         * sysdeps/x86_64/configure.in: ... here.
24520         * sysdeps/x86_64/elf/start.S: Moved to ...
24521         * sysdeps/x86_64/start.S: ... here.
24522         * sysdeps/x86_64/elf/configure: Delete.
24524         * sysdeps/x86_64/configure.in: Merge contents from
24525         sysdeps/i386/configure.in (without i686 check).
24527         * sysdeps/i386/elf/Versions: Merge into ...
24528         * sysdeps/i386/Versions: ... this.
24529         * sysdeps/i386/elf/Versions: Delete file.
24530         * sysdeps/i386/elf/start.S: Moved to ...
24531         * sysdeps/i386/start.S: ...here.
24532         * sysdeps/i386/elf/configure.in: Merge into...
24533         * sysdeps/i386/configure.in: ...here.
24534         * sysdeps/i386/elf/configure.in: Delete file.
24535         * sysdeps/i386/elf/configure: Delete file.
24537         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
24538         * debug/backtracesyms.c: ... here.
24539         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
24540         * debug/backtracesymsfd.c: ... here.
24541         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
24542         * sysdeps/generic/ifunc-sel.h: ... here.
24544         * sysdeps/unix/i386/start.c: Delete file.
24545         * sysdeps/unix/sparc/start.c: Delete file.
24546         * sysdeps/unix/start.c: Delete file.
24548         * sysdeps/sh/elf/configure.in: Moved to ...
24549         * sysdeps/sh/configure.in: ... here.
24550         * sysdeps/sh/elf/start.S: Moved to ...
24551         * sysdeps/sh/start.S: ... here.
24552         * sysdeps/sh/elf/configure: Delete file.
24554         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
24555         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
24556         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
24557         * sysdeps/powerpc/powerpc64/entry.h: ... here.
24558         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
24559         * sysdeps/powerpc/powerpc64/start.S: here.
24560         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
24561         * sysdeps/powerpc/powerpc64/Makefile: ... this.
24562         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
24563         * sysdeps/powerpc/powerpc64/configure.in: ... this.
24564         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
24566         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
24567         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
24568         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
24569         * sysdeps/powerpc/powerpc32/start.S: ... here.
24570         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
24571         * sysdeps/powerpc/powerpc32/configure.in: ... this.
24572         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
24574         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
24575         * sysdeps/powerpc/ifunc-sel.h: ... here.
24576         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
24577         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
24579         * sysdeps/sparc/elf/configure.in: Moved to ...
24580         * sysdeps/sparc/configure.in: ... here.
24581         * sysdeps/sparc/elf/configure: Delete file.
24582         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
24583         * sysdeps/sparc/sparc32/start.S: ... here.
24584         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
24585         * sysdeps/sparc/sparc64/start.S: ... here.
24586         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
24587         * sysdeps/sparc/sparc32/Makefile: ... this.
24588         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
24589         * sysdeps/sparc/sparc64/Makefile: ... this.
24591         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
24592         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
24593         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
24594         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
24595         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
24596         * sysdeps/s390/s390-32/setjmp.S: ... here.
24597         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
24598         * sysdeps/s390/s390-32/configure.in: ... here.
24599         * sysdeps/s390/s390-32/elf/configure: Delete file.
24600         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
24601         * sysdeps/s390/s390-32/start.S: ... here.
24603         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
24604         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
24605         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
24606         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
24607         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
24608         * sysdeps/s390/s390-64/setjmp.S: ... here.
24609         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
24610         * sysdeps/s390/s390-64/configure.in: ... here
24611         * sysdeps/s390/s390-64/elf/configure: Delete file.
24612         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
24613         * sysdeps/s390/s390-64/start.S: ... here.
24614         * sysdeps/s390/s390-64/elf/configure: Delete.
24616         * configure.in: Remove support for elf directories in sysdeps.
24618         * configure: Regenerated.
24619         * sysdeps/i386/configure: Regenerated.
24620         * sysdeps/powerpc/powerpc32/configure: Regenerated.
24621         * sysdeps/powerpc/powerpc64/configure: Regenerated.
24622         * sysdeps/s390/s390-32/configure: Regenerated.
24623         * sysdeps/s390/s390-64/configure: Regenerated.
24624         * sysdeps/sh/configure: Regenerated.
24625         * sysdeps/sparc/configure: Regenerated.
24626         * sysdeps/x86_64/configure: Regenerated.
24628 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
24630         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24632         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
24633         denormal result into account.
24635 2012-03-25  Roland McGrath  <roland@hack.frob.com>
24637         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
24638         Reported by Allan McRae <allan@archlinux.org>.
24640 2012-03-23  Jeff Law  <law@redhat.com>
24642         * nss/getnssent.c (__nss_getent): Fix typo.
24644 2012-03-23  David S. Miller  <davem@davemloft.net>
24646         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24648 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
24650         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
24651         to pad to uint64_t for each field.
24652         (dl_tls_index): Replace unsigned long with uint64_t.
24654 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
24655         Paul Pluzhnikov  <ppluzhnikov@google.com>
24657         [BZ #6528]
24658         * grp/Makefile (otherlibs): Don't set it.
24659         * inet/Makefile (otherlibs): Likewise.
24660         * login/Makefile (otherlibs): Likewise.
24661         * nscd/Makefile (otherlibs): Likewise.
24662         * posix/Makefile (otherlibs): Likewise.
24663         * pwd/Makefile (otherlibs): Likewise.
24664         * rt/Makefile (otherlibs): Likewise.
24665         * sunrpc/Makefile (otherlibs): Likewise.
24666         * nss/Makefile (otherlibs): Likewise.
24667         Add libnss_files to routines and static-only-routines.
24668         ($(objpfx)getent): Remove rule.
24669         * resolv/Makefile: Add libnss_dns and libresolv to routines and
24670         static-only-routines.
24672 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
24674         [BZ #13892]
24675         * math/s_cexp.c: Include <float.h>.
24676         (__cexp): Handle exp result overflowing not necessarily
24677         overflowing both real and imaginary parts of result.
24678         * math/s_cexpf.c: Likewise.
24679         * math/s_cexpl.c: Likewise.
24680         * math/libm-test.inc (cexp_test): Add more tests.
24681         * sysdeps/i386/fpu/libm-test-ulps: Update.
24682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24684 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24686         * include/link.h (ELFW): New macro.
24687         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
24688         Replace ELF64_R_TYPE with ELFW(R_TYPE).
24690 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24692         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
24693         with uint64_t.
24695 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24697         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
24698         declaration.
24699         (struct La_x32_retval): Likewise.
24701 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24703         * sysdeps/x86_64/preconfigure.in: New file.
24704         * sysdeps/x86_64/preconfigure: New generated file.
24706 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
24708         [BZ #13824]
24709         * math/e_exp2l.c: Include <float.h>.
24710         (__ieee754_exp2l): Handle overflow and underflow cases
24711         separately.  Only pass fractional part of argument to
24712         __ieee754_expl.
24713         * math/libm-test.inc (exp2_test): Add more tests.
24715         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
24716         negating x to take absolute value.
24717         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24718         Likewise.
24719         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24720         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24721         Likewise.
24722         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
24723         computing low part if x was negated.
24724         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24726 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
24728         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
24729         la_x32_gnu_pltexit.
24730         (pltexit): Cast int_retval to ptrdiff_t.
24731         * elf/tst-auditmod3b.c: Likewise.
24732         * elf/tst-auditmod4b.c: Likewise.
24733         * elf/tst-auditmod5b.c: Likewise.
24734         * elf/tst-auditmod6b.c: Likewise.
24735         * elf/tst-auditmod6c.c: Likewise.
24736         * elf/tst-auditmod7b.c: Likewise.
24738         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
24739         and x32_gnu_pltexit.
24741         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
24742         __ELF_NATIVE_CLASS.
24743         (La_x32_regs): New macro.
24744         (La_x32_retval): Likewise.
24745         (la_x32_gnu_pltenter): New function prototype.
24746         (la_x32_gnu_pltexit): Likewise.
24748 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
24750         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
24751         exponent.
24753         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24755         * configure.in (libc_cv_cc_nofma): Check for option to disable
24756         generation of FMA instructions.
24757         * configure: Regenerate.
24758         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
24759         * sysdeps/ieee754/dbl-64/Makefile: New file.
24760         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24761         Remove brandred-fma4.
24762         (CFLAGS-brandred-fma4.c): Remove.
24763         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
24764         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
24765         define.
24766         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
24767         define.
24769 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
24771         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24772         LLONG_MAX != LONG_MAX.
24773         (_itoa_word): Use _ITOA_WORD_TYPE on value.
24774         (_fitoa_word): Likewise.
24775         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
24776         LLONG_MAX != LONG_MAX.
24777         * stdio-common/_itowa.h: Include <_itoa.h>.
24778         (_itowa_word): Use _ITOA_WORD_TYPE on value.
24779         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
24780         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
24781         only if not defined.
24782         (_ITOA_WORD_TYPE): Likewise.
24783         (_itoa_word): Use _ITOA_WORD_TYPE on value.
24784         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
24786 2012-03-21  David S. Miller  <davem@davemloft.net>
24788         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24790 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
24792         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
24793         of x86_64 when setting libc_cv_slibdir, libdir and
24794         libc_cv_localedir.
24795         * sysdeps/unix/sysv/linux/configure: Regenerated.
24797 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
24799         * manual/lang.texi (Old Varargs): Remove section.
24800         (How Variadic): Update menu.
24801         (va_start): Do not mention varargs.h.
24803 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
24804             Joseph Myers  <joseph@codesourcery.com>
24806         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
24807         link test.
24808         * configure: Regenerated.
24810 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
24812         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
24813         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
24814         conformtest.pl
24816 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
24818         * NOTES: Remove.
24819         * Makefile (files-for-dist): Remove NOTES.
24820         (NOTES): Remove rule.
24821         * README: Don't refer to NOTES.
24822         * manual/creature.texi: Don't include macros.texi.
24823         * manual/intro.texi (creature.texi): Remove comment referring to
24824         NOTES.
24826         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
24827         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
24828         * configure: Regenerated.
24829         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
24830         LIBC_TRY_CC_OPTION.
24831         (libc_cv_as_i686): Likewise.
24832         (libc_cv_cc_avx): Likewise.
24833         (libc_cv_cc_sse2avx): Likewise.
24834         (libc_cv_cc_fma4): Likewise.
24835         (libc_cv_cc_novzeroupper): Likewise.
24836         * sysdeps/i386/configure: Regenerated.
24838         [BZ #13883]
24839         * sysdeps/i386/fpu/s_cexp.S: Remove.
24840         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24841         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24842         * math/libm-test.inc (cexp_test): Add more tests.
24843         * sysdeps/i386/fpu/libm-test-ulps: Update.
24844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24846 2012-03-21  Allan McRae  <allan@archlinux.org>
24848         * timezone/Makefile: Do not install iso3166.tab and zone.tab
24850 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
24852         [BZ #13871]
24853         * math/w_exp2.c: Do not include <float.h>.
24854         (o_threshold, u_threshold): Remove.
24855         (__exp2): Calculate result before checking finiteness and calling
24856         __kernel_standard.
24857         * math/w_exp2f.c: Likewise.
24858         * math/w_exp2l.c: Likewise.
24859         * math/libm-test.inc (exp2_test): Require overflow exception for
24860         1e6 input.
24862         [BZ #3866]
24863         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
24864         range of signed 64-bit integers before using fistpll.  Remove
24865         checks for whether integers fit in mantissa bits.
24866         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
24867         the range of signed 32-bit integers before using fistpl.  Remove
24868         checks for whether integers fit in mantissa bits.
24869         * sysdeps/i386/fpu/e_powl.S (p64): New object.
24870         (__ieee754_powl): Test for y outside the range of signed 64-bit
24871         integers before using fistpll.  Reduce 64-bit values to 63-bit
24872         ones as needed.
24873         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
24874         divide-by-zero is raised for zero to large negative powers.
24875         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
24876         (__ieee754_powl): Test for y outside the range of signed 64-bit
24877         integers before using fistpll.  Reduce 64-bit values to 63-bit
24878         ones as needed.
24879         * math/libm-test.inc (pow_test): Add more tests.
24881 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
24883         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
24884         <stdio-common/_itoa.h>.
24885         * debug/segfault.c: Likewise.
24886         * elf/dl-cache.c: Likewise.
24887         * elf/dl-minimal.c: Likewise.
24888         * elf/dl-misc.c: Likewise.
24889         * elf/dl-sysdep.c: Likewise.
24890         * elf/dl-version.c: Likewise.
24891         * elf/rtld.c: Likewise.
24892         * hurd/hurdsock.c: Likewise.
24893         * hurd/lookup-retry.c: Likewise.
24894         * malloc/malloc.c: Likewise.
24895         * malloc/mtrace.c: Likewise.
24896         * nscd/nscd_getgr_r.c: Likewise.
24897         * nscd/nscd_getpw_r.c: Likewise.
24898         * nscd/nscd_getserv_r.c: Likewise.
24899         * posix/getopt_init.c: Likewise.
24900         * posix/wordexp.c: Likewise.
24901         * stdio-common/_itoa.c: Likewise.
24902         * stdio-common/printf_fphex.c: Likewise.
24903         * stdio-common/vfprintf.c: Likewise.
24904         * string/_strerror.c: Likewise.
24905         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
24906         * sysdeps/i386/i686/hp-timing.h: Likewise.
24907         * sysdeps/mach/_strerror.c: Likewise.
24908         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
24909         * sysdeps/mach/hurd/sethostid.c: Likewise.
24910         * sysdeps/mach/hurd/xmknodat.c: Likewise.
24911         * sysdeps/mach/xpg-strerror.c: Likewise.
24912         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24913         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24914         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
24915         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
24916         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24917         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
24918         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24919         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24920         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
24921         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
24922         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
24923         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24924         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
24925         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24926         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24927         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
24928         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
24929         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
24930         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24931         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24932         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
24934         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
24936         * stdio-common/_itoa.h: Moved to ...
24937         * sysdeps/generic/_itoa.h: Here.
24939         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
24941         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
24942         instead of "_itoa.h" and "_itowa.h".
24943         * stdio-common/vfprintf.: Likewise.
24945 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
24947         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
24948         <bits/wordsize.h>.
24949         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
24950         (__signbit): Likwise.
24951         (llrintf): Likwise.
24952         (llrint): Likwise.
24954 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
24956         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
24957         __WORDSIZE != 64.
24959 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
24961         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
24962         OVERFLOW_EXCEPTION_OK.
24963         * math/libm-test.inc ("Philosophy"): Update comment about
24964         exception testing.
24965         (OVERFLOW_EXCEPTION): Define.
24966         (OVERFLOW_EXCEPTION_OK): Likewise.
24967         (INVALID_EXCEPTION_OK): Renumber.
24968         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24969         (IGNORE_ZERO_INF_SIGN): Likewise.
24970         (test_exceptions): Handle FE_OVERFLOW.
24971         (exp10_test): Expect overflow exceptions.
24972         (exp2_test): Likewise.
24973         (expm1_test): Likewise.
24974         (nextafter_test): Likewise.
24975         (pow_test): Likewise.
24976         (scalbn_test): Likewise.
24977         (scalbln_test): Likewise.
24979 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24981         * sysdeps/x86_64/bits/atomic.h
24982         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
24983         64bit integer.
24984         (atomic_exchange_acq): Likewise.
24985         (__arch_exchange_and_add_body): Likewise.
24986         (__arch_add_body): Likewise.
24987         (atomic_add_negative): Likewise.
24988         (atomic_add_zero): Likewise.
24990 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24992         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
24993         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
24995 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24997         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
24998         Check __x86_64__ instead of __WORDSIZE.
25000 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
25002         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
25004 2012-03-19  David S. Miller  <davem@davemloft.net>
25006         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25008         * sysdeps/sparc/fpu/fenv_private.h: New file.
25009         * sysdeps/sparc/fpu/math_private.h: Use it.
25010         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
25011         Remove.
25012         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
25013         (libc_feholdexcept_setroundl): Remove.
25014         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
25015         Remove.
25016         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
25017         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
25019 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
25021         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
25022         int64_t instead of long int.
25023         (INSERT_WORDS64): Likwise.
25025 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
25027         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
25028         _Unwind_GetCFA return to _Unwind_Ptr first.
25030 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
25032         [BZ #13629]
25033         * math/s_clog.c: Include <float.h>.
25034         (__clog): Scale large or subnormal inputs.
25035         * math/s_clogf.c: Likewise.
25036         * math/s_clogl.c: Likewise.
25037         * math/s_clog10.c: Include <float.h>.
25038         (M_LOG10_2): Define.
25039         (__clog10): Scale large or subnormal inputs.
25040         * math/s_clog10f.c: Likewise.
25041         * math/s_clog10l.c: Likewise.
25042         * math/libm-test.inc (clog_test): Add more tests.
25043         (clog10_test): Likewise.
25044         * sysdeps/i386/fpu/libm-test-ulps: Update.
25045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25047         [BZ #11451]
25048         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
25049         x and y.
25050         * math/libm-test.inc (atan2_test): Add another test.
25052         * Makerules (common-objdir-compile): Remove.
25053         * sysdeps/unix/Makefile (config-generated): Do not add
25054         $(unix-generated) to variable.
25055         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
25056         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
25057         Remove rule.
25058         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
25059         Likewise.
25060         [generic bits/local_lim.h] (before-compile): Do not append to
25061         variable.
25062         [generic bits/local_lim.h] (common-generated): Likewise.
25063         [generic sys/param.h] (before-compile): Do not append to variable.
25064         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
25065         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
25066         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
25067         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
25068         include.
25069         [generic sys/param.h] (sys/param.h-includes): Remove variable.
25070         [generic sys/param.h] (sys/param.h-includes): Remove rule.
25071         [generic sys/param.h] ($(addprefix
25072         $(common-objpfx),$(sys/param.h-includes))): Likewise.
25073         [generic sys/param.h] (common-generated): Do not append to
25074         variable.
25075         [generic sys/param.h] (sysdep_headers): Likewise.
25076         [generic bits/errno.h] (before-compile): Do not append to
25077         variable.
25078         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
25079         rule.
25080         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
25081         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
25082         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
25083         [generic bits/errno.h] (common-generated): Do not append to
25084         variable.
25085         [generic bits/ioctls.h] (before-compile): Do not append to
25086         variable.
25087         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
25088         rule.
25089         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
25090         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
25091         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
25092         rule.
25093         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
25094         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
25095         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
25096         [generic bits/ioctls.h] (common-generated): Do not append to
25097         variable.
25098         [generic sys/syscall.h] (syscall.h): Remove variable.
25099         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
25100         rule.
25101         [generic sys/syscall.h] (before-compile): Do not append to
25102         variable.
25103         [generic sys/syscall.h] (common-generated): Likewise.
25104         * sysdeps/unix/errnos-tmpl.c: Remove file.
25105         * sysdeps/unix/errnos.awk: Likewise.
25106         * sysdeps/unix/ioctls-tmpl.c: Likewise.
25107         * sysdeps/unix/ioctls.awk: Likewise.
25108         * sysdeps/unix/mk-local_lim.c: Likewise.
25109         * sysdeps/unix/snarf-ioctls: Likewise.
25111 2012-03-19  Richard Henderson  <rth@twiddle.net>
25113         * sysdeps/i386/fpu/fenv_private.h: New file.
25114         * sysdeps/i386/fpu/math_private.h: Use it.
25115         (math_opt_barrier, math_force_eval): Remove.
25116         (libc_feholdexcept_setround_53bit): Remove.
25117         (libc_feupdateenv_53bit): Remove.
25118         * sysdeps/x86_64/fpu/math_private.h: Likewise.
25119         (math_opt_barrier, math_force_eval): Remove.
25120         (libc_feholdexcept): Remove.
25121         (libc_feholdexcept_setround): Remove.
25122         (libc_fetestexcept, libc_fesetenv): Remove.
25123         (libc_feupdateenv_test): Remove.
25124         (libc_feupdateenv, libc_feholdsetround): Remove.
25125         (libc_feresetround): Remove.
25127         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
25128         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25130         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
25131         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
25132         (libc_feupdateenv_testl): New.
25133         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
25134         (libc_feupdateenv_testf): New.
25135         (libc_feupdateenv): Use libc_feupdateenv_test.
25136         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
25137         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
25139         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
25140         (libc_feholdsetroundf, libc_feholdsetroundl): New.
25141         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
25142         (libc_feresetround_noex): New.
25143         (libc_feresetround_noexf): New.
25144         (libc_feresetround_noexl): New.
25145         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
25146         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
25147         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
25148         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
25149         SET_RESTORE_ROUND.
25150         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25151         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
25152         (__cos): Likewise.
25153         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
25154         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
25155         SET_RESTORE_ROUND_NOEX.
25156         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
25157         SET_RESTORE_ROUND_NOEXF.
25158         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
25159         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
25160         (libc_feholdsetroundf): New.
25161         (libc_feresetround, libc_feresetroundf): New.
25163         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
25164         (libc_feholdexcept_setround_53bit): Convert from macro to function.
25165         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
25167         * sysdeps/generic/math_private.h: Include <fenv.h>.
25168         (default_libc_feholdexcept): New.
25169         (default_libc_feholdexcept_setround): New.
25170         (default_libc_fesetenv, default_libc_feupdateenv): New.
25171         (libc_feholdexcept): Only define if undefined.
25172         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
25173         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
25174         (libc_feholdexcept_setroundl): Likewise.
25175         (libc_feholdexcept_setround_53bit): Likewise.
25176         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
25177         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
25178         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
25179         (libc_feupdateenv_53bit): Likewise.
25180         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
25181         (libc_feholdexcept): Convert from macro to inline function.
25182         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
25183         (libc_fesetenv, libc_feupdateenv): Likewise.
25185         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
25186         not previously defined.
25187         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
25188         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
25189         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
25190         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
25191         * sysdeps/ieee754/flt-32/math_private.h: New file.
25192         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
25193         math_private.h below SET_FLOAT_WORD.
25194         (__isnan, __isinf_ns, __finite): Remove.
25195         (__isnanf, __isinf_nsf, __finitef): Remove.
25197 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
25199         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25201 2012-03-17  David S. Miller  <davem@davemloft.net>
25203         [BZ #6471]
25204         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
25205         for 2.16.
25207 2012-03-16  David S. Miller  <davem@davemloft.net>
25209         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
25210         warnings.
25212         [BZ #6471]
25213         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
25214         properly.
25215         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
25216         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
25217         sysdep_routines when subdir is sysvipc.
25218         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
25219         __getshmlba helper.
25221         * sysdeps/sparc/fpu/libm-test/ulps: Update.
25223 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25225         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
25226         [__LP64__].
25228 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25230         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
25231         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
25232         (__lround): Renamed to ...
25233         (__llround): This.  Replace long int with long long int.
25234         Define lround functions as aliases of llround functions.
25235         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
25237 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25239         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
25240         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
25241         adresses to uintptr_t.  Replace "long int" and "unsigned long
25242         int" with "greg_t" on va_arg.
25244 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25246         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
25247         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
25249         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
25250         Move e_machine check before EI_CLASS check.  Handle x32
25251         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
25252         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
25253         SKIP_EM_IA_64 and include
25254         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
25256         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
25257         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
25258         (add_system_dir): New macro.
25260         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
25261         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
25263 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
25265         [BZ #2551]
25266         [BZ #2552]
25267         [BZ #2553]
25268         [BZ #2554]
25269         [BZ #2562]
25270         [BZ #2563]
25271         [BZ #2565]
25272         [BZ #2566]
25273         [BZ #2576]
25274         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
25275         (y0): Likewise.
25276         * math/w_j0f.c (j0f): Likewise.
25277         (y0f): Likewise.
25278         * math/w_j0l.c (__j0l): Likewise.
25279         (__y0l): Likewise.
25280         * math/w_j1.c (j1): Likewise.
25281         (y1): Likewise.
25282         * math/w_j1f.c (j1f): Likewise.
25283         (y1f): Likewise.
25284         * math/w_j1l.c (__j1l): Likewise.
25285         (__y1l): Likewise.
25286         * math/w_jn.c (jn): Likewise.
25287         (yn): Likewise.
25288         * math/w_jnf.c (jnf): Likewise.
25289         (ynf): Likewise.
25290         * math/w_jnl.c (__jnl): Likewise.
25291         (__ynl): Likewise.
25292         * math/libm-test.inc (j0_test): Add more tests.
25293         (j1_test): Likewise.
25294         (jn_test): Likewise.  Add trailing semicolon to existing test.
25295         (y0_test): Likewise.
25296         (y1_test): Likewise.
25297         * sysdeps/i386/fpu/libm-test-ulps: Update.
25298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25300         [BZ #13851]
25301         [BZ #13854]
25302         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
25303         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
25304         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
25305         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
25306         (__tanl): Set errno for infinite argument.
25307         * sysdeps/i386/fpu/mptan.c: Remove.
25308         * sysdeps/i386/fpu/s_tan.S: Likewise.
25309         * sysdeps/i386/fpu/s_tanl.S: Likewise.
25310         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
25311         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
25312         * math/libm-test.inc (tan_test): Add more tests and enable more
25313         tests for double and long double.
25314         * sysdeps/i386/fpu/libm-test-ulps: Update.
25315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25317 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
25319         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
25320         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
25322 2012-03-16  Roland McGrath  <roland@hack.frob.com>
25324         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
25325         * configure.in: Use it for both main tree and add-ons.
25326         * configure: Regenerated.
25328 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25330         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
25332 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
25334         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
25335         in comment.
25337         [BZ #13851]
25338         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
25339         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
25340         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
25341         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
25342         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
25343         infinite argument.
25344         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
25345         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
25346         != 0 for prec == 2.
25347         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
25348         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
25349         * sysdeps/i386/fpu/s_cosl.S: Likewise.
25350         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
25351         * sysdeps/i386/fpu/s_sinl.S: Likewise.
25352         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
25353         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
25354         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
25355         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
25356         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
25357         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
25358         * math/libm-test.inc (cos_test): Add more tests and enable more
25359         tests for long double.
25360         (sin_test): Likewise.
25361         (sincos_test): Likewise.
25362         * sysdeps/i386/fpu/libm-test-ulps: Update.
25363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25365 2012-03-16  David S. Miller  <davem@davemloft.net>
25367         * sysdeps/sparc/fpu/math_private.h: New file.
25369 2012-03-15  David S. Miller  <davem@davemloft.net>
25371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
25372         file.
25373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
25374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
25375         file.
25376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
25377         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
25378         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
25379         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
25380         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
25381         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
25382         sysdep routines.
25383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25385         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
25386         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
25388         * sysdeps/sparc/sparc-ifunc.h: New file.
25389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
25390         sparc-ifunc.h
25391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25393         Likewise.
25394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
25395         Likewise.
25396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
25397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
25398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25400         Likewise.
25401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
25403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
25405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
25406         Likewise.
25407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
25408         Likewise.
25409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
25411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
25412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
25413         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25414         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25415         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
25416         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
25417         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25418         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25419         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
25420         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
25421         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
25422         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
25423         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
25424         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
25425         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
25426         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
25427         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
25428         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
25429         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
25430         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
25431         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
25432         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
25434 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
25436         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
25437         scaling.
25438         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25440 2012-03-15  Andreas Jaeger  <aj@suse.de>
25442         [BZ #13852]
25443         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
25444         ieee754/flt-32 implementation for sin, cos and sincos.
25445         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
25446         * sysdeps/i386/fpu/s_cosf.S: Likewise.
25447         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
25448         * sysdeps/i386/fpu/s_sinf.S: Likewise.
25449         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
25450         ieee754/flt-32 implementation for tan.
25452         * math/libm-test.inc (cos_test): Enable some large input tests for
25453         float as well
25454         (sin_test): Likewise.
25455         (sincos_test): Likewise.
25456         (tan_test): Add tests for large input.
25458         * sysdeps/i386/fpu/libm-test-ulps: Update.
25460 2012-03-15  Andreas Jaeger  <aj@suse.de>
25462         [BZ #13658]
25463         * math/libm-test.inc (cos_test): Add more test cases.
25464         (sin_test): Likewise.
25465         (sincos_test): Likewise.
25467 2012-03-15  Andreas Jaeger  <aj@suse.de>
25469         [BZ #13837]
25470         * math/libm-test.inc (cos_test): Add a test case for large input
25471         value.
25472         (sin_test): Likewise.
25473         (sincos_test): Likewise.
25475 2012-03-15  Andreas Jaeger  <aj@suse.de>,
25476         Joseph Myers  <joseph@codesourcery.com>
25478         [BZ #13658]
25479         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
25480         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
25481         * sysdeps/i386/fpu/branred.c: Likewise.
25482         * sysdeps/i386/fpu/dosincos.c: Likewise.
25483         * sysdeps/i386/fpu/mpa.c: Likewise.
25484         * sysdeps/i386/fpu/s_cos.S: Likewise.
25485         * sysdeps/i386/fpu/s_sin.S: Likewise.
25486         * sysdeps/i386/fpu/s_sincos.S: Likewise.
25487         * sysdeps/i386/fpu/sincos32.c: Likewise.
25489         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
25490         Define.
25491         (libc_feupdateenv_53bit): Define.
25492         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
25493         Define.
25494         (libc_feupdateenv_53bit): Define.
25496         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
25497         53 bit (without extend i386 double precision).
25499         * math/libm-test.inc (sincos_test): Add tests for large input.
25500         (sin): Likewise.
25501         (cos): Likewise.
25503         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25505 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
25507         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25509 2012-03-15  David S. Miller  <davem@davemloft.net>
25511         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
25512         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
25513         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
25514         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
25515         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
25516         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
25517         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
25518         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
25519         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
25520         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
25521         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
25522         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
25523         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
25524         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
25525         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
25526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
25527         file.
25528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
25529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
25530         file.
25531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
25532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
25533         file.
25534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
25535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
25536         file.
25537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
25538         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
25539         fmin/fmax sysdep routines.
25540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25542 2012-03-14  David S. Miller  <davem@davemloft.net>
25544         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
25545         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
25546         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
25547         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
25548         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
25549         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
25550         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
25551         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
25552         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
25553         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
25554         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
25555         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
25556         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
25557         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
25558         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
25559         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
25560         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
25561         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
25562         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
25563         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
25564         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
25565         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
25566         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
25567         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
25568         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
25569         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
25570         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
25571         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
25572         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
25573         routines.
25574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
25575         file.
25576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
25577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
25578         file.
25579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
25580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
25581         file.
25582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
25583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
25584         file.
25585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
25586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
25587         file.
25588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
25589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
25590         file.
25591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
25592         file.
25593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
25594         file.
25595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
25596         file.
25597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
25598         New file.
25599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
25600         file.
25601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
25602         file.
25603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
25604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
25605         file.
25606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
25607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
25608         file.
25609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
25610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
25611         file.
25612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
25613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
25614         VIS3 routines.
25616         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25617         New file.
25619         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25621         * sysdeps/sparc/configure.in: New file.
25622         * sysdeps/sparc/configure: Generate.
25623         * configure.in (libc_cv_sparc_as_vis3): Substitute.
25624         * configure: Regenerate.
25625         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
25626         * config.make.in (have-as-vis3): New.
25627         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
25628         available use -Av9d instead of -Av9a.
25629         * sysdeps/sparc/sparc64/Makefile: Likewise.
25630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
25631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
25632         New file.
25633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
25634         file.
25635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
25636         New file.
25637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
25638         file.
25639         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
25640         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
25641         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
25642         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
25643         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
25645         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
25646         fzeros/fnegs to load 0x80000000 into a float register instead of
25647         using the stack.
25648         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
25650 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
25652         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25653         bits/syscall.h.
25654         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
25655         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
25656         ($(inst_includedir)/bits/syscall.h): Remove rule.
25657         ($(objpfx)bits/syscall.d): Include instead of
25658         $(objpfx)syscall-list.d.
25659         (generated): Change syscall-list.h and syscall-list.d to
25660         bits/syscall.h and bits/syscall.d.
25662 2012-03-14  Roland McGrath  <roland@hack.frob.com>
25664         [BZ #13846]
25665         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
25667 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
25669         [BZ #13841]
25670         * math/s_csqrt.c: Include <float.h>.
25671         (__csqrt): Scale large or subnormal inputs.
25672         * math/s_csqrtf.c: Likewise.
25673         * math/s_csqrtl.c: Likewise.
25674         * math/libm-test.inc (csqrt_test): Add more tests.
25675         * sysdeps/i386/fpu/libm-test-ulps: Update.
25676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25678         [BZ #13840]
25679         * math/libm-test.inc (hypot_test): Add more tests.
25681 2012-03-13  David S. Miller  <davem@davemloft.net>
25683         [BZ #13840]
25684         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
25685         double-precision for the calculation instead of scaling.
25687 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
25689         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
25690         manipulate bits before adding and subtracting TWO52[sx].
25691         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
25692         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
25693         Likewise.
25694         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
25696 2012-03-13  David S. Miller  <davem@davemloft.net>
25698         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
25699         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
25700         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
25701         rtld-global-offsets.h
25702         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25704         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
25705         large parameters.
25707         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
25709         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
25710         'err' in the ifdef scope in which it is actually used.
25712         * nss/nss_db/db-init.c: Include string.h
25714 2012-03-12  David S. Miller  <davem@davemloft.net>
25716         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25717         masking out of the most significant byte of random value used.
25718         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25719         Fix coding style in previous change.
25721         * sysdeps/unix/sysv/linux/kernel-features.h
25722         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
25723         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
25724         expression.
25725         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
25726         later.
25728 2012-03-11  David S. Miller  <davem@davemloft.net>
25730         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25731         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
25732         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
25733         for 'resultvar' otherwise things get truncated on 64-bit.
25735         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25736         Fix masking out of the most significant byte of random value used.
25738         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25740 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
25742         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25744 2012-03-09  David S. Miller  <davem@davemloft.net>
25746         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
25747         variables with appropriate CPP guards.
25748         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
25749         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
25750         on resulting framesize and the management of the outregs buffer for pltexit.
25751         Preserve floating point return values across _dl_call_pltexit call.
25752         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
25753         framesize and the management of the outregs buffer for pltexit.
25754         Preserve floating point return values across _dl_call_pltexit
25755         call.
25756         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
25757         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
25758         (print_exit): Fix format string for return register value.
25760 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
25762         * sunrpc/Makefile (others): Add rpcgen.
25763         ($(objpfx)rpcgen): Remove special build rule and dependency on
25764         libc.
25765         * sunrpc/rpcgen.c: New file.
25767 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
25769         [BZ #13673]
25770         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
25771         * stdio-common/bug-vfprintf-nargs.c: Likewise.
25772         * sysdeps/i386/crti.S: Likewise.
25773         * sysdeps/i386/crtn.S: Likewise.
25774         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
25775         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
25776         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
25777         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
25778         * sysdeps/sh/crti.S: Likewise.
25779         * sysdeps/sh/crtn.S: Likewise.
25780         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25782         [BZ #13673]
25783         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
25784         with URL.
25785         * locale/programs/locfile-kw.gperf: Likewise.
25786         * locale/programs/charmap-kw.h: Regenerated.
25787         * locale/programs/locfile-kw.h: Likewise.
25789         [BZ #13673]
25790         * intl/plural.y: Replace FSF snail mail address with URL.
25791         * intl/plural.c: Regenerated.
25793 2012-03-09  Richard Henderson  <rth@twiddle.net>
25795         * include/math_private.h: Remove file.
25796         * math/math_private.h: Move file ...
25797         * sysdeps/generic/math_private.h: ... here.
25799         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
25800         * sysdeps/powerpc/fpu/math_private.h: Likewise.
25801         * sysdeps/x86_64/fpu/math_private.h: Likewise.
25803         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
25804         and <math_private.h>.
25805         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25806         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25807         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25808         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25809         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25810         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
25811         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25812         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25813         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25814         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25815         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25816         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25817         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25818         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25819         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25820         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25821         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25822         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25823         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25824         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25825         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25826         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25827         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25828         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25829         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25830         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25831         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25832         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25833         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25834         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25835         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25836         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25837         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25838         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25839         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25840         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25841         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25842         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25843         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25844         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25845         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
25846         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25847         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25848         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25849         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25850         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25851         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
25852         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25853         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25854         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25855         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25856         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
25857         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25858         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25859         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25860         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25861         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25862         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25863         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25864         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
25865         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25866         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25867         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25868         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25869         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
25870         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25871         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25872         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25873         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
25874         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
25875         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25876         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25877         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25878         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25879         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
25880         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25881         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
25882         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25883         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
25884         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
25885         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25886         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
25887         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25888         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25889         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25890         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25891         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
25892         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
25893         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25894         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25895         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25896         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25897         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25898         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25899         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25900         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25901         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25902         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25903         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25904         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25905         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25906         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25907         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25908         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25909         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25910         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25911         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25912         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25913         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25914         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25915         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25916         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25917         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25918         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25919         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
25920         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25921         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25922         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25923         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25924         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25925         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25926         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25927         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25928         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
25929         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25930         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25931         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25932         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
25933         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25934         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
25935         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
25936         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25937         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25938         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
25939         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
25940         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25941         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25942         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25943         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
25944         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25945         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25946         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25947         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25948         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
25949         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
25950         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25951         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25952         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25953         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
25954         * sysdeps/ieee754/k_standard.c: Likewise.
25955         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25956         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25957         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25958         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25959         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25960         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25961         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25962         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25963         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25964         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25965         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25966         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25967         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25968         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25969         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25970         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25971         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25972         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25973         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25974         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
25975         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
25976         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
25977         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25978         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25979         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25980         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25981         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25982         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25983         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25984         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25985         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25986         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25987         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25988         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25989         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25990         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25991         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25992         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
25993         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
25994         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25995         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25996         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25997         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25998         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25999         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26000         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26001         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26002         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26003         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26004         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26005         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26006         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26007         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26008         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
26009         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26010         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26011         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
26012         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
26013         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26014         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26015         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26016         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26017         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26018         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26019         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26020         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26021         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26022         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26023         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26024         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26025         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26026         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26027         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26028         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26029         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26030         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26031         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
26032         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26033         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26034         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26035         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26036         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26037         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26038         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26039         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
26040         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26041         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26042         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
26043         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26044         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26045         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
26046         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26047         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
26048         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26049         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26050         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26051         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
26052         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
26053         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
26054         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
26055         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26056         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26057         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26058         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26059         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
26060         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26061         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26062         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
26063         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
26064         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26065         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26066         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26067         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26068         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26069         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26070         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26071         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26072         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26073         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26074         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26075         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26076         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26077         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26078         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26079         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26080         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
26081         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26082         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26083         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26084         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26085         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26086         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26087         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26088         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26089         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26090         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26091         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
26092         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26093         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26094         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
26095         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
26096         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26097         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
26098         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
26099         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26100         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26101         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26102         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26103         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26104         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
26105         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26106         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26107         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26108         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26109         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
26110         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
26111         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26112         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26113         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26114         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26115         * sysdeps/ieee754/s_lib_version.c: Likewise.
26116         * sysdeps/ieee754/s_matherr.c: Likewise.
26117         * sysdeps/ieee754/s_signgam.c: Likewise.
26118         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26119         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26120         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
26121         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
26122         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
26123         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26124         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
26125         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
26126         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
26127         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
26128         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26129         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
26130         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26131         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26132         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
26133         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26134         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26135         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26136         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26137         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26138         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26140 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
26142         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
26143         * sunrpc/rpc_main.c: Likewise.
26144         * sunrpc/rpc_svcout.c: Likewise.
26146 2012-03-09  David S. Miller  <davem@davemloft.net>
26148         * include/math_private.h: New file.
26150 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
26152         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
26153         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
26154         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
26155         from <bits/socket_type.h>.
26156         (enum __socket_type): Don't define here.
26157         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
26158         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26159         bits/socket_type.h.
26161         [BZ #13566]
26162         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
26163         checking __USE_GNU.
26165         * Makerules ($(inst_includedir)/%.h): New rule.
26166         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
26167         (install-others): Remove variable setting.
26168         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
26170 2012-03-08  Richard Henderson  <rth@twiddle.net>
26172         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
26173         from macro to inline function; merge with the
26174         !__LIBC_INTERNAL_MATH_INLINES version.
26175         (__ieee754_sqrtf): Likewise.
26177         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
26178         to inline function.
26179         (__rintf, __floor, __floorf): Likewise.
26181         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
26182         macro to inline function.
26183         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
26185         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
26186         not <math/math_private.h>.
26188 2012-03-08  David S. Miller  <davem@davemloft.net>
26190         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
26191         copyright year.
26192         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
26194 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
26196         * resolv/gai_misc.c (handle_requests): Fix struct timespec
26197         normalization.
26198         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
26199         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
26201 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
26203         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
26204         be defined individually, they must be defined as a block.  Define
26205         S for printing a string instead of hidint the different by using a
26206         macro for adding the 'l'.
26207         * stdio-common/tst-fphex-wide.c: Adjust.
26209 2012-03-07  Marek Polacek  <polacek@redhat.com>
26211         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
26213 2012-03-08  Marek Polacek  <polacek@redhat.com>
26215         [BZ #13806]
26216         * stdio-common/Makefile (tests): Add tst-fphex-wide.
26217         * stdio-common/tst-fphex.c: Define a few macros to make the
26218         test reusable.  Use them.
26219         * stdio-common/tst-fphex-wide.c: New file.
26221 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
26223         [BZ #6911]
26224         * manual/macros.texi (gnusystems): New macro.
26225         (nongnusystems): Likewise.
26226         (gnulinuxhurdsystems): Likewise.
26227         (gnuhurdsystems): Likewise..
26228         (gnulinuxsystems): Likewise.
26229         * manual/charset.texi: Use new macros or @theglibc{} to refer to
26230         variants of the GNU system, not "GNU system".
26231         * manual/conf.texi: Likewise.
26232         * manual/errno.texi: Likewise.  Update example of errno macro
26233         expansion.
26234         * manual/filesys.texi: Likewise.
26235         (getumask): Document as specific to GNU/Hurd.
26236         * manual/install.texi: Likewise.  Reword some references to
26237         GNU/Linux.
26238         * manual/intro.texi: Likewise.
26239         * manual/io.texi: Likewise.
26240         (File Name Portability): Detail which constraints are inapplicable
26241         to all GNU systems and which are only inapplicable to GNU/Hurd.
26242         * manual/job.texi: Likewise.
26243         * manual/llio.texi: Likewise.
26244         (O_NOCTTY): Document as present on GNU/Linux.
26245         * manual/maint.texi: Likewise.
26246         * manual/memory.texi: Likewise.
26247         * manual/pattern.texi: Likewise.
26248         * manual/pipe.texi: Likewise.
26249         * manual/process.texi: Likewise.
26250         * manual/resource.texi: Likewise.
26251         (RUSAGE_CHILDREN): Remove statement about specifying a particular
26252         child on GNU/Hurd.
26253         * manual/setjmp.texi: Likewise.
26254         * manual/signal.texi: Likewise.
26255         * manual/startup.texi: Likewise.
26256         * manual/stdio.texi: Likewise.
26257         * manual/terminal.texi: Likewise.
26258         (ONLCR): Document as POSIX.
26259         (OXTABS): Document availability on GNU/Linux as XTABS.
26260         (ONOEOT): Document availability separately from other bits.
26261         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
26262         * manual/time.texi: Likewise.
26263         * manual/users.texi: Likewise.
26264         * INSTALL: Regenerated.
26265         * sysdeps/gnu/errlist.c: Regenerated.
26267         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
26268         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
26269         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
26270         puts.
26271         * configure: Regenerated.
26273 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
26275         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
26276         default includes instead of AC_HEADER_CHECK.
26277         * sysdeps/i386/configure: Regenerated.
26279         [BZ #10716]
26280         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
26281         * math/s_cacoshf.c (__cacoshf): Likewise.
26282         * math/s_cacoshl.c (__cacoshl): Likewise.
26283         * math/s_casinh.c (__casinh): Set signs of result from argument.
26284         * math/s_casinhf.c (__casinhf): Likewise.
26285         * math/s_casinhl.c (__casinhl): Likewise.
26286         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
26287         (casinh_test): Add more tests.
26288         * sysdeps/i386/fpu/libm-test-ulps: Update.
26289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26291 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
26293         * po/zh_TW.po: Update from translation team.
26295         * login/Makefile (distribute): Remove variable.
26296         * catgets/Makefile: Likewise.
26297         * mach/Makefile: Likewise.
26298         * malloc/Makefile: Likewise.
26299         * misc/Makefile: Likewise.
26300         * iconv/Makefile: Likewise.
26301         * nscd/Makefile: Likewise.
26302         * hurd/Makefile: Likewise.
26303         * manual/Makefile: Likewise.
26304         * locale/Makefile: Likewise.
26305         * intl/Makefile: Likewise.
26306         * conform/Makefile: Likewise.
26307         * nss/Makefile: Likewise.
26308         * time/Makefile: Likewise.
26309         * soft-fp/Makefile: Likewise.
26310         * dirent/Makefile: Likewise.
26311         * gmon/Makefile: Likewise.
26312         * po/Makefile: Likewise.
26313         * rt/Makefile: Likewise.
26314         * socket/Makefile: Likewise.
26315         * math/Makefile: Likewise.
26316         * signal/Makefile: Likewise.
26317         * debug/Makefile: Likewise.
26318         * elf/Makefile: Likewise.
26319         * timezone/Makefile: Likewise.
26320         * stdlib/Makefile: Likewise.
26321         * iconvdata/Makefile: Likewise.
26322         * sunrpc/Makefile: Likewise.
26323         * io/Makefile: Likewise.
26324         * argp/Makefile: Likewise.
26325         * inet/Makefile: Likewise.
26326         * hesiod/Makefile: Likewise.
26327         * grp/Makefile: Likewise.
26328         * csu/Makefile: Likewise.
26329         * wctype/Makefile: Likewise.
26330         * crypt/Makefile: Likewise.
26331         * libio/Makefile: Likewise.
26332         * string/Makefile: Likewise.
26333         * nis/Makefile: Likewise.
26334         * resolv/Makefile: Likewise.
26335         * stdio-common/Makefile: Likewise.
26336         * wcsmbs/Makefile: Likewise.
26337         * dlfcn/Makefile: Likewise.
26338         * posix/Makefile: Likewise.
26340         [BZ #6959]
26341         * timezone/Makefile: Don't install timezone files, just the programs
26342         and scripts.
26344 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
26346         * nss/databases.def: Add missing gshadow entry.
26348         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
26350 2012-03-06  Marek Polacek  <polacek@redhat.com>
26352         [BZ #13726]
26353         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
26354         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26355         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
26356         * stdio-common/tst-long-dbl-fphex.c: New file.
26358 2012-03-06  David S. Miller  <davem@davemloft.net>
26360         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26361         (set_obp_int): New function.
26362         (get_obp_int): New function.
26363         (__get_clockfreq_via_dev_openprom): Likewise.
26364         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
26365         Avoid unused variable warnings on 'val' and use builtin_expect.
26366         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
26367         __builtin_expect.
26368         (INLINE_CLONE_SYSCALL): Likewise.
26370 2012-03-05  David S. Miller  <davem@davemloft.net>
26372         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26374 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
26376         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26378         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
26379         only for |x| >= 40.
26380         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26382 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
26384         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
26385         Replace gettimeofday with __vdso_gettimeofday.
26387         * sysdeps/unix/sysv/linux/x86_64/init-first.c
26388         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
26389         __vdso_clock_gettime and __vdso_getcpu.
26391         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
26392         time with __vdso_time.
26394 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
26396         * manual/lang.texi (size_t): Note types to which size_t may be
26397         equivalent with the GNU C Library, but do not describe when
26398         differences between them are significant.
26400 2012-03-05  Andreas Jaeger  <aj@suse.de>
26402         * sysdeps/i386/fpu/libm-test-ulps: Update.
26404 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
26406         [BZ #3976]
26407         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
26408         (__ieee754_pow): Save and restore rounding mode and use
26409         round-to-nearest for main computations.
26410         * math/libm-test.inc (pow_test_tonearest): New function.
26411         (pow_test_towardzero): Likewise.
26412         (pow_test_downward): Likewise.
26413         (pow_test_upward): Likewise.
26414         (main): Call the new functions.
26415         * sysdeps/i386/fpu/libm-test-ulps: Update.
26416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26418         [BZ #3976]
26419         * math/libm-test.inc (cosh_test_tonearest): New function.
26420         (cosh_test_towardzero): Likewise.
26421         (cosh_test_downward): Likewise.
26422         (cosh_test_upward): Likewise.
26423         (sinh_test_tonearest): Likewise.
26424         (sinh_test_towardzero): Likewise.
26425         (sinh_test_downward): Likewise.
26426         (sinh_test_upward): Likewise.
26427         (main): Call the new functions.
26428         * sysdeps/i386/fpu/libm-test-ulps: Update.
26429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26431 2012-03-05  Tom de Vries  <tom@codesourcery.com>
26433         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
26434         default stack guard is set in last bytes.
26435         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
26437 2012-03-05  Kees Cook  <keescook@chromium.org>
26439         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
26441         [BZ #13656]
26442         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
26443         possibly allocate from heap instead of stack.
26444         * stdio-common/bug-vfprintf-nargs.c: New file.
26445         * stdio-common/Makefile (tests): Add nargs overflow test.
26447 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
26449         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26451 2012-03-03  Marek Polacek  <polacek@redhat.com>
26453         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
26454         * math/math_private.h: Likewise.
26455         * stdlib/tst-strtod.c: Likewise.
26456         * sysdeps/i386/i486/bits/atomic.h: Likewise.
26457         * sysdeps/x86_64/bits/atomic.h: Likewise.
26459 2012-03-02  David S. Miller  <davem@davemloft.net>
26461         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
26462         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
26463         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
26464         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
26465         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
26466         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
26467         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
26468         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
26470 2012-03-02  Roland McGrath  <roland@hack.frob.com>
26472         [BZ #13792]
26473         * manual/examples/README: New file, says the example source files
26474         can be used under GPL>=2.
26475         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
26476         line containing just "*/".
26477         * manual/examples/add.c: Add copyright header (GPL>=2).
26478         * manual/examples/argp-ex1.c: Likewise.
26479         * manual/examples/argp-ex2.c: Likewise.
26480         * manual/examples/argp-ex3.c: Likewise.
26481         * manual/examples/argp-ex4.c: Likewise.
26482         * manual/examples/atexit.c: Likewise.
26483         * manual/examples/db.c: Likewise.
26484         * manual/examples/dir.c: Likewise.
26485         * manual/examples/dir2.c: Likewise.
26486         * manual/examples/execinfo.c: Likewise.
26487         * manual/examples/filecli.c: Likewise.
26488         * manual/examples/filesrv.c: Likewise.
26489         * manual/examples/fmtmsgexpl.c: Likewise.
26490         * manual/examples/genpass.c: Likewise.
26491         * manual/examples/inetcli.c: Likewise.
26492         * manual/examples/inetsrv.c: Likewise.
26493         * manual/examples/isockad.c: Likewise.
26494         * manual/examples/longopt.c: Likewise.
26495         * manual/examples/memopen.c: Likewise.
26496         * manual/examples/memstrm.c: Likewise.
26497         * manual/examples/mkfsock.c: Likewise.
26498         * manual/examples/mkisock.c: Likewise.
26499         * manual/examples/mygetpass.c: Likewise.
26500         * manual/examples/pipe.c: Likewise.
26501         * manual/examples/popen.c: Likewise.
26502         * manual/examples/rprintf.c: Likewise.
26503         * manual/examples/search.c: Likewise.
26504         * manual/examples/select.c: Likewise.
26505         * manual/examples/setjmp.c: Likewise.
26506         * manual/examples/sigh1.c: Likewise.
26507         * manual/examples/sigusr.c: Likewise.
26508         * manual/examples/stpcpy.c: Likewise.
26509         * manual/examples/strdupa.c: Likewise.
26510         * manual/examples/strftim.c: Likewise.
26511         * manual/examples/strncat.c: Likewise.
26512         * manual/examples/subopt.c: Likewise.
26513         * manual/examples/swapcontext.c: Likewise.
26514         * manual/examples/termios.c: Likewise.
26515         * manual/examples/testopt.c: Likewise.
26516         * manual/examples/testpass.c: Likewise.
26517         * manual/examples/timeval_subtract.c: Likewise.
26519         [BZ #13792]
26520         * manual/time.texi (Elapsed Time): Move timeval_subtract example
26521         function to ...
26522         * manual/timeval_subtract.c.texi: ... here, new file.
26524 2012-03-02  David S. Miller  <davem@davemloft.net>
26526         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
26528 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
26530         [BZ #3976]
26531         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
26532         (__sin): Save and restore rounding mode and use round-to-nearest
26533         for all computations.
26534         (__cos): Save and restore rounding mode and use round-to-nearest
26535         for all computations.
26536         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
26537         <fenv.h>.
26538         (tan): Save and restore rounding mode and use round-to-nearest for
26539         all computations.
26540         * math/libm-test.inc (cos_test_tonearest): New function.
26541         (cos_test_towardzero): Likewise.
26542         (cos_test_downward): Likewise.
26543         (cos_test_upward): Likewise.
26544         (sin_test_tonearest): Likewise.
26545         (sin_test_towardzero): Likewise.
26546         (sin_test_downward): Likewise.
26547         (sin_test_upward): Likewise.
26548         (tan_test_tonearest): Likewise.
26549         (tan_test_towardzero): Likewise.
26550         (tan_test_downward): Likewise.
26551         (tan_test_upward): Likewise.
26552         (main): Call the new functions.
26553         * sysdeps/i386/fpu/libm-test-ulps: Update.
26554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26556         [BZ #10135]
26557         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
26558         small n, then large n, before computing and testing k+n.
26559         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26560         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
26561         Likewise.
26562         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
26563         Likewise.
26564         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
26565         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
26566         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
26567         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
26568         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26569         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26570         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
26571         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
26572         * math/libm-test.inc (scalbn_test): Add more tests.
26573         (scalbln_test): Likewise.
26575         * manual/filesys.texi (mode_t): Describe constraints on size and
26576         signedness, not exact equivalence to a particular type.
26577         (ino_t): Likewise.
26578         (ino64_t): Likewise.
26579         (dev_t): Likewise.
26580         (nlink_t): Likewise.
26581         (blkcnt_t): Likewise.
26582         (blkcnt64_t): Likewise.
26583         * manual/llio.texi (off_t): Likewise.
26585         [BZ #3976]
26586         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
26587         (__ieee754_exp): Save and restore rounding mode and use
26588         round-to-nearest for all computations.
26589         * math/libm-test.inc (exp_test_tonearest): New function.
26590         (exp_test_towardzero): Likewise.
26591         (exp_test_downward): Likewise.
26592         (exp_test_upward): Likewise.
26593         (main): Call the new functions.
26594         * sysdeps/i386/fpu/libm-test-ulps: Update.
26595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26597 2012-03-01  Chris Demetriou  <cgd@google.com>
26599         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
26600         have predictable order.
26602 2012-03-01  David S. Miller  <davem@davemloft.net>
26604         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
26606         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
26607         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
26608         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
26609         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
26611         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
26612         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
26613         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
26614         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
26615         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
26616         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
26617         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
26618         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
26619         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
26621         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26623         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
26624         * sysdeps/sparc/fpu/libm-test-ulps: to here.
26625         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
26627         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
26628         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26629         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26630         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
26631         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
26632         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
26633         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
26634         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26635         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26636         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
26637         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
26638         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26639         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26640         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26641         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26642         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26643         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
26644         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
26645         * sysdeps/sparc/elf/configure: Regenerated.
26647 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
26649         * configure.in (AS, LD): Require binutils 2.20 or later.
26650         * configure: Regenerated.
26651         * manual/install.texi (Tools for Compilation): Give binutils 2.20
26652         as required minimum version.
26653         * INSTALL: Regenerated.
26655         [BZ #2541]
26656         [BZ #4108]
26657         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
26658         before squaring exponent.
26659         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
26660         bottom long double and 27 bits of top long double before squaring
26661         exponent.
26662         * math/libm-test.inc (erfc_test): Add more tests.
26663         * sysdeps/i386/fpu/libm-test-ulps: Update.
26664         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26667 2012-03-01  Kai Tietz  <ktietz@redhat.com>
26669         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
26670         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
26671         containing bit-fields.
26672         * soft-fp/extended.h (_FP_UNION_E): Likewise.
26673         * soft-fp/single.h (_FP_UNION_S): Likewise.
26674         * soft-fp/double.h (_FP_UNION_D): Likewise.
26676 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
26678         [BZ #13786]
26679         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
26680         not include ../strcmp.S.
26681         [USE_AS_STRNCASECMP_L]: Likewise.
26682         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
26683         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
26684         * sysdeps/i386/i686/multiarch/strncase_l-c.c
26685         (__strncasecmp_l_ia32): Define as alias to
26686         __strncasecmp_l_nonascii.
26688         [BZ #5794]
26689         * math/libm-test.inc (expm1_test): Add test for bug 5794.
26690         * sysdeps/i386/fpu/libm-test-ulps: Update.
26691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26693         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
26694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26696 2012-02-29  Jeff Law  <law@redhat.com>
26698         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
26699         out of bounds read.
26701 2012-02-29  Marek Polacek  <polacek@redhat.com>
26703         [BZ #13706]
26704         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
26705         * elf/Makefile: Add rules to run tst-unused-dep.out.
26707 2012-02-28  David S. Miller  <davem@davemloft.net>
26709         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
26710         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
26711         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
26712         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
26713         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
26714         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
26716 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
26718         * math/libm-test.inc (llround_test): Move one test from
26719         lround_test.  Use TEST_f_L in moved test.
26720         (lround_test): Move misplaced test to llround_test.  Add testcase
26721         from bug 2561.
26723 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
26725         * sysdeps/x86_64/fpu/e_expf.S: New file.
26726         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
26728 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
26730         [BZ #13637]
26731         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
26732         of remain_len that may cause incomplete multi-byte character and
26733         false match.
26734         * posix/bug-regex33.c: New file.
26735         * posix/Makefile (tests): Add bug-regex33.
26737 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
26739         * manual/macros.texi: New file.
26740         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
26741         * manual/libc.texinfo: Include macros.texi.
26742         * manual/creatute.texi: Likewise.
26743         * manual/install.texi: Likewise.
26744         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
26745         @glibcadj{} in references to the GNU C Library.
26746         * manual/charset.texi: Likewise.
26747         * manual/conf.texi: Likewise.
26748         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
26749         when not using those macros.
26750         * manual/creature.texi: Likewise.
26751         * manual/crypt.texi: Likewise.
26752         * manual/errno.texi: Likewise.
26753         * manual/filesys.texi: Likewise.
26754         * manual/header.texi: Likewise.
26755         * manual/install.texi: Likewise.
26756         * manual/intro.texi: Likewise.
26757         * manual/io.texi: Likewise.
26758         * manual/job.texi: Likewise.
26759         * manual/lang.texi: Likewise.
26760         * manual/libc.texiinfo: Likewise.
26761         * manual/llio.texi: Likewise.
26762         * manual/locale.texi: Likewise.
26763         * manual/maint.texi: Likewise.
26764         * manual/math.texi: Likewise.
26765         * manual/memory.texi: Likewise.
26766         * manual/message.texi: Likewise.
26767         * manual/nss.texi: Likewise.
26768         * manual/pattern.texi: Likewise.
26769         * manual/process.texi: Likewise.
26770         * manual/resource.texi: Likewise.
26771         * manual/search.texi: Likewise.
26772         * manual/setjmp.texi: Likewise.
26773         * manual/signal.texi: Likewise.
26774         * manual/socket.texi: Likewise.
26775         * manual/startup.texi: Likewise.
26776         * manual/stdio.texi: Likewise.
26777         * manual/string.texi: Likewise.
26778         * manual/sysinfo.texi: Likewise.
26779         * manual/syslog.texi: Likewise.
26780         * manual/terminal.texi: Likewise.
26781         * manual/time.texi: Likewise.
26782         * manual/users.texi: Likewise.
26783         * INSTALL: Regenerated.
26784         * NOTES: Regenerated.
26785         * sysdeps/gnu/errlist.c: Regenerated.
26787 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
26789         * include/dirent.h: Include <dirstream.h> before
26790         <dirent/dirent.h>.
26792 2012-02-28  David S. Miller  <davem@davemloft.net>
26794         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
26795         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
26796         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
26797         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
26799 2012-02-27  David S. Miller  <davem@davemloft.net>
26801         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
26802         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
26803         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
26804         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
26806         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
26807         frame pointer instead of stack pointer relative arg slot.
26808         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26809         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26810         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26812 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
26814         [BZ #3992]
26815         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
26817 2012-02-27  David S. Miller  <davem@davemloft.net>
26819         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
26820         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26821         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26822         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
26823         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26824         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26825         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
26826         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
26828 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
26830         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
26831         later.  Allow versions 5-9.
26832         * configure: Regenerated.
26833         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
26834         required minimum version and 4.6 as recommended version.  Do not
26835         mention bugs in GCC 2.7 and 2.8.
26836         * INSTALL: Regenerated.
26838 2012-02-27  David S. Miller  <davem@davemloft.net>
26840         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
26841         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
26842         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
26843         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
26844         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
26845         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
26846         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
26847         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
26849         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
26850         manipulate bits before adding and subtracting TWO112[sx].
26851         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26853 2012-02-27  Roland McGrath  <roland@hack.frob.com>
26855         [BZ #13775]
26856         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
26857         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
26858         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
26859         being in POSIX, because they are in 1003.1-2008.
26861         * rt/tst-aio.c: Include <fcntl.h>.
26862         * rt/tst-aio7.c: Likewise.
26863         * rt/tst-aio64.c: Likewise.
26865         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
26867 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
26869         * manual/install.texi (--with-headers): Describe headers as
26870         interface headers, not private headers.
26871         (Specific advice for GNU/Linux systems): Describe use of headers
26872         from "make headers_install", not private headers from older
26873         kernels.
26874         * INSTALL: Regenerated.
26875         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
26876         Change to 2.6.19.
26877         * sysdeps/unix/sysv/linux/configure: Regenerated.
26879         * manual/llio.texi (fclean): Remove documentation.
26881         * manual/Makefile (libc-texi-generated): New variable.  Include
26882         version.texi.
26883         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
26884         $(libc-texi-generated), not duplicated list of files.
26885         (version.texi, stamp-version): New rules.
26886         (realclean): Remove $(libc-texi-generated), not individual files
26887         from that list.  Do not remove dir-add.texinfo.
26888         * manual/libc.texinfo: Comment out uses of edition numbers and
26889         references to printed manual.  Remove last-updated dates.
26890         (EDITION): Comment out.
26891         (ISBN): Likewise.
26892         (VERSION, UPDATED): Remove.
26893         (version.texi): Include.
26895 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
26897         * sysdeps/posix/spawni.c: Include <signal.h>.
26898         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
26899         * sysdeps/pthread/aio_fsync.c: Likewise.
26901 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
26903         * conform/Makefile (tests): Run only when not cross-compiling and
26904         when fast-check is not defined.
26906         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
26907         * conform/data/limits.h-data: Fixes for POSIX2008.
26908         * conform/run-conformtest.sh: Run all tests.
26909         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
26910         headers.
26911         * include/bits/dlfcn.h: Likewise.
26912         * include/langinfo.h: Likewise.
26913         * include/monetary.h: Likewise.
26914         * include/sys/poll.h: Likewise.
26916         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
26917         for __USE_GNU.
26918         * posix/spawn.h: Define __need_sigset_t.
26919         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
26920         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
26921         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
26922         to get sigevent_t only.
26923         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
26924         only for __USE_GNU.
26925         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26926         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26927         process_vm_writev only for __USE_GNU.
26928         * termios/termios.h: Declare tcgetsid also for POSIX2008.
26930         * conform/Makefile: For now ignore errors from run-conformtest.
26931         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
26932         POSIX to avoid namespace pollution.  Don't prepend headers.
26933         * conform/data/aio.h-data: Fixes for POSIX testing.
26934         * conform/data/fcntl.h-data: Likewise.
26935         * conform/data/glob.h-data: Likewise.
26936         * conform/data/grp.h-data: Likewise.
26937         * conform/data/pthread.h-data: Likewise.
26938         * conform/data/pwd.h-data: Likewise.
26939         * conform/data/signal.h-data: Likewise.
26940         * conform/data/spawn.h-data: Likewise.
26941         * conform/data/stdio.h-data: Likewise.
26942         * conform/data/stdlib.h-data: Likewise.
26943         * conform/data/stropts.h-data: Likewise.
26944         * conform/data/sys/mman.h-data: Likewise.
26945         * conform/data/sys/stat.h-data: Likewise.
26946         * conform/data/sys/types.h-data: Likewise.
26947         * conform/data/sys/wait.h-data: Likewise.
26948         * conform/data/time.h-data: Likewise.
26949         * conform/data/unistd.h-data: Likewise.
26950         * conform/data/utime.h-data: Likewise.
26952         * io/sys/stat.h: fchmod was always in POSIX.
26953         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
26954         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
26955         * rt/aio.h: Define __need_timespec before including <time.h>.
26956         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
26957         struct.  Add forward declaration of pthread_attr_t and use it in
26958         sigevent.
26959         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26960         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26961         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
26962         always remove CLK_TCK definition.
26964 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
26966         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
26968 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
26970         * conform/run-conformtest.sh: New file.
26971         * conform/Makefile: Run run-conformtest for tests.
26972         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
26973         support.
26975         * conform/data/uchar.h-data: New file.
26976         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
26977         * conform/data/arpa/inet.h-data: Likewise.
26978         * conform/data/assert.h-data: Likewise.
26979         * conform/data/complex.h-data: Likewise.
26980         * conform/data/cpio.h-data: Likewise.
26981         * conform/data/ctype.h-data: Likewise.
26982         * conform/data/dirent.h-data: Likewise.
26983         * conform/data/dlfcn.h-data: Likewise.
26984         * conform/data/errno.h-data: Likewise.
26985         * conform/data/fcntl.h-data: Likewise.
26986         * conform/data/float.h-data: Likewise.
26987         * conform/data/fmtmsg.h-data: Likewise.
26988         * conform/data/fnmatch.h-data: Likewise.
26989         * conform/data/ftw.h-data: Likewise.
26990         * conform/data/glob.h-data: Likewise.
26991         * conform/data/grp.h-data: Likewise.
26992         * conform/data/iconv.h-data: Likewise.
26993         * conform/data/inttypes.h-data: Likewise.
26994         * conform/data/langinfo.h-data: Likewise.
26995         * conform/data/libgen.h-data: Likewise.
26996         * conform/data/limits.h-data: Likewise.
26997         * conform/data/locale.h-data: Likewise.
26998         * conform/data/math.h-data: Likewise.
26999         * conform/data/monetary.h-data: Likewise.
27000         * conform/data/mqueue.h-data: Likewise.
27001         * conform/data/ndbm.h-data: Likewise.
27002         * conform/data/net/if.h-data: Likewise.
27003         * conform/data/netdb.h-data: Likewise.
27004         * conform/data/netinet/in.h-data: Likewise.
27005         * conform/data/nl_types.h-data: Likewise.
27006         * conform/data/poll.h-data: Likewise.
27007         * conform/data/pthread.h-data: Likewise.
27008         * conform/data/pwd.h-data: Likewise.
27009         * conform/data/regex.h-data: Likewise.
27010         * conform/data/sched.h-data: Likewise.
27011         * conform/data/search.h-data: Likewise.
27012         * conform/data/semaphore.h-data: Likewise.
27013         * conform/data/setjmp.h-data: Likewise.
27014         * conform/data/signal.h-data: Likewise.
27015         * conform/data/spawn.h-data: Likewise.
27016         * conform/data/stdarg.h-data: Likewise.
27017         * conform/data/stdio.h-data: Likewise.
27018         * conform/data/stdlib.h-data: Likewise.
27019         * conform/data/string.h-data: Likewise.
27020         * conform/data/strings.h-data: Likewise.
27021         * conform/data/stropts.h-data: Likewise.
27022         * conform/data/sys/ipc.h-data: Likewise.
27023         * conform/data/sys/mman.h-data: Likewise.
27024         * conform/data/sys/msg.h-data: Likewise.
27025         * conform/data/sys/resource.h-data: Likewise.
27026         * conform/data/sys/select.h-data: Likewise.
27027         * conform/data/sys/sem.h-data: Likewise.
27028         * conform/data/sys/shm.h-data: Likewise.
27029         * conform/data/sys/socket.h-data: Likewise.
27030         * conform/data/sys/stat.h-data: Likewise.
27031         * conform/data/sys/statvfs.h-data: Likewise.
27032         * conform/data/sys/time.h-data: Likewise.
27033         * conform/data/sys/timeb.h-data: Likewise.
27034         * conform/data/sys/times.h-data: Likewise.
27035         * conform/data/sys/types.h-data: Likewise.
27036         * conform/data/sys/uio.h-data: Likewise.
27037         * conform/data/sys/un.h-data: Likewise.
27038         * conform/data/sys/utsname.h-data: Likewise.
27039         * conform/data/sys/wait.h-data: Likewise.
27040         * conform/data/syslog.h-data: Likewise.
27041         * conform/data/tar.h-data: Likewise.
27042         * conform/data/termios.h-data: Likewise.
27043         * conform/data/utime.h-data: Likewise.
27044         * conform/data/utmpx.h-data: Likewise.
27045         * conform/data/varargs.h-data: Likewise.
27046         * conform/data/wchar.h-data: Likewise.
27047         * conform/data/wctype.h-data: Likewise.
27048         * conform/data/wordexp.h-data: Likewise.
27050         * include/stropts.h: New file.
27051         * include/uchar.h: New file.
27052         * include/aio.h: Changes to allow conformtest.pl to use the headers.
27053         * include/assert.h: Likewise.
27054         * include/ctype.h: Likewise.
27055         * include/dirent.h: Likewise.
27056         * include/dlfcn.h: Likewise.
27057         * include/fcntl.h: Likewise.
27058         * include/fnmatch.h: Likewise.
27059         * include/glob.h: Likewise.
27060         * include/grp.h: Likewise.
27061         * include/libio.h: Likewise.
27062         * include/locale.h: Likewise.
27063         * include/math.h: Likewise.
27064         * include/net/if.h: Likewise.
27065         * include/netdb.h: Likewise.
27066         * include/netinet/in.h: Likewise.
27067         * include/pthread.h: Likewise.
27068         * include/pwd.h: Likewise.
27069         * include/regex.h: Likewise.
27070         * include/sched.h: Likewise.
27071         * include/search.h: Likewise.
27072         * include/setjmp.h: Likewise.
27073         * include/signal.h: Likewise.
27074         * include/stdio.h: Likewise.
27075         * include/stdlib.h: Likewise.
27076         * include/string.h: Likewise.
27077         * include/sys/cdefs.h: Likewise.
27078         * include/sys/mman.h: Likewise.
27079         * include/sys/msg.h: Likewise.
27080         * include/sys/resource.h: Likewise.
27081         * include/sys/select.h: Likewise.
27082         * include/sys/socket.h: Likewise.
27083         * include/sys/stat.h: Likewise.
27084         * include/sys/statvfs.h: Likewise.
27085         * include/sys/time.h: Likewise.
27086         * include/sys/times.h: Likewise.
27087         * include/sys/uio.h: Likewise.
27088         * include/sys/utsname.h: Likewise.
27089         * include/sys/wait.h: Likewise.
27090         * include/termios.h: Likewise.
27091         * include/time.h: Likewise.
27092         * include/ulimit.h: Likewise.
27093         * include/unistd.h: Likewise.
27094         * include/utime.h: Likewise.
27095         * include/wchar.h: Likewise.
27096         * include/wctype.h: Likewise.
27097         * include/wordexp.h: Likewise.
27099         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
27101         * time/time.h: TIME_UTC must be a macro.
27102         Make timespec_get available for ISO C11 only as well.
27104 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
27106         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
27107         Reported by Peng Haitao <penght@cn.fujitsu.com>.
27109 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
27111         * configure.in: Use -o not -a in test for unsupported multi-arch.
27113 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
27115         * manual/texinfo.tex: Update to version 2012-01-19.16.
27117 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
27119         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
27121 2012-02-24  Roland McGrath  <roland@hack.frob.com>
27123         [BZ #13738]
27124         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
27125         * manual/fdl-1.3.texi: New file.
27126         * manual/fdl-1.1.texi: File removed.
27128         [BZ #13738]
27129         * manual/libc.texinfo (FDL_VERSION): New @set.
27130         Use it for mention of FDL in cover text.
27131         (Documentation License): Use it in @include file name.
27133 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
27134             Roland McGrath  <roland@hack.frob.com>
27136         [BZ #5461]
27137         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
27138         not LONG_LONG_MAX and LONG_LONG_MIN.
27139         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
27140         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
27141         name.
27142         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
27144 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
27146         [BZ #2547]
27147         [BZ #11365]
27148         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
27149         manipulate bits before adding and subtracting TWO23[sx].
27150         * math/libm-test.inc (nearbyint_test): Add more tests.
27152 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
27154         [BZ #2548]
27155         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
27156         bits before adding and subtracting TWO23[sx].
27157         * math/libm-test.inc (rint_test): Add more tests.
27158         (rint_test_tonearest): Likewise.
27159         (rint_test_towardzero): Likewise.
27160         (rint_test_downward): Likewise.
27161         (rint_test_upward: Likewise.
27163 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
27165         [BZ #10110]
27166         * include/stdc-predef.h: New file.  Extracted from features.h.
27167         * include/features.h: Include stdc-predef.h.
27168         * Makefile (headers): Add stdc-predef.h.
27169         * CONFORMANCE (Compiler limitations): Update.
27171 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
27173         * manual/libc.texinfo (VERSION, UPDATED): Revert.
27175 2012-02-21  David S. Miller  <davem@davemloft.net>
27177         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
27178         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27180 2012-02-20  David S. Miller  <davem@davemloft.net>
27182         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
27183         using a normal save/restore sequence, rather than allocating a
27184         dummy stack frame just to store a frame pointer and restore.
27185         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27187 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
27189         * manual/install.texi: Fix stray word in line-wrapped comment.
27191 2012-02-20  David S. Miller  <davem@davemloft.net>
27193         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
27194         both binutils and gcc support GOTDATA.
27196         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
27197         "rd %pc" in the PIC register setup sequences.
27199         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
27200         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
27201         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27202         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
27203         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27204         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27205         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27206         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27207         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
27208         (SYSCALL_ERROR_HANDLER): Likewise.
27209         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27210         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27211         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
27212         (SYSCALL_ERROR_HANDLER): Likewise.
27214         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
27215         (HAVE_GCC_GOTDATA): New.
27216         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
27217         relocation support in both binutils and gcc.
27218         * sysdeps/sparc/elf/configure: Regenerate.
27220         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
27221         * sysdeps/sparc/sparc32/elf/configure: Delete.
27222         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
27223         * sysdeps/sparc/sparc64/elf/configure: Delete.
27224         * sysdeps/sparc/elf/configure.in: New file.
27225         * sysdeps/sparc/elf/configure: Generate.
27227         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
27228         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
27229         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27230         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
27231         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
27233 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
27235         * manual/install.texi: Do not mention specific glibc version
27236         numbers.
27237         * manual/libc.texinfo (VERSION, UPDATED): Update.
27238         (@copying): Use @copyright{} and range of years.
27240 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
27242         [BZ #13695]
27243         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
27244         [crti.S not in sysdirs] (generated): Do not append.
27245         [crti.S not in sysdirs] (omit-deps): Likewise.
27246         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
27247         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
27248         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
27249         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
27250         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
27251         Likewise.
27252         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
27253         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
27254         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
27255         * csu/defs.awk: Remove file.
27256         * sysdeps/generic/initfini.c: Likewise.
27257         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
27258         variable.
27259         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
27260         Likewise.
27262 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
27264         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
27265         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
27266         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
27267         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
27268         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27269         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
27270         <bits/epoll.h>.
27271         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
27272         (__EPOLL_PACKED): Define to empty if not defined by
27273         <bits/epoll.h>.
27274         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
27275         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27276         bits/epoll.h.
27278 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
27280         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
27281         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
27282         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
27283         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
27284         <bits/timerfd.h>.
27285         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
27286         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27287         bits/timerfd.h.
27289 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
27291         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
27292         in C locale.
27293         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27294         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27295         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
27296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27298 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
27300         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27301         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27303 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
27305         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
27306         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
27307         defined.
27308         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
27309         Likewise.
27310         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
27311         entry for 2.16.
27313 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
27315         * math/w_acos.c: Use non-signaling floating-point comparisons.
27316         * math/w_acosf.c: Likewise.
27317         * math/w_acosh.c: Likewise.
27318         * math/w_acoshf.c: Likewise.
27319         * math/w_acoshl.c: Likewise.
27320         * math/w_acosl.c: Likewise.
27321         * math/w_asin.c: Likewise.
27322         * math/w_asinf.c: Likewise.
27323         * math/w_asinl.c: Likewise.
27324         * math/w_atanh.c: Likewise.
27325         * math/w_atanhf.c: Likewise.
27326         * math/w_atanhl.c: Likewise.
27327         * math/w_exp2.c: Likewise.
27328         * math/w_exp2f.c: Likewise.
27329         * math/w_exp2l.c: Likewise.
27330         * math/w_j0.c: Likewise.
27331         * math/w_j0f.c: Likewise.
27332         * math/w_j0l.c: Likewise.
27333         * math/w_j1.c: Likewise.
27334         * math/w_j1f.c: Likewise.
27335         * math/w_j1l.c: Likewise.
27336         * math/w_jn.c: Likewise.
27337         * math/w_jnf.c: Likewise.
27338         * math/w_log.c: Likewise.
27339         * math/w_log10.c: Likewise.
27340         * math/w_log10f.c: Likewise.
27341         * math/w_log10l.c: Likewise.
27342         * math/w_log2.c: Likewise.
27343         * math/w_log2f.c: Likewise.
27344         * math/w_log2l.c: Likewise.
27345         * math/w_logf.c: Likewise.
27346         * math/w_logl.c: Likewise.
27347         * math/w_sqrt.c: Likewise.
27348         * math/w_sqrtf.c: Likewise.
27349         * math/w_sqrtl.c: Likewise.
27350         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27351         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
27352         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27353         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27354         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27356 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
27358         [BZ #9739]
27359         * manual/string.texi (strnlen): Use correct parameter name in
27360         equivalent expression.
27362 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
27364         [BZ #11174]
27365         * manual/users.texi (seteuid): Consistently use neweuid for
27366         argument name.
27368 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
27370         [BZ #13704]
27371         * manual/nss.texi (Services in the NSS configuration): Correct
27372         list of services in example configuration file.
27374 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
27376         [BZ #11322]
27377         * manual/arith.texi: Remove statements about negative zero
27378         behaving identically to zero.
27380 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
27382         [BZ #5993]
27383         * manual/install.texi: Do not document upgrading from libc5.
27385 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
27387         [BZ #4596]
27388         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
27390 2012-02-18  David S. Miller  <davem@davemloft.net>
27392         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
27393         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
27394         %o7 across the call.
27395         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
27396         instead.
27397         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
27398         SETUP_PIC_REG_LEAF.
27399         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27400         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
27401         * sysdeps/sparc/crtn.S: Likewise.
27403 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
27405         * aout/Makefile: Remove.
27407 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
27409         [BZ #13058]
27410         * manual/examples/argp-ex1.c (main): Format definition in GNU
27411         style.
27412         * manual/examples/argp-ex2.c (main): Likewise.
27413         * manual/examples/argp-ex3.c (main): Likewise.
27414         * manual/examples/argp-ex4.c (main): Likewise.
27415         * manual/examples/longopt.c (main): Use new-style prototype
27416         definition.
27417         * manual/examples/strncat.c (main): Specify return type and use
27418         (void) for arguments.
27419         * manual/examples/subopt.c (main): Use char **argv argument.
27421 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
27423         [BZ #5077]
27424         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
27425         rounding modes.
27427 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
27429         [BZ #6907]
27430         * manual/string.texi (strchr): Change when strchrnul is
27431         recommended.
27433 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
27435         [BZ #174]
27436         * manual/locale.texi (setlocale): Document LOCPATH.
27438 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
27440         [BZ #10210]
27441         * manual/process.texi (execle): Move @dots{} before last argument.
27443 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
27445         [BZ #12047]
27446         * manual/charset.texi (Generic Charset Conversion): Fix typo
27447         (LC_TYPE -> LC_CTYPE).
27449 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
27451         [BZ #5805]
27452         * manual/arith.texi (scalbn): Use @var{} on parameter names.
27453         (scalbnf): Likewise.
27454         (scalbnl): Likewise.
27455         (scalbln): Likewise.
27456         (scalblnf): Likewise.
27457         (scalblnl): Likewise.
27458         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
27459         (vwarnx): Likewise.
27460         (verr): Likewise.
27461         (verrx): Likewise.
27462         * manual/filesys.texi (telldir): Use braces around return type.
27463         * manual/llio.texi (mmap): Add space after comma.
27464         (mmap64): Likewise.
27465         * manual/math.texi (jn): Use @var{} on parameter names.
27466         (jnf): Likewise.
27467         (jnl): Likewise.
27468         (yn): Likewise.
27469         (ynf): Likewise.
27470         (ynl): Likewise.
27471         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
27472         line.
27473         * manual/resource.texi (ulimit): Use @dots{} instead of literal
27474         "...".
27475         (sched_get_priority_min): Remove semicolon on @deftypefun line.
27476         (sched_get_priority_max): Likewise.
27477         * manual/signal.texi (sigvec): Add space after comma.
27478         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
27479         names.
27480         (if_indextoname): Likewise.
27481         (if_freenameindex): Likewise.
27482         (sendto): Use ',' instead of '.' in prototype.
27483         * manual/startup.texi (syscall): Use @dots{} instead of literal
27484         "...".
27485         * manual/stdio.texi (__fpending): Separate initial words of
27486         paragraph from @deftypefun line.
27487         * manual/syslog.texi (syslog): Use @dots{} instead of literal
27488         "...".
27489         (vsyslog): Use @var{} on parameter names.
27490         * manual/terminal.texi (stty): Use @var{} on parameter names.
27491         * manual/users.texi (getutmp): Use @var{} on parameter names.
27492         (getutmpx): Likewise.
27494 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
27496         [BZ #6884]
27497         * manual/stdio.texi (fopen): Fix typos in description of
27498         ",ccs=STRING".
27500 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
27502         [BZ #4026]
27503         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
27504         get clock_id definition.
27506 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
27508         [BZ #4822]
27509         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
27510         (madvise): Cast every argument to void on its own.
27512 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
27514         [BZ #9902]
27515         * manual/startup.texi (Exit Status): Fix typo.
27517 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
27519         [BZ #10140]
27520         * manual/examples/argp-ex1.c: Include <stdlib.h>.
27521         * manual/examples/argp-ex2.c: Likewise.
27522         * manual/examples/argp-ex3.c: Likewise.
27524 2012-02-16  Richard Henderson  <rth@redhat.com>
27526         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
27527         * sysdeps/s390/s390-32/initfini.c: Remove.
27528         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
27529         * sysdeps/s390/s390-64/initfini.c: Remove.
27531 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27533         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
27534         compiler output for sysdeps/generic/initfini.c.
27535         * sysdeps/sh/elf/initfini.c: Remove file.
27537 2012-02-16  David S. Miller  <davem@davemloft.net>
27539         [BZ #11494]
27540         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
27542         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
27543         * sysdeps/sparc/crti.S: New file.
27544         * sysdeps/sparc/crtn.S: New file.
27545         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
27546         * sysdeps/sparc/sparc64/Makefile: Likewise.
27548 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
27550         [BZ #3335]
27551         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
27553 2012-02-15  Roland McGrath  <roland@hack.frob.com>
27555         [BZ #4822]
27556         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
27558         * mach/devstream.c (cookie_io_functions_t): Macro removed.
27559         (write, read, close): Likewise.
27560         Patch by Aurelien Jarno <aurelien@aurel32.net>.
27562 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
27564         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
27565         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
27566         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
27567         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
27568         <bits/signalfd.h>.
27569         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
27570         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27571         bits/signalfd.h.
27573 2012-02-14  Marek Polacek  <polacek@redhat.com>
27575         * sysdeps/x86_64/crti.S: New file.
27576         * sysdeps/x86_64/crtn.S: New file.
27577         * sysdeps/x86_64/elf/initfini.c: Remove file.
27579 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
27581         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
27582         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
27583         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
27584         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
27585         <bits/inotify.h>.
27586         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
27587         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27588         bits/inotify.h.
27590 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
27592         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
27593         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
27594         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
27595         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
27596         <bits/eventfd.h>.
27597         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
27598         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27599         bits/eventfd.h.
27601 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
27603         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
27604         __feraiseexcept instead of feraiseexcept.
27606         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
27607         nanosleep invocations.
27608         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
27609         strings, and add error checking for a nanosleep invocations.
27611 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
27613         Replace FSF snail mail address with URLs, as per GNU coding standards.
27614         Most of the snail mail addresses were wrong anyway, and omitting
27615         them makes the source code easier to maintain.  Almost all of the
27616         changes are to license notices and to locale LC_IDENTIFICATION
27617         addresses, except for this one:
27618         * manual/libc.texinfo: In "Published by", give the FSF's URL,
27619         not its snail mail address.
27621 2012-02-09  Richard Henderson  <rth@twiddle.net>
27623         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
27624         of kernel-features.h.
27626         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
27628 2012-02-08  Marek Polacek  <polacek@redhat.com>
27630         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
27631         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
27632         * sysdeps/gnu/_G_config.h: Likewise.
27633         * sysdeps/generic/_G_config.h: Likewise.
27635 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
27637         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
27638         tests.
27639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27641         * sysdeps/powerpc/powerpc32/crti.S: New file.
27642         * sysdeps/powerpc/powerpc32/crtn.S: New file.
27643         * sysdeps/powerpc/powerpc64/crti.S: New file.
27644         * sysdeps/powerpc/powerpc64/crtn.S: New file.
27646         * Makeconfig (have-initfini): Don't set.
27647         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
27648         * configure.in (nopic_initfini): Don't substitute.
27649         * config.h.in (HAVE_INITFINI): Don't #undef.
27650         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
27651         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
27653 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
27655         Support crti.S and crtn.S provided directly by architectures.
27656         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
27657         [crti.S in sysdirs] (omit-deps): Likewise.
27658         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
27659         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
27660         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
27661         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
27662         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
27663         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
27664         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
27665         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
27666         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
27667         compiler output for sysdeps/generic/initfini.c.
27668         * sysdeps/i386/elf/Makefile: Remove file.
27669         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
27671 2012-02-07  Marek Polacek  <polacek@redhat.com>
27673         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
27674         * sysdeps/gnu/_G_config.h: Likewise.
27675         * sysdeps/mach/hurd/_G_config.h: Likewise.
27677 2012-02-07  Marek Polacek  <polacek@redhat.com>
27679         * math/Makefile (tests): Add tst-CMPLX2.
27680         * math/tst-CMPLX2.c: New file.
27682 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
27684         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27686         * math/libm-test.inc (jn_test): Add missing L suffix.
27688 2012-02-06  Marek Polacek  <polacek@redhat.com>
27690         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
27691         * sysdeps/i386/fpu/e_powf.S: Likewise.
27692         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27693         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27694         * sysdeps/i386/fpu/e_acosh.S: Likewise.
27695         * sysdeps/i386/fpu/e_pow.S: Likewise.
27696         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27697         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27698         * sysdeps/i386/fpu/s_expm1.S: Likewise.
27699         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27700         * sysdeps/i386/fpu/e_log2.S: Likewise.
27701         * sysdeps/i386/fpu/e_log2l.S: Likewise.
27702         * sysdeps/i386/fpu/e_scalb.S: Likewise.
27703         * sysdeps/i386/fpu/e_powl.S: Likewise.
27704         * sysdeps/i386/fpu/s_log1p.S: Likewise.
27705         * sysdeps/i386/fpu/e_log10f.S: Likewise.
27706         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27707         * sysdeps/i386/fpu/e_logl.S: Likewise.
27708         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27709         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
27710         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27711         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27712         * sysdeps/i386/fpu/e_log2f.S: Likewise.
27713         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27714         * sysdeps/i386/fpu/e_log.S: Likewise.
27715         * sysdeps/i386/fpu/s_cexp.S: Likewise.
27716         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27717         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
27718         * sysdeps/i386/fpu/e_logf.S: Likewise.
27719         * sysdeps/i386/fpu/e_log10l.S: Likewise.
27720         * sysdeps/i386/fpu/e_atanh.S: Likewise.
27721         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
27722         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27723         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27724         * sysdeps/i386/fpu/e_log10.S: Likewise.
27725         * sysdeps/i386/fpu/s_frexp.S: Likewise.
27726         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27727         * sysdeps/i386/fpu/s_asinh.S: Likewise.
27728         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27729         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27730         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27731         * sysdeps/i386/asm-syntax.h: Likewise.
27732         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27733         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27734         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27735         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
27736         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
27737         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27738         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27739         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27740         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27741         * sysdeps/powerpc/sysdep.h: Likewise.
27742         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
27743         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27745 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
27747         [BZ #411]
27748         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
27750 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
27752         * sysdeps/i386/sysdep.h: Include <features.h>.
27753         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
27754         version.
27756 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
27758         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
27759         Define.
27760         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
27761         LOAD_PIC_REG_STR.
27763 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
27765         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
27766         (SETUP_PIC_REG): Use GET_PC_THUNK.
27767         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
27768         macro.
27770 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
27772         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
27773         for non-PIC compilation.
27774         (SETUP_PIC_REG): Add .p2align directive.
27775         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
27776         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27777         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27778         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27779         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27780         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27781         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27782         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27783         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27784         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27785         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27786         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27787         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27788         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27789         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27790         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27791         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27792         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27793         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27794         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27795         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27796         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27797         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27798         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27799         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27800         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27801         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27802         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27803         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27804         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27805         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27806         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27807         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27808         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27809         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27810         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27811         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27812         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27813         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27814         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27815         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27817 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
27819         * math/tst-CMPLX.c: Include <stdio.h>.
27821 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
27823         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
27824         float.
27825         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27826         * sysdeps/sparc/bits/mathdef.h: Likewise.
27828 2012-01-31  Marek Polacek  <polacek@redhat.com>
27830         * libio/libio.h: Don't define _PARAMS.
27831         * locale/programs/config.h: Don't define PARAMS.
27832         * stdlib/strtol_l.c: Likewise.
27833         (__strtol_l): Remove PARAMS from the prototype.
27835 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
27837         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
27838         names.  Just use the correct names.  Remove unnecessary wrapper
27839         functions.
27840         * malloc/arena.c: Likewise.
27841         * malloc/hooks.c: Likewise.
27843         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
27844         ARENA_TEST says not to.  Simplify test for creation of a new arena.
27845         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
27847 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
27849         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
27850         into tail calls.
27851         (update_get_addr): New function.
27852         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
27853         GET_ADDR_MODULE parameter.
27855 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
27857         * crypt/cert.c: Remove __STDC__ conditionals.
27858         * crypt/crypt-entry.c: Likewise.
27859         * crypt/crypt_util.c: Likewise.
27860         * libio/filedoalloc.c: Likewise.
27861         * libio/fileops.c: Likewise.
27862         * libio/genops.c: Likewise.
27863         * libio/iofclose.c: Likewise.
27864         * libio/iofdopen.c: Likewise.
27865         * libio/iofopen.c: Likewise.
27866         * libio/iofopen64.c: Likewise.
27867         * libio/iogetdelim.c: Likewise.
27868         * libio/iopopen.c: Likewise.
27869         * libio/obprintf.c: Likewise.
27870         * libio/oldfileops.c: Likewise.
27871         * libio/oldiofclose.c: Likewise.
27872         * libio/oldiofdopen.c: Likewise.
27873         * libio/oldiofopen.c: Likewise.
27874         * libio/oldiopopen.c: Likewise.
27875         * libio/wfiledoalloc.c: Likewise.
27876         * libio/wgenops.c: Likewise.
27877         * locale/programs/xmalloc.c: Likewise.
27878         * misc/syslog.c: Likewise.
27879         * stdio-common/xbug.c: Likewise.
27880         * string/memchr.c: Likewise.
27881         * string/memcmp.c: Likewise.
27882         * string/memrchr.c: Likewise.
27883         * string/rawmemchr.c: Likewise.
27884         * sysdeps/posix/getcwd.c: Likewise.
27885         * time/strftime_l.c: Likewise.
27887 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
27889         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
27890         * config.make.in (config-cflags-sse2avx): Define.
27891         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
27892         Fix typo.
27894 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
27896         * scripts/config.guess: Update from upstream config git repository.
27897         * scripts/config.sub: Likewise.
27899 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
27901         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
27902         (EM_NUM): Update.
27903         (R_TILEPRO_*, R_TILEGX_*): New macros.
27905         * scripts/firstversions.awk: Fix bug in version range handling.
27907         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
27909         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
27911         * include/sys/epoll.h: New file.
27912         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
27913         libc_hidden_def.
27915 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
27917         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
27918         Avoid unnecessary __WORDSIZE == 64 test.
27919         (fmaxf): Use VEX format if possible.
27920         (fmax): Likewise.
27921         (fminf): Likewise.
27922         (fmin): Likewise.
27924         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
27925         * math/math_private.h: Remove libc_fegetround* and
27926         libc_fesetround*.
27927         * sysdeps/i386/configure.in: Check for -msse2avx.
27928         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
27929         also if SSE2AVX is defined.
27930         Remove libc_fegetround* and libc_fesetround*.
27931         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
27932         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
27933         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
27934         of HAS_YMM_USABLE.
27935         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27936         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27937         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27938         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27939         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27941         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
27943 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27945         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
27946         size is not set.
27947         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27949 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
27951         [BZ #13618]
27952         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
27953         relocation.
27954         * Makeconfig (libm): Define.
27955         * elf/Makefile: Add rules to build and run tst-relsort1.
27956         * elf/tst-relsort1.c: New file.
27957         * elf/tst-relsort1mod1.c: New file.
27958         * elf/tst-relsort1mod2.c: New file.
27960 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
27962         * math/s_ldexp.c: Remove __STDC__ conditionals.
27963         * math/s_ldexpf.c: Likewise.
27964         * math/s_ldexpl.c: Likewise.
27965         * math/s_nextafter.c: Likewise.
27966         * math/s_nexttowardf.c: Likewise.
27967         * math/s_significand.c: Likewise.
27968         * math/s_significandf.c: Likewise.
27969         * math/s_significandl.c: Likewise.
27970         * math/w_jnl.c: Likewise.
27971         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27972         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27973         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27974         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27975         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27976         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27977         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
27978         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27979         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27980         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27981         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27982         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27983         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27984         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27985         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27986         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27987         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27988         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27989         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27990         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27991         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27992         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27993         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27994         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27995         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27996         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27997         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27998         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27999         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28000         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28001         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28002         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28003         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28004         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28005         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28006         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28007         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28008         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28009         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28010         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28011         * sysdeps/ieee754/k_standard.c: Likewise.
28012         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28013         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28014         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28015         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28016         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28017         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28018         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28019         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28020         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28021         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28022         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28023         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28024         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28025         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28026         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28027         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28028         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28029         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28030         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28031         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28032         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28033         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28034         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28035         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28036         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28037         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28038         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28039         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28040         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28041         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28042         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28043         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
28044         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28045         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28046         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28047         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28048         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
28049         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28050         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28051         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
28052         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
28053         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28054         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
28055         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
28056         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28057         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28058         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
28059         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28060         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28061         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
28062         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
28063         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28064         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28065         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28066         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28067         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28068         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
28069         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28070         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28071         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28072         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28073         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28074         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28075         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28076         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28077         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28078         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28079         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28080         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28081         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28082         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28083         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28084         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28085         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28086         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28087         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28088         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28089         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28090         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28091         * sysdeps/ieee754/s_matherr.c: Likewise.
28092         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28093         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28094         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28095         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28097 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
28099         * crypt/md5.h: Remove __STDC__ conditionals.
28100         * libio/libioP.h: Likewise.
28101         * locale/programs/config.h: Likewise.
28102         * sysdeps/generic/sysdep.h: Likewise.
28103         * sysdeps/i386/asm-syntax.h: Likewise.
28104         * sysdeps/s390/asm-syntax.h: Likewise.
28105         * sysdeps/unix/sysdep.h: Likewise.
28106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28109 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
28111         * libio/libio.h: Remove __STDC__ conditionals.
28112         * malloc/obstack.h: Likewise.
28113         * math/complex.h: Likewise.
28114         * math/math.h: Likewise.
28115         * sysdeps/generic/_G_config.h: Likewise.
28116         * sysdeps/gnu/_G_config.h: Likewise.
28117         * sysdeps/mach/hurd/_G_config.h: Likewise.
28118         * sysdeps/powerpc/bits/mathdef.h: Likewise.
28119         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28120         * sysdeps/sparc/bits/mathdef.h: Likewise.
28122 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
28124         [BZ #13583]
28125         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
28126         Clean up HAS_* macros.
28127         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
28128         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
28129         possible.
28130         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
28131         HAS_AVX.
28132         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28133         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28134         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28135         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28136         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28138 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
28140         * elf/tst-unique3.cc (gets): Remove declaration.
28141         * elf/tst-unique3lib.cc (gets): Likewise.
28142         * elf/tst-unique3lib2.cc (gets): Likewise.
28143         * elf/tst-unique4.cc (gets): Likewise.
28145 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
28147         * include/stdio.h: Add C++ protection.  Add gets declarations and
28148         definitions.
28149         * debug/tst-chk1.c: Don't declare gets here.
28150         * stdio-common/tst-gets.c: Likewise.
28152 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
28154         * posix/glob: Remove directory.
28156 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
28158         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
28160 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
28162         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
28163         of the non-standard EPFNOSUPPORT.
28165 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28167         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
28168         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
28169         ANYWHERE set to 1 only on KERN_NO_SPACE error.
28171 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
28173         * wcsmbs/uchar.h: Test __STDC_VERSION__.
28175 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
28177         * nscd/aicache.c (addhstaiX): Do not cache negative results of
28178         transient errors.
28179         * nscd/grpcache.c (cache_addgr): Likewise.
28180         * nscd/hstcache.c (cache_addhst): Likewise.
28181         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28182         * nscd/pwdcache.c (cache_addpw): Likewise.
28183         * nscd/servicescache.c (cache_addserv): Likewise.
28185 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
28187         * malloc/malloc.c: Various cleanups.
28188         * malloc/hooks.c: Likewise.
28190         * stdlib/Makefile (tests): Add bug-fmtmsg1.
28191         * stdlib/bug-fmtmsg1.c: New file.
28193         * stdlib/fmtmsg.c (init): Add missing unlock.
28194         Patch by Peng Haitao <penght@cn.fujitsu.com>.
28196 2012-01-12  Marek Polacek  <polacek@redhat.com>
28198         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
28199         and _GNU_SOURCE.
28201 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
28203         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
28204         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
28205         macro to ensure uniqueness of label name.
28206         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28207         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28209 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
28211         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
28213         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
28214         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28215         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28216         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
28218 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
28220         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
28222         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
28223         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28224         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28226         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
28228         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
28229         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28230         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28231         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
28233         * math/bits/math-finite.h: Add ldexp support.
28235 2012-01-10  Marek Polacek  <polacek@redhat.com>
28237         * locale/programs/localedef.h (show_archive_content): Add noreturn
28238         attribute.
28240 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
28242         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
28244 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
28246         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
28248         * io/Makefile (headers): Add bits/poll2.h.
28250 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
28252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
28253         typo #include statement.
28255 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
28257         * include/sys/cdefs.h: Define __attribute_alloc_size.
28258         * catgets/gencat.c: Add alloc_size attribute and apply consistently
28259         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
28260         * elf/pldd.c: Likewise.
28261         * iconv/iconv_charmap.c: Likewise.
28262         * iconv/iconvconfig.c: Likewise.
28263         * iconv/strtab.c: Likewise.
28264         * locale/programs/locale.c: Likewise.
28265         * locale/programs/localedef.h: Likewise.
28266         * locale/programs/simple-hash.c: Likewise.
28267         * nscd/nscd.h: Likewise.
28268         * nss/makedb.c: Likewise.
28269         * sysdeps/generic/ldconfig.h: Likewise.
28270         * locale/programs/localedef.c: Remove xmalloc prototype.
28271         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
28273 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
28275         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
28276         appropriate.
28278 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
28280         * math/Makefile (tests): Add tst-CMPLX.
28281         * math/tst-CMPLX.c: New file.
28283         * math/complex.h (CMPLXL): Fix typo.
28285         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
28286         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
28287         GLIBC_2.16.
28288         * debug/tst-chk1.c: Add poll and ppoll tests.
28289         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
28290         * include/sys/poll.h: Add hidden proto for ppoll.
28291         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
28292         * sysdeps/mach/hurd/ppoll.c: Likewise.
28293         * io/ppoll.c: Likewise.
28294         * debug/poll_chk.c: New file.
28295         * debug/ppoll_chk.c: New file.
28296         * include/bits/poll2.h: New file.
28297         * io/bits/poll2.h: New file.
28299         [BZ #1350]
28300         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
28302         * configure.in: static is always set to yes.  Remove.
28303         * config.make.in: Don't set build-static.
28304         * Makeconfig: Remove use of build-static.
28305         * dlfcn/Makefile: Likewise.
28306         * elf/Makefile: Likewise.
28307         * math/Makefile: Likewise.
28308         * misc/Makefile: Likewise.
28309         * nptl/Makefile: Likewise.
28310         * sysdeps/mach/hurd/Makefile: Likewise.
28312         * configure.in: PWD_P is not used anymore.
28313         * config.make.in: Remove PWD_P entry.
28315         * configure.in: Remove last remnants of RANLIB.
28316         No need to check for signed size_t anymore.
28317         Don't set libc_commonpagesize and libc_relro_required here for Alpha
28318         and IA-64.
28319         Remove __builtin_expect test because we require at least gcc 3.4.
28320         * aclocal.m4: Likewise.
28322         * wcsmbs/mbrtoc16.c: Implement using towc function.
28323         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
28324         * wcsmbs/wcsmbsload.c: Likewise.
28325         * iconv/gconv_simple.c: Likewise.
28326         * iconv/gconv_int.h: Likewise.
28327         * iconv/gconv_builtin.h: Likewise.
28328         * iconv/iconv_prog.c: Remove CHAR16 handling.
28330         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
28332         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
28334         * configure.in: Remove --with-elf and --enable-bounded options.
28335         Dont set base_machine for ia64.  More non-ELF conditions removed.
28336         Remove testing and setting of leading underscore information.
28337         * config.make.in (build-bounded): Set to no.
28338         * config.h.in: Remove NO_UNDERSCORES entry.
28339         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
28340         them.
28341         * csu/start.c: Remove !NO_UNDERSCORE code.
28342         * locale/localeinfo.h: Likewise.
28343         * sysdeps/generic/machine-gmon.h: Likewise.
28344         * sysdeps/generic/sysdep.h: Likewise.
28345         * sysdeps/i386/sysdep.h: Likewise.
28346         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28347         * sysdeps/mach/sysdep.h: Likewise.
28348         * sysdeps/s390/s390-32/sysdep.h: Likewise.
28349         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28350         * sysdeps/sh/sysdep.h: Likewise.
28351         * sysdeps/sparc/sparc32/alloca.S: Likewise.
28352         * sysdeps/unix/i386/sysdep.S: Likewise.
28353         * sysdeps/unix/sparc/start.c: Likewise.
28354         * sysdeps/unix/sparc/sysdep.S: Likewise.
28355         * sysdeps/unix/sparc/sysdep.h: Likewise.
28356         * sysdeps/unix/start.c: Likewise.
28357         * sysdeps/unix/x86_64/sysdep.S: Likewise.
28358         * sysdeps/x86_64/sysdep.h: Likewise.
28360 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
28362         [BZ #13553]
28363         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
28364         for non-gcc.
28365         * argp/argp-fmtstream.h: Use const instead __const.
28366         * argp/argp.h: Likewise.
28367         * assert/assert.h: Likewise.
28368         * bits/fenv.h: Likewise.
28369         * bits/sched.h: Likewise.
28370         * bits/sigset.h: Likewise.
28371         * bits/sigthread.h: Likewise.
28372         * catgets/nl_types.h: Likewise.
28373         * conform/data/pthread.h-data: Likewise.
28374         * crypt/crypt-private.h: Likewise.
28375         * crypt/crypt.h: Likewise.
28376         * crypt/crypt_util.c: Likewise.
28377         * ctype/ctype.h: Likewise.
28378         * debug/execinfo.h: Likewise.
28379         * debug/mbsnrtowcs_chk.c: Likewise.
28380         * debug/mbsrtowcs_chk.c: Likewise.
28381         * debug/wcsnrtombs_chk.c: Likewise.
28382         * debug/wcsrtombs_chk.c: Likewise.
28383         * debug/wcstombs_chk.c: Likewise.
28384         * dirent/dirent.h: Likewise.
28385         * dlfcn/dlfcn.h: Likewise.
28386         * elf/neededtest4.c: Likewise.
28387         * grp/grp.h: Likewise.
28388         * gshadow/gshadow.h: Likewise.
28389         * iconv/gconv.h: Likewise.
28390         * iconv/gconv_int.h: Likewise.
28391         * iconv/gconv_simple.c: Likewise.
28392         * iconv/iconv.h: Likewise.
28393         * iconv/loop.c: Likewise.
28394         * iconv/skeleton.c: Likewise.
28395         * include/aio.h: Likewise.
28396         * include/aliases.h: Likewise.
28397         * include/argz.h: Likewise.
28398         * include/arpa/inet.h: Likewise.
28399         * include/assert.h: Likewise.
28400         * include/dirent.h: Likewise.
28401         * include/dlfcn.h: Likewise.
28402         * include/execinfo.h: Likewise.
28403         * include/fcntl.h: Likewise.
28404         * include/fenv.h: Likewise.
28405         * include/glob.h: Likewise.
28406         * include/grp.h: Likewise.
28407         * include/libintl.h: Likewise.
28408         * include/mntent.h: Likewise.
28409         * include/netdb.h: Likewise.
28410         * include/pwd.h: Likewise.
28411         * include/rpc/netdb.h: Likewise.
28412         * include/sched.h: Likewise.
28413         * include/search.h: Likewise.
28414         * include/shadow.h: Likewise.
28415         * include/signal.h: Likewise.
28416         * include/stdio.h: Likewise.
28417         * include/stdlib.h: Likewise.
28418         * include/string.h: Likewise.
28419         * include/sys/socket.h: Likewise.
28420         * include/sys/stat.h: Likewise.
28421         * include/sys/statfs.h: Likewise.
28422         * include/sys/statvfs.h: Likewise.
28423         * include/sys/syslog.h: Likewise.
28424         * include/sys/time.h: Likewise.
28425         * include/sys/uio.h: Likewise.
28426         * include/time.h: Likewise.
28427         * include/unistd.h: Likewise.
28428         * include/utmp.h: Likewise.
28429         * include/wchar.h: Likewise.
28430         * include/wctype.h: Likewise.
28431         * inet/aliases.h: Likewise.
28432         * inet/arpa/inet.h: Likewise.
28433         * inet/netinet/ether.h: Likewise.
28434         * inet/netinet/in.h: Likewise.
28435         * intl/libintl.h: Likewise.
28436         * io/bits/fcntl2.h: Likewise.
28437         * io/fcntl.h: Likewise.
28438         * io/ftw.h: Likewise.
28439         * io/sys/poll.h: Likewise.
28440         * io/sys/stat.h: Likewise.
28441         * io/sys/statfs.h: Likewise.
28442         * io/sys/statvfs.h: Likewise.
28443         * io/utime.h: Likewise.
28444         * libio/bits/stdio.h: Likewise.
28445         * libio/bits/stdio2.h: Likewise.
28446         * libio/libio.h: Likewise.
28447         * libio/libioP.h: Likewise.
28448         * libio/stdio.h: Likewise.
28449         * locale/lc-ctype.c: Likewise.
28450         * locale/locale.h: Likewise.
28451         * login/utmp.h: Likewise.
28452         * malloc/arena.c: Likewise.
28453         * malloc/malloc.c: Likewise.
28454         * malloc/malloc.h: Likewise.
28455         * malloc/mcheck.c: Likewise.
28456         * malloc/mtrace.c: Likewise.
28457         * math/bits/mathcalls.h: Likewise.
28458         * math/fenv.h: Likewise.
28459         * math/math_private.h: Likewise.
28460         * misc/bits/error.h: Likewise.
28461         * misc/bits/syslog.h: Likewise.
28462         * misc/err.h: Likewise.
28463         * misc/error.h: Likewise.
28464         * misc/fstab.h: Likewise.
28465         * misc/mntent.h: Likewise.
28466         * misc/regexp.h: Likewise.
28467         * misc/search.h: Likewise.
28468         * misc/sgtty.h: Likewise.
28469         * misc/sys/mman.h: Likewise.
28470         * misc/sys/syslog.h: Likewise.
28471         * misc/sys/uio.h: Likewise.
28472         * misc/sys/xattr.h: Likewise.
28473         * misc/ttyent.h: Likewise.
28474         * nis/rpcsvc/ypclnt.h: Likewise.
28475         * nss/nss.h: Likewise.
28476         * posix/bits/unistd.h: Likewise.
28477         * posix/fnmatch.h: Likewise.
28478         * posix/glob.h: Likewise.
28479         * posix/sched.h: Likewise.
28480         * posix/spawn.h: Likewise.
28481         * posix/sys/wait.h: Likewise.
28482         * posix/unistd.h: Likewise.
28483         * posix/wordexp.h: Likewise.
28484         * pwd/pwd.h: Likewise.
28485         * resolv/netdb.h: Likewise.
28486         * resource/sys/resource.h: Likewise.
28487         * rt/aio.h: Likewise.
28488         * rt/bits/mqueue2.h: Likewise.
28489         * rt/mqueue.h: Likewise.
28490         * shadow/shadow.h: Likewise.
28491         * signal/signal.h: Likewise.
28492         * socket/send.c: Likewise.
28493         * socket/sendto.c: Likewise.
28494         * socket/sys/socket.h: Likewise.
28495         * stdio-common/printf.h: Likewise.
28496         * stdlib/bits/stdlib.h: Likewise.
28497         * stdlib/fmtmsg.h: Likewise.
28498         * stdlib/monetary.h: Likewise.
28499         * stdlib/stdlib.h: Likewise.
28500         * stdlib/ucontext.h: Likewise.
28501         * streams/stropts.h: Likewise.
28502         * string/argz.h: Likewise.
28503         * string/bits/string2.h: Likewise.
28504         * string/string.h: Likewise.
28505         * string/strings.h: Likewise.
28506         * sunrpc/rpc/auth.h: Likewise.
28507         * sunrpc/rpc/auth_des.h: Likewise.
28508         * sunrpc/rpc/clnt.h: Likewise.
28509         * sunrpc/rpc/netdb.h: Likewise.
28510         * sunrpc/rpc/pmap_clnt.h: Likewise.
28511         * sunrpc/rpc/xdr.h: Likewise.
28512         * sysdeps/generic/inttypes.h: Likewise.
28513         * sysdeps/generic/net/if.h: Likewise.
28514         * sysdeps/generic/sys/swap.h: Likewise.
28515         * sysdeps/gnu/net/if.h: Likewise.
28516         * sysdeps/gnu/utmpx.h: Likewise.
28517         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
28518         * sysdeps/i386/i486/bits/string.h: Likewise.
28519         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
28520         * sysdeps/s390/bits/string.h: Likewise.
28521         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
28522         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
28523         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28524         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
28525         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
28526         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
28527         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
28528         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
28529         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
28530         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28531         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
28532         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28533         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
28534         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28535         * sysdeps/unix/sysv/linux/readv.c: Likewise.
28536         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
28537         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28538         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28539         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28540         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28541         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28542         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
28543         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
28544         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
28545         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
28546         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
28547         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
28548         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28549         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
28550         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
28551         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
28552         * sysvipc/sys/ipc.h: Likewise.
28553         * sysvipc/sys/msg.h: Likewise.
28554         * sysvipc/sys/sem.h: Likewise.
28555         * sysvipc/sys/shm.h: Likewise.
28556         * termios/termios.h: Likewise.
28557         * time/sys/time.h: Likewise.
28558         * time/time.h: Likewise.
28559         * wcsmbs/bits/wchar2.h: Likewise.
28560         * wcsmbs/uchar.h: Likewise.
28561         * wcsmbs/wchar.h: Likewise.
28562         * wctype/wctype.h: Likewise.
28564         [BZ #13551]
28565         * Makeconfig: Remove all but ELF support including AIX support.
28566         * Makerules: Likewise.
28567         * config.h.in: Likewise.
28568         * config.make.in: Likewise.
28569         * configure: Likewise.
28570         * configure.in: Likewise.
28571         * csu/Makefile: Likewise.
28572         * csu/version.c: Likewise.
28573         * debug/Makefile: Likewise.
28574         * dlfcn/Makefile: Likewise.
28575         * elf/Makefile: Likewise.
28576         * extra-lib.mk: Likewise.
28577         * iconv/Makefile: Likewise.
28578         * include/libc-symbols.h: Likewise.
28579         * include/shlib-compat.h: Likewise.
28580         * resolv/Makefile: Likewise.
28581         * resolv/res_libc.c: Likewise.
28582         * rt/Makefile: Likewise.
28583         * sysdeps/i386/asm-syntax.h: Likewise.
28584         * sysdeps/i386/sysdep.h: Likewise.
28585         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28586         * sysdeps/mach/sysdep.h: Likewise.
28587         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
28588         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
28589         * sysdeps/s390/asm-syntax.h: Likewise.
28590         * sysdeps/s390/s390-32/sysdep.h: Likewise.
28591         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28592         * sysdeps/sh/sysdep.h: Likewise.
28593         * sysdeps/unix/sparc/sysdep.h: Likewise.
28594         * sysdeps/wordsize-32/divdi3.c: Likewise.
28595         * sysdeps/x86_64/sysdep.h: Likewise.
28597         * argp/Versions: Remove _argp_unlock_xxx.
28599         [BZ #13559]
28600         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
28601         * abilist/libBrokenLocale.abilist: Likewise.
28602         * abilist/libanl.abilist: Likewise.
28603         * abilist/libc.abilist: Likewise.
28604         * abilist/libcrypt.abilist: Likewise.
28605         * abilist/libdl.abilist: Likewise.
28606         * abilist/libm.abilist: Likewise.
28607         * abilist/libnsl.abilist: Likewise.
28608         * abilist/libpthread.abilist: Likewise.
28609         * abilist/libresolv.abilist: Likewise.
28610         * abilist/librt.abilist: Likewise.
28611         * abilist/libthread_db.abilist: Likewise.
28612         * abilist/libutil.abilist: Likewise.
28613         * abilist/libnss_db.abilist: New file.
28615         * scripts/abilist.awk: Add support for indirect functions.
28617         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
28619         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
28621         * shlib-versions: Remove entries for ports architectures.
28623         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
28624         files in ports.
28625         * elf/stackguard-macros.h: Remove support for IA-64.
28626         * elf/tst-auditmod1.c: Likewise.
28627         * sysdeps/generic/ldsodefs.h: Likewise.
28629         * sysdeps/unix/sysv/linux/configure.in: Ports should define
28630         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
28631         configure files.
28633         [BZ #13552]
28634         * configure.in: Remove --enable-omitfp support.
28635         * FAQ.in: Adjust.
28636         * config.make.in: Likewise.
28637         * Makeconfig: Likewise.
28638         * manual/install.texi: Likewise.
28640         In case anyone cares, the IA-64 architecture could move to ports.
28641         * sysdeps/ia64/*: Removed.
28642         * sysdeps/unix/sysv/linux/ia64/*: Removed.
28643         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
28645         [BZ #13555]
28646         * configure.in: Remove entries for unsupported architectures.
28648         [BZ #13533]
28649         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
28650         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
28651         routines.
28652         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
28653         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
28654         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
28655         fall back to using wcrtomb.
28656         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
28657         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
28658         renaming.
28659         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
28660         * wcsmbs/tst-c16c32-1.c: New file.
28662         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
28663         local variable.
28665         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
28667         * elf/tst-unique3.cc: Add explicit declaration of gets.
28668         * elf/tst-unique3lib.cc: Likewise.
28669         * elf/tst-unique3lib2.cc: Likewise.
28670         * elf/tst-unique4.cc: Likewise.
28672         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
28674 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
28676         [BZ #13566]
28677         * assert/assert.h (static_assert): Don't define for C++.
28678         * libio/stdio.h (gets): Do declare for C++ <= C++11.
28679         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
28681 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
28683         * iconv/loop.c (single loop): Fix assertion in storing of
28684         remaining bytes.
28686         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
28688 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
28690         * posix/getconf.c: Update copyright year.
28691         * nss/getent.c: Likewise.
28692         * nss/makedb.c: Likewise.
28693         * iconv/iconvconfig.c: Likewise.
28694         * iconv/iconv_prog.c: Likewise.
28695         * elf/ldconfig.c: Likewise.
28696         * elf/pldd.c: Likewise.
28697         * elf/sotruss.ksh: Likewise.
28698         * catgets/gencat.c: Likewise.
28699         * csu/version.c: Likewise.
28700         * elf/ldd.bash.in: Likewise.
28701         * elf/sprof.c (print_version): Likewise.
28702         * locale/programs/locale.c: Likewise.
28703         * locale/programs/localedef.c: Likewise.
28704         * login/programs/pt_chown.c: Likewise.
28705         * nscd/nscd.c (print_version): Likewise.
28706         * debug/xtrace.sh: Likewise.
28707         * malloc/memusage.sh: Likewise.
28708         * malloc/mtrace.pl: Likewise.
28709         * debug/catchsegv.sh: Likewise.
28711 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
28713         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
28714         pure attribute.
28716 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
28718         [BZ #13533]
28719         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
28720         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
28721         transformations.
28722         * iconv/gconv_int.h: Likewise.
28723         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
28724         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
28725         from libc for GLIBC_2.16.
28726         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
28727         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
28728         * wcsmbs/uchar.h: Really define mbstate_t.
28729         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
28730         * wcsmbs/c16rtomb.c: New file.
28731         * wcsmbs/mbrtoc16.c: New file.
28732         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
28733         for C/POSIX locale.
28734         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
28735         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
28737         * wcsmbs/wchar.h: Add missing __restrict.
28739 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
28741         [BZ #13532]
28742         * time/Makefile (routines): Add timespec_get.
28743         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
28744         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
28745         timespec for ISO C11.
28746         * time/timespec_get.c: New file.
28747         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
28748         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
28750         [BZ #13531]
28751         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
28752         * stdlib/stdlib.h: Declare aligned_alloc.
28753         * Versions.def: Add GLIBC_2.16 for libc.
28754         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
28756         [BZ 13527]
28757         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
28758         ISO C11.
28760         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
28761         code.
28763         [BZ #13528]
28764         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
28766         [BZ #13529]
28767         * assert/assert.h (static_assert): Define.
28769         * version.h: Update for 2.16 development version.
28771         [BZ #13526]
28772         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
28773         _ISOC11_SOURCE.
28775         * version.h (RELEASE): Bump for 2.15 release.
28776         * include/features.h (__GLIBC_MINOR__): Bump to 15.
28778         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
28779         Patch by Marek Polacek <mpolacek@redhat.com>.
28781         * bits/byteswap.h: Protect long long constants with __extension__.
28782         * sysdeps/i386/bits/byteswap.h: Likewise.
28783         * sysdeps/ia64/bits/byteswap.h: Likewise.
28784         * sysdeps/s390/bits/byteswap.h: Likewise.
28785         * sysdeps/x86_64/bits/byteswap.h: Likewise.
28787 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28789         [BZ #13540]
28790         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
28791         destination buffer.
28792         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
28794 2011-12-23  Marek Polacek  <polacek@redhat.com>
28796         * elf/dl-addr.c (determine_info): Add inline keyword.
28797         * elf/tst-auditmod4b.c (check_avx): Likewise.
28798         * elf/tst-auditmod6b.c (check_avx): Likewise.
28799         * elf/tst-auditmod6c.c (check_avx): Likewise.
28800         * elf/tst-auditmod7b.c (check_avx): Likewise.
28802 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
28804         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
28805         !__SSE_MATH__.
28807 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28809         [BZ #13540]
28810         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
28811         processing for last bytes.
28813 2011-08-06  Bruno Haible  <bruno@clisp.org>
28815         [BZ #13061]
28816         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
28817         U+0385, not to U+1FEE.
28819         [BZ #13062]
28820         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
28821         entry for U+00A5 U+0301.
28823 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
28825         [BZ #13166]
28826         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
28827         buffer for the output is too small.
28829         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
28830         optimization.
28832         [BZ #13185]
28833         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
28834         SSE flags if possible.
28836 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28838         [BZ #13540]
28839         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
28840         processing for last bytes.
28842 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
28844         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
28845         (syscall-list-default-options, syscall-list-default-condition)
28846         (syscall-list-includes): Define.
28847         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
28848         list of ABIs and options and #if conditions for each ABI.  Do not
28849         handle common syscalls between ABIs specially.
28850         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
28851         Remove.
28852         (syscall-list-variants, syscall-list-32bit-options)
28853         (syscall-list-32bit-condition, syscall-list-64bit-options)
28854         (syscall-list-64bit-condition): Define.
28855         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
28856         (syscall-list-variants, syscall-list-32bit-options)
28857         (syscall-list-32bit-condition, syscall-list-64bit-options)
28858         (syscall-list-64bit-condition): Define.
28859         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
28860         Remove.
28861         (syscall-list-variants, syscall-list-32bit-options)
28862         (syscall-list-32bit-condition, syscall-list-64bit-options)
28863         (syscall-list-64bit-condition): Define.
28864         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
28865         Remove.
28866         (syscall-list-variants, syscall-list-32bit-options)
28867         (syscall-list-32bit-condition, syscall-list-64bit-options)
28868         (syscall-list-64bit-condition): Define.
28870 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
28872         * locale/iso-639.def: Add brx entry.
28874         [BZ #13328]
28875         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
28876         Proposed by Mariusz_Cukr <marcukr@op.pl>.
28878         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
28879         __feraiseexcept_renamed.
28881 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
28883         [BZ #13538]
28884         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
28885         EPOLLET with unsigned values.
28886         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28887         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28889         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
28890         to large cancellation.
28891         * math/s_cacoshf.c: Likewise.
28892         * math/s_cacoshl.c: Likewise.
28894 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
28896         [BZ #13305]
28897         [BZ #12786]
28898         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
28899         * math/s_cacoshf.c: Likewise.
28900         * math/s_cacoshl.c: Likewise.
28902 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
28904         [BZ #13439]
28905         * iconv/gconv.h: Define __GCONV_SWAP.
28906         * iconvdata/unicode.c: The swap bit must be stored in __flags.
28907         * iconvdata/utf-16.c: Likewise.
28908         * iconvdata/utf-32.c: Likewise.
28910 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
28912         [BZ #13524]
28913         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
28914         numerator after shifting it by one limb.
28916 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
28918         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
28919         under [__USE_EXTERN_INLINES].
28921 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
28923         [BZ #13446]
28924         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
28926 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28928         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
28929         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
28930         optimized code.
28931         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
28932         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
28933         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
28934         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
28935         for strncasecmp/strncasecmp_l compilation.
28936         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
28937         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
28939 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
28941         [BZ #13484]
28942         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
28943         of __asm__.
28945 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
28947         [BZ #13506]
28948         * time/tzfile.c (__tzfile_read): Check values from file header.
28950 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
28952         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
28953         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
28954         * powerpc/powerpc32/dl-start.S: Likewise.
28955         * powerpc/powerpc32/elf/start.S: Likewise.
28956         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28957         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
28958         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
28959         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
28960         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28961         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
28962         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
28963         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28964         * powerpc/powerpc32/fpu/s_round.S: Likewise.
28965         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28966         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28967         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28968         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28969         * powerpc/powerpc32/memset.S: Likewise.
28970         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28971         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28972         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28973         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28974         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28975         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28976         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28977         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28978         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
28979         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
28980         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
28981         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28982         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28984 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28986         * math/libm-test.inc: Added more nearbyint tests.
28987         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
28988         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
28989         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
28990         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
28992 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
28994         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
28995         FD_CLOEXEC.
28997 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28999         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
29000         Add wcscpy-ssse3 wcscpy-c.
29001         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
29002         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
29003         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
29004         * sysdeps/x86_64/wcschr.S: New file.
29005         * sysdeps/x86_64/wcsrchr.S: New file.
29006         * string/test-strcmp.c: Remove checking of wcscmp function for
29007         wrong alignments.
29008         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
29009         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
29010         wcsrchr-sse2 wcsrchr-c.
29011         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
29012         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
29013         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
29014         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
29015         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
29016         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
29017         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
29018         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
29019         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
29020         * wcsmbc/wcschr.c (WCSCHR): New macro.
29022 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29024         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
29025         * wcsmbs/test-wcsrchr.c: New file.
29026         * string/test-strrchr.c: Add wcsrchr support.
29027         (WIDE): New macro.
29028         * wcsmbs/test-wcscpy.c: New file.
29029         * string/test-strcpy.c: Add wcscpy support.
29030         (WIDE): New macro.
29032 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
29034         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
29035         the inner loop.
29037 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
29039         [BZ #13472]
29040         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
29042 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
29044         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
29045         Minor optimizations.
29047         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
29048         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
29049         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
29051 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
29053         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
29054         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
29055         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
29056         for gcc to avoid warnings.
29057         * inet/Makefile (tests): Add tst-checks.
29058         * inet/tst-checks.c: New file.
29060         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
29061         warning.
29063         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
29064         __wmemcmp_sse2.
29066         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
29067         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
29069         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
29071 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
29073         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
29074         problem.
29076         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
29078 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
29080         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
29081         conditional on GCC version.
29082         (__arch_compare_and_exchange_val_8_acq)
29083         (__arch_compare_and_exchange_val_16_acq)
29084         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
29085         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
29086         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
29088 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
29090         * sysdeps/sh/backtrace.c: New file.
29092 2011-12-02  Andreas Schwab  <schwab@redhat.com>
29094         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
29095         parenthesis.
29097 2011-12-01  Andreas Schwab  <schwab@redhat.com>
29099         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
29100         falling back to utime.
29102 2011-11-30  Andreas Schwab  <schwab@redhat.com>
29104         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
29105         expectations for float.
29107 2011-11-29  Andreas Schwab  <schwab@redhat.com>
29109         * locale/weight.h (findidx): Add parameter len.
29110         * locale/weightwc.h (findidx): Likewise.
29111         * posix/fnmatch_loop.c (FCT): Adjust caller.
29112         * posix/regcomp.c (build_equiv_class): Likewise.
29113         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
29114         * posix/regexec.c (check_node_accept_bytes): Likewise.
29115         * string/strcoll_l.c (STRCOLL): Likewise.
29116         * string/strxfrm_l.c (STRXFRM): Likewise.
29118 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
29120         * Makefile.in: Remove CVSOPT handling.
29121         * configure.in: Remove use of AC_REVISION.
29122         * iconvdata/Makefile (distribute): No need to filter out CVS.
29123         * scripts/list-sources.sh: Remove CVS, subversion and monotone
29124         handling.
29126 2011-11-16  Andreas Schwab  <schwab@redhat.com>
29128         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
29129         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
29130         [USE_AS_STRNCASECMP_L]: Likewise.
29131         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
29132         NO_TLS_DIRECT_SEG_REFS.
29133         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
29134         Fix argument offsets for non-PIC.
29135         [USE_AS_STRNCASECMP_L]: Likewise.
29136         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
29137         NO_TLS_DIRECT_SEG_REFS.
29139 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
29141         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
29142         O_CLOEXEC.
29143         * locale/loadlocale.c (_nl_load_locale): Likewise.
29145 2011-11-15  Andreas Schwab  <schwab@redhat.com>
29147         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
29148         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
29149         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
29150         (SYSCALL_GETTIME): Set errno on error.
29152         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
29153         count references to noai6ai_cached.
29155 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
29157         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
29159         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
29160         FD_CLOEXEC for /proc/self/maps.
29162         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
29163         FD_CLOEXEC for /proc/meminfo.
29165         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
29166         gai.conf.
29168         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
29169         FD_CLOEXEC for given file.
29171         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
29173         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
29174         FD_CLOEXEC for /etc/hosts.
29175         (_gethtent): Likewise.
29177         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
29179         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
29180         cancellation and set FD_CLOEXEC for /etc/netgroup.
29182         * nss/nss_files/files-key.c (search): Don't allow cancellation when
29183         reading /etc/publickey.
29185         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
29186         allow cancellation when reading /etc/group.
29188         * nss/nss_files/files-alias.c (internal_setent): Don't allow
29189         cancellation.
29190         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
29192         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
29193         when using data file.
29195         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
29197         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
29198         (write_nis_obj): Use "c" and "e" in fopen.
29200         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
29202         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
29204         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
29206         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
29208         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
29209         locale.alias.
29211         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
29213         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
29215         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
29217         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
29218         file parsing and set FD_CLOEXEC.
29220 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
29222         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
29224 2011-11-14  Andreas Schwab  <schwab@redhat.com>
29226         * malloc/arena.c (arena_get2): Don't call reused_arena when
29227         _int_new_arena failed.
29229 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
29231         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
29232         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
29233         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
29234         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29235         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29236         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
29237         to compile strcasecmp and strncasecmp.
29238         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
29239         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
29241         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
29243 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
29245         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
29246         locale-defines.sym to gen-as-const-headers.
29247         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
29248         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
29249         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
29250         to compile strcasecmp and strncasecmp.
29251         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
29252         strcasecmp_l and strncasecmp_l.
29253         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
29254         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
29255         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
29256         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
29257         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
29258         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
29259         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
29260         * sysdeps/i386/i686/multiarch/strncase.S: New file.
29261         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
29262         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
29263         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
29265 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
29267         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
29268         result of SYSDEP_GETTIME_CPU to retval.
29269         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
29270         parameter list to macro.  Remove trailing semicolon.  Adjust users.
29272         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
29273         variable.
29275         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
29276         mantissa words.
29277         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
29279         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
29280         from unused variable.
29282         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
29283         DWARF definitions.
29284         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
29285         for assembling.
29287         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
29288         over namespaces.
29290         * sunrpc/rpc_prot.c (rejected): Fix case value.
29292         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
29293         unsigned long long int to avoid warnings in shift.
29295         * posix/regex_internal.c (re_string_reconstruct): Actually use result
29296         of use of trans.
29297         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
29298         variable tmp.
29300         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
29301         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
29302         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
29304         * nis/nis_table.c (nis_list): Use variable of correct type for
29305         result of __follow_path call.
29307 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29309         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
29310         of math functions ceil, trunc, floor, round, and sqrt, when
29311         avaliable on the platform.
29312         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
29313         name clash.
29314         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29315         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29316         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29318 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
29320         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
29321         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29323 2011-11-11  Roland McGrath  <roland@hack.frob.com>
29325         * include/unistd.h: Fix __readlink return type.
29326         Reported by Chris Metcalf <cmetcalf@tilera.com>.
29328 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
29330         * stdlib/ucontext.h: Undo last change for makecontext.
29332 2011-11-11  Andreas Schwab  <schwab@redhat.com>
29334         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
29336         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
29337         * setjmp/setjmp.h: Mark functions as non-leaf.
29338         * setjmp/bits/setjmp2.h: Likewise.
29339         * stdlib/ucontext.h: Likewise.
29341 2011-11-10  Andreas Schwab  <schwab@redhat.com>
29343         * malloc/arena.c (_int_new_arena): Don't increment narenas.
29344         (reused_arena): Don't check arena limit.
29345         (arena_get2): Atomically check arena limit.
29347 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
29349         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
29350         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
29352         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
29353         instructions.
29355 2011-11-07  Andreas Schwab  <schwab@redhat.com>
29357         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
29358         handler when locking.
29360         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29361         Fix size of allocated buffer.
29363 2011-11-04  Andreas Schwab  <schwab@redhat.com>
29365         [BZ #10103]
29366         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
29367         declarations for long double functions.
29368         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
29370         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
29372 2011-11-03  Andreas Schwab  <schwab@redhat.com>
29374         * nscd/nscd.c (main): Don't start AVC thread until credentials are
29375         installed.
29377         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
29378         is disabled.
29380 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29382         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
29384 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29386         * include/alloca.h (stackinfo_alloca_round): Define.
29387         (extend_alloca): Use it.
29388         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
29389         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
29390         here.
29392         * scripts/check-local-headers.sh: Ignore libaudit.h.
29394         * nscd/Makefile (extra-objs): Make recursively expanded.
29396 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
29398         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
29399         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29401         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
29402         * posix/tst-rfc3484-2.c: Likewise.
29403         * posix/tst-rfc3484-3.c: Likewise.
29405         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29406         process_vm_writev.
29407         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
29408         process_vm_writev.
29409         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
29410         process_vm_writev from libc using GLIBC_2.15 version.
29412         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
29414 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
29416         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
29417         stack usage.
29419 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
29421         [BZ #13367]
29422         * nss/getent.c (initgroups_keys): Show error message in case no group
29423         names are given.
29425         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
29426         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
29427         __bump_nl_timestamp.
29428         * nscd/connections (nscd_init): When host database is served open
29429         netlink socket and request notification about configuration changes.
29430         (main_loop_poll): Track netlink file descriptor and bump timestamp
29431         in case data becomes available.
29432         (main_loop_epoll): Likewise.
29433         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
29434         (database_pers_head): Add extra_data fileds.
29435         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
29436         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
29437         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
29438         Adjust caller.
29439         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
29440         in6ai data, call __free_in6ai.
29441         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
29442         Add -DHAVE_NETLINK.
29443         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
29444         interface information.  Reuse previous data if netlink timestamp
29445         is not changed.
29446         (__bump_nl_timestamp): New function.
29447         (__free_in6ai): New function.
29449 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
29451         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
29452         close_not_cancel_no_status here.
29453         (__check_pf): Reorganize code a bit to not call close twice if OOM.
29455 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
29457         [BZ #13276]
29458         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
29459         return value.
29461         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
29462         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
29463         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
29465 2011-07-03  Andreas Jaeger  <aj@suse.de>
29467         [BZ #10709]
29468         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
29469         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
29470         * math/libm-test.inc (sin_test): Add test case.
29472 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
29474         [BZ #13337]
29475         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
29476         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29478         * elf/chroot_canon.c (chroot_canon): Cleanups.
29480         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
29482         [BZ #13335]
29483         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
29484         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29486         * string/test-strchr.c: Make usable for strchrnul testing.
29487         * string/test-strchrnul.c: New file.
29488         * string/Makefile (strop-tests): Add strchrnul.
29490         * po/it.po: Update from translation team.
29491         * po/es.po: Likewise.
29493 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
29495         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
29496         the three constants needed as parameters.  Drop the others.
29497         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
29498         __m128i_strloadu_tolower.
29499         Create and initialize variable zero and use it in all the places
29500         where _mm_setzero_si128 was used.
29502         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
29503         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
29504         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
29505         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
29506         anymore.
29507         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
29508         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
29509         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
29510         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
29511         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
29512         __mpranred, __mptan.
29513         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
29514         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
29515         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
29516         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
29517         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
29518         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
29519         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
29520         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
29521         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
29523 2011-10-28  Andreas Schwab  <schwab@redhat.com>
29525         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
29526         redefine if SHARED.
29527         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
29529         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
29530         wide char related routines to wcsmbs subdir.
29532 2011-10-27  Andreas Schwab  <schwab@redhat.com>
29534         [BZ #13344]
29535         * misc/sys/cdefs.h (__THROWNL): Define.
29536         * posix/unistd.h: Use __THREADNL instead of __THREAD
29537         for memory synchronization functions.
29539 2011-10-26  Roland McGrath  <roland@hack.frob.com>
29541         [BZ #13349]
29542         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
29543         doesn't exist.
29544         * manual/stdio.texi (Obstack Streams): Node removed.
29546 2011-10-26  Andreas Schwab  <schwab@redhat.com>
29548         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
29549         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29550         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29552         * math/math_private.h (math_force_eval): Allow non-addressable
29553         arguments.
29554         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
29556 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
29558         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
29559         file is not needed.
29561         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
29562         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
29563         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29564         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29565         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29566         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29567         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29568         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
29569         Add AVX variants.
29570         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
29571         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
29572         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
29573         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
29574         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
29575         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
29576         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
29577         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
29578         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
29579         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
29580         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
29581         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
29582         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
29583         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
29584         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
29585         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
29586         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
29587         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
29588         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
29590         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
29591         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
29593         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
29594         place.  Use VEX encoding when compiling for AVX.
29596 2011-10-25  Andreas Schwab  <schwab@redhat.com>
29598         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
29599         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29601         * string/test-strchr.c (do_test): Don't generate NUL bytes.
29603 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
29605         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
29606         useless if() expression.
29607         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29608         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29609         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29610         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29611         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29612         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29613         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29614         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29615         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29616         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29617         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29618         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29619         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29620         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29621         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29622         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29623         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29624         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29625         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29627         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
29629 2011-10-25  Andreas Schwab  <schwab@redhat.com>
29631         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
29632         condition.
29633         * elf/dl-fini.c (_dl_sort_fini): Likewise.
29635 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
29637         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
29638         .text section.  Avoid duplicate constants.
29639         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29640         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29641         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29642         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29643         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29644         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29645         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29646         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29647         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29648         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
29649         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29650         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29651         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29652         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29653         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29654         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29655         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29656         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29657         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29658         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29659         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29660         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29661         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29662         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
29663         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
29664         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
29665         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
29666         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
29667         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
29668         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
29669         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
29670         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
29671         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29672         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
29673         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
29674         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
29675         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
29676         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
29677         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
29678         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
29679         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
29680         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
29681         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
29682         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
29683         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
29685 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
29687         * sysdeps/x86_64/dla.h: Move to ...
29688         * sysdeps/x86_64/fpu/dla.h: ...here.
29689         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
29690         situations.  Use __builtin_fma only for gcc 4.6 and up.
29692         * config.make.in: Add have-mfma4 entry.
29693         * configure.in: Substitute libc_cv_cc_fma4.
29694         * math/Makefile (dbl-only-routines): Add sincostab.
29695         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
29696         Use __sincostab not sincos.
29697         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
29698         name is a macro.
29699         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29700         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29701         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29702         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
29703         using __copysign.
29704         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
29705         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
29706         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
29707         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
29708         and __inv.
29709         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
29710         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
29711         __copysign.
29712         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
29713         define aliases when function name is a macro.
29714         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
29715         sysdeps/ieee754/dbl-64/sincos.tbl.
29716         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
29717         fma4-enabled routines.
29718         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
29719         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
29720         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
29721         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
29722         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
29723         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
29724         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
29725         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
29726         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
29727         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
29728         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
29729         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
29730         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
29731         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
29732         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
29733         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
29734         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
29735         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
29736         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
29737         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
29738         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
29739         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
29740         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
29741         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
29742         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
29743         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
29744         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
29745         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
29746         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
29747         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
29749         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
29750         rename.
29751         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29752         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29753         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29754         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29755         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29756         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29757         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29758         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29760 2011-10-24  Andreas Schwab  <schwab@redhat.com>
29762         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
29764 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
29766         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
29768         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
29769         prediction.
29770         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
29772         * string/strnlen.c: Don't define STRNLEN, reverse logic.
29773         Remove unused variable magic_bits.
29774         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
29776         * string/strnlen.c: Define and use STRNLEN macro.
29777         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
29778         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
29779         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
29780         * wcsmbs/wcslen.c: Define and use WCSLEN.
29781         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
29782         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
29783         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
29784         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
29785         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
29786         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
29787         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29789 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29791         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29792         strnlen-sse2-no-bsf.
29793         Rename strlen-no-bsf to strlen-sse2-no-bsf.
29794         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
29795         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
29796         Add strnlen support.
29797         (USE_AS_STRNLEN): New macro.
29798         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
29799         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
29800         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
29801         * sysdeps/x86_64/wcslen.S: New file.
29803 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
29805         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29806         XMM-moves are used for copying on small sizes.
29808 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29810         * wcsmbs/Makefile (strop-tests): Add wcschr.
29811         * wcsmbs/test-wcschr.c: New file.
29812         * string/test-strchr.c: Update.
29813         Add wcschr support.
29814         (WIDE): New macro.
29816 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29818         * wcsmbs/Makefile (strop-tests): Add wcslen.
29819         * wcsmbs/test-wcslen.c: New file.
29820         * string/test-strlen.c: Update.
29821         Add wcslen support.
29822         (WIDE): New macro.
29824 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
29826         * po/it.po: Update from translation team.
29828 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29830         * sysdeps/x86_64/wcscmp.S: Update.
29831         Fix wrong comparison semantics.
29832         wcscmp shall use signed comparison not unsigned.
29833         Don't use substraction to avoid overflow bug.
29834         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
29835         * wcsmbc/wcscmp.c: Likewise.
29836         * string/test-strcmp.c: Likewise.
29837         Add new tests to check cases with negative values.
29839 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
29841         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
29842         * sysdeps/x86_64/dla.h: ...here.  New file.
29843         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
29844         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29845         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29846         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29847         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29848         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29849         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29850         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29851         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29853 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
29855         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
29856         __ynl_finite aliases.
29858 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
29860         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29862         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
29863         define DLA_FMA.
29864         [DLA_FMA] (EMULV): Use DLA_FMA.
29865         [DLA_FMA] (MUL12): Use EMULV.
29866         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
29867         that are not needed.
29868         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29869         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29870         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29871         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29872         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29873         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29874         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29876 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
29878         * math/s_nan.c: Undef __nan.
29879         * math/s_nanf.c: Undef __nanf.
29880         * math/s_nanl.c: Undef __nanl.
29881         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
29882         "math_private.h".
29884 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
29886         * math/s_catan.c: Add branch predictions.
29887         * math/s_catanf.c: Likewise.
29888         * math/s_catanh.c: Likewise.
29889         * math/s_catanhf.c: Likewise.
29890         * math/s_catanhl.c: Likewise.
29891         * math/s_catanl.c: Likewise.
29892         * math/s_cexp.c: Likewise.
29893         * math/s_cexpf.c: Likewise.
29894         * math/s_cexpl.c: Likewise.
29895         * math/s_clog.c: Likewise.
29896         * math/s_clog10.c: Likewise.
29897         * math/s_clog10f.c: Likewise.
29898         * math/s_clog10l.c: Likewise.
29899         * math/s_clogf.c: Likewise.
29900         * math/s_clogl.c: Likewise.
29901         * math/s_csqrt.c: Likewise.
29902         * math/s_csqrtf.c: Likewise.
29903         * math/s_csqrtl.c: Likewise.
29904         * math/s_ctanf.c: Likewise.
29905         * math/s_ctanh.c: Likewise.
29906         * math/s_ctanhf.c: Likewise.
29907         * math/s_ctanhl.c: Likewise.
29908         * math/s_ctanl.c: Likewise.
29910         * math/math_private.h: Define __nan, __nanf, __nanl.
29911         * math/s_cacosh.c: Include <math_private.h>.
29912         * math/s_cacoshl.c: Likewise.
29913         * math/s_casinh.c: Likewise.
29914         * math/s_casinhf.c: Likewise.
29915         * math/s_casinhl.c: Likewise.
29916         * math/s_ccos.c: Rely entire on ccosh.
29917         * math/s_ccosf.c: Rely entire on ccoshf.
29918         * math/s_ccosl.c: Rely entirely on ccoshl.
29919         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
29920         Remove tests for FE_INVALID.
29921         * math/s_ccoshf.c: Likewise.
29922         * math/s_ccoshl.c: Likewise.
29923         * math/s_csin.c: Likewise.
29924         * math/s_csinf.c: Likewise.
29925         * math/s_csinh.c Likewise.
29926         * math/s_csinhf.c: Likewise.
29927         * math/s_csinhl.c: Likewise.
29928         * math/s_csinl.c: Likewise.
29929         * math/s_ctan.c: Likewise.
29930         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
29931         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
29932         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
29934 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
29936         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
29937         compilation problems.
29939         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
29940         __builtin_expect.
29942 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
29944         * sysdeps/i386/configure.in: Test for -mfma4 option.
29945         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
29946         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
29947         COMMON_CPUID_INDEX_80000001.
29948         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
29949         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
29950         use it if FMA3 is not supported.
29951         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
29953         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
29954         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29956 2011-10-20  Andreas Schwab  <schwab@redhat.com>
29958         [BZ #12892]
29959         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
29960         it would create a cycle with a link time dependency.
29962 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
29964         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
29965         instruction.
29966         * string/Makefile (strop-tests): Add rawmemchr.
29967         * string/test-rawmemchr.c: New file.
29969         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
29970         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
29971         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
29972         when compiling str{,n}casecmp and when AVX is available.  Hook up
29973         new optimized code in initializers.
29975 2011-10-19  Andreas Schwab  <schwab@redhat.com>
29977         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
29978         __feraiseexcept instead of feraiseexcept.
29980 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
29982         * math/math_private.h: Define defaults for libc_fetestexcept and
29983         libc_feupdateenv.
29984         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
29985         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
29986         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29987         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29988         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29989         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29990         libc_fetestexcept and libc_feupdateenv.
29992         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
29993         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
29994         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
29995         * sysdeps/x86_64/fpu/math_private.h: Define special version of
29996         libc_feholdexcept_setround.
29998         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
29999         Add s_nearbyint-c and s_nearbyintf-c.
30000         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
30001         nearbyintf inlines.
30002         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
30003         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
30004         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
30005         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
30007         * math/math_private.h: Define defaults for libc_fegetround,
30008         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
30009         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
30010         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
30011         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
30012         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
30013         standard functions.
30014         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30015         Remove comments and hacks for old compiler versions.
30016         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30017         libc_fegetround, libc_fesetround, libc_feholdexcept, and
30018         libc_feholdexceptl.
30020 2011-10-18  Andreas Schwab  <schwab@redhat.com>
30022         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
30023         (__feraiseexcept_renamed): Add __NTH.
30024         (feraiseexcept): Add __NTH.  Rename local variables to fix
30025         namespace violations.
30027 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
30029         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
30031         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
30033         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
30034         recently added interfaces.
30035         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
30037         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
30038         about macro parameter expansion.
30040         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
30041         __NO_MATH_INLINES is defined.  Cleanups.
30043         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
30044         and __floorf is target has SSE4.1.
30045         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
30046         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
30047         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
30048         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
30050         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
30051         name.
30052         (floorf): Likewise.
30054         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
30056 2011-10-17  Andreas Schwab  <schwab@redhat.com>
30058         * misc/sys/cdefs.h: Fix last change.
30060         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
30061         database lookup.
30063 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
30065         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
30067         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
30068         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30069         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30070         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30071         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30072         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30073         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30074         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30075         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30076         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
30077         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
30078         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
30079         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
30080         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
30081         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
30082         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
30083         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
30084         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
30085         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
30086         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
30087         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
30088         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
30090         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
30091         ceil, ceilf, floor, floorf.
30093         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
30094         Perform IRELATIVE relocations last.
30096         * elf/do-rel.h: Add another parameter nrelative, replacing the
30097         local variable with the same name.  Change name of the function
30098         to end in Rel or Rela (uppercase).
30099         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
30100         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
30101         elf_dynamic_do_##reloc function.
30103 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
30105         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
30106         is sufficient, at least on modern CPUs.
30108         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
30110         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
30111         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
30113         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
30114         __expl_finite.
30115         * math/bits/math-finite.h: Add entries for exp.
30116         * math/e_expl.c: Add __*_finite alias.
30117         * sysdeps/i386/fpu/e_exp.S: Likewise.
30118         * sysdeps/i386/fpu/e_expf.S: Likewise.
30119         * sysdeps/i386/fpu/e_expl.c: Likewise.
30120         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30121         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30122         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30123         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30124         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
30125         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30126         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30128         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
30129         is sufficient, at least on modern CPUs.
30131         * ctype/ctype-info.c (__ctype_init): Define.
30132         * include/ctype.h (__ctype_init): Declare.
30133         (__ctype_b_loc): The variable is always initialized.
30134         (__ctype_toupper_loc): Likewise.
30135         (__ctype_tolower_loc): Likewise.
30136         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
30137         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
30139 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
30141         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
30143         * configure.in: Also look in $cxxmachine/include for C++ system
30144         headers.
30146 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30148         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
30149         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
30150         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
30151         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
30152         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
30153         (USE_AS_WMEMCMP): New macro.
30154         Fixing indents.
30155         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
30156         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
30157         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
30158         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
30159         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30160         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
30161         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
30162         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
30163         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
30164         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
30165         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
30166         (USE_AS_WMEMCMP): New macro.
30167         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
30168         * sysdeps/string/test-memcmp.c: Update.
30169         Fix simple_wmemcmp.
30170         Add new tests.
30171         * wcsmbs/wmemcmp.c: Update.
30172         (WMEMCMP): New macro.
30173         Fix overflow bug.
30175 2011-10-12  Andreas Jaeger  <aj@suse.de>
30177         [BZ #13268]
30178         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
30180 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
30182         * libio/iofwide.c (do_length): Avoid warning.
30184         * ctype/ctype.h (__isctype_f): Add missing __THROW.
30186 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
30188         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
30190         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
30191         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
30192         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
30193         * sysdeps/i386/i686/fpu/e_log.S: New file.
30194         * sysdeps/i386/i686/fpu/e_logf.S: New file.
30195         * sysdeps/i386/i686/fpu/e_logl.S: New file.
30197         * ctype/ctype.h: Add support for inlined isXXX functions when
30198         compiling C++ code.
30200 2011-10-14  Andreas Schwab  <schwab@redhat.com>
30202         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30204         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
30206 2011-10-13  Roland McGrath  <roland@hack.frob.com>
30208         [BZ #13291]
30209         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
30211 2011-10-13  Andreas Schwab  <schwab@redhat.com>
30213         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
30214         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
30215         feraiseexcept.
30217         * sysdeps/x86_64/memrchr.S: Check for zero size.
30219         * string/stratcliff.c: Add memrchr tests.
30221 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30223         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30224         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
30225         rawmemchr-sse2 rawmemchr-sse2-bsf.
30226         * sysdeps/i386/i686/multiarch/memchr.S: New file.
30227         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
30228         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
30229         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
30230         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
30231         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
30232         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
30233         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
30234         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
30235         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
30236         * string/memrchr.c (MEMRCHR): New macro.
30238 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
30240         Add integration with gcc's -ffinite-math-only and optimize wrapper
30241         functions in libm.
30242         * Versions.def: Define GLIBC_2.15 version for libm.
30243         * math/Makefile (headers): Add bits/math-finite.h.
30244         * math/bits/math-finite.h: New file.
30245         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
30246         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
30247         * math/e_acoshl.c: Add __*_finite alias.
30248         * math/e_acosl.c: Likewise.
30249         * math/e_asinl.c: Likewise.
30250         * math/e_atan2l.c: Likewise.
30251         * math/e_atanhl.c: Likewise.
30252         * math/e_coshl.c: Likewise.
30253         * math/e_exp10.c: Likewise.
30254         * math/e_exp10f.c: Likewise.
30255         * math/e_exp10l.c: Likewise.
30256         * math/e_exp2l.c: Likewise.
30257         * math/e_fmodl.c: Likewise.
30258         * math/e_gammal_r.c: Likewise.
30259         * math/e_hypotl.c: Likewise.
30260         * math/e_j0l.c: Likewise.
30261         * math/e_j1l.c: Likewise.
30262         * math/e_jnl.c: Likewise.
30263         * math/e_lgammal_r.c: Likewise.
30264         * math/e_log10l.c: Likewise.
30265         * math/e_log2l.c: Likewise.
30266         * math/e_logl.c: Likewise.
30267         * math/e_powl.c: Likewise.
30268         * math/e_sinhl.c: Likewise.
30269         * math/e_sqrtl.c: Likewise.
30270         * math/e_scalb.c: Completely rewritten and optimized.
30271         * math/e_scalbf.c: Likewise.
30272         * math/e_scalbl.c: Likewise.
30273         * math/w_acos.c: Likewise.
30274         * math/w_acosf.c: Likewise.
30275         * math/w_acosl.c: Likewise.
30276         * math/w_acosh.c: Likewise.
30277         * math/w_acoshf.c: Likewise.
30278         * math/w_acoshl.c: Likewise.
30279         * math/w_asin.c: Likewise.
30280         * math/w_asinf.c: Likewise.
30281         * math/w_asinl.c: Likewise.
30282         * math/w_atan2.c: Likewise.
30283         * math/w_atan2f.c: Likewise.
30284         * math/w_atan2l.c: Likewise.
30285         * math/w_atanh.c: Likewise.
30286         * math/w_atanhf.c: Likewise.
30287         * math/w_atanhl.c: Likewise.
30288         * math/w_exp10.c: Likewise.
30289         * math/w_exp10f.c: Likewise.
30290         * math/w_exp10l.c: Likewise.
30291         * math/w_fmod.c: Likewise.
30292         * math/w_fmodf.c: Likewise.
30293         * math/w_fmodl.c: Likewise.
30294         * math/w_j0.c: Likewise.
30295         * math/w_j0f.c: Likewise.
30296         * math/w_j0l.c: Likewise.
30297         * math/w_j1.c: Likewise.
30298         * math/w_j1f.c: Likewise.
30299         * math/w_j1l.c: Likewise.
30300         * math/w_jn.c: Likewise.
30301         * math/w_jnf.c: Likewise.
30302         * math/w_log.c: Likewise.
30303         * math/w_logf.c: Likewise.
30304         * math/w_logl.c: Likewise.
30305         * math/w_log10.c: Likewise.
30306         * math/w_log10f.c: Likewise.
30307         * math/w_log10l.c: Likewise.
30308         * math/w_log2.c: Likewise.
30309         * math/w_log2f.c: Likewise.
30310         * math/w_log2l.c: Likewise.
30311         * math/w_pow.c: Likewise.
30312         * math/w_powf.c: Likewise.
30313         * math/w_powl.c: Likewise.
30314         * math/w_remainder.c: Likewise.
30315         * math/w_remainderf.c: Likewise.
30316         * math/w_remainderl.c: Likewise.
30317         * math/w_scalb.c: Likewise.
30318         * math/w_scalbf.c: Likewise.
30319         * math/w_scalbl.c: Likewise.
30320         * math/w_sqrt.c: Likewise.
30321         * math/w_sqrtf.c: Likewise.
30322         * math/w_sqrtl.c: Likewise.
30323         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
30324         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
30325         used.
30326         * math/math_private.h: Declare __kernel_standard_f.
30327         * math/w_cosh.c: Remove cruft and optimize a bit.
30328         * math/w_coshf.c: Likewise.
30329         * math/w_coshl.c: Likewise.
30330         * math/w_exp2.c: Likewise.
30331         * math/w_exp2f.c: Likewise.
30332         * math/w_exp2l.c: Likewise.
30333         * math/w_hypot.c: Likewise.
30334         * math/w_hypotf.c: Likewise.
30335         * math/w_hypotl.c: Likewise.
30336         * math/w_lgamma.c: Likewise.
30337         * math/w_lgamma_r.c: Likewise.
30338         * math/w_lgammaf.c: Likewise.
30339         * math/w_lgammaf_r.c: Likewise.
30340         * math/w_lgammal.c: Likewise.
30341         * math/w_lgammal_r.c: Likewise.
30342         * math/w_sinh.c: Likewise.
30343         * math/w_sinhf.c: Likewise.
30344         * math/w_sinhl.c: Likewise.
30345         * math/w_tgamma.c: Likewise.
30346         * math/w_tgammaf.c: Likewise.
30347         * math/w_tgammal.c: Likewise.
30348         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30349         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30350         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
30351         Minor optimizations.  Pretty printing.  Remove cruft.
30352         * sysdeps/i386/fpu/e_acosf.S: Likewise.
30353         * sysdeps/i386/fpu/e_acosh.S: Likewise.
30354         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30355         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30356         * sysdeps/i386/fpu/e_acosl.c: Likewise.
30357         * sysdeps/i386/fpu/e_asin.S: Likewise.
30358         * sysdeps/i386/fpu/e_asinf.S: Likewise.
30359         * sysdeps/i386/fpu/e_atan2.S: Likewise.
30360         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
30361         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
30362         * sysdeps/i386/fpu/e_atanh.S: Likewise.
30363         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30364         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30365         * sysdeps/i386/fpu/e_exp10.S: Likewise.
30366         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
30367         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
30368         * sysdeps/i386/fpu/e_exp2.S: Likewise.
30369         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
30370         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
30371         * sysdeps/i386/fpu/e_fmod.S: Likewise.
30372         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
30373         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
30374         * sysdeps/i386/fpu/e_hypot.S: Likewise.
30375         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
30376         * sysdeps/i386/fpu/e_log.S: Likewise.
30377         * sysdeps/i386/fpu/e_log10.S: Likewise.
30378         * sysdeps/i386/fpu/e_log10f.S: Likewise.
30379         * sysdeps/i386/fpu/e_log10l.S: Likewise.
30380         * sysdeps/i386/fpu/e_log2.S: Likewise.
30381         * sysdeps/i386/fpu/e_log2f.S: Likewise.
30382         * sysdeps/i386/fpu/e_log2l.S: Likewise.
30383         * sysdeps/i386/fpu/e_logf.S: Likewise.
30384         * sysdeps/i386/fpu/e_logl.S: Likewise.
30385         * sysdeps/i386/fpu/e_pow.S: Likewise.
30386         * sysdeps/i386/fpu/e_powf.S: Likewise.
30387         * sysdeps/i386/fpu/e_powl.S: Likewise.
30388         * sysdeps/i386/fpu/e_remainder.S: Likewise.
30389         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
30390         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
30391         * sysdeps/i386/fpu/e_scalb.S: Likewise.
30392         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30393         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30394         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
30395         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
30396         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
30397         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30398         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30399         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30400         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30401         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30402         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30403         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30404         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30405         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30406         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30407         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30408         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30409         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30410         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30411         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30412         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30413         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30414         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30415         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30416         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30417         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30418         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30419         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30420         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30421         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30422         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30423         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30424         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30425         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
30426         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30427         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30428         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30429         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30430         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30431         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30432         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30433         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30434         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30435         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30436         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30437         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30438         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30439         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30440         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30441         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30442         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30443         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30444         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30445         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30446         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
30447         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30448         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30449         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30450         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30451         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30452         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30453         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30454         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30455         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30456         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30457         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30458         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30459         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30460         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30461         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30462         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30463         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30464         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30465         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
30466         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30467         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30468         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30469         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30470         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30471         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30472         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30473         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30474         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30475         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30476         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30477         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30478         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30479         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
30480         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30481         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30482         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30483         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30484         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30485         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30486         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30487         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30488         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30489         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30490         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
30491         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30492         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30493         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30494         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
30495         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
30496         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
30497         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
30498         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
30499         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
30500         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
30501         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30502         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30503         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30504         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30505         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
30506         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30507         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
30508         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
30509         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
30510         (__isnanf): Likewise.
30511         (__isinf_ns): Likewise.
30512         (__isinf_nsf): Likewise.
30513         (__finite): Likewise.
30514         (__finitef): Likewise.
30515         (__ieee754_sqrt): Define as macro.
30516         (__ieee754_sqrtf): Define as macro.
30517         (__ieee754_sqrtl): Define as macro.
30518         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
30519         inlined copy.
30520         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
30521         __FINITE_MATH_ONLY__ consistent.
30522         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
30524 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
30526         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
30527         of rawmemchr.
30529         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
30531 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
30533         * po/ja.po: Update from translation team.
30535 2011-10-08  Roland McGrath  <roland@hack.frob.com>
30537         * locale/programs/locarchive.c (prepare_address_space): New function.
30538         (create_archive, enlarge_archive, open_archive): Use it.
30540         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
30541         inside [SHARED], where it is used.
30543         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
30545         * nss/getent.c (netgroup_keys): Remove unused variable.
30546         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30548 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
30550         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
30551         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
30552         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
30553         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
30554         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
30555         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
30556         * math/Makefile (libm-calls): Add s_isinf_ns.
30557         * math/divtc3.c: Use __isinf_nsl instead of isinf.
30558         * math/multc3.c: Likewise.
30559         * math/s_casin.c: Likewise.
30560         * math/s_casinf.c: Likewise.
30561         * math/s_casinl.c: Likewise.
30562         * math/s_ccos.c: Likewise.
30563         * math/s_ccosf.c: Likewise.
30564         * math/s_ccosl.c: Likewise.
30565         * math/s_ctan.c: Likewise.
30566         * math/s_ctanf.c: Likewise.
30567         * math/s_ctanh.c: Likewise.
30568         * math/s_ctanhf.c: Likewise.
30569         * math/s_ctanhl.c: Likewise.
30570         * math/s_ctanl.c: Likewise.
30571         * math/w_fmod.c: Likewise.
30572         * math/w_fmodf.c: Likewise.
30573         * math/w_fmodl.c: Likewise.
30574         * math/w_remainder.c: Likewise.
30575         * math/w_remainderf.c: Likewise.
30576         * math/w_remainderl.c: Likewise.
30577         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
30578         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
30579         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
30580         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
30581         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
30582         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
30583         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
30584         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
30586         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
30587         of the number.
30588         * stdio-common/printf_fphex.c: Likewise.
30589         * stdio-common/printf_size.c: Likewise.
30591         * math/e_exp10.c: Include math_private.h using <...> not "...".
30592         * math/e_exp10f.c: Likewise.
30593         * math/e_exp10l.c: Likewise.
30594         * math/e_exp2l.c: Likewise.
30595         * math/e_j0l.c: Likewise.
30596         * math/e_j1l.c: Likewise.
30597         * math/e_jnl.c: Likewise.
30598         * math/e_lgammal_r.c: Likewise.
30599         * math/e_rem_pio2l.c: Likewise.
30600         * math/e_scalb.c: Likewise.
30601         * math/e_scalbf.c: Likewise.
30602         * math/e_scalbl.c: Likewise.
30603         * math/k_cosl.c: Likewise.
30604         * math/k_sinl.c: Likewise.
30605         * math/k_tanl.c: Likewise.
30606         * math/s_cacoshf.c: Likewise.
30607         * math/s_catan.c: Likewise.
30608         * math/s_catanf.c: Likewise.
30609         * math/s_catanh.c: Likewise.
30610         * math/s_catanhf.c: Likewise.
30611         * math/s_catanhl.c: Likewise.
30612         * math/s_catanl.c: Likewise.
30613         * math/s_ccosh.c: Likewise.
30614         * math/s_ccoshf.c: Likewise.
30615         * math/s_ccoshl.c: Likewise.
30616         * math/s_cexp.c: Likewise.
30617         * math/s_cexpf.c: Likewise.
30618         * math/s_cexpl.c: Likewise.
30619         * math/s_clog.c: Likewise.
30620         * math/s_clog10.c: Likewise.
30621         * math/s_clog10f.c: Likewise.
30622         * math/s_clog10l.c: Likewise.
30623         * math/s_clogf.c: Likewise.
30624         * math/s_clogl.c: Likewise.
30625         * math/s_csin.c: Likewise.
30626         * math/s_csinf.c: Likewise.
30627         * math/s_csinh.c: Likewise.
30628         * math/s_csinhf.c: Likewise.
30629         * math/s_csinhl.c: Likewise.
30630         * math/s_csinl.c: Likewise.
30631         * math/s_csqrt.c: Likewise.
30632         * math/s_csqrtf.c: Likewise.
30633         * math/s_csqrtl.c: Likewise.
30634         * math/s_ctan.c: Likewise.
30635         * math/s_ctanf.c: Likewise.
30636         * math/s_ctanh.c: Likewise.
30637         * math/s_ctanhf.c: Likewise.
30638         * math/s_ctanhl.c: Likewise.
30639         * math/s_ctanl.c: Likewise.
30640         * math/s_ldexp.c: Likewise.
30641         * math/s_ldexpf.c: Likewise.
30642         * math/s_ldexpl.c: Likewise.
30643         * math/s_significand.c: Likewise.
30644         * math/s_significandf.c: Likewise.
30645         * math/s_significandl.c: Likewise.
30646         * math/w_acos.c: Likewise.
30647         * math/w_acosf.c: Likewise.
30648         * math/w_acosh.c: Likewise.
30649         * math/w_acoshf.c: Likewise.
30650         * math/w_acoshl.c: Likewise.
30651         * math/w_acosl.c: Likewise.
30652         * math/w_asin.c: Likewise.
30653         * math/w_asinf.c: Likewise.
30654         * math/w_asinl.c: Likewise.
30655         * math/w_atan2.c: Likewise.
30656         * math/w_atan2f.c: Likewise.
30657         * math/w_atan2l.c: Likewise.
30658         * math/w_atanh.c: Likewise.
30659         * math/w_atanhf.c: Likewise.
30660         * math/w_atanhl.c: Likewise.
30661         * math/w_cosh.c: Likewise.
30662         * math/w_coshf.c: Likewise.
30663         * math/w_coshl.c: Likewise.
30664         * math/w_dremf.c: Likewise.
30665         * math/w_exp10.c: Likewise.
30666         * math/w_exp10f.c: Likewise.
30667         * math/w_exp10l.c: Likewise.
30668         * math/w_exp2.c: Likewise.
30669         * math/w_exp2f.c: Likewise.
30670         * math/w_fmod.c: Likewise.
30671         * math/w_fmodf.c: Likewise.
30672         * math/w_fmodl.c: Likewise.
30673         * math/w_hypot.c: Likewise.
30674         * math/w_hypotf.c: Likewise.
30675         * math/w_hypotl.c: Likewise.
30676         * math/w_j0.c: Likewise.
30677         * math/w_j0f.c: Likewise.
30678         * math/w_j0l.c: Likewise.
30679         * math/w_j1.c: Likewise.
30680         * math/w_j1f.c: Likewise.
30681         * math/w_j1l.c: Likewise.
30682         * math/w_jn.c: Likewise.
30683         * math/w_jnf.c: Likewise.
30684         * math/w_jnl.c: Likewise.
30685         * math/w_lgamma.c: Likewise.
30686         * math/w_lgamma_r.c: Likewise.
30687         * math/w_lgammaf.c: Likewise.
30688         * math/w_lgammaf_r.c: Likewise.
30689         * math/w_lgammal.c: Likewise.
30690         * math/w_lgammal_r.c: Likewise.
30691         * math/w_log.c: Likewise.
30692         * math/w_log10.c: Likewise.
30693         * math/w_log10f.c: Likewise.
30694         * math/w_log10l.c: Likewise.
30695         * math/w_log2.c: Likewise.
30696         * math/w_log2f.c: Likewise.
30697         * math/w_log2l.c: Likewise.
30698         * math/w_logf.c: Likewise.
30699         * math/w_logl.c: Likewise.
30700         * math/w_pow.c: Likewise.
30701         * math/w_powf.c: Likewise.
30702         * math/w_powl.c: Likewise.
30703         * math/w_remainder.c: Likewise.
30704         * math/w_remainderf.c: Likewise.
30705         * math/w_remainderl.c: Likewise.
30706         * math/w_scalb.c: Likewise.
30707         * math/w_scalbf.c: Likewise.
30708         * math/w_scalbl.c: Likewise.
30709         * math/w_sinh.c: Likewise.
30710         * math/w_sinhf.c: Likewise.
30711         * math/w_sinhl.c: Likewise.
30712         * math/w_sqrt.c: Likewise.
30713         * math/w_sqrtf.c: Likewise.
30714         * math/w_sqrtl.c: Likewise.
30715         * math/w_tgamma.c: Likewise.
30716         * math/w_tgammaf.c: Likewise.
30717         * math/w_tgammal.c: Likewise.
30719         * po/ja.po: Update from translation team.
30721 2011-09-29  Andreas Jaeger  <aj@suse.de>
30723         [BZ #13179]
30724         * sunrpc/netname.c (netname2host): Fix logic.
30726         [BZ #6779]
30727         [BZ #6783]
30728         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
30729         correctly.
30730         * math/w_remainder.c (__remainder): Likewise.
30731         * math/w_remainderf.c (__remainderf): Likewise.
30732         * math/libm-test.inc (remainder_test): Add test cases.
30734 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30736         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
30737         sdiv_qrnnd.
30739 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
30741         * string/test-memcmp.c: Avoid unncessary #defines.
30742         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30744 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30746         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
30747         Use new sse2 version for core i3 - i7 as it's faster
30748         than sse42 version.
30749         (bit_Prefer_PMINUB_for_stringop): New.
30750         * sysdeps/x86_64/rawmemchr.S: Update.
30751         Replace with faster SSE2 version.
30752         * sysdeps/x86_64/memrchr.S: New file.
30753         * sysdeps/x86_64/memchr.S: Update.
30754         Replace with faster SSE2 version.
30756 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
30758         * elf/dl-load.c (lose): Add cast to avoid warning.
30760 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
30762         * po/ca.po: Update from translation team.
30764         * inet/getnetgrent_r.c: Hook up nscd.
30765         * nscd/Makefile (routines): Add nscd_netgroup.
30766         (nscd-modules): Add netgroupcache.
30767         (CFLAGS-netgroupcache.c): Define.
30768         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
30769         (cache_search): Add const to second parameter.
30770         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
30771         INNETGR.
30772         (dbs): Add netgrdb entry.
30773         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
30774         (verify_persistent_db): Handle netgrdb.
30775         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
30776         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
30777         GETFDNETGR.
30778         (netgroup_response_header): Define.
30779         (innetgroup_response_header): Define.
30780         (datahead): Add netgroup_response_header and innetgroup_response_header
30781         elements.
30782         * nscd/nscd.conf: Add entries for netgroup cache.
30783         * nscd/nscd.h (dbtype): Add netgrdb.
30784         (_PATH_NSCD_NETGROUP_DB): Define.
30785         (netgroup_iov_disabled): Declare.
30786         (xmalloc, xcalloc, xrealloc): Move declarations here.
30787         (cache_search): Adjust prototype.
30788         Add netgroup-related prototypes.
30789         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
30790         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
30791         (__nscd_innetgr): Declare.
30792         * nscd/selinux.c (perms): Use access_vector_t as element type and
30793         add netgroup-related initializers.
30794         * nscd/netgroupcache.c: New file.
30795         * nscd/nscd_netgroup.c: New file.
30796         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
30797         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
30798         For four parameters use innetgr.
30799         * nss/nss_files/files-init.c: Add definition and callback for netgr.
30800         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
30801         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
30802         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
30804         * nscd/connections.c (register_traced_file): Don't register file
30805         for disabled databases.
30807 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
30809         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
30811         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
30812         from tree and freeing node.
30814 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
30816         * nss/nsswitch.c (__nss_database_lookup): Handle
30817         nss_parse_service_list out of memory case.
30819 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
30821         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
30822         out of memory case.
30824 2011-10-04  Andreas Schwab  <schwab@redhat.com>
30826         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
30827         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
30828         pass it down.
30829         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
30830         elf_machine_rela, elf_machine_lazy_rel.
30831         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
30832         (ELF_DYNAMIC_DO_REL): Likewise.
30833         (ELF_DYNAMIC_DO_RELA): Likewise.
30834         (ELF_DYNAMIC_RELOCATE): Likewise.
30835         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
30836         to ELF_DYNAMIC_DO_REL.
30837         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
30838         (dl_main): In trace mode always set __RTLD_NOIFUNC.
30839         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
30840         elf_machine_rela.
30841         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
30842         skip_ifunc, don't call ifunc function if non-zero.
30843         (elf_machine_rela): Likewise.
30844         (elf_machine_lazy_rel): Likewise.
30845         (elf_machine_lazy_rela): Likewise.
30846         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
30847         (elf_machine_lazy_rel): Likewise.
30848         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30849         Likewise.
30850         (elf_machine_lazy_rel): Likewise.
30851         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30852         Likewise.
30853         (elf_machine_lazy_rel): Likewise.
30854         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
30855         (elf_machine_lazy_rel): Likewise.
30856         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
30857         (elf_machine_lazy_rel): Likewise.
30858         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30859         (elf_machine_lazy_rel): Likewise.
30860         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30861         (elf_machine_lazy_rel): Likewise.
30862         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30863         (elf_machine_lazy_rel): Likewise.
30864         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30865         (elf_machine_lazy_rel): Likewise.
30867 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
30869         * nss/nss_files/files-init.c (_nss_files_init): Use static
30870         initialization for all the *_traced_file variables.
30872 2011-09-28  Andreas Schwab  <schwab@redhat.com>
30874         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30876 2011-09-27  Roland McGrath  <roland@hack.frob.com>
30878         [BZ #13226]
30879         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
30881 2011-09-27  Andreas Schwab  <schwab@redhat.com>
30883         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30884         Reread the line before reparsing it.
30886 2011-09-26  Andreas Schwab  <schwab@redhat.com>
30888         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
30890 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
30891             Maxim Kuvyrkov  <maxim@codesourcery.com>
30892             Joseph Myers  <joseph@codesourcery.com>
30894         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
30895         if needed for __stack_chk_guard.
30897 2011-09-19  Roland McGrath  <roland@hack.frob.com>
30899         * sysdeps/posix/spawni.c (script_execute): Always define it.
30900         It will be optimized away if unused.
30901         (maybe_script_execute): New function.
30902         (__spawni): Call it.
30904         * Makerules: Don't include tls.make.
30905         (config-tls): Always set to thread.
30906         * tls.make.c: File removed.
30908 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
30910         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
30911         * config.make.in (CPPFLAGS-config): New substituted variable.
30913 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
30915         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
30917         [BZ #13192]
30918         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
30919         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
30921 2011-09-15  Roland McGrath  <roland@hack.frob.com>
30923         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
30924         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
30925         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30926         (CALL_FAIL): Likewise.
30927         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
30928         (CALL_FAIL): Macro removed.
30929         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
30931 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
30933         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
30934         for __FINITE_MATH_ONLY__ == 1.
30936 2011-09-15  Andreas Schwab  <schwab@redhat.com>
30938         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
30939         __ieee754_sqrt instead of sqrt.
30940         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
30941         __ieee754_sqrtf instead of sqrtf.
30942         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
30943         __floorf instead of floorf.
30944         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
30945         __floorf, __truncf instead of floorf, truncf.
30947 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
30949         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
30951         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
30952         __extern_always_inline.
30953         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
30954         32-bit.
30956 2011-09-14  Andreas Schwab  <schwab@redhat.com>
30958         * elf/rtld.c (dl_main): Also relocate in dependency order when
30959         doing symbol dependency testing.
30961 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
30963         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30964         Always define `refsym'.
30966 2011-09-13  Andreas Schwab  <schwab@redhat.com>
30968         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
30969         (__FD_ELT): Renamed from __FDELT.
30970         * misc/bits/select2.h (__FD_ELT): Likewise.
30971         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
30972         __FD_MASK instead of __FDELT, __FDMASK.
30973         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30974         Likewise.
30975         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30976         Likewise.
30978         * elf/Makefile (gen-ldd): Fix pattern.
30980         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
30981         (init_tls): Likewise.
30983 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
30985         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
30987 2011-09-12  Andreas Schwab  <schwab@redhat.com>
30989         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
30990         `struct cmsghdr *' instead of `void *'.
30991         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
30992         Likewise.
30994 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
30996         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
30997         if non-absolute.
30998         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
30999         ldd_rewrite_script.
31001 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
31003         * configure.in: Remove --with-tls option.
31004         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
31005         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
31006         out in case it is missing.
31007         * sysdeps/ia64/elf/configure.in: Likewise.
31008         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
31009         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
31010         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
31011         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
31012         * sysdeps/sh/elf/configure.in: Likewise.
31013         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
31014         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31015         * sysdeps/x86_64/elf/configure.in: Likewise.
31016         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
31017         * sysdeps/mach/hurd/tls.h: Likewise.
31019         [BZ #13067]
31020         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
31022         [BZ #13090]
31023         * configure.in: Fix use of AC_INIT.
31025         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
31027 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
31029         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
31030         __set_errno.
31031         * malloc/hooks.c: Likewise.
31033         [BZ #11929]
31034         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
31035         variables statically.
31036         (narenas): Initialize.
31037         (list_lock): Initialize.
31038         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
31039         initializtion of main_arena and list_lock.  Small cleanups.
31040         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
31041         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
31042         Add initializers to main_arena and mp_.
31043         (malloc_state): Remove pagesize member.  Change all users to use
31044         GLRO(dl_pagesize).
31046         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
31047         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
31048         is always initialized.
31050         * malloc/malloc.c: Removed unused configurations and dead code.
31051         * malloc/arena.c: Likewise.
31052         * malloc/hooks.c: Likewise.
31053         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
31055         * include/tls.h: Removed.  USE___THREAD must always be defined.
31056         * bits/libc-tsd.h: Don't handle !USE___THREAD.
31057         * elf/dl-libc.c: Likewise.
31058         * elf/dl-tsd.c: Likewise.
31059         * include/errno.h: Likewise.
31060         * include/netdb.h: Likewise.
31061         * include/resolv.h: Likewise.
31062         * inet/herrno-loc.c: Likewise.
31063         * inet/herrno.c: Likewise.
31064         * malloc/arena.c: Likewise.
31065         * malloc/hooks.c: Likewise.
31066         * malloc/malloc.c: Likewise.
31067         * resolv/res-state.c: Likewise.
31068         * resolv/res_libc.c: Likewise.
31069         * sysdeps/i386/dl-machine.h: Likewise.
31070         * sysdeps/ia64/dl-machine.h: Likewise.
31071         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
31072         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31073         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
31074         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
31075         * sysdeps/sh/dl-machine.h: Likewise.
31076         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31077         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31078         * sysdeps/unix/i386/sysdep.S: Likewise.
31079         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31080         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
31081         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
31082         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31083         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
31084         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31085         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31086         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31087         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31088         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31089         * sysdeps/unix/x86_64/sysdep.S: Likewise.
31090         * sysdeps/x86_64/dl-machine.h: Likewise.
31091         * tls.make.c: Likewise.
31093         * configure.in: Remove --with-__thread option.  Make tests for
31094         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
31095         tls_model attribute fail if no support is available.  Remove
31096         USE_IN_LIBIO.
31097         * Makeconfig: Adjust for dropped configure option.  All features are
31098         now mandatory.
31099         * Makerules: Likewise.
31100         * Versions.def: Likewise.
31101         * argp/argp-fmtstream.c: Likewise.
31102         * argp/argp-fmtstream.h: Likewise.
31103         * argp/argp-help.c: Likewise.
31104         * assert/assert.c: Likewise.
31105         * config.h.in: Likewise.
31106         * config.make.in: Likewise.
31107         * configure: Likewise.
31108         * configure.in: Likewise.
31109         * csu/Versions: Likewise.
31110         * csu/init.c: Likewise.
31111         * elf/tst-audit2.c: Likewise.
31112         * elf/tst-tls10.c: Likewise.
31113         * elf/tst-tls10.h: Likewise.
31114         * elf/tst-tls11.c: Likewise.
31115         * elf/tst-tls12.c: Likewise.
31116         * elf/tst-tls14.c: Likewise.
31117         * elf/tst-tlsmod11.c: Likewise.
31118         * elf/tst-tlsmod12.c: Likewise.
31119         * elf/tst-tlsmod13.c: Likewise.
31120         * elf/tst-tlsmod13a.c: Likewise.
31121         * elf/tst-tlsmod14a.c: Likewise.
31122         * elf/tst-tlsmod15b.c: Likewise.
31123         * elf/tst-tlsmod16a.c: Likewise.
31124         * elf/tst-tlsmod16b.c: Likewise.
31125         * elf/tst-tlsmod7.c: Likewise.
31126         * elf/tst-tlsmod8.c: Likewise.
31127         * elf/tst-tlsmod9.c: Likewise.
31128         * gmon/gmon.c: Likewise.
31129         * grp/fgetgrent_r.c: Likewise.
31130         * grp/putgrent.c: Likewise.
31131         * hurd/fopenport.c: Likewise.
31132         * include/libc-symbols.h: Likewise.
31133         * include/tls.h: Likewise.
31134         * intl/gettextP.h: Likewise.
31135         * intl/loadinfo.h: Likewise.
31136         * locale/global-locale.c: Likewise.
31137         * locale/localeinfo.h: Likewise.
31138         * mach/devstream.c: Likewise.
31139         * malloc/arena.c: Likewise.
31140         * malloc/set-freeres.c: Likewise.
31141         * misc/err.c: Likewise.
31142         * misc/getttyent.c: Likewise.
31143         * misc/mntent_r.c: Likewise.
31144         * posix/getopt.c: Likewise.
31145         * posix/wordexp.c: Likewise.
31146         * pwd/fgetpwent_r.c: Likewise.
31147         * resolv/Versions: Likewise.
31148         * resolv/res_hconf.c: Likewise.
31149         * shadow/fgetspent_r.c: Likewise.
31150         * shadow/putspent.c: Likewise.
31151         * stdio-common/printf_fphex.c: Likewise.
31152         * stdio-common/tmpfile.c: Likewise.
31153         * stdlib/abort.c: Likewise.
31154         * stdlib/fmtmsg.c: Likewise.
31155         * sunrpc/auth_unix.c: Likewise.
31156         * sunrpc/clnt_perr.c: Likewise.
31157         * sunrpc/clnt_tcp.c: Likewise.
31158         * sunrpc/clnt_udp.c: Likewise.
31159         * sunrpc/clnt_unix.c: Likewise.
31160         * sunrpc/openchild.c: Likewise.
31161         * sunrpc/svc_simple.c: Likewise.
31162         * sunrpc/svc_tcp.c: Likewise.
31163         * sunrpc/svc_udp.c: Likewise.
31164         * sunrpc/svc_unix.c: Likewise.
31165         * sunrpc/xdr.c: Likewise.
31166         * sunrpc/xdr_array.c: Likewise.
31167         * sunrpc/xdr_rec.c: Likewise.
31168         * sunrpc/xdr_ref.c: Likewise.
31169         * sunrpc/xdr_stdio.c: Likewise.
31171 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
31173         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31175 2011-07-03  Andreas Jaeger  <aj@suse.de>
31177         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
31178         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
31179         regenerate with gen-libm-tests.pl.
31181 2010-05-12  Petr Baudis  <pasky@suse.cz>
31183         [BZ #11589]
31184         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
31185         around j0() zero points by switching to j1().
31186         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31187         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31188         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31189         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31191 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
31193         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
31194         instead of 0.
31195         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
31196         instead of 0.
31197         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31198         Patch in part by Pavel Roskin <proski@gnu.org>.
31200         [BZ #13138]
31201         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
31202         realloc.
31203         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
31204         Free memory block if necessary.
31206         [BZ #12847]
31207         * libio/genops.c (INTDEF): For string streams the _lock pointer can
31208         be NULL.  Don't lock in this case.
31210 2011-09-09  Roland McGrath  <roland@hack.frob.com>
31212         * elf/elf.h (ELFOSABI_GNU): New macro.
31213         (ELFOSABI_LINUX): Define to that.
31215 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
31217         * string/strncat.c (strncat): Undef the symbol in case it has been
31218         defined in bits/string.h.
31220 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
31222         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
31224         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
31225         link map.
31227 2011-08-17  Andreas Jaeger  <aj@suse.de>
31229         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
31231 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
31232             Ian Lance Taylor  <iant@google.com>
31234         * math/libm-test.inc (lround_test): New testcase.
31235         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
31237 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
31239         * Makefile: Remove support for automatic cvs check-ins.
31240         * Makerules: Likewise.
31241         * config.make.in: Likewise.
31242         * configure.in: Likewise.
31243         * intl/Makefile: Likewise.
31244         * locale/Makefile: Likewise.
31245         * po/Makefile: Likewise.
31246         * posix/Makefile: Likewise.
31247         * sysdeps/gnu/Makefile: Likewise.
31248         * sysdeps/mach/hurd/Makefile: Likewise.
31249         * sysdeps/sparc/sparc32/Makefile: Likewise.
31251         [BZ #13118]
31252         * posix/Makefile (bug-regex32-ENV): Define.
31253         Patch by John Stanley <jpsinthemix@verizon.net>.
31255         * misc/Makefile (headers): Add bits/select2.h.
31256         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
31257         * misc/bits/select2.h: New file.
31258         * include/bits/select2.h: New file.
31259         * debug/Makefile (routines): Add fdelt_chk.
31260         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
31261         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
31262         FD_ISSET.
31263         * debug/fdelt_chk.c: New file.
31265         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
31266         * wcsmbs/test-wmemcmp.c: Likewise.
31267         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
31268         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
31270 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31272         * string/Makefile (strop-tests): Add memcmp.
31273         * string/test-wmemcmp.c: New file.
31274         * string/test-memcmp.c: Add wmemcmp support.
31276 2011-09-08  Roland McGrath  <roland@hack.frob.com>
31278         [BZ #13153]
31279         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
31280         2011-07-19 change.
31282         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
31283         garbage value in a __mach_port_mod_refs call in the cases of the
31284         task-self and thread-self ports.
31286 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31288         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
31290 2011-09-08  Andreas Schwab  <schwab@redhat.com>
31292         * elf/dl-load.c (lose): Check for non-null L.
31294 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
31296         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
31298         * elf/dl-libc.c (dlerror_run): Pass back error code from
31299         dl_catch_error.
31301         [BZ #13123]
31302         * elf/dl-load.c (lose): Free l_origin if it is valid.
31304         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
31305         names.
31306         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
31307         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31308         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31309         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31310         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
31311         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
31313 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31315         * sysdeps/powerpc/fpu/e_hypot.c: New file.
31316         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
31317         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
31318         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
31319         * sysdeps/powerpc/fpu/k_cosf.c: New file.
31320         * sysdeps/powerpc/fpu/k_sinf.c: New file.
31321         * sysdeps/powerpc/fpu/s_cosf.c: New file.
31322         * sysdeps/powerpc/fpu/s_sinf.c: New file.
31323         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
31324         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
31326 2011-08-15  Alan Modra  <amodra@gmail.com>
31328         [BZ #13092]
31329         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
31330         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
31331         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
31332         ppc_mcount to static-only-routines.
31333         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
31334         __mcount_internal.
31335         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
31336         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
31338 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
31340         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
31341         for finite and infinity parameters.
31343 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
31345         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
31346         and add nop instructions for throughput optimization.
31347         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31349 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
31351         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
31352         aligned copy for power7 with vector-scalar instructions.
31353         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31355 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
31357         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
31358         AVX check.
31360 2011-09-07  Andreas Schwab  <schwab@redhat.com>
31362         [BZ #13144]
31363         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
31364         last change.
31366 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
31368         * sysdeps/unix/sysv/linux/x86_64/init-first.c
31369         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
31370         syscall wrapper around clock_gettime in __vdso_clock_gettime.
31371         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
31372         clock_gettime.
31374 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
31376         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
31377         Forgot to demangle the pointer.
31379         * sysdeps/i386/sysdep.h: Define atom_text_section.
31380         * sysdeps/x86_64/sysdep.h: Likewise.
31381         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
31382         section with atom_text_section.
31383         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31384         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31385         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
31386         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31387         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
31389         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
31390         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
31391         already be defined.  Change to take two parameters and don't assign
31392         result to variable.  Adjust all users.
31393         Define INTERNAL_GETTIME if not already defined.
31394         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
31395         call.
31396         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
31397         HAVE_CLOCK_GETTIME_VSYSCALL.
31398         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
31400         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
31401         gettimeofday vsyscall, just use time.
31403 2011-09-06  Andreas Schwab  <schwab@redhat.com>
31405         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
31406         <errno.h>.
31408 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
31410         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
31411         syscall on x86-64.
31412         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
31413         syscall.
31414         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
31415         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
31416         syscall if possible.
31418 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
31420         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
31421         e_ident.  Don't pass to find_mapsXX.
31422         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
31424 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31426         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31427         strchr-sse2-no-bsf strrchr-sse2-no-bsf
31428         * sysdeps/x86_64/multiarch/strchr.S: Update.
31429         Check bit_slow_BSF bit.
31430         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31431         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
31432         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
31434 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
31436         [BZ #13134]
31437         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
31438         before glibc 2.15.
31439         (tryshell): Define.
31440         (__spawni): Change last parameter to be flag.  Test
31441         SPAWN_XFLAGS_USE_PATH flag to use path or not.
31442         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
31443         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
31444         * posix/spawni.c: Likewise.
31445         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
31446         * posix/spawnp.c: Likewise.  Change normal version to use
31447         SPAWN_XFLAGS_USE_PATH.
31448         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
31449         SPAWN_XFLAGS_TRY_SHELL.
31451         [BZ #13150]
31452         * posix/glob.h: Remove gcc 1.x support.
31454         [BZ #13068]
31455         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
31457 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31459         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31460         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
31461         strrchr-sse2-bsf
31462         * sysdeps/i386/i686/multiarch/strchr.S: New file.
31463         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
31464         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
31465         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
31466         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
31467         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
31469 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31471         * sysdeps/x86_64/wcscmp.S: New file.
31473         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
31474         wcscmp-c wcscmp-sse2
31475         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
31476         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
31477         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
31478         * wcsmbs/wcscmp.c: Allow renaming.
31480 2011-09-05  David S. Miller  <davem@davemloft.net>
31482         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
31483         stack slot, rather than the struct return pointer slot.
31484         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
31485         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
31486         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
31487         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
31489 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
31491         * po/ja.po: Update from translation team.
31493         [BZ #13144]
31494         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
31495         kernel in 64-bit binaries.
31497 2011-09-01  David S. Miller  <davem@davemloft.net>
31499         * elf/elf.h (HWCAP_SPARC_*): Move to..
31500         * sysdeps/sparc/sysdep.h: this new file and add new values.
31501         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
31502         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
31503         _DL_HWCAP_COUNT to 24.
31504         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31505         entries.
31506         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
31507         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
31508         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
31509         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
31510         instead of magic constants.
31511         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31513 2011-08-31  David S. Miller  <davem@davemloft.net>
31515         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
31516         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
31517         Reimplement to do errno handling inline.
31518         (SYSCALL_ERROR_HANDLER): New macro.
31519         (__SYSCALL_STRING): Do not do errno handling in asm.
31520         (__CLONE_SYSCALL_STRING): Delete.
31521         (__INTERNAL_SYSCALL_STRING): Delete.
31522         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
31523         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
31524         (PSEUDO): Reimplement to do errno handling inline.
31525         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
31526         (SYSCALL_ERROR_HANDLER): New macro.
31527         (__SYSCALL_STRING): Do not do errno handling in asm.
31528         (__CLONE_SYSCALL_STRING): Delete.
31529         (__INTERNAL_SYSCALL_STRING): Delete.
31530         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
31531         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
31532         i386.
31533         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
31534         (inline_syscall*): Add 'err' argument.
31535         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
31536         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
31537         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
31538         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
31540         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
31541         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31543 2011-08-30  Andreas Schwab  <schwab@redhat.com>
31545         * elf/rtld.c (dl_main): Relocate objects in dependency order.
31547 2011-08-29  Jiri Olsa <jolsa@redhat.com>
31549         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
31550         directive.
31552 2011-08-24  David S. Miller  <davem@davemloft.net>
31554         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
31556 2011-08-24  Andreas Schwab  <schwab@redhat.com>
31558         * elf/Makefile: Add rules to build and run unload8 test.
31559         * elf/unload8.c: New file.
31560         * elf/unload8mod1.c: New file.
31561         * elf/unload8mod1x.c: New file.
31562         * elf/unload8mod2.c: New file.
31563         * elf/unload8mod3.c: New file.
31565         * elf/dl-close.c (_dl_close_worker): Reset private search list if
31566         it wasn't used.
31568 2011-08-23  David S. Miller  <davem@davemloft.net>
31570         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
31571         subtract stack bias.
31572         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
31573         %sp not %fp in calculations.
31574         (_JMPBUF_UNWINDS_ADJ): Likewise.
31576         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
31577         (aio_suspend): Call it to force an exception region around the
31578         AIO_MISC_WAIT() invocation.
31580 2011-08-23  Andreas Schwab  <schwab@redhat.com>
31582         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
31583         backslash.
31585 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
31587         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
31588         protection macro.
31589         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
31590         and <dl-machine.h>.
31591         (Elf64_FuncDesc): Remove.
31593 2011-08-22  David S. Miller  <davem@davemloft.net>
31595         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
31596         sigaltstack check, add missing cfi directives.
31597         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
31598         missing cfi directives, and sigaltstack handling.
31600 2011-08-16  Andreas Schwab  <schwab@redhat.com>
31602         [BZ #11724]
31603         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
31604         object is seen twice.
31605         * elf/dl-fini.c (_dl_sort_fini): Likewise.
31607         * elf/Makefile (distribute): Add tst-initorder2.c.
31608         (tests): Add tst-initorder2.
31609         (modules-names): Add tst-initorder2a tst-initorder2b
31610         tst-initorder2c tst-initorder2d.  Add rules to build them.
31611         ($(objpfx)tst-initorder2.out): New rule.
31612         * elf/tst-initorder2.c: New file.
31613         * elf/tst-initorder2.exp: New file.
31615 2011-08-22  Andreas Schwab  <schwab@redhat.com>
31617         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
31619         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
31620         dependencies back to end of function.
31622         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31623         $(elfobjdir)/ld.so.
31625 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
31627         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
31628         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
31629         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
31630         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
31631         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
31632         of __vdso_gettimeofday.
31633         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
31634         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
31635         attribute_hidden.
31636         (_libc_vdso_platform_setup): Remove initialization of
31637         __vdso_gettimeofday and __vdso_time.
31639 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
31641         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
31642         and fgetc_unlocked.
31643         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
31644         getc_unlocked.
31646         * elf/dl-open.c (add_to_global): Report additions to the global scope
31647         for LD_DEBUG=scopes.
31648         (dl_open_worker): Also print scope of newly loaded dependencies.
31649         (_dl_show_scope): Indicate if there is no scope.
31651         [BZ #13114]
31652         * stdio-common/Makefile (tests): Add bug24.
31653         * stdio-common/bug24.c: New file.
31655 2011-08-19  Andreas Jaeger  <aj@suse.de>
31657         [BZ #13114]
31658         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
31659         non-existant file when using close-on-exec mode.
31661 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
31663         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
31664         the very first instruction.
31666         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
31667         the CFI state in the end.
31668         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
31669         inclusion of dl-trampoline.h.
31670         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
31672 2011-08-19  Andreas Schwab  <schwab@redhat.com>
31674         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
31675         expectations for long double.
31677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
31678         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
31680 2011-08-14  David S. Miller  <davem@davemloft.net>
31682         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
31683         artificual limit depends upon the system page size.
31685 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
31687         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
31688         * resolv/Makefile: Define CFLAGS-libresolv.
31690 2011-08-17  Andreas Schwab  <schwab@redhat.com>
31692         * nss/makedb.c (compute_tables): Make variables used in nested
31693         function static.
31695 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
31697         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
31698         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
31699         if buffer was too small.
31701         * elf/pldd.c (main): Attach to all threads in the process.
31702         Rewrite /proc handling to use *at functions.
31704 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
31706         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
31707         specifies first scope to show.
31708         (dl_open_worker): Update callers.  Move printing scope of new
31709         object to before the relocation.
31710         * elf/rtld.c (dl_main): Update _dl_show_scope call.
31711         * sysdeps/generic/ldsodefs.h: Update declaration.
31713         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
31714         string for the scope number.
31716 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
31718         * nscd/servicescache.c (cache_addserv): Make sure written is always
31719         initialized.
31721 2011-08-14  Roland McGrath  <roland@hack.frob.com>
31723         * sysdeps/i386/i486/bits/atomic.h
31724         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
31725         statement expression, so as to suppress "set but not used" warning.
31726         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
31728         * string/strncat.c (STRNCAT): Use prototype definition.
31730         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
31731         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
31732         -Iprograms here.
31733         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
31734         (localedef-modules): Add localedef.
31735         (locale-modules): Add locale.
31737         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
31738         * elf/rtld.c (dl_main): Invert order of assignment in last change,
31739         to avoid a warning.
31741 2011-08-14  David S. Miller  <davem@davemloft.net>
31743         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
31744         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
31746 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
31748         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
31749         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
31750         * elf/rtld.c (dl_main): Set l_name of vDSO.
31751         Call _dl_show_scope when DL_DEBUG_SCOPES.
31752         (process_dl_debug): Recognize scopes flag and also set it for all.
31753         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
31754         Declare _dl_show_scope.
31756         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
31757         (do_dlopen): Pass caller_dlopen to dl_open.
31758         (__libc_dlopen_mode): Initialize caller_dlopen.
31760         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
31761         of libc.  Make tolower call locale-independent.  Optimize a bit by
31762         using isdigit instead of isalnum.
31763         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
31765 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
31767         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
31768         was a dependency or dynamically loaded.
31770 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
31772         * intl/l10nflist.c: Allow architecture-specific pop function.
31773         * sysdeps/x86_64/l10nflist.c: New file.
31775         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
31776         classification.
31778 2011-08-10  Andreas Schwab  <schwab@redhat.com>
31780         * include/dirent.h: Add libc_hidden_proto for scandirat and
31781         scandirat64.  Don't declare __scandirat64.
31782         * dirent/scandirat.c: Add libc_hidden_def.
31783         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
31784         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
31786 2011-08-10  David S. Miller  <davem@davemloft.net>
31788         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
31789         enum.
31790         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31791         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31792         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31794 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
31796         * Versions.def [libc]: Add GLIBC_2.15.
31797         * dirent/Makefile (routines): Add scandirat and scandirat64.
31798         * dirent/Versions [libc]: Export scandirat and scandirat64 for
31799         GLIBC_2.15.
31800         * dirent/dirent.h: Declare scandirat and scandirat64.
31801         * dirent/scandirat.c: New file.
31802         * dirent/scandirat64.c: New file.
31803         * sysdeps/wordsize-64/scandirat.c: New file.
31804         * sysdeps/wordsize-64/scandirat64.c: New file.
31805         * dirent/opendir.c: Define opendirat.
31806         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
31807         using scandirat.
31808         * dirent/scandir64.c: Adjust for scandir.c change.
31809         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
31810         __scandirat64, and __scandir_cancel_handler.
31811         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
31812         additional parameter and use openat instead of open (outside of ld.so).
31813         Add new __opendir as wrapper around __opendirat.
31814         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
31815         here without requiring old scandirat implementation.
31817 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
31819         * dirent/scandir.c (cancel_handler): Renamed to
31820         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
31821         defined.  Adjust users.
31822         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
31823         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
31825 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
31827         * string/test-string.h (IMPL): Use __STRING to expand name and then
31828         stringify it.
31830         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
31831         of cleanups.
31833 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31835         * string/Makefile: Update.
31836         (strop-tests): Append strncat.
31837         * string/test-wcscmp.c: New file.
31838         New comprehensive test for wcscmp.
31839         * string/test-strcmp.c: Update.
31840         (WIDE): New define.
31842 2011-07-22  Andreas Schwab  <schwab@redhat.com>
31844         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
31845         line.
31847 2011-07-26  Andreas Schwab  <schwab@redhat.com>
31849         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31850         encoding to ACE if AI_IDN.
31852 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
31854         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
31855         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
31857 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31859         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
31860         Fix overflow bug in strncat.
31861         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
31863         * string/test-strncat.c: Update.
31864         Add new tests for checking overflow bugs.
31866 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31868         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31869         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
31870         * sysdeps/i386/i686/multiarch/strcat.S: New file.
31871         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
31872         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
31873         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
31874         * sysdeps/i386/i686/multiarch/strncat.S: New file.
31875         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
31876         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
31878         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
31879         (USE_AS_STRCAT): Define.
31880         Add strcat and strncat support.
31881         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31883 2011-07-25  Andreas Schwab  <schwab@redhat.com>
31885         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
31886         __n bigger than INT_MAX+1.
31887         (__strncmp_g): Likewise.
31889 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
31891         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
31892         * libio/stido.h: Likewise.
31894         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
31895         (AF_NFC): Define.
31896         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
31897         (AF_NFC): Define.
31899         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
31900         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31901         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31902         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31903         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31905         [BZ #13021]
31906         * scripts/test-installation.pl: Don't expect libnss_test1 to be
31907         installed.
31909         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
31910         typo.
31911         (_dl_x86_64_save_sse): Likewise.
31913 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
31915         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
31916         OSXSAVE.
31917         (_dl_x86_64_save_sse): Likewise.
31919         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
31921         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
31923 2011-07-21  Andreas Schwab  <schwab@redhat.com>
31925         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
31926         change.
31927         (_dl_x86_64_save_sse): Use correct AVX check.
31929 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31931         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
31932         bug in strncpy/strncat.
31933         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
31935 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
31937         * string/tester.c (test_strcat): Add tests for different alignments
31938         of source and destination.
31939         (test_strncat): Likewise.
31941 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
31943         [BZ #12852]
31944         * posix/glob.c (glob): Check passed in values before using them in
31945         expressions to avoid some overflows.
31946         (glob_in_dir): Likewise.
31948         [BZ #13007]
31949         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
31950         check for AVX enablement so that we don't crash with old kernels and
31951         new hardware.
31952         * elf/tst-audit4.c: Add same checks here.
31953         * elf/tst-audit6.c: Likewise.
31955         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
31957 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
31959         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
31961 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
31963         * po/cs.po: Update from translation team.
31964         * po/bg.po: Likewise.
31966 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
31968         * misc/sys/cdefs.h: Add support for const attribute.
31969         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
31970         to gnu_dev_{major,minor,makedev} functions.
31972 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
31974         * intl/dcigettext.c (get_output_charset): Add missing bracket.
31976 2011-07-20  Andreas Schwab  <schwab@redhat.com>
31978         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
31979         strlen results.
31981 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31983         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
31984         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
31985         register in order to avoid conflicts with the soft frame pointer
31986         being held in r11 when necessary.
31987         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31988         (INTERNAL_VSYSCALL_NCS): Likewise.
31990 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
31992         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
31993         * elf/dl-fini.c (_dl_fini): Adjust caller.
31994         * elf/dl-close.c (_dl_close_worker): Likewise.
31995         * sysdeps/generic/ldsodefs.h: Adjust declaration.
31997 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
31999         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
32000         "aux_cache->nlibs < 0".
32002         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
32003         in the reload-count case.
32005 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32007         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32008         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
32009         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
32010         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
32011         * sysdeps/x86_64/multiarch/strcat.S: New file.
32012         * sysdeps/x86_64/multiarch/strncat.S: New file.
32013         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
32014         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
32015         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
32016         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
32017         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
32018         (USE_AS_STRCAT): Define.
32019         Add strcat and strncat support.
32020         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32021         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32022         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
32023         * string/strncat.c: Update.
32024         (USE_AS_STRNCAT): Define.
32025         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32026         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
32027         and i7.
32028         * sysdeps/x86_64/multiarch/init-arch.h
32029         (bit_Prefer_PMINUB_for_stringop): New.
32030         (index_Prefer_PMINUB_for_stringop): Likewise.
32031         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
32032         bit_Prefer_PMINUB_for_stringop.
32034 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
32036         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
32037         buffer64.
32038         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
32039         of casting of buffer.
32040         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
32041         buffer32 and buffer64.
32042         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
32043         writes instead of casting of buffer.
32044         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
32045         buffer32.
32046         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
32047         casting of buffer.
32049 2011-07-19  Andreas Schwab  <schwab@redhat.com>
32051         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
32053 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
32055         * nscd/nscd.c (termination_handler): Don't do anything for a database
32056         if it has not yet been initialized.
32058 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
32060         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32062 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
32064         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32066 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
32068         * po/nl.po: Update from translation team.
32069         * po/sv.po: Likewise.
32071 2011-07-16  Roland McGrath  <roland@hack.frob.com>
32073         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
32074         now disallowed by GCC.
32076         * configure.in (use-default-link): Default to yes if a test -shared
32077         link meets our qualifications.
32078         * configure: Regenerated.
32080         * config.make.in (output-format): New variable.
32081         * configure.in: Check for ld --print-output-format support.
32082         * configure: Regenerated.
32083         * Makerules ($(common-objpfx)format.lds)
32084         [$(output-format) != unknown]: Just use $(output-format),
32085         instead of the linker-script munging.
32087 2011-07-14  Roland McGrath  <roland@hack.frob.com>
32089         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
32090         of $(common-objpfx)shlib.lds.
32091         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
32093         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
32094         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
32096         * configure.in (-z relro check): Adjust test code to add a large
32097         writable data section after it.
32098         * configure: Regenerated.
32100 2011-07-11  Roland McGrath  <roland@hack.frob.com>
32102         * configure.in (-z relro check): Fix test code to make the variable
32103         truly const.
32104         * configure: Regenerated.
32106 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
32108         * nscd/nscd.h (struct traced_file): Define.
32109         (struct database_dyn): Remove inotify_descr, reset_res, and filename
32110         elements.  Add traced_files.
32111         (inotify_fd): Declare.
32112         (register_traced_file): Declare.
32113         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
32114         (inotify_fd): Export.
32115         (resolv_conf_descr): Remove.
32116         (nscd_init): Move inotify descriptor creation to main.
32117         Don't register files for notification here.
32118         (register_traced_file): New function.
32119         (invalidate_cache): Don't use reset_res to determine whether to call
32120         res_init, go through the list of registered files.
32121         (main_loop_poll): The inotify descriptors are now stored in the
32122         structures for the traced files.
32123         (main_loop_epoll): Likewise
32124         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
32125         to __nss_disable_nscd.
32126         * nscd/cache.c (prune_cache): There is no single inotify descriptor
32127         for a database anymore.  Check the records for all the registered
32128         files instead.
32129         * nss/Makefile (libnss_files-routines): Add files-init.
32130         (libnss_db-routines): Add db-init.
32131         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
32132         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
32133         * nss/nss_db/db-init.c: New file.
32134         * nss/nss_files/files-init.c: New file.
32135         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
32136         __nss_lookup_function.
32137         (__nss_lookup_function): Call nss_load_library.
32138         (nss_load_all_libraries): New function.
32139         (__nss_disable_nscd): Take parameter with callback function for files
32140         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
32141         used for the cached services.
32142         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
32143         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
32144         options for features to all the files in nscd.
32146         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
32148 2011-07-10  Roland McGrath  <roland@hack.frob.com>
32150         * csu/elf-init.c (__libc_csu_init): Comment typo.
32152 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
32154         * po/pl.po: Update from translation team.
32155         * po/ja.po: Likewise.
32156         * po/ru.po: Likewise.
32157         * po/ko.po: Likewise.
32158         * po/fr.po: Likewise.
32160 2011-07-09  Roland McGrath  <roland@hack.frob.com>
32162         * configure.in (.ctors/.dtors header and trailer check):
32163         Use an empirical test on a built program.
32164         * configure: Regenerated.
32166         * configure.in (-z relro check): Use an empirical test on a built DSO.
32167         Detect, but do not require, on ia64.
32168         * configure: Regenerated.
32170         * configure.in (READELF): Find it with AC_CHECK_TOOL.
32171         Update tests that use readelf to use $READELF instead.
32172         * configure: Regenerated.
32174 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
32176         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
32177         if the result is not used.
32179 2011-07-05  Andreas Jaeger  <aj@suse.de>
32181         [BZ#9696]
32182         * stdlib/tst-strtod.c: Add testcase.
32184 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
32186         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
32187         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
32188         The latter has a higher limit.  Take additional parameter to pass to
32189         the new function.
32190         (__pathconf): Pass file to __statfs_link_max.
32191         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
32192         __statfs_link_max.
32193         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
32194         __statfs_link_max.
32196         [BZ #12868]
32197         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
32198         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32199         Handle Lustre.
32200         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
32201         (__statfs_filesize_max): Likewise.
32202         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
32204 2011-07-05  Andreas Jaeger  <aj@suse.de>
32206         * resolv/res_comp.c (dn_skipname): Remove unused variable.
32208 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
32210         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
32211         `status' variable.
32212         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
32213         Likewise.
32215 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
32217         * Makefile (strop-tests): Add strncat.
32218         * string/test-strncat.c: New file.
32220 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
32222         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
32224 2011-06-21  Andreas Jaeger  <aj@suse.de>
32226         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
32227         Copy rule from iconvdata/Makefile.
32229 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
32231         [BZ #12922]
32232         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
32233         but no long options are defined, just return 'W'.
32235 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
32237         [BZ #9696]
32238         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
32240 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
32242         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
32243         netgroups to read.
32244         (innetgr): Likewise.
32246 2011-07-05  Roland McGrath  <roland@hack.frob.com>
32248         * config.make.in (install_root): Default to $(DESTDIR).
32250 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
32252         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
32254 2011-07-02  Roland McGrath  <roland@hack.frob.com>
32256         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
32258         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
32259         containing directory rather than embedding absolute directory names.
32261         * scripts/check-local-headers.sh: Rewritten using awk.
32262         Match by word, not by line.  Print error messages for matches.
32263         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
32265         * Makerules [shlib-lds-flags empty]:
32266         ($(common-objpfx)libc_pic.opts): New target.
32267         ($(common-objpfx)libc_pic.os.clean): New target.
32268         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
32270         * config.make.in (OBJCOPY): New variable.
32271         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
32272         * configure: Regenerated.
32274         * config.make.in (use-default-link): New variable.
32275         * configure.in (use_default_link): Grok --with-default-link to set it.
32276         * configure: Regenerated.
32277         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
32278         (shlib-lds, shlib-lds-flags): Define to empty.
32280         * Makerules (shlib-lds): New variable.
32281         (shlib-lds-flags): New variable.
32282         (build-shlib, build-moduile, build-module-asneeded): Use it.
32283         ($(common-objpfx)libc.so): Use $(shlib-lds).
32284         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
32285         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
32287         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
32288         DT_FLAGS/DT_FLAGS_1 with zero flags.
32290         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
32291         linker script munging.
32293 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
32295         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
32296         as 128-bit value.
32297         * crypt/sha512.c (sha512_process_block): Perform total addition using
32298         128-bit if possible.
32299         (__sha512_finish_ctx): Likewise.
32300         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
32301         as 64-bit value.
32302         * crypt/sha256.c (SWAP64): Define.
32303         (sha256_process_block): Perform total addition using 64-bit if
32304         possible.
32305         (__sha256_finish_ctx): Likewise.
32307 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
32309         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
32310         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32311         * nscd/hstcache.c (cache_addhst): Likewise.
32312         * nscd/grpcache.c (cache_addgr): Likewise.
32313         * nscd/aicache.c (addhstaiX): Likewise
32314         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
32316 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
32318         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
32319         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32320         * nscd/hstcache.c (cache_addhst): Likewise.
32321         * nscd/grpcache.c (cache_addgr): Likewise.
32322         * nscd/aicache.c (addhstaiX): Likewise
32324 2011-07-01  Andreas Schwab  <schwab@redhat.com>
32326         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
32327         domain only when needed.
32329 2011-06-30  Andreas Schwab  <schwab@redhat.com>
32331         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
32332         is always restored.
32334 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
32336         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
32337         are re-adding the entry.
32338         * nscd/servicescache.c (cache_addserv): Likewise.
32340 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
32342         * sysdeps/generic/dl-irel.h: fix protection against multiple
32343         inclusions.
32344         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
32346 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
32348         [BZ #12935]
32349         * malloc/memusage.sh: Fix quoting in message.
32350         * debug/xtrace.sh: Likewise.
32352         * configure.in: Remove support for --experimental-malloc option, make
32353         it the default.
32354         * config.make.in: Likewise.
32355         * malloc/Makefile: Likewise.
32357 2011-06-27  Andreas Schwab  <schwab@redhat.com>
32359         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
32360         two-byte characters.
32362 2011-06-27  Roland McGrath  <roland@hack.frob.com>
32364         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
32365         AC_CACHE_CHECK invocation.
32366         * configure: Regenerated.
32368         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
32370 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
32372         [BZ #12350]
32373         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
32374         bit from old_res_options.
32376         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
32378         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
32379         value type for setfct.
32381 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
32383         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32384         __gettimeofday instead of gettimeofday.
32386 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
32388         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
32390 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
32392         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
32394         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
32395         info.
32397 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
32399         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32400         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32401         strcpy-sse2-unaligned strncpy-sse2-unaligned
32402         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
32403         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
32404         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
32405         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
32406         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
32407         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
32408         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
32409         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
32410         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
32411         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
32412         (STRCPY): Support SSE2 and SSSE3 versions.
32414 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
32416         [BZ #12874]
32417         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
32418         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
32419         kernels which artificially limit size of requests.
32421 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
32423         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32424         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32425         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
32426         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
32427         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
32428         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
32429         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
32430         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
32431         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
32432         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
32433         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
32434         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
32435         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
32436         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
32437         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
32438         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32439         Enable unaligned load optimization for Intel Core i3, i5 and i7
32440         processors.
32441         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
32442         Define.
32443         (index_Fast_Unaligned_Load): Define.
32444         (HAS_FAST_UNALIGNED_LOAD): Define.
32446 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
32448         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
32450 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
32452         [BZ #12907]
32453         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
32454         until it is clear that the information is realy needed.
32455         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
32457 2011-06-22  Andreas Schwab  <schwab@redhat.com>
32459         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
32461 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
32463         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32464         /sys/devices/system/cpu/online if it is usable.
32466         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
32467         reading the information from the /proc filesystem to once a second.
32469 2011-06-21  Andreas Jaeger  <aj@suse.de>
32471         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
32472         NULL after inclusion of kernel headers.
32474 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
32476         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
32477         calls to internal_setent.
32479         [BZ #12885]
32480         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
32481         addresses using gethostbyname4_r ignore IPv4 addresses.
32483         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
32484         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
32486         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
32488 2011-06-20  David S. Miller  <davem@davemloft.net>
32490         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
32491         inclusions.
32492         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
32494         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
32495         (elf_irel): Use it.
32496         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
32497         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
32498         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
32499         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
32500         * sysdeps/x86_64/dl-irel.h: Likewise.
32502         * elf/dl-runtime.c: Use elf_ifunc_invoke.
32503         * elf/dl-sym.c: Likewise.
32505 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
32507         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
32508         need to dereference resplen2.
32510 2011-06-14  Andreas Schwab  <schwab@redhat.com>
32512         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
32514 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
32516         * Makeconfig: Define vardbdir and inst_vardbdir.
32517         * nss/Makefile: Add rules to install db-Makefile.
32519         * nss/nss_db/db-XXX.c: Cleanup.
32521         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
32522         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
32523         GLIBC_PRIVATE.
32524         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
32525         * nss/makedb.c: Implement -g option to specify that value strings
32526         are generated and should not be added to table iterated over for
32527         get*ent calls.
32528         * nss/nss_db/db-initgroups.c: New file.
32530         * nss/getent.c: Add support for initgroups lookups through getgrouplist
32531         interface.
32533         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
32534         (internal_getgrouplist): Adjust to name change.
32535         Update use_initgroups_entry if this is not the first call.
32536         * nss/databases.def: Add initgroups entry.
32538         * nss/makedb.c (compute_tables): Check result of multiple hash table
32539         sizes to minimize maximum chain length.
32541 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
32543         * Versions.def: Add entry for libnss_db.
32544         * shlib-versions: Likewise.
32545         * nss/Makefile: Add rules to build libnss_db.
32546         * nss/Versions: Add libnss_db information.  Organize libnss_files
32547         entries better.
32548         * nss/db-Makefile: Add gshadow support.  Change rules for the new
32549         makedb progra.  Some minor improvements to generate smaller files.
32550         * nss/nss_db/nss_db.h: Move NSS database header data structures to
32551         here from...
32552         * nss/makedb.c: ...here.
32553         Improve database format to be smaller and require less memory at
32554         runtime.
32555         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
32556         db anymore.
32557         * nss/nss_db/db-netgrp.c: Likewise.
32558         * nss/nss_db/db-open.c: Likewise.
32559         * nss/nss_files/flies-XXX.x: Adjust comments.
32560         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
32561         * nss/nss_files/files-grp.c: Likewise.
32562         * nss/nss_files/files-hosts.c: Likewise.
32563         * nss/nss_files/files-network.c: Likewise.
32564         * nss/nss_files/files-proto.c: Likewise.
32565         * nss/nss_files/files-pwd.c: Likewise.
32566         * nss/nss_files/files-rpc.c: Likewise.
32567         * nss/nss_files/files-service.c: Likewise.
32568         * nss/nss_files/files-sgrp.c: Likewise.
32569         * nss/nss_files/files-spwd.c: Likewise.
32570         * nss/nss_db/db-alias.c: Removed.
32571         * nss/nss_db/dummy-db.h: Removed.
32573 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
32575         * nss/makedb.c: Rewritten to not use database library.
32576         * nss/Makefile: Update to build new makedb program.
32578 2011-06-14  Andreas Jaeger  <aj@suse.de>
32580         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
32581         memset declaration.
32583 2011-06-10  Andreas Schwab  <schwab@redhat.com>
32585         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
32586         tmpbuf.
32588 2011-06-10  Roland McGrath  <roland@hack.frob.com>
32590         * Makerules (shlib.lds): Fail if the linker script comes out empty.
32591         * elf/Makefile ($(objpfx)ld.so): Likewise.
32593         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
32594         Don't list ld.so twice in dependencies.
32596         * posix/bug-regex31.c: Include <stdlib.h>.
32598         * nscd/hstcache.c (cache_addhst): Remove unused variable.
32600         * nis/nss_compat/compat-spwd.c
32601         (getspent_next_nss_netgr): Remove unused variable.
32602         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
32604         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
32605         nonmembers" output to use the right array.
32607         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
32609         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
32611         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
32612         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
32613         * catgets/gencat.c (read_input_file): Likewise.
32614         * locale/programs/locarchive.c (enlarge_archive): Likewise.
32616         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
32617         variable definition inside #if's controlling its use.
32619         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
32621         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
32623         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
32625         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
32626         unreachable code.
32628         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
32630         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
32631         * configure: Regenerated.
32633         * Makerules: Revert last change.
32634         * elf/Makefile: Likewise.
32636 2011-06-09  Roland McGrath  <roland@hack.frob.com>
32638         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
32639         * elf/Makefile ($(objpfx)librtld.os): Likewise.
32640         (reloc-link): Likewise.
32642 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
32644         * elf/Makefile: Add rules to build pldd.
32645         * elf/pldd.c: New file.
32646         * elf/pldd-xx.c: New file.
32648 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
32650         * version.h: Update for 2.15 development version.
32652 2011-06-07  David S. Miller  <davem@davemloft.net>
32654         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
32655         ifuncs.
32656         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
32657         elf_machine_lazy_rel): Likewise.
32658         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32659         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
32660         elf_machine_lazy_rel): Likewise.
32661         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
32662         dl_hwcap via passed in argument.
32663         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
32664         Likewise.
32666 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32668         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
32670 2011-06-06  Roland McGrath  <roland@hack.frob.com>
32672         [BZ #12849]
32673         * manual/fdl-1.1.texi: New file, verbatim from:
32674         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
32675         * manual/lgpl-2.1.texi: New file, verbatim from:
32676         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
32677         * manual/Makefile (licenses): New variable, list those new file names.
32678         (texis): Use it.
32679         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
32681         * manual/fdl.texi: File removed.
32682         * manual/lesser.texi: File removed.
32683         * manual/libc.texinfo (Copying, Documentation License):
32684         Use new @include file names, put @appendix directive before @include.
32686 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
32688         [BZ #12841]
32689         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
32690         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
32691         (mq_open): Add __NTH.
32693 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
32695         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32696         Assume Intel Core i3/i5/i7 processor if AVX is available.
32698 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
32700         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32701         typo.
32703 2011-05-31  Andreas Schwab  <schwab@redhat.com>
32705         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
32706         memory.  Use alloca_account.  Fix memory leak when retrying.
32708 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
32710         * version.h (RELEASE): Bump for 2.14 release.
32711         * include/features.h (__GLIBC_MINOR__): Bump to 14.
32713         * config.make.in (RANLIB): Remove entry.
32715 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
32717         * po/Makefile (po-sed-cmd): Add ksh to extensions.
32718         (libc.pot): Work around missing support for .ksh extension in xgettext.
32720         [BZ #12684]
32721         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
32722         if both request failed.
32723         (send_dg): In case of server errors clear resplen or *resplen2.
32725         [BZ #12454]
32726         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
32727         when there are multiple maps.
32728         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
32729         (_dl_fini): Remove test here.
32731         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
32733 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
32735         [BZ #12350]
32736         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
32737         bit from old_res_options.
32738         (gaih_inet): Likewise.
32740         [BZ #11099]
32741         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
32742         as signed.
32744         * resolv/res_init.c (res_setoptions): Make the code more compact.
32746         [BZ #11558]
32747         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
32748         set RES_USEVC.
32750         [BZ #11634]
32751         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
32753         * malloc/malloc.h: Mark malloc hook variables as deprecated.
32755         [BZ #11781]
32756         * malloc/malloc.h: Declare malloc hook variables as volatile.
32758         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
32759         in last patch.
32761         [BZ #11799]
32762         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
32763         raise in the comment.
32764         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
32765         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32766         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
32768 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
32770         [BZ #12811]
32771         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
32772         grow the buffers more if it already has to be sufficient.
32773         (build_wcs_upper_buffer): Likewise.
32774         * posix/regexec.c (check_matching): Likewise.
32775         (clean_state_log_if_needed): Likewise.
32776         (extend_buffers): Don't enlarge buffers beyond size of the input
32777         buffer.
32778         Patches mostly by Emil Wojak <emil@wojak.eu>.
32779         * posix/bug-regex32.c: New file.
32780         * posix/Makefile (tests): Add bug-regex32.
32782         * locale/findlocale.c (_nl_find_locale): Return right away if
32783         _nl_explode_name failed.
32784         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
32786         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
32788         * debug/xtrace.sh: Unify messages.
32789         * malloc/memusage.sh: Likewise.
32791         [BZ #12813]
32792         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
32793         time symbol from vDSO.  Substitute with vsyscall if not available.
32794         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
32795         __vdso_time.
32797         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
32798         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
32799         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
32800         Add sendmmsg and internal_sendmmsg.
32801         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
32802         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
32803         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
32805         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
32806         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
32807         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
32809 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
32811         [BZ #12813]
32812         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
32813         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
32814         available.
32815         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
32816         __vdso_getcpu.
32818         [BZ #12814]
32819         * iconvdata/Makefile (tests): Add bug-iconv9.
32820         * iconvdata/bug-iconv9.c: New file.
32822 2011-05-27  Andreas Schwab  <schwab@redhat.com>
32824         [BZ #12814]
32825         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
32827 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
32829         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32830         (struct user_regs_struct): Change intcs field back to cs.
32832 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
32834         * po/ja.po: Update from translation team.
32836 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
32838         [BZ #12795]
32839         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
32840         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
32842 2011-05-20  Andreas Schwab  <schwab@redhat.com>
32844         * stdlib/longlong.h: Update from GCC.
32846 2011-05-23  Andreas Schwab  <schwab@redhat.com>
32848         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
32849         parameter name.
32850         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
32851         Add parameter name.
32852         (__sysconf): Pass it down.
32854 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
32856         [BZ #12671]
32857         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
32858         some situations.
32859         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32860         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
32861         add in in __libc_use_alloca calls.  Adjust callers.
32862         (glob): Use malloc in some situations.
32864         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
32865         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
32866         pltexit.
32868 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
32870         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
32871         and CLOCK_BOOTTIME_ALARM.
32873         [BZ #12782]
32874         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
32875         is returned.
32877         * string/_strerror.c (__strerror_r): Print negative errors as signed
32878         numbers.
32880         [BZ #12777]
32881         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
32882         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
32883         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
32885         * configure.in: Fix typo in redirection and correct removal of test
32886         files in two cases.
32888         [BZ #12788]
32889         * locale/setlocale.c (new_composite_name): Fix test to check for
32890         identical name of all categories.
32892         [BZ #12792]
32893         * libio/filedoalloc.c (local_isatty): New function.
32894         (_IO_file_doallocate): Use local_isatty.
32895         * stdio-common/perror.c (perror): In case a new stream is used
32896         forward the stream error.
32897         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
32898         error flag.
32900 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
32902         [BZ #11869]
32903         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
32904         alloca.
32905         * include/alloca.h (extend_alloca_account): Define.
32907         [BZ #11857]
32908         * posix/regex.h: Fix comments with documentation of user-accessible
32909         fields after compilation and describe correct free'ing of pattern
32910         after re_compile_pattern.
32911         Patch by Reuben Thomas <rrt@sc3d.org>.
32913 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
32915         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
32916         and -mno-altivec to prevent the compiler from using Altivec and/or
32917         VSX instructions when the corresponding registers are not available.
32919 2011-05-19  Andreas Schwab  <schwab@redhat.com>
32921         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
32923 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
32925         * libio/freopen.c (freopen): Use __dup2, not dup2.
32926         * libio/freopen64.c (freopen64): Likewise.
32928 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
32930         [BZ #12775]
32931         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
32932         * math/Makefile (tests): Add test-powl.
32933         (CFLAGS-test-powl.c): Define.
32934         * math/test-powl.c: New file.
32936 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32938         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
32940 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
32942         [BZ #11837]
32943         * iconvdata/gb18030.c: Update to GB18020-2005.
32945 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
32947         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
32948         RE_SYNTAX_POSIX_AWK): Update to match recent development.
32949         Patch by Aharon Robbins <arnold@skeeve.com>.
32951         [BZ #11892]
32952         * stdlib/putenv.c (putenv): Don't always create copy of the variable
32953         on the stack.
32955         [BZ #11895]
32956         * misc/pselect.c (__pselect): Handle timeout value errors hidden
32957         through underflows.
32959         [BZ #12766]
32960         * misc/error.c (error_at_line): Ensure file_name and old_file_name
32961         point to strings before performing equality test for error_one_per_line
32962         mode.
32964         [BZ #11697]
32965         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
32967         [BZ #11820]
32968         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32969         (struct user_fpregs_struct): Avoid __uint*_t types.
32971         [BZ #6420]
32972         * malloc/mtrace.c (tr_where): Add additional parameter to point to
32973         symbol info.  Use it instead of calling _dl_addr locally.
32974         (lock_and_info): New function.
32975         (tr_freehook): Call lock_and_info and pass symbol info as additional
32976         parameter to tr_where.
32977         (tr_mallochook): Likewise.
32978         (tr_reallochook): Likewise.
32979         (tr_memalignhook): Likewise.
32981         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
32982         used and couldn't be at all thread-safe.
32984 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
32986         * libio/freopen.c (freopen): Don't close old file descriptor
32987         before the new one is opened.  Instead dup the new file descriptor
32988         to the old one after the new stream is created.
32989         * libio/freopen64.c (freopen64): Likewise.
32990         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
32991         * libio/fileops.c (_IO_new_file_close_it): Handle new
32992         _IO_FLAGS2_NOCLOSE flag.
32993         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
32994         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
32995         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
32996         _IO_FLAGS2_NOCLOSE flag.
32997         * include/unistd.h: Add hidden_proto for dup3.
32998         Define __have_dup3.
32999         * io/dup3.c: Define hidden symbol.
33000         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
33002         [BZ #7101]
33003         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
33004         when an incomplete long option is used.
33005         * posix/tst-getopt_long1.c: New file.
33006         * posix/Makefile (tests): Add tst-getopt_long1.
33008         [BZ #10138]
33009         * scripts/config.guess: Update from autoconf-2.68.
33010         * scripts/config.sub: Likewise.
33012         [BZ #10157]
33013         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
33014         tests into ...
33015         (has_cpuclock): ...this.  New function.
33016         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
33017         macro here based on has_cpuclock code.
33019         [BZ #10149]
33020         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33021         First byte (not low byte) is now always NUL.
33022         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
33024         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33025         Use non-cancelable interfaces.
33027         [BZ #9809]
33028         * locale/iso-639.def: Add entry for Sorani.
33030         [BZ #11901]
33031         * include/stdlib.h: Move include protection to the right place.
33032         Define abort_msg_s.  Declare __abort_msg with it.
33033         * stdlib/abort.c (__abort_msg): Adjust type.
33034         * assert/assert.c (__assert_fail_base): New function.  Majority
33035         of code from __assert_fail.  Allocate memory for __abort_msg with
33036         mmap.
33037         (__assert_fail): Now call __assert_fail_base.
33038         * assert/assert-perr.c: Remove bulk of implementation.  Use
33039         __assert_fail_base.
33040         * include/assert.hL Declare __assert_fail_base.
33041         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
33042         mmap.
33043         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
33045 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
33047         [BZ #11952]
33048         [BZ #12453]
33049         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
33050         until all modules are registered in the DTV.
33051         * elf/Makefile: Add rules to build and run tst-tls19.
33052         * elf/tst-tls19.c: New file.
33053         * elf/tst-tls19mod1.c: New file.
33054         * elf/tst-tls19mod2.c: New file.
33055         * elf/tst-tls19mod3.c: New file.
33056         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
33058         [BZ #12083]
33059         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
33060         correctly.
33062         [BZ #12601]
33063         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
33064         two-byte sequence errors.
33065         * iconvdata/Makefile (tests): Add bug-iconv8.
33066         * iconvdata/bug-iconv8.c: New file.
33068         [BZ #12626]
33069         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
33070         buf2 definition.
33072         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
33074         [BZ #12432]
33075         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
33076         (dummy_getcfa): New function.
33077         (init): Get _Unwind_GetCFA address, use dummy if not found.
33078         (backtrace_helper): In recursion check, also check whether CFA changes.
33079         (__backtrace): Completely initialize arg.
33081         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
33082         storing incomplete byte sequence in state object.  Avoid testing for
33083         guaranteed too small input if we know there is enough data available.
33085 2011-05-11  Andreas Schwab  <schwab@redhat.com>
33087         * Makeconfig (+link-pie): Indent.
33088         * Rules (binaries-pie): Define if $(have-fpie) and
33089         $(build-shared).
33090         (binaries-shared): Also filter out $(binaries-pie).
33091         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
33092         * nscd/Makefile (others-pie): Add nscd.
33093         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
33094         ($(objpfx)nscd): Remove command override.
33095         * login/Makefile (others-pie): Add pt_chown.
33096         ($(objpfx)pt_chown): Remove command override.
33097         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
33098         remove command overrides.
33100 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
33102         * libio/tst_putwc.c: Fix error messages.
33104         [BZ #12724]
33105         * libio/fileops.c (_IO_new_file_close_it): Always flush when
33106         currently writing and seek to current position when not.
33107         * libio/Makefile (tests): Add bug-fclose1.
33108         * libio/bug-fclose1.c: New file.
33110 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
33112         [BZ #12511]
33113         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
33114         don't set DF_1_NODELETE here.
33115         (do_lookup_x): When entering new entry test for copy relocation
33116         and if necessary set DF_1_NODELETE flag.
33117         * elf/tst-unique4.cc: New file.
33118         * elf/tst-unique4.h: New file.
33119         * elf/tst-unique4lib.cc: New file.
33120         * elf/Makefile: Add rules to build and run tst-unique4.
33121         Patch by Piotr Bury <pbury@goahead.com>.
33123 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
33125         [BZ #12052]
33126         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
33128         [BZ #12625]
33129         * misc/mntent_r.c (addmntent): Flush the stream after the output
33131         [BZ #12393]
33132         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
33133         (is_trusted_path_normalize): Skip initial colon.  Append slash
33134         to empty buffer.  Duplicate is_trusted_path code but allow
33135         constructed patch to be prefix.
33136         (is_dst): Allow $ORIGIN followed by /.
33137         (_dl_dst_substitute): Correct clearing of check_for_trusted.
33138         Correct testing of result of is_trusted_path_normalize
33139         (decompose_rpath): Fix warning.
33141 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
33143         [BZ #11257]
33144         * grp/initgroups.c (internal_getgrouplist): When we found the service
33145         list through the initgroups entry in nsswitch.conf do not always
33146         continue on a successful lookup.  Don't always use the
33147         __nss_group_database value if it is set.
33148         * nss/nsswitch.conf (initgroups): Change action for successful db
33149         lookup to continue for compatibility.
33151 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
33153         [BZ #11532]
33154         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
33155         and CP774 modules.
33156         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
33157         and CP774 modules.
33158         * iconvdata/tst-tables.sh: Likewise.
33159         * iconvdata/cp770.c: New file.
33160         * iconvdata/cp771.c: New file.
33161         * iconvdata/cp772.c: New file.
33162         * iconvdata/cp773.c: New file.
33163         * iconvdata/cp774.c: New file.
33164         * iconvdata/testdata/CP770: New file.
33165         * iconvdata/testdata/CP770..UTF8: New file.
33166         * iconvdata/testdata/CP771: New file.
33167         * iconvdata/testdata/CP771..UTF8: New file.
33168         * iconvdata/testdata/CP772: New file.
33169         * iconvdata/testdata/CP772..UTF8: New file.
33170         * iconvdata/testdata/CP773: New file.
33171         * iconvdata/testdata/CP773..UTF8: New file.
33172         * iconvdata/testdata/CP774: New file.
33173         * iconvdata/testdata/CP774..UTF8: New file.
33175         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
33176         END CHARMAP line.
33177         * iconvdata/gen-8bit-gap.sh: Likewise.
33178         * iconvdata/gen-8bit.sh: Likewise.
33180         * locale/iso-639.def: Add ary entry.
33182         [BZ #11258]
33183         * locale/C-translit.h.in: Add U20A1 transliteration.
33185         [BZ #12178]
33186         * locale/iso-639.def: Add wae entry.
33187         Patch by Kevin Bortis <bortis@translate-wae.ch>.
33189         [BZ #12545]
33190         * locale/programs/localedef.c (construct_output_path): Use ssize_t
33191         for n.
33193         [BZ #12711]
33194         * locale/C-translit.h.in: Add entry for U20B9.
33195         Patch by pravin.d.s@gmail.com.
33197 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
33199         [BZ #12713]
33200         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
33201         ENAMETOOLONG use generic getcwd.
33202         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
33203         in rtld.  Use *stat64.
33204         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
33205         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
33206         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
33207         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
33208         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
33209         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
33210         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
33211         __fstatat64 macros.
33212         * include/dirent.h: Add libc_hidden_proto for rewinddir.
33213         * dirent/rewinddir.c: Add libc_hidden_def.
33214         * sysdeps/mach/hurd/rewinddir.c: Likewise.
33215         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
33217         * include/dirent.h (__alloc_dir): Add flags parameter.
33218         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
33219         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
33220         __alloc_dir.
33221         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
33222         from fdopendir if O_CLOEXEC is already set.
33224 2011-03-15  Alan Modra  <amodra@gmail.com>
33226         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
33227         l_tls_firstbyte_offset non-zero.  Save padding offset in
33228         l_tls_firstbyte_offset for later use.
33229         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
33230         freeing static tls block.
33232 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
33234         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
33235         where #ifdef was intended.  The intent is to prevent ARG_MAX from
33236         being defined by the kernel headers.
33238 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
33240         [BZ #12734]
33241         * resolv/resolv.h: Define RES_NOTLDQUERY.
33242         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
33243         no-tld-query and set RES_NOTLDQUERY.
33244         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
33245         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
33246         modern BIND to search name as TLD unless forbidden.
33248 2011-05-07  Petr Baudis  <pasky@suse.cz>
33249             Ulrich Drepper  <drepper@gmail.com>
33251         [BZ #12393]
33252         * elf/dl-load.c (fillin_rpath): Move trusted path check...
33253         (is_trusted_path): ...to here.
33254         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
33255         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
33256         using is_trusted_path_normalize() in setuid scripts.
33258 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
33260         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
33261         __BEGIN/__END_DECLS.
33263 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
33265         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
33266         NSS_STATUS_NOTFOUND if no record was found.
33268 2011-05-05  Andreas Schwab  <schwab@redhat.com>
33270         * sunrpc/Makefile (headers): Add rpc/netdb.h.
33271         (headers-not-in-tirpc): Remove rpc/netdb.h
33272         * resolv/netdb.h: Revert last change.
33274 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
33276         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
33277         circular dependency between libgcc.a and libc.a.
33279 2011-05-05  Andreas Schwab  <schwab@redhat.com>
33281         * resolv/netdb.h: Don't include <rpc/netdb.h>.
33282         * nis/Makefile: Don't install rpcsvc/*.
33283         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
33284         instead of <rpc/types.h>.
33285         (MAXHOSTNAMELEN): Define.
33287 2011-05-03  Andreas Schwab  <schwab@redhat.com>
33289         * elf/ldconfig.c (add_dir): Don't crash on empty path.
33291 2011-04-28  Maciej Babinski  <mbabinski@google.com>
33293         [BZ #12714]
33294         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
33295         gethostbyname4_r when IPv6 results are possible.
33297 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
33299         [BZ #12723]
33300         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
33301         _PC_PIPE_BUF handling.
33303 2011-04-30  Bruno Haible  <bruno@clisp.org>
33305         [BZ #12717]
33306         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
33307         * resolv/netdb.h (getnameinfo): Change type of flags parameter
33308         to 'int'.
33309         * inet/getnameinfo.c (getnameinfo): Likewise.
33311 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
33313         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
33314         to groups setting in database lookup.
33315         * nss/nsswitch.conf: Add initgroups entry.
33317 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
33319         [BZ #12685]
33320         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
33321         mode string.
33322         Patch by Eric Blake <eblake@redhat.com>.
33324 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
33326         * sunrpc/Makefile (need-export-routines): Add svc_run.
33327         (routines): Remove svc_run.
33328         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
33329         * sunrpc/clnt_perr.c (clnt_perrno): Export.
33330         * sunrpc/svc_run.c (svc_run): Likewise.
33331         * sunrpc/svc_udp.c (svcudp_create): Likewise.
33333 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
33335         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
33336         problem in reallocation in last patch.
33338 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
33340         * sunrpc/Makefile: Move inclusion of Rules.
33342 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
33344         * nss/nss_files/files-initgroups.c: New file.
33345         * nss/Makefile (libnss_files-routines): Add files-initgroups.
33346         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
33347         _nss_files_initgroups_dyn.
33349 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
33351         * elf/elf.h (R_ARM_IRELATIVE): Define.
33353 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
33355         * po/ru.po: Update from translation team.
33357 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
33359         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
33360         dependencies.
33362 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
33364         [BZ #12653]
33365         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
33366         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
33367         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33368         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33369         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33371 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
33373         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
33374         differing bytes.
33375         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33376         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33377         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33379 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
33381         [BZ #12420]
33382         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
33383         storing it.
33384         * stdlib/bug-getcontext.c: New file.
33385         * stdlib/Makefile: Add rules to build and run bug-getcontext.
33387 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33389         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
33390         instructions into .machine "z9-109".
33391         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
33392         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
33394 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33396         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
33397         between environment variables and auxiliary vector.
33399 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
33401         * Makefile: Add rules to build linkobj/libc.so.
33402         * include/libc-symbols.h: Define libc_hidden_nolink.
33403         * include/rpc/auth.h: Mark functions which are to be hidden.
33404         * include/rpc/auth_des.h: Likewise.
33405         * include/rpc/auth_unix.h: Likewise.
33406         * include/rpc/clnt.h: Likewise.
33407         * include/rpc/des_crypt.h: Likewise.
33408         * include/rpc/key_prot.h: Likewise.
33409         * include/rpc/pmap_clnt.h: Likewise.
33410         * include/rpc/pmap_prot.h: Likewise.
33411         * include/rpc/pmap_rmt.h: Likewise.
33412         * include/rpc/rpc_msg.h: Likewise.
33413         * include/rpc/svc.h: Likewise.
33414         * include/rpc/svc_auth.h: Likewise.
33415         * include/rpc/xdr.h: Likewise.
33416         * nis/Makefile: Link all DSOs against linkobj/libc.so.
33417         * nss/Makefile: Likewise.
33418         * sunrpc/Makefile: Don't install headers.  Build library with normal
33419         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
33420         * sunrpc/auth_des.c: Hide exported symbols by default, export some
33421         for the compat linking library.  Remove use of INTDEF/INTUSE.
33422         * sunrpc/auth_none.c: Likewise.
33423         * sunrpc/auth_unix.c: Likewise.
33424         * sunrpc/authdes_prot.c: Likewise.
33425         * sunrpc/authuxprot.c: Likewise.
33426         * sunrpc/clnt_gen.c: Likewise.
33427         * sunrpc/clnt_perr.c: Likewise.
33428         * sunrpc/clnt_raw.c: Likewise.
33429         * sunrpc/clnt_simp.c: Likewise.
33430         * sunrpc/clnt_tcp.c: Likewise.
33431         * sunrpc/clnt_udp.c: Likewise.
33432         * sunrpc/clnt_unix.c: Likewise.
33433         * sunrpc/des_crypt.c: Likewise.
33434         * sunrpc/des_soft.c: Likewise.
33435         * sunrpc/get_myaddr.c: Likewise.
33436         * sunrpc/key_call.c: Likewise.
33437         * sunrpc/key_prot.c: Likewise.
33438         * sunrpc/netname.c: Likewise.
33439         * sunrpc/pm_getmaps.c: Likewise.
33440         * sunrpc/pm_getport.c: Likewise.
33441         * sunrpc/pmap_clnt.c: Likewise.
33442         * sunrpc/pmap_prot.c: Likewise.
33443         * sunrpc/pmap_prot2.c: Likewise.
33444         * sunrpc/pmap_rmt.c: Likewise.
33445         * sunrpc/publickey.c: Likewise.
33446         * sunrpc/rpc_cmsg.c: Likewise.
33447         * sunrpc/rpc_common.c: Likewise.
33448         * sunrpc/rpc_dtable.c: Likewise.
33449         * sunrpc/rpc_prot.c: Likewise.
33450         * sunrpc/rpc_thread.c: Likewise.
33451         * sunrpc/rtime.c: Likewise.
33452         * sunrpc/svc.c: Likewise.
33453         * sunrpc/svc_auth.c: Likewise.
33454         * sunrpc/svc_authux.c: Likewise.
33455         * sunrpc/svc_raw.c: Likewise.
33456         * sunrpc/svc_run.c: Likewise.
33457         * sunrpc/svc_simple.c: Likewise.
33458         * sunrpc/svc_tcp.c: Likewise.
33459         * sunrpc/svc_udp.c: Likewise.
33460         * sunrpc/svc_unix.c: Likewise.
33461         * sunrpc/svcauth_des.c: Likewise.
33462         * sunrpc/xcrypt.c: Likewise.
33463         * sunrpc/xdr.c: Likewise.
33464         * sunrpc/xdr_array.c: Likewise.
33465         * sunrpc/xdr_float.c: Likewise.
33466         * sunrpc/xdr_intXX_t.c: Likewise.
33467         * sunrpc/xdr_mem.c: Likewise.
33468         * sunrpc/xdr_rec.c: Likewise.
33469         * sunrpc/xdr_ref.c: Likewise.
33470         * sunrpc/xdr_sizeof.c: Likewise.
33471         * sunrpc/xdr_stdio.c: Likewise.
33473 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
33475         [BZ #12650]
33476         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
33477         * sysdeps/ia64/dl-tls.h: Likewise.
33478         * sysdeps/powerpc/dl-tls.h: Likewise.
33479         * sysdeps/s390/dl-tls.h: Likewise.
33480         * sysdeps/sh/dl-tls.h: Likewise.
33481         * sysdeps/sparc/dl-tls.h: Likewise.
33482         * sysdeps/x86_64/dl-tls.h: Likewise.
33483         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
33485 2011-03-14  Andreas Schwab  <schwab@redhat.com>
33487         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
33488         rpath element also skip the following colon.
33489         (expand_dynamic_string_token): Add is_path parameter and pass
33490         down to DL_DST_REQUIRED and _dl_dst_substitute.
33491         (decompose_rpath): Call expand_dynamic_string_token with
33492         non-zero is_path.  Ignore empty rpaths.
33493         (_dl_map_object_from_fd): Call expand_dynamic_string_token
33494         with zero is_path.
33496 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
33498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33499         Make cancelable.
33501 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
33503         [BZ #12655]
33504         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
33505         Patch by Filipe David Manana <fdmanana@apache.org>.
33507 2011-04-07  Andreas Schwab  <schwab@redhat.com>
33509         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
33510         Maintain aligned stack.
33511         (CHECK_RSP): Remove unused macro.
33513 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
33515         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
33516         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
33518 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
33520         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
33522         * include/features.h: Mention __USE_XOPEN2K8 in comment.
33524 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
33526         [BZ #12518]
33527         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
33528         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
33529         * sysdeps/x86_64/memmove.c: New file.
33530         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
33531         (memcpy): Renamed to ...
33532         (__new_memcpy): This.
33533         (memcpy): Provide GLIBC_2_14 memcpy.
33534         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
33535         (memcpy): Provide GLIBC_2_2_5 memcpy.
33537 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
33539         [BZ #12631]
33540         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
33542 2011-03-30  Andreas Schwab  <schwab@redhat.com>
33544         * misc/syncfs.c: New file.
33545         * misc/Makefile (routines): Add syncfs.
33546         * posix/unistd.h: Declare syncfs.
33547         * sysdeps/unix/syscalls.list: Add syncfs.
33549 2011-04-01  Andreas Schwab  <schwab@redhat.com>
33551         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
33552         open_by_handle_at.
33553         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33554         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33555         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33556         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33557         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33558         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
33559         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33561 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
33563         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
33564         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33565         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
33566         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33567         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33568         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33569         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33571         * io/Makefile: Compile fallocate.c, fallocate64.c, and
33572         sync_file_range.c with -fexceptions.
33573         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
33574         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
33575         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
33576         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
33577         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
33578         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33579         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
33580         sync_file_range as cancellation point
33581         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
33582         now a wrapper around __call_sync_file_range with cancellation handling.
33583         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
33584         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
33585         function name to __call_sync_file_range.
33586         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
33587         Add call_sync_file_range.
33589 2011-04-01  Andreas Schwab  <schwab@redhat.com>
33591         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33592         bits/timex.h.
33594 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
33596         * iconv/iconv.h: Fix typo in comment.
33597         * io/fcntl.h: Likewise.
33598         * libio/stdio.h: Likewise.
33599         * posix/spawn.h: Likewise.
33600         * posix/unistd.h: Likewise.
33601         * stdlib/stdlib.h: Likewise.
33602         * time/time.h: Likewise.
33603         * wcsmbs/wchar.h: Likewise.
33605         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
33606         open_by_handle): Add.
33607         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
33608         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
33609         Augment a few comments.
33610         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33611         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33612         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33613         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33614         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33615         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
33616         open_by_handle.
33618         * io/fcntl.h (AT_EMPTY_PATH): Define.
33620 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
33622         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
33623         * sysdeps/unix/sysv/linux/bits/time.h: New file.
33624         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
33625         to...
33626         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
33627         * Versions.def: Add GLIBC_2.14.
33628         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
33629         Export.
33631 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
33633         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
33634         round counter.
33635         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33637 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
33639         [BZ #12597]
33640         * string/test-strncmp.c (do_page_test): New function.
33641         (check2): Likewise.
33642         (test_main): Call check2.
33643         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
33645 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
33647         [BZ #12587]
33648         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
33649         Handle cache information in CPU leaf 4.
33650         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33652 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
33654         [BZ #12583]
33655         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
33656         character representation.
33657         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
33659 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
33661         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
33662         END(__isnan) to END(__isnanf) to match function entry point/label
33663         EALIGN(__isnanf,...).
33665 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
33667         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
33669 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
33671         [BZ #12510]
33672         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
33673         copy from the symbol referenced in the relocation to initialize the
33674         used variable.
33675         Patch by Piotr Bury <pbury@goahead.com>.
33676         * elf/Makefile: Add rules to build and tst-unique3.
33677         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
33678         * elf/tst-unique3.cc: New file.
33679         * elf/tst-unique3.h: New file.
33680         * elf/tst-unique3lib.cc: New file.
33681         * elf/tst-unique3lib2.cc: New file.
33683         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
33685 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
33687         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
33688         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
33689         to _start.
33691 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
33693         * elf/dl-load.c (_dl_map_object): If we are looking for the first
33694         to-be-loaded object along a path to loader is ld.so.
33696 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
33697             Ulrich Drepper  <drepper@gmail.com>
33699         * sysdeps/x86_64/memset.S: After aligning destination, code
33700         branches to different locations depending on the value of
33701         misalignment, when multiarch is enabled. Fix this.
33703 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
33705         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
33706         Set _x86_64_preferred_memory_instruction for AMD processsors.
33707         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33708         Set bit_Prefer_SSE_for_memop for AMD processors.
33710 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
33712         * libio/fmemopen.c (fmemopen): Optimize a bit.
33714 2011-03-03  Andreas Schwab  <schwab@redhat.com>
33716         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
33718 2011-03-03  Roland McGrath  <roland@redhat.com>
33720         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
33722 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
33724         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
33725         __bzero_ultra1 instead of __memset_ultra1.
33727 2011-02-23  Andreas Schwab  <schwab@redhat.com>
33728             Ulrich Drepper  <drepper@gmail.com>
33730         [BZ #12509]
33731         * include/link.h (struct link_map): Add l_orig_initfini.
33732         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
33733         returning unsuccessfully.
33734         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
33735         close of a file loaded at startup, restore the original l_initfini
33736         list.
33737         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
33738         list, store the pointer.
33739         * elf/Makefile ($(objpfx)noload-mem): New rule.
33740         (noload-ENV): Define.
33741         (tests): Add $(objpfx)noload-mem.
33742         * elf/noload.c: Include <memcheck.h>.
33743         (main): Call mtrace.  Close all opened handles.
33745 2011-02-17  Andreas Schwab  <schwab@redhat.com>
33747         [BZ #12454]
33748         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
33749         dependencies are missing.
33751 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33753         Fix __if_freereq crash: Unlike the generic version which uses free,
33754         Hurd needs munmap.
33755         * sysdeps/mach/hurd/ifreq.h: New file.
33757 2011-01-27  Petr Baudis  <pasky@suse.cz>
33758             Ulrich Drepper  <drepper@gmail.com>
33760         [BZ 12445]#
33761         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
33762         to extend_alloca().
33763         * stdio-common/bug23.c: New file.
33764         * stdio-common/Makefile (tests): Add bug23.
33766 2010-09-28  Andreas Schwab  <schwab@redhat.com>
33767             Ulrich Drepper  <drepper@gmail.com>
33769         [BZ #12489]
33770         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
33771         before performing relro protection.  At old place add assertion
33772         to make sure nothing changed.
33774 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
33775             Glauber de Oliveira Costa  <glommer@gmail.com>
33777         * elf/elf.h: Add new ARM TLS relocs.
33779 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
33781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33782         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
33783         cast from r3.
33784         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
33785         'tests' variable.
33786         * sysdeps/wordsize-64/tst-writev.c: New file.
33788 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
33790         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
33791         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
33792         insns in _dl_start to prevent a TOC reference before relocs are
33793         resolved.
33795 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
33797         [BZ #12469]
33798         * Makeconfig: Remove RANLIB definition.
33799         * Makerules: Don't use RANLIB.
33800         * aclocal.m4: Remove ranlib test.
33801         * configure.in: No need to check for ranlib.
33802         * elf/rtld-Rules: Don't use RANLIB.
33804 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33806         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
33807         protection macro.
33808         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
33809         inclusion protection macro.
33811         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
33812         SIGRTMIN and SIGRTMAX and print information in that case only when
33813         SIGRTMIN is defined.
33815 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
33817         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
33818         arginfo fn returning -1.
33820         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
33821         and thousands string is zero terminated.
33823 2011-02-03  Andreas Schwab  <schwab@redhat.com>
33825         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
33826         sysdeps/unix/sysv/linux/bits/socket.h.
33828 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33830         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
33831         (__CPU_COUNT): Remove old macros.
33832         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
33833         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
33834         (__CPU_ALLOC, __CPU_FREE): Add macros.
33835         (__sched_cpualloc, __sched_cpufree): Add declarations.
33837 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
33839         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
33840         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
33841         * nscd/aicache.c (addhstaiX): Return timeout of added value.
33842         (readdhstai): Return value of addhstaiX call.
33843         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
33844         (addgrbyX): Return value returned by cache_addgr.
33845         (readdgrbyname): Return value returned by addgrbyX.
33846         (readdgrbygid): Likewise.
33847         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
33848         (addpwbyX): Return value returned by cache_addpw.
33849         (readdpwbyname): Return value returned by addhstbyX.
33850         (readdpwbyuid): Likewise.
33851         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
33852         (addservbyX): Return value returned by cache_addserv.
33853         (readdservbyname): Return value returned by addservbyX:
33854         (readdservbyport): Likewise.
33855         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
33856         (addhstbyX): Return value returned by cache_addhst.
33857         (readdhstbyname): Return value returned by addhstbyX.
33858         (readdhstbyaddr): Likewise.
33859         (readdhstbynamev6): Likewise.
33860         (readdhstbyaddrv6): Likewise.
33861         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
33862         (readdinitgroups): Return value returned by addinitgroupsX.
33863         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
33864         (prune_cache): Keep track of timeout value of re-added entries.
33865         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
33866         * nscd/nscd.h: Adjust prototypes of readd* functions.
33868 2011-02-04  Roland McGrath  <roland@redhat.com>
33870         * nis/nis_server.c (nis_servstate): Use the right name for 0.
33871         (nis_stats): Likewise.
33872         * nis/nis_modify.c (nis_modify): Likewise.
33873         * nis/nis_remove.c (nis_remove): Likewise.
33874         * nis/nis_add.c (nis_add): Likewise.
33876         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
33878         * posix/fnmatch_loop.c: Add some consts.
33880         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
33882 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
33884         [BZ #12460]
33885         * config.make.in (config-cflags-novzeroupper): Define.
33886         * configure.in: Substitute libc_cv_cc_novzeroupper.
33887         * elf/Makefile (AVX-CFLAGS): Define.
33888         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
33889         (CFLAGS-tst-auditmod4a.c): Likewise.
33890         (CFLAGS-tst-auditmod4b.c): Likewise.
33891         (CFLAGS-tst-auditmod6b.c): Likewise.
33892         (CFLAGS-tst-auditmod6c.c): Likewise.
33893         (CFLAGS-tst-auditmod7b.c): Likewise.
33894         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
33896 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
33898         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
33899         function to the callback.
33900         Patch partly by Jiri Olsa <jolsa@redhat.com>.
33902 2011-02-02  Andreas Schwab  <schwab@redhat.com>
33904         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
33905         of errno.
33907 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
33909         [BZ #11724]
33910         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
33911         of constructors.
33912         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
33913         of destructors.
33914         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
33916         [BZ #11724]
33917         * elf/Makefile: Add rules to build and run new test.
33918         * elf/tst-initorder.c: New file.
33919         * elf/tst-initorder.exp: New file.
33920         * elf/tst-initordera1.c: New file.
33921         * elf/tst-initordera2.c: New file.
33922         * elf/tst-initordera3.c: New file.
33923         * elf/tst-initordera4.c: New file.
33924         * elf/tst-initorderb1.c: New file.
33925         * elf/tst-initorderb2.c: New file.
33926         * elf/tst-order-a1.c: New file.
33927         * elf/tst-order-a2.c: New file.
33928         * elf/tst-order-a3.c: New file.
33929         * elf/tst-order-a4.c: New file.
33930         * elf/tst-order-b1.c: New file.
33931         * elf/tst-order-b2.c: New file.
33932         * elf/tst-order-main.c: New file.
33933         New test case by George Gensure <werkt0@gmail.com>.
33935 2010-10-01  Andreas Schwab  <schwab@redhat.com>
33937         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33938         decoding ACE if AI_CANONIDN.
33940 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
33942         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
33944 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
33946         * version.h (RELEASE): Bump for 2.13 release.
33947         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
33949         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
33951         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
33952         MADV_NOHUGEPAGE.
33953         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
33954         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33955         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33956         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33957         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33958         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33960         * posix/getconf.c: Update copyright year.
33961         * catgets/gencat.c: Likewise.
33962         * csu/version.c: Likewise.
33963         * debug/catchsegv.sh: Likewise.
33964         * debug/xtrace.sh: Likewise.
33965         * elf/ldconfig.c: Likewise.
33966         * elf/ldd.bash.in: Likewise.
33967         * elf/sprof.c (print_version): Likewise.
33968         * iconv/iconv_prog.c: Likewise.
33969         * iconv/iconvconfig.c: Likewise.
33970         * locale/programs/locale.c: Likewise.
33971         * locale/programs/localedef.c: Likewise.
33972         * malloc/memusage.sh: Likewise.
33973         * malloc/mtrace.pl: Likewise.
33974         * nscd/nscd.c (print_version): Likewise.
33975         * nss/getent.c: Likewise.
33977         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
33978         PF_CAIF, and PF_ALG.
33979         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33981 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
33983         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
33984         (modules-names): Use them.
33985         (ifunc-test-modules, ifunc-pie-tests): Define.
33986         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
33987         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
33988         (test-extras): Likewise.
33989         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
33990         $(compile-command.c).
33991         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
33992         (all-built-dso): Define.
33993         (check-textrel.out, check-execstack.out): Depend on it.
33995         * configure.in: Don't override --enable-multi-arch.
33997 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
33999         [BZ #6812]
34000         * nscd/hstcache.c (tryagain): Define.
34001         (cache_addhst): Return tryagain not notfound for temporary errors.
34002         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
34003         failed.
34005 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
34007         [BZ #10563]
34008         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
34009         to make the syscall.
34010         * sysdeps/unix/sysv/linux/setgroups.c: New file.
34012         [BZ #12378]
34013         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
34014         and fall back to matching as normal character if the string ends before
34015         the matching ']' is found.  This is what POSIX requires.
34016         * posix/testfnm.c: Adjust test result.
34017         * posix/globtest.sh: Adjust test result.  Add new test.
34018         * posix/tst-fnmatch.input: Likewise.
34019         * posix/tst-fnmatch2.c: Add new test.
34021 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
34023         * elf/Makefile (check-execstack): Revert last change.  Depend on
34024         check-execstack.h.
34025         (check-execstack.h): New target.
34026         (generated): Add check-execstack.h.
34027         * elf/check-execstack.c: Include "check-execstack.h".
34028         (main): Revert last change.
34029         (handle_file): Return zero if GNU_STACK is absent and
34030         DEFAULT_STACK_PERMS doesn't include PF_X.
34032 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
34034         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
34035         in child fails because the descriptor is already closed.
34036         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
34037         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
34038         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
34040         [BZ #12397]
34041         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
34042         syscall.
34044         [BZ #10484]
34045         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
34046         temporary buffer used to handle multi lookups locally.
34047         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
34049 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
34051         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
34052         loader is ld.so.
34054 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
34056         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
34057         alignment for SSE2.
34059 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
34061         [BZ #12394]
34062         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
34063         characters.  When rounding increased number of integer digits recompute
34064         number of groups.
34065         * stdio-common/tst-grouping.c: New file.
34066         * stdio-common/Makefile: Add rules to build and run tst-grouping.
34068 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
34070         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
34071         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
34073         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
34074         void.
34075         * bits/select.h: Likewise.
34077 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
34079         * po/ja.po: Update from translation team.
34081 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
34083         [BZ #11155]
34084         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
34085         implementation just like for lxstat, fxstatat, et al.
34087 2010-12-27  Jim Meyering  <meyering@redhat.com>
34089         [BZ #12348]
34090         * posix/regexec.c (build_trtable): Return failure indication upon
34091         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
34093 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
34095         [BZ #12201]
34096         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
34097         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
34098         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
34099         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
34101         [BZ #12207]
34102         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
34104         [BZ #12204]
34105         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
34106         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
34108 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
34110         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
34111         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
34112         script has SORT_BY_INIT_PRIORITY.
34113         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
34114         NO_CTORS_DTORS_SECTIONS is defined.
34115         * elf/soinit.c: Likewise.
34116         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
34117         NO_CTORS_DTORS_SECTIONS is defined.
34118         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
34119         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
34120         * sysdeps/sh/init-first.c: Likewise.
34121         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
34123 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
34125         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
34126         always use the slow path.
34128 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
34130         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
34131         similar rule which adds the sysdep directories to the header search in
34132         order to pick up the correct platform stackinfo.h.
34133         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
34134         perform test if it is, otherwise return successfully without testing.
34135         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
34136         DEFAULT_STACK_PERMS define in stackinfo.h.
34137         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
34138         defined in stackinfo.h.
34139         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
34140         DEFAULT_STACK_PERMS defined in stackinfo.h.
34141         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
34142         * sysdeps/ia64/stackinfo.h: Likewise.
34143         * sysdeps/s390/stackinfo.h: Likewise.
34144         * sysdeps/sh/stackinfo.h: Likewise.
34145         * sysdeps/sparc/stackinfo.h: Likewise.
34146         * sysdeps/x86_64/stackinfo.h: Likewise.
34147         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
34148         PF_X for powerpc64.  Retain PF_X for powerpc32.
34150 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
34152         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
34153         accurately.
34154         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
34155         GETDENTS_64BIT_ALIGNED.
34157 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
34159         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
34161 2010-12-10  Andreas Schwab  <schwab@redhat.com>
34163         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
34164         _GNU_SOURCE.
34166         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
34167         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
34168         Remove __restrict.
34169         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
34170         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
34172 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
34174         [BZ #11655]
34175         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
34176         are initialized.
34178 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
34180         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
34182 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
34184         * po/it.po: Update from translation team.
34186 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
34188         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
34189         unused codes.
34191 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
34193         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
34195 2010-11-24  Andreas Schwab  <schwab@redhat.com>
34197         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
34198         specially.
34199         (gaih_getanswer_slice): Likewise.
34201 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
34203         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
34205 2010-05-31  Petr Baudis  <pasky@suse.cz>
34207         [BZ #11149]
34208         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
34209         silently even in the chroot mode.
34211 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
34213         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
34214         last patch a bit.  Pretty printing
34216 2010-05-31  Petr Baudis <pasky@suse.cz>
34218         [BZ #10085]
34219         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
34220         initialization of skip_initgroups_dyn.
34222 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
34224         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
34225         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34227 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
34229         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
34231 2010-11-11  Andreas Schwab  <schwab@redhat.com>
34233         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
34234         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
34235         (tst-fnmatch-ENV): Set MALLOC_TRACE.
34236         ($(objpfx)tst-fnmatch-mem): New rule.
34237         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
34238         * posix/tst-fnmatch.c (main): Call mtrace.
34240 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
34242         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34243         Support Intel processor model 6 and model 0x2c.
34245 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
34247         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
34248           signed comparison.
34250 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
34252         [BZ #12205]
34253         * string/test-strncasecmp.c (check_result): New function.
34254         (do_one_test): Use it.
34255         (check1): New function.
34256         (test_main): Use it.
34257         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
34258         Support strcasecmp and strncasecmp.
34260 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
34262         [BZ #12194]
34263         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
34264         * sysdeps/x86_64/bits/byteswap.h: Likewise.
34266 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
34268         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
34269         IFUNC support.
34270         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34271         memset-x86-64.
34272         * sysdeps/x86_64/multiarch/bzero.S: New file.
34273         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
34274         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
34275         * sysdeps/x86_64/multiarch/memset.S: New file.
34276         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
34277         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34278         Set bit_Prefer_SSE_for_memop for Intel processors.
34279         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
34280         Define.
34281         (index_Prefer_SSE_for_memop): Define.
34282         (HAS_PREFER_SSE_FOR_MEMOP): Define.
34284 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
34286         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
34287         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
34289 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
34291         [BZ #12191]
34292         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34293         (__x86_64_raw_data_cache_size_half): Likewise.
34294         (__x86_64_raw_shared_cache_size): Likewise.
34295         (__x86_64_raw_shared_cache_size_half): Likewise.
34297         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34298         (__x86_64_raw_data_cache_size_half): Likewise.
34299         (__x86_64_raw_shared_cache_size): Likewise.
34300         (__x86_64_raw_shared_cache_size_half): Likewise.
34301         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
34302         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
34303         and __x86_64_raw_shared_cache_size_half.  Round
34304         __x86_64_data_cache_size_half, __x86_64_data_cache_size
34305         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
34306         to multiple of 256 bytes.
34308 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
34310         [BZ #12167]
34311         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
34312         of inacessible symlinks.  Verify result of symlink before returning it.
34313         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
34314         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
34316 2010-10-28  Erich Ritz  <erichritz@gmail.com>
34318         * math/math.h (isinf): Fix typo in comment.
34320 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
34322         * po/da.po: Update from translation team.
34324 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
34326         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
34327         is added to the list.
34329 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34330             Ulrich Drepper  <drepper@gmail.com>
34332         * elf/dl-object.c (_dl_new_object): Don't append the new object to
34333         the global list here.  Move code to...
34334         (_dl_add_to_namespace_list): ...here.  New function.
34335         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
34336         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
34337         * elf/dl-load.c (lose): Don't remove the element from the list.
34338         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
34339         (_dl_map_object): Likewise.
34341 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
34343         [BZ #12159]
34344         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
34345         into all bytes of SSE register.
34346         Patch by Richard Li <richardpku@gmail.com>.
34348 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
34350         [BZ #12140]
34351         * malloc/malloc.c (_int_free): Fill correct number of bytes when
34352         perturbing.
34354 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
34356         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
34357         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
34358         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
34359         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
34361         submachine.
34362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
34364 2010-10-22  Andreas Schwab  <schwab@redhat.com>
34366         * include/dlfcn.h (__RTLD_SECURE): Define.
34367         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
34368         mode & __RTLD_SECURE instead.
34369         (open_path): Rename preloaded parameter to secure.
34370         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
34371         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
34372         * elf/dl-deps.c (openaux): Likewise.
34373         * elf/rtld.c (struct map_args): Remove is_preloaded.
34374         (map_doit): Don't use it.
34375         (dl_main): Likewise.
34376         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
34377         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
34379 2010-09-09  Andreas Schwab  <schwab@redhat.com>
34381         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
34382         (sysd-rules-targets): Remove duplicates.
34383         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
34384         rtld-%.$o dependency.
34386 2010-10-18  Andreas Schwab  <schwab@redhat.com>
34388         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
34389         _dl_map_object do it.
34391 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
34393         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
34394         fast fma builtins, define the macros in the C99 standard.
34395         (FP_FAST_FMAF): Likewise.
34396         (FP_FAST_FMAL): Likewise.
34397         * sysdeps/x86_64/bits/mathdef.h: Likewise.
34399         * bits/mathdef.h: Update copyright year.
34400         * sysdeps/powerpc/bits/mathdef.h: Likewise.
34402 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
34404         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
34405         builtins, define the macros in the C99 standard.
34406         (FP_FAST_FMAF): Likewise.
34407         (FP_FAST_FMAL): Likewise.
34408         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
34409         multiply/add.
34410         (FP_FAST_FMAF): Likewise.
34412 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
34414         [BZ #3268]
34415         * math/libm-test.inc (fma_test): Some new testcases.
34416         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
34417         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
34418         y and infinite z.  Do multiplication by C already in long double.
34419         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
34420         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
34421         y and infinite z.  Do bitwise or of inexact bit into u.d.
34422         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
34423         * sysdeps/i386/fpu/s_fmaf.S: Removed.
34424         * sysdeps/i386/fpu/s_fma.S: Removed.
34425         * sysdeps/i386/fpu/s_fmal.S: Removed.
34427 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
34429         [BZ #3268]
34430         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
34431         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
34432         computation is not scheduled after fetestexcept.  Fix value
34433         of minimum denormal long double.
34435 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
34437         [BZ #3268]
34438         * math/libm-test.inc (fma_test): Add some more tests.
34439         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
34440         correctly.
34442 2010-10-15  Andreas Schwab  <schwab@redhat.com>
34444         * scripts/data/localplt-s390-linux-gnu.data: New file.
34445         * scripts/data/localplt-s390x-linux-gnu.data: New file.
34447 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
34449         [BZ #3268]
34450         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
34451         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
34452         instead of dbl-64.
34453         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
34454         inlines.
34455         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
34456         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
34457         if one of x and y is very large and the other is subnormal.
34458         * sysdeps/s390/fpu/s_fmaf.c: New file.
34459         * sysdeps/s390/fpu/s_fma.c: New file.
34460         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
34461         * sysdeps/powerpc/fpu/s_fma.S: New file.
34462         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
34463         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
34464         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
34466 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
34468         [BZ #3268]
34469         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
34470         fma tests.
34471         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
34472         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
34473         * sysdeps/i386/i686/multiarch/s_fma.c: Include
34474         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
34475         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
34476         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
34477         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
34479 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
34481         [BZ #12078]
34482         * posix/regcomp.c (parse_branch): One more memory leak plugged.
34483         * posix/bug-regex31.input: Add test case.
34485 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
34487         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
34488         * posix/bug-regex31.input: New file.
34490         [BZ #12078]
34491         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
34492         (parse_sub_exp): Fix last change, use postorder.
34494         * posix/bug-regex31.c: New file.
34495         * posix/Makefile: Add rules to build and run bug-regex31.
34497         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
34499         [BZ #12078]
34500         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
34502         [BZ #12108]
34503         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
34504         to have entries in sys_siglist.
34506         [BZ #12093]
34507         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
34508         be NULL.
34510 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
34512         [BZ #3268]
34513         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
34514         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
34515         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
34516         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
34517         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34518         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
34519         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
34520         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
34521         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
34522         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
34523         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
34524         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
34525         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34526         * math/ftestexcept.c (fetestexcept): Likewise.
34527         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
34528         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
34529         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
34530         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
34531         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
34532         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
34533         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34535 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
34537         [BZ #12107]
34538         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
34539         newline.
34541 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
34543         * string/bug-strstr1.c: New file.
34544         * string/Makefile: Add rules to build and run bug-strstr1.
34546 2010-10-05  Eric Blake  <eblake@redhat.com>
34548         [BZ #12092]
34549         * string/str-two-way.h (two_way_long_needle): Always clear memory
34550         when skipping input due to the shift table.
34552 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
34554         [BZ #12005]
34555         * malloc/mcheck.c: Handle large requests.
34557         [BZ #12077]
34558         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
34559         for strncmp and strncasecmp.
34560         * string/stratcliff.c: Add tests for strcmp and strncmp.
34561         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
34563 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
34565         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
34566         __set_fpscr.
34568 2010-09-30  Andreas Jaeger  <aj@suse.de>
34570         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
34571         (CGROUP_SUPER_MAGIC): Define.
34572         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34573         Handle btrfs and cgroup file systems.
34574         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34575         Likewise.
34577 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
34579         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
34580         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
34582 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34584         [BZ #12067]
34585         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
34586         trying to locate the ELF header.
34588 2010-09-27  Andreas Schwab  <schwab@redhat.com>
34590         [BZ #11611]
34591         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
34592         Mask out sign-bit copies when constructing f_fsid.
34594 2010-09-24  Petr Baudis <pasky@suse.cz>
34596         * debug/stack_chk_fail_local.c: Add missing licence exception.
34597         * debug/warning-nop.c: Likewise.
34599 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
34601         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
34602         implementing getdents64 using getdents syscall, set d_type if
34603         __ASSUME_GETDENTS32_D_TYPE.
34605 2010-09-16  Andreas Schwab  <schwab@redhat.com>
34607         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
34608         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
34610 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
34612         [BZ #12037]
34613         * posix/unistd.h: Undo change of feature selection for ftruncate from
34614         2010-01-11.
34616 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
34618         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
34619         detection.
34621 2010-09-20  Andreas Schwab  <schwab@redhat.com>
34623         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
34624         fanotify_mark.
34625         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34627 2010-09-14  Andreas Schwab  <schwab@redhat.com>
34629         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
34630         variables after CHECK_SP call.
34631         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
34633 2010-09-13  Andreas Schwab  <schwab@redhat.com>
34634             Ulrich Drepper  <drepper@redhat.com>
34636         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
34637         re-relocationg ld.so.
34638         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
34639         _dl_init_paths call.
34640         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
34641         here anymore.
34643 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
34645         * resolv/res_init.c (__res_vinit): Count the default server we added.
34647 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
34648             Ulrich Drepper  <drepper@redhat.com>
34650         [BZ #11968]
34651         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34652         (____longjmp_chk): Use %ebx for saving value across system call.
34653         Add unwind info.
34655 2010-09-06  Andreas Schwab  <schwab@redhat.com>
34657         * manual/Makefile: Don't mix pattern rules with normal rules.
34659 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
34661         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
34662         operation.
34663         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
34664         * libio/iofopncook.c (_IO_cookie_init): Likewise.
34665         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
34666         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
34667         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34668         Likewise.
34670 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
34672         [BZ #11979]
34673         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
34674         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
34676 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
34678         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
34679         * sysdeps/x86_64/addmul_1.S: Likewise.
34680         * sysdeps/x86_64/lshift.S: Likewise.
34681         * sysdeps/x86_64/mul_1.S: Likewise.
34682         * sysdeps/x86_64/rshift.S: Likewise.
34683         * sysdeps/x86_64/sub_n.S: Likewise.
34684         * sysdeps/x86_64/submul_1.S: Likewise.
34686 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34688         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
34689         Define __sched_param instead of SCHED_* and sched_param when
34690         <bits/sched.h> is included with __need_schedparam defined.
34691         * bits/sched.h [__need_schedparam]
34692         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
34693         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
34694         (__defined_schedparam): Define to 1.
34695         (__sched_param): New structure, identical to sched_param.
34696         (__need_schedparam): Undefine.
34698 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
34700         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
34701         (epoll_create1): Declare.
34703         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
34705 2010-08-31  Andreas Schwab  <schwab@redhat.com>
34707         [BZ #7066]
34708         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
34709         shifting retval into place.
34711 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
34713         * nis/rpcsvc/nis.h: Update copyright notice.
34714         * nis/rpcsvc/nis.x: Likewise.
34715         * nis/rpcsvc/nis_callback.h: Likewise.
34716         * nis/rpcsvc/nis_callback.x: Likewise.
34717         * nis/rpcsvc/nis_object.x: Likewise.
34718         * nis/rpcsvc/nis_tags.h: Likewise.
34719         * nis/rpcsvc/yp.h: Likewise.
34720         * nis/rpcsvc/yp.x: Likewise.
34721         * nis/rpcsvc/ypupd.h: Likewise.
34722         * nis/yp_xdr.c: Likewise.
34723         * nis/ypupdate_xdr.c: Likewise.
34725         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
34726         mainly the body of pmap_getport.  Add parameters to specify timeouts.
34727         (pmap_getport): Use __libc_rpc_getport.
34728         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
34729         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
34730         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
34732 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
34734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
34735         fanotify_mark.
34737 2010-08-27  Roland McGrath  <roland@redhat.com>
34739         * sysdeps/i386/i686/multiarch/Makefile
34740         (CFLAGS-varshift.c): New variable.
34742 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
34744         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
34745         * sysdeps/i386/i686/multiarch/varshift.c: New file.
34747         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
34749         * sysdeps/x86_64/strlen.S: Minimal code improvement.
34751 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
34753         * sysdeps/x86_64/strlen.S: Unroll the loop.
34754         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34755         strlen-sse2 strlen-sse2-bsf.
34756         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
34757         __strlen_no_bsf if bit_Slow_BSF is set.
34758         (__strlen_sse42): Removed.
34759         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
34760         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
34762 2010-08-25  Roland McGrath  <roland@redhat.com>
34764         * sysdeps/x86_64/multiarch/varshift.S: File removed.
34765         * sysdeps/x86_64/multiarch/varshift.c: New file.
34766         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
34767         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
34768         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
34769         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34771 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
34773         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34774         strlen-sse2 strlen-sse2-bsf.
34775         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
34776         __strlen_sse2_bsf if bit_Slow_BSF is unset.
34777         (__strlen_sse2): Removed.
34778         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
34779         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
34780         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34781         bit_Slow_BSF for Atom.
34782         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
34783         (index_Slow_BSF): Define.
34784         (HAS_SLOW_BSF): Define.
34786 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
34788         [BZ #10851]
34789         * resolv/res_init.c (__res_vinit): When no server address at all
34790         is given default to loopback.
34792 2010-08-24  Roland McGrath  <roland@redhat.com>
34794         * configure.in: Remove config-name.h generation.
34795         * configure: Regenerated.
34796         * config-name.in: File removed.
34797         * scripts/config-uname.sh: New file.
34798         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
34799         ($(objdir)config-name.h): New target.
34801         * sunrpc/rpc_parse.h: Avoid nested comment.
34803 2010-08-24  Richard Henderson  <rth@redhat.com>
34804             Ulrich Drepper  <drepper@redhat.com>
34805             H.J. Lu  <hongjiu.lu@intel.com>
34807         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
34808         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
34809         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
34810         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
34811         _mm_alignr_epi8 with _mm_loadu_si128.
34812         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
34813         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
34814         (__m128i_shift_right): Removed.
34815         * sysdeps/i386/i686/multiarch/varshift.h: New file.
34816         * sysdeps/i386/i686/multiarch/varshift.S: New file.
34817         * sysdeps/x86_64/multiarch/varshift.h: New file.
34818         * sysdeps/x86_64/multiarch/varshift.S: New file.
34820 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
34822         * configure.in: Move assembler checks to before sysdep dir checking.
34824 2010-08-20  Petr Baudis  <pasky@suse.cz>
34826         * LICENSES: Sync the sunrpc license.
34828 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
34830         * sunrpc/auth_des.c: Update copyright notice once again.
34831         * sunrpc/auth_none.c: Likewise.
34832         * sunrpc/auth_unix.c: Likewise.
34833         * sunrpc/authdes_prot.c: Likewise.
34834         * sunrpc/authuxprot.c: Likewise.
34835         * sunrpc/bindrsvprt.c: Likewise.
34836         * sunrpc/clnt_gen.c: Likewise.
34837         * sunrpc/clnt_perr.c: Likewise.
34838         * sunrpc/clnt_raw.c: Likewise.
34839         * sunrpc/clnt_simp.c: Likewise.
34840         * sunrpc/clnt_tcp.c: Likewise.
34841         * sunrpc/clnt_udp.c: Likewise.
34842         * sunrpc/clnt_unix.c: Likewise.
34843         * sunrpc/des_crypt.c: Likewise.
34844         * sunrpc/des_soft.c: Likewise.
34845         * sunrpc/get_myaddr.c: Likewise.
34846         * sunrpc/getrpcport.c: Likewise.
34847         * sunrpc/key_call.c: Likewise.
34848         * sunrpc/key_prot.c: Likewise.
34849         * sunrpc/openchild.c: Likewise.
34850         * sunrpc/pm_getmaps.c: Likewise.
34851         * sunrpc/pm_getport.c: Likewise.
34852         * sunrpc/pmap_clnt.c: Likewise.
34853         * sunrpc/pmap_prot.c: Likewise.
34854         * sunrpc/pmap_prot2.c: Likewise.
34855         * sunrpc/pmap_rmt.c: Likewise.
34856         * sunrpc/rpc/auth.h: Likewise.
34857         * sunrpc/rpc/auth_unix.h: Likewise.
34858         * sunrpc/rpc/clnt.h: Likewise.
34859         * sunrpc/rpc/des_crypt.h: Likewise.
34860         * sunrpc/rpc/key_prot.h: Likewise.
34861         * sunrpc/rpc/netdb.h: Likewise.
34862         * sunrpc/rpc/pmap_clnt.h: Likewise.
34863         * sunrpc/rpc/pmap_prot.h: Likewise.
34864         * sunrpc/rpc/pmap_rmt.h: Likewise.
34865         * sunrpc/rpc/rpc.h: Likewise.
34866         * sunrpc/rpc/rpc_des.h: Likewise.
34867         * sunrpc/rpc/rpc_msg.h: Likewise.
34868         * sunrpc/rpc/svc.h: Likewise.
34869         * sunrpc/rpc/svc_auth.h: Likewise.
34870         * sunrpc/rpc/types.h: Likewise.
34871         * sunrpc/rpc/xdr.h: Likewise.
34872         * sunrpc/rpc_clntout.c: Likewise.
34873         * sunrpc/rpc_cmsg.c: Likewise.
34874         * sunrpc/rpc_common.c: Likewise.
34875         * sunrpc/rpc_cout.c: Likewise.
34876         * sunrpc/rpc_dtable.c: Likewise.
34877         * sunrpc/rpc_hout.c: Likewise.
34878         * sunrpc/rpc_main.c: Likewise.
34879         * sunrpc/rpc_parse.c: Likewise.
34880         * sunrpc/rpc_parse.h: Likewise.
34881         * sunrpc/rpc_prot.c: Likewise.
34882         * sunrpc/rpc_sample.c: Likewise.
34883         * sunrpc/rpc_scan.c: Likewise.
34884         * sunrpc/rpc_scan.h: Likewise.
34885         * sunrpc/rpc_svcout.c: Likewise.
34886         * sunrpc/rpc_tblout.c: Likewise.
34887         * sunrpc/rpc_util.c: Likewise.
34888         * sunrpc/rpc_util.h: Likewise.
34889         * sunrpc/rpcinfo.c: Likewise.
34890         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
34891         * sunrpc/rpcsvc/key_prot.x: Likewise.
34892         * sunrpc/rpcsvc/klm_prot.x: Likewise.
34893         * sunrpc/rpcsvc/mount.x: Likewise.
34894         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
34895         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
34896         * sunrpc/rpcsvc/rex.x: Likewise.
34897         * sunrpc/rpcsvc/rstat.x: Likewise.
34898         * sunrpc/rpcsvc/rusers.x: Likewise.
34899         * sunrpc/rpcsvc/sm_inter.x: Likewise.
34900         * sunrpc/rpcsvc/spray.x: Likewise.
34901         * sunrpc/rpcsvc/yppasswd.x: Likewise.
34902         * sunrpc/rtime.c: Likewise.
34903         * sunrpc/svc.c: Likewise.
34904         * sunrpc/svc_auth.c: Likewise.
34905         * sunrpc/svc_authux.c: Likewise.
34906         * sunrpc/svc_raw.c: Likewise.
34907         * sunrpc/svc_run.c: Likewise.
34908         * sunrpc/svc_simple.c: Likewise.
34909         * sunrpc/svc_tcp.c: Likewise.
34910         * sunrpc/svc_udp.c: Likewise.
34911         * sunrpc/svc_unix.c: Likewise.
34912         * sunrpc/svcauth_des.c: Likewise.
34913         * sunrpc/xcrypt.c: Likewise.
34914         * sunrpc/xdr.c: Likewise.
34915         * sunrpc/xdr_array.c: Likewise.
34916         * sunrpc/xdr_float.c: Likewise.
34917         * sunrpc/xdr_mem.c: Likewise.
34918         * sunrpc/xdr_rec.c: Likewise.
34919         * sunrpc/xdr_ref.c: Likewise.
34920         * sunrpc/xdr_sizeof.c: Likewise.
34921         * sunrpc/xdr_stdio.c: Likewise.
34923         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
34924         handling.
34926 2010-08-19  Andreas Schwab  <schwab@redhat.com>
34928         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
34930 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
34932         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
34933         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
34934         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
34935         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
34936         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
34937         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
34938         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
34939         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
34940         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
34941         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
34942         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
34943         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
34944         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
34945         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
34947 2010-07-26  Anton Blanchard  <anton@samba.org>
34949         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
34950         * malloc/arena.c (heap_trim): Likewise.
34952 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
34954         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
34955         here.  Not...
34956         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
34957         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
34959 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
34961         * sysdeps/i386/elf/Makefile: New file.
34963 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
34965         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
34966         from fanotify_init.
34967         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
34968         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34970 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
34972         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
34973         of strncasecmp_l.
34974         * sysdeps/multiarch/strcmp.S: Likewise.
34976 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
34978         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34979         strncase_l-nonascii.
34980         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34981         Add strncase_l-ssse3.
34982         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
34983         * sysdeps/x86_64/strcmp.S: Likewise.
34984         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
34985         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
34986         * sysdeps/x86_64/strncase.S: New file.
34987         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
34988         * sysdeps/x86_64/strncase_l.S: New file.
34989         * string/Makefile (strop-tests): Add strncasecmp.
34990         * string/test-strncasecmp.c: New file.
34992         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
34993         warning.
34995         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
34996         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
34998 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
35000         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
35002 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
35004         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
35005         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
35006         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
35008 2010-05-01  Alan Modra  <amodra@gmail.com>
35010         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
35011         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
35012         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
35013         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
35014         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
35015         tidying.  Don't tail-call __sigjmp_save for static lib.
35016         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
35017         save location.
35018         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
35019         (CALL_MCOUNT): Add eh info, and nop after bl.
35020         (TAIL_CALL_SYSCALL_ERROR): New macro.
35021         (PSEUDO_RET): Use it.
35022         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
35023         Correct save location of integer regs and cr.
35024         (_dl_profile_resolve): Correct cr save location.  Delete nops
35025         after bl when SHARED.  Reduce cfi size a little by better
35026         placement of cfi directives.
35027         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
35028         make a stack frame.  Instead use parm save area as a temp.
35029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
35030         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
35031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
35032         Don't make a stack frame for parent, use parm save area.
35033         Increase child stack frame to 112 bytes.  Don't save unused reg,
35034         and adjust reg usage.  Set up cfi on error recovery and
35035         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
35036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35037         (__makecontext): Add dummy nop after jump to exit.
35038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
35039         Use correct parm save area and cr save, reduce stack frame.
35040         Correct cfi for possible PSEUDO_RET frame setup.
35041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
35042         Branch to local label emitted by PSEUDO_RET rather than
35043         __syscall_error.
35045 2010-08-12  Andreas Schwab  <schwab@redhat.com>
35047         [BZ #11904]
35048         * locale/programs/locale.c (print_assignment): New function.
35049         (show_locale_vars): Use it.
35051 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
35053         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
35054         field.
35055         (struct statfs64): Likewise.
35056         (_STATFS_F_FLAGS): Define.
35057         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
35058         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35059         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
35060         (ST_VALID): Define locally.
35061         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
35062         __statvfs_getflags, use the provided value.
35063         * sysdeps/unix/sysv/linux/kernel-features.h: Define
35064         __ASSUME_STATFS_F_FLAGS.
35066         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
35068         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
35069         Add sys/fanotify.h.
35070         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
35071         fanotify_mask for GLIBC_2.13.
35072         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
35073         fanotify_init and fanotify_mark.
35074         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35075         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
35077         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
35078         Add prlimit.
35079         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
35080         prlimit64 for GLIBC_2.13.
35081         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
35082         prlimit64.
35083         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
35084         syscall.
35085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
35086         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35087         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
35088         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
35089         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
35090         add prlimit alias.
35091         * sysdeps/unix/sysv/linux/prlimit.c: New file.
35093         [BZ #11903]
35094         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
35095         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
35097         * nss/Makefile: Add rules to build and run tst-nss-test1.
35098         * shlib-versions: Add entry for libnss_test1.
35099         * nss/nss_test1.c: New file.
35100         * nss/tst-nss-test1.c: New file.
35102         * nss/nsswitch.c (__nss_database_custom): Define new variable.
35103         (__nss_configure_lookup): Set appropriate entry in
35104         __nss_configure_lookup to true.
35105         * nss/nsswitch.h: Define enum with indeces of databases in
35106         databases and __nss_database_custom arrays.  Declare
35107         __nss_database_custom.
35108         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
35109         to avoid using nscd when custom rules are installed.
35110         * nss/getXXbyYY_r.c: Likewise.
35111         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
35113         * nss/nss_files/files-parse.c: Whitespace fixes.
35115 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
35117         [BZ #11883]
35118         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
35119         * posix/fnmatch_loop.c: Likewise.
35121 2010-07-17  Andi Kleen  <ak@linux.intel.com>
35123         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
35124         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
35125         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
35126         * Versions.def [GLIBC_2.13]: Add.
35128 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
35130         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35131         Also fail if tpwd after pwuid call is NULL.
35133 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35135         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
35136         when converting to ms.
35138 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35140         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
35141         EOPNOTSUPP errors with ENOTTY.
35142         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
35143         EOPNOTSUPP errors with ENOTTY.
35145 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
35147         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35148         Add strcasecmp_l-ssse3.
35149         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
35150         strcasecmp.
35151         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
35152         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
35153         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
35155 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
35157         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
35159         * string/Makefile (strop-tests): Add strcasecmp.
35160         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35161         strcasecmp_l-nonascii.
35162         (gen-as-const-headers): Add locale-defines.sym.
35163         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
35164         * sysdeps/x86_64/strcasecmp.S: New file.
35165         * sysdeps/x86_64/strcasecmp_l.S: New file.
35166         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
35167         * sysdeps/x86_64/locale-defines.sym: New file.
35168         * string/test-strcasecmp.c: New file.
35170         * string/test-strcasestr.c: Test both ends of the range of characters.
35171         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
35173 2010-07-29  Roland McGrath  <roland@redhat.com>
35175         [BZ #11856]
35176         * manual/locale.texi (Yes-or-No Questions): Fix example code.
35178 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
35180         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
35181         for ld.so.
35183 2010-07-27  Andreas Schwab  <schwab@redhat.com>
35185         * manual/memory.texi (Malloc Tunable Parameters): Document
35186         M_PERTURB.
35188 2010-07-26  Roland McGrath  <roland@redhat.com>
35190         [BZ #11840]
35191         * configure.in (-fgnu89-inline check): Set and substitute
35192         gnu89_inline, not libc_cv_gnu89_inline.
35193         * configure: Regenerated.
35194         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
35196 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
35198         * string/test-strnlen.c: New file.
35199         * string/Makefile (strop-tests): Add strnlen.
35200         * string/tester.c (test_strnlen): Add a few more test cases.
35201         * string/tst-strlen.c: Better error reporting.
35203         * sysdeps/x86_64/strnlen.S: New file.
35205 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
35207         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
35208         lower-latency instructions.
35210 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
35212         * string/test-strcasestr.c: New file.
35213         * string/test-strstr.c: New file.
35214         * string/Makefile (strop-tests): Add strstr and strcasestr.
35215         * string/str-two-way.h: Don't undefine MAX.
35216         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
35218 2010-07-21  Andreas Schwab  <schwab@redhat.com>
35220         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35221         strcasestr-nonascii.
35222         (CFLAGS-strcasestr-nonascii.c): Define.
35223         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
35224         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
35225         Remove unused attribute.
35227 2010-07-20  Roland McGrath  <roland@redhat.com>
35229         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
35230         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
35231         ld.so.cache was broken.  With it, there is no way to disable dsocaps
35232         like LD_HWCAP_MASK can disable hwcaps.
35234 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
35236         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
35238 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
35240         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
35241         call in strcasestr.
35242         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
35243         __strcasestr_sse42_nonascii.
35244         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
35245         strcasestr-nonascii.c.
35246         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
35248 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
35250         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
35251         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
35252         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
35253         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
35255 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
35257         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
35258         fcntl.
35260 2010-07-06  Andreas Schwab  <schwab@redhat.com>
35262         [BZ #11577]
35263         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
35264         dl_signal_cerror.
35266 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
35268         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
35269         _PC_PIPE_BUF using F_GETPIPE_SZ.
35271 2010-07-05  Roland McGrath  <roland@redhat.com>
35273         * manual/arith.texi (Rounding Functions): Fix rint description
35274         implicit in round description.
35276 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
35278         * elf/Makefile: Fix linking for a few tests to make recent linker
35279         happy.
35281 2010-06-30  Andreas Schwab  <schwab@redhat.com>
35283         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35284         $(common-objpfx)libc_nonshared.a.
35286 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
35288         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
35289         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
35290         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35291         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35292         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
35293         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
35294         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35295         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
35297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
35298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
35299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
35301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
35303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
35304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
35305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
35306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
35308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
35310         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
35311         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
35312         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
35313         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
35314         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
35315         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
35316         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
35317         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
35318         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
35319         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
35320         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
35321         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
35322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
35323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
35324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
35325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
35326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
35327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
35328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
35329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
35330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
35331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
35332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
35333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
35334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
35335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
35337 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
35339         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
35340         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
35341         * string/memmove.c (memmove): Renamed to ...
35342         (MEMMOVE): ...this.  Default to memmove.
35343         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
35344         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
35345         (END_CHK): Define.
35346         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35347         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
35348         mempcpy-ssse3-back memmove-ssse3-back.
35349         * sysdeps/x86_64/multiarch/bcopy.S: New file .
35350         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
35351         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
35352         * sysdeps/x86_64/multiarch/memcpy.S: New file.
35353         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
35354         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
35355         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
35356         * sysdeps/x86_64/multiarch/memmove.c: New file.
35357         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
35358         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
35359         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
35360         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
35361         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
35362         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
35363         Define.
35364         (index_Fast_Copy_Backward): Define.
35365         (HAS_ARCH_FEATURE): Define.
35366         (HAS_FAST_REP_STRING): Define.
35367         (HAS_FAST_COPY_BACKWARD): Define.
35369 2010-06-21  Andreas Schwab  <schwab@redhat.com>
35371         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35372         Restore proper fallback handling.
35374 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
35376         [BZ #11701]
35377         * posix/group_member.c (__group_member): Correct checking loop.
35379         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
35380         OOM in getpwuid_r correctly.  Return error number when the caller
35381         should return, otherwise -1.
35382         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
35383         call returning > 0 value.
35384         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
35386 2010-06-07  Andreas Schwab  <schwab@redhat.com>
35388         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
35389         libc_nonshared.a from targets in modules-names.
35391 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
35393         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
35394         requires it.
35396 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
35398         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
35399         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
35400         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
35401         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
35403 2010-06-02  Andreas Schwab  <schwab@redhat.com>
35405         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
35407 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
35409         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
35410         and F_GETPIPE_SZ.
35411         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35412         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35413         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35414         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35415         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35416         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
35418 2010-06-14  Roland McGrath  <roland@redhat.com>
35420         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
35422 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
35424         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
35425         __REDIRECT followed by __THROW.
35426         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
35427         * posix/getopt.h (getopt): Likewise.
35429 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
35431         * hurd/lookup-at.c (__file_name_lookup_at): Accept
35432         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
35433         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
35434         in AT_FLAGS.
35435         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
35436         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
35438 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
35440         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
35442 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
35444         [BZ #11640]
35445         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35446         Properly check family and model.
35448 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
35450         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
35452 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
35454         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
35456 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
35458         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
35459         symbol reference.
35461 2010-05-19  Andreas Schwab  <schwab@redhat.com>
35463         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
35464         symbol reference.
35466 2010-05-21  Andreas Schwab  <schwab@redhat.com>
35468         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
35469         and internal_recvmmsg.
35470         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
35471         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
35472         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
35473         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
35475         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
35476         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35477         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35479 2010-05-20  Andreas Schwab  <schwab@redhat.com>
35481         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
35483 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
35485         POWER7 optimizations.
35486         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
35487         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
35489 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
35491         * version.h: Update for 2.13 development version.
35493 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
35495         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
35496         exceptions.  Return 0.
35498 2010-05-07  Roland McGrath  <roland@redhat.com>
35500         * elf/ldconfig.c (main): Add a const.
35502 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
35504         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
35505         (args_options): Add no-idn option.
35506         (ahosts_keys_int): Add idn_flags to ai_flags.
35507         (parse_option): Handle 'i' option to clear idn_flags.
35509         * malloc/malloc.c (_int_free): Possible race in the most recently
35510         added check.  Only act on the data if no current modification
35511         happened.
35513 See ChangeLog.17 for earlier changes.