Fix x86 sqrt rounding (bug 14032).
[glibc.git] / ChangeLog
blob25e7725bf2962679a9b408891985c780d266e596
1 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #14032]
4         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
5         precision control set to double precision.
6         * sysdeps/i386/fpu/w_sqrt.c: New file.
7         * math/auto-libm-test-in: Add more tests.
8         * math/auto-libm-test-out: Update.
10         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
11         (sqrt_test_tonearest): New function.
12         (sqrt_towardzero_test_data): New variable.
13         (sqrt_test_towardzero): New function.
14         (sqrt_downward_test_data): New variable.
15         (sqrt_test_downward): New function.
16         (sqrt_upward_test_data): New variable.
17         (sqrt_test_upward): New function.
18         (main): Call the new functions.
20         * math/gen-auto-libm-tests.c: New file.
21         * math/auto-libm-test-in: Likewise.
22         * math/auto-libm-test-out: New generated file.
23         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
24         variables.
25         (%beautify): Add generated representations of zero.
26         (top level): Set $auto_input and call parse_auto_input.
27         (beautify): Remove trailing "f" from hex float constants.
28         (parse_args): Handle XFAIL_TEST.
29         (convert_condition): New function.
30         (or_value): Likewise.
31         (or_cond_value): Likewise.
32         (generate_testfile): Handle AUTO_TESTS_* lines.
33         (parse_auto_input): New function.
34         * math/libm-test.inc (XFAIL_TEST): New macro.
35         (ERRNO_UNCHANGED): Update value.
36         (ERRNO_EDOM): Likewise.
37         (ERRNO_ERANGE): Likewise.
38         (IGNORE_RESULT): Likewise.
39         (TEST_COND_flt_32): New macro.
40         (TEST_COND_dbl_64): Likewise.
41         (TEST_COND_ldbl_96_intel): Likewise.
42         (TEST_COND_ldbl_96_m68k): Likewise.
43         (TEST_COND_ldbl_128): Likewise.
44         (TEST_COND_ldbl_128ibm): Likewise.
45         (TEST_COND_long32): Likewise.
46         (TEST_COND_long64): Likewise.
47         (TEST_COND_before_rounding): Likewise.
48         (TEST_COND_after_rounding): Likewise.
49         (enable_test): Handle XFAIL_TEST flag.
50         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
51         with finite results.
52         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
53         auto-libm-test-out.
55 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
56             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58         [BZ #16214]
59         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
60         __tls_get_addr_internal instead of __tls_get_offset in order to
61         avoid GOT pointer dependency.  Make rtld export
62         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
63         __tls_get_addr since we are a __tls_get_offset platform.
64         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
65         GOT pointer being set up before.
66         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
68 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
70         * manual/math.texi (Errors in Math Functions): Document accuracy
71         goals.
73         [BZ #15004]
74         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
75         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
76         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
77         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
78         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
79         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
80         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
81         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
82         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
83         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
84         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
85         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
86         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
87         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
88         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
89         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
91         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
92         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
93         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
94         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
95         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
96         Likewise.
97         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
98         Likewise.
99         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
100         Likewise.
101         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
102         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
103         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
104         atomic-feupdateenv and flt-rounds.
105         * sysdeps/powerpc/nofpu/Versions (libc): Add
106         __atomic_feholdexcept, __atomic_feclearexcept,
107         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
108         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
109         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
110         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
111         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
112         here.
113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
114         Update.
116         * manual/arith.texi (FP Exceptions): Document that exceptions may
117         not be raised when matherr is used.
118         (Math Error Reporting): Document overflow in directed rounding
119         modes.  Document that errno may not be set when finite values are
120         returned on overflow.  Document intent to set errno on underflow
121         only for underflow to zero.
123         [BZ #16271]
124         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
125         round-to-nearest then adjust result for other rounding modes.
126         * include/fenv.h (fegetround): Use libm_hidden_proto.
127         * math/fegetround.c (fegetround): Use libm_hidden_def.
128         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
129         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
130         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
131         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
132         Likewise.
133         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
134         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
135         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
136         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
138 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
140         [BZ #16077]
141         * nss/Versions (libnss_files): Add
142         _nss_files_gethostbyname3_r.
143         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
144         New function.
145         (HOST_DB_LOOKUP): Remove macro.
146         (_nss_files_gethostbyname_r): Implement function without the
147         HOST_DB_LOOKUP macro.
148         (_nss_files_gethostbyname2_r): Likewise.
150 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
152         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
154 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
156         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
157         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
158         warning.
160 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
162         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
163         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
164         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
165         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
166         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
167         __fe_nomask_env_priv and attribute_hidden.
168         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
169         (libc_feupdateenv_test_ppc): Likewise.
170         (libc_feresetround_ppc): Likewise.
171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
172         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
173         compat_symbol macro.
174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
175         (__fe_nomask_env): Likewise.
176         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
178 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
180         * string/Makefile: Remove ifunc tests.
181         * string/test-string.h: Define TEST_IFUNC.
182         * string/test-bcopy-ifunc.c: Remove.
183         * string/test-bzero-ifunc.c: Likewise.
184         * string/test-memccpy-ifunc.c: Likewise.
185         * string/test-memchr-ifunc.c: Likewise.
186         * string/test-memcmp-ifunc.c: Likewise.
187         * string/test-memcpy-ifunc.c: Likewise.
188         * string/test-memmem-ifunc.c: Likewise.
189         * string/test-memmove-ifunc.c: Likewise.
190         * string/test-mempcpy-ifunc.c: Likewise.
191         * string/test-memrchr-ifunc.c: Likewise.
192         * string/test-memset-ifunc.c: Likewise.
193         * string/test-rawmemchr-ifunc.c: Likewise.
194         * string/test-stpcpy-ifunc.c: Likewise.
195         * string/test-stpncpy-ifunc.c: Likewise.
196         * string/test-strcasecmp-ifunc.c: Likewise.
197         * string/test-strcasestr-ifunc.c: Likewise.
198         * string/test-strcat-ifunc.c: Likewise.
199         * string/test-strchr-ifunc.c: Likewise.
200         * string/test-strchrnul-ifunc.c: Likewise.
201         * string/test-strcmp-ifunc.c: Likewise.
202         * string/test-strcpy-ifunc.c: Likewise.
203         * string/test-strcspn-ifunc.c: Likewise.
204         * string/test-strlen-ifunc.c: Likewise.
205         * string/test-strncasecmp-ifunc.c: Likewise.
206         * string/test-strncat-ifunc.c: Likewise.
207         * string/test-strncmp-ifunc.c: Likewise.
208         * string/test-strncpy-ifunc.c: Likewise.
209         * string/test-strnlen-ifunc.c: Likewise.
210         * string/test-strpbrk-ifunc.c: Likewise.
211         * string/test-strrchr-ifunc.c: Likewise.
212         * string/test-strspn-ifunc.c: Likewise.
213         * string/test-strstr-ifunc.c: Likewise.
215 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
217         * benchtests/Makefile: Remove ifunc tests.
218         * benchtests/bench-string.h: Define TEST_IFUNC.
219         * benchtests/bench-bcopy-ifunc.c: Remove.
220         * benchtests/bench-bzero-ifunc.c: Likewise.
221         * benchtests/bench-memccpy-ifunc.c: Likewise.
222         * benchtests/bench-memchr-ifunc.c: Likewise.
223         * benchtests/bench-memcmp-ifunc.c: Likewise.
224         * benchtests/bench-memcpy-ifunc.c: Likewise.
225         * benchtests/bench-memmem-ifunc.c: Likewise.
226         * benchtests/bench-memmove-ifunc.c: Likewise.
227         * benchtests/bench-mempcpy-ifunc.c: Likewise.
228         * benchtests/bench-memrchr-ifunc.c: Likewise.
229         * benchtests/bench-memset-ifunc.c: Likewise.
230         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
231         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
232         * benchtests/bench-stpcpy-ifunc.c: Likewise.
233         * benchtests/bench-stpncpy-ifunc.c: Likewise.
234         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
235         * benchtests/bench-strcasestr-ifunc.c: Likewise.
236         * benchtests/bench-strcat-ifunc.c: Likewise.
237         * benchtests/bench-strchr-ifunc.c: Likewise.
238         * benchtests/bench-strchrnul-ifunc.c: Likewise.
239         * benchtests/bench-strcmp-ifunc.c: Likewise.
240         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
241         * benchtests/bench-strcpy-ifunc.c: Likewise.
242         * benchtests/bench-strcspn-ifunc.c: Likewise.
243         * benchtests/bench-strlen-ifunc.c: Likewise.
244         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
245         * benchtests/bench-strncat-ifunc.c: Likewise.
246         * benchtests/bench-strncmp-ifunc.c: Likewise.
247         * benchtests/bench-strncpy-ifunc.c: Likewise.
248         * benchtests/bench-strnlen-ifunc.c: Likewise.
249         * benchtests/bench-strpbrk-ifunc.c: Likewise.
250         * benchtests/bench-strrchr-ifunc.c: Likewise.
251         * benchtests/bench-strsep-ifunc.c: Likewise.
252         * benchtests/bench-strspn-ifunc.c: Likewise.
253         * benchtests/bench-strstr-ifunc.c: Likewise.
255 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
257         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
259 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
261         * resolv/netdb.h: Use __glibc_reserved instead __unused.
262         * rt/aio.h: Likewise.
263         * sysdeps/gnu/bits/utmp.h: Likewise.
264         * sysdeps/gnu/bits/utmpx.h: Likewise.
265         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
266         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
267         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
268         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
269         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
270         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
271         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
272         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
273         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
274         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
275         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
276         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
277         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
279         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
280         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
281         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
282         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
283         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
284         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
285         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
286         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
287         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
288         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
289         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
290         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
291         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
292         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
293         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
294         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
295         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
296         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
297         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
298         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
299         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
300         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
301         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
302         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
303         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
304         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
305         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
306         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
308 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
310         [BZ #16245]
311         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
312         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
314 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
316         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
317         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
318         Likewise.
320 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
322         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
323         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
324         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
325         (__fesetround): Remove define.
326         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
327         rounding and exceptions handling.
328         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
329         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
330         (__fe_nomask_env): Likewise.
331         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
332         __fegetround instead of fegetround.
333         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
334         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
336 2013-11-21  Roland McGrath  <roland@hack.frob.com>
338         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
339         it's there.
341         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
343 2013-11-21  Meador Inge  <meadori@codesourcery.com>
345         [BZ #11157]
346         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
347         (encrypt_r): Likewise.
348         * malloc/obstack.h (obstack_free): Likewise.
349         * posix/unistd.h (encrypt): Likewise.
351 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
353         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
354         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
355         DL_CALL_DT_FINI() that call the functions directly.
356         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
357         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
358         * elf/dl-fini.c: Likewise.
360 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
362         * malloc/hooks.c (memalign_check): Add alignment rounding.
363         * malloc/malloc.c (_mid_memalign): New function.
364         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
365         Implement by calling _mid_memalign.
366         * manual/probes.texi (Memory Allocation Probes): Remove
367         memory_valloc_retry and memory_pvalloc_retry.
369 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
371         * locale/programs/locarchive.c (open_archive): Add const
372         qualifier to ARCHIVEFNAME and copy default fname to
373         DEFAULT_FNAME.
375         [BZ #15601]
376         * libio/tst-widetext.input: Rename Oriya to Odia.
377         * locale/iso-639.def: Likewise.
379         * manual/probes.texi (Mathematical Function Probes): Add
380         documentation for sin, cos, asin and acos probes.
381         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
382         (__sin32): Add slowasin probe.
383         (__cos32): Add slowacos probe.
384         (__mpsin): Add slowsin probe.
385         (__mpcos): Add slowcos probe.
387 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
389         [BZ #15483]
390         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
391         thread-local __sim_exceptions_thread and global
392         __sim_exceptions_global.
393         (__sim_disabled_exceptions): Change to thread-local
394         __sim_disabled_exceptions_thread and global
395         __sim_disabled_exceptions_global.
396         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
397         and global __sim_round_mode_global.
398         (__simulate_exceptions): Use thread-local floating-point state and
399         set global state from it as needed.
400         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
401         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
402         __sim_round_mode_thread.
403         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
404         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
405         and global __sim_exceptions_global.
406         (__sim_disabled_exceptions): Change to thread-local
407         __sim_disabled_exceptions_thread and global
408         __sim_disabled_exceptions_global.
409         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
410         and global __sim_round_mode_global.
411         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
412         (SIM_SET_GLOBAL): Likewise.
413         * sysdeps/powerpc/soft-fp/sfp-machine.h
414         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
415         __sim_round_mode_thread.
416         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
417         __sim_disabled_exceptions_thread.
418         (__sim_exceptions): Change to __sim_exceptions_thread.
419         (__sim_disabled_exceptions): Change to
420         __sim_disabled_exceptions_thread.
421         (__sim_round_mode): Change to __sim_round_mode_thread.
422         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
423         thread-local floating-point state and set global state from it as
424         needed.
425         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
426         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
427         (__sim_disabled_exceptions): Remove extern declaration.
428         (feenableexcept): Use thread-local floating-point state and set
429         global state from it as needed.
430         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
431         extern declaration.
432         (__sim_disabled_exceptions): Likewise.
433         (__sim_round_mode): Likewise.
434         (__fegetenv): Use thread-local floating-point state.
435         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
436         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
437         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
438         floating-point state and set global state from it as needed.
439         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
440         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
441         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
442         Likewise.
443         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
444         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
445         Likewise.
446         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
447         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
448         Use __sim_round_mode_thread.
449         * math/test-fenv-tls.c: New file.
450         * math/Makefile (tests): Add test-fenv-tls.
451         ($(objpfx)test-fenv-tls): Depend on
452         $(common-objpfx)nptl/libpthread.so.
454 2013-11-19  Andreas Schwab  <schwab@suse.de>
456         * locale/programs/locale.c (show_info): Decode wordarray elements.
457         * locale/categories.def (LC_MONETARY): Add element for
458         _NL_MONETARY_CRNCYSTR.
459         * locale/C-monetary.c (conversion_rate): New variable.
460         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
461         element.
463 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
465         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
466         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
468 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
470         * elf/Makefile (tst-auxv): New test.
471         * elf/tst-auxv.c: New
472         * elf/rtld.c (dl_main): Adjust AT_EXECFN
474 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
476         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
477         (hidden_proto): Caller changed.
478         (hidden_tls_proto): New macro.
479         (libc_hidden_tls_proto): Likewise.
480         (rtld_hidden_tls_proto): Likewise.
481         (libm_hidden_tls_proto): Likewise.
482         (libresolv_hidden_tls_proto): Likewise.
483         (librt_hidden_tls_proto): Likewise.
484         (libdl_hidden_tls_proto): Likewise.
485         (libnss_files_hidden_tls_proto): Likewise.
486         (libnsl_hidden_tls_proto): Likewise.
487         (libnss_nisplus_hidden_tls_proto): Likewise.
488         (libutil_hidden_tls_proto): Likewise.
490 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
492         [BZ #10253]
493         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
494         (decompose_rpath): Defer expansion to fillin_rpath.
495         (_dl_init_paths): Pass linkmap to fillin_rpath.
497 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
499         * benchtests/Makefile: Add strsep.
500         * benchtests/bench-strsep.c: New file: strsep benchtest.
501         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
503 2013-11-18  Andreas Schwab  <schwab@suse.de>
505         * locale/programs/locale.c (show_info) [case byte]: Check for
506         '\377' instead of '\177'.
507         * locale/C-monetary.c (not_available): Always use "\377".
508         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
509         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
510         detect unavailable sign_posn locale elements.
511         * locale/localeconv.c (__localeconv): For grouping and
512         mon_grouping handle "\177" and "\377" like no grouping.
513         (INT_ELEM): New macro.  Use it to set all numeric members.
514         * locale/programs/ld-monetary.c (monetary_read)
515         <tok_mon_grouping>: Normalize single -1 to the empty string.
516         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
517         Likewise.
519 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
521         [BZ #16055]
522         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
523         when we match (nil).
524         * stdio-common/tst-sscanf.c (struct test): Add testcase.
526 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
528         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
529         (NO_TEST_INLINE): Update value.
530         (ERRNO_UNCHANGED): Likewise.
531         (ERRNO_EDOM): Likewise.
532         (ERRNO_ERANGE): Likewise.
533         (IGNORE_RESULT): Likewise.
534         (check_float_internal): Check signs of NaN results if
535         TEST_NAN_SIGN used.
536         (check_complex): Pass TEST_NAN_SIGN flag through to second
537         check_float_internal call.
538         (copysign_test_data): Add tests with quiet NaNs as second
539         argument.  Use TEST_NAN_SIGN.
540         (fabs_test_data): Add test of negative quiet NaN argument.  Use
541         TEST_NAN_SIGN.
542         (signbit_test_data): Add tests of quiet NaN argument.
543         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
545         * math/gen-libm-test.pl (show_exceptions): Take extra argument
546         $ignore_result.
547         (parse_args): Handle function results specified as IGNORE.
548         * math/libm-test.inc (IGNORE_RESULT): New macro.
549         (check_float_internal): Do not check numerical result if flag
550         IGNORE_RESULT set.
551         (check_complex): Pass through IGNORE_RESULT to second
552         check_float_internal call.
553         (check_int): Do not check numerical result if flag IGNORE_RESULT
554         set.
555         (check_long): Likewise.
556         (check_bool): Likewise.
557         (check_longlong): Likewise.
558         (lrint_test_data): Add tests of infinite and NaN arguments.
559         (lrint_tonearest_test_data): Likewise.
560         (lrint_towardzero_test_data): Likewise.
561         (lrint_downward_test_data): Likewise.
562         (lrint_upward_test_data): Likewise.
563         (llrint_test_data): Likewise.
564         (llrint_tonearest_test_data): Likewise.
565         (llrint_towardzero_test_data): Likewise.
566         (llrint_downward_test_data): Likewise.
567         (llrint_upward_test_data): Likewise.
568         (lround_test_data): Likewise.
569         (llround_test_data): Likewise.
571         * math/libm-test.inc (NO_TEST_INLINE): New macro.
572         (ERRNO_UNCHANGED): Update value.
573         (ERRNO_EDOM): Likewise.
574         (ERRNO_ERANGE): Likewise.
575         (NO_TEST_INLINE_FLOAT): New macro.
576         (NO_TEST_INLINE_DOUBLE): Likewise.
577         (enable_test): New function.
578         (RUN_TEST_f_f): Check enable_test before running test.
579         (RUN_TEST_2_f): Likewise.
580         (RUN_TEST_fff_f): Likewise.
581         (RUN_TEST_c_f): Likewise.
582         (RUN_TEST_f_f1): Likewise.
583         (RUN_TEST_fF_f1): Likewise.
584         (RUN_TEST_fI_f1): Likewise.
585         (RUN_TEST_ffI_f1): Likewise.
586         (RUN_TEST_c_c): Likewise.
587         (RUN_TEST_cc_c): Likewise.
588         (RUN_TEST_f_i): Likewise.
589         (RUN_TEST_f_i_tg): Likewise.
590         (RUN_TEST_ff_i_tg): Likewise.
591         (RUN_TEST_f_b): Likewise.
592         (RUN_TEST_f_b_tg): Likewise.
593         (RUN_TEST_f_l): Likewise.
594         (RUN_TEST_f_L): Likewise.
595         (RUN_TEST_fFF_11): Likewise.
596         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
597         conditionals.
598         (cosh_test_data): Likewise.
599         (exp_test_data): Likewise.
600         (expm1_test_data): Likewise.
601         (hypot_test_data): Likewise.
602         (pow_test_data): Likewise.
603         (sinh_test_data): Likewise.
604         (tanh_test_data): Likewise.
605         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
606         flags argument.
608         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
609         tests with quiet NaN input and output.
610         (acosh_test_data): Likewise.
611         (asin_test_data): Likewise.
612         (asinh_test_data): Likewise.
613         (atan_test_data): Likewise.
614         (atanh_test_data): Likewise.
615         (atan2_test_data): Likewise.
616         (cbrt_test_data): Likewise.
617         (cos_test_data): Likewise.
618         (cosh_test_data): Likewise.
619         (erf_test_data): Likewise.
620         (erfc_test_data): Likewise.
621         (exp_test_data): Likewise.
622         (exp10_test_data): Likewise.
623         (exp2_test_data): Likewise.
624         (expm1_test_data): Likewise.
625         (hypot_test_data): Likewise.
626         (j0_test_data): Likewise.
627         (j1_test_data): Likewise.
628         (jn_test_data): Likewise.
629         (lgamma_test_data): Likewise.
630         (log_test_data): Likewise.
631         (log10_test_data): Likewise.
632         (log1p_test_data): Likewise.
633         (log2_test_data): Likewise.
634         (pow_test_data): Likewise.
635         (scalb_test_data): Likewise.
636         (sin_test_data): Likewise.
637         (sincos_test_data): Likewise.
638         (sinh_test_data): Likewise.
639         (tan_test_data): Likewise.
640         (tanh_test_data): Likewise.
641         (tgamma_test_data): Likewise.
642         (y0_test_data): Likewise.
643         (y1_test_data): Likewise.
644         (yn_test_data): Likewise.
646         [BZ #16167]
647         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
648         argument being NaN and avoid computations with second argument in
649         that case.
650         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
651         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
652         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
654 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
656         * locale/iso-639.def: Add Chitwani Tharu (the).
658 2013-11-14  Andreas Schwab  <schwab@suse.de>
660         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
661         word instead of empty string.
663 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
666         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
668         (__fe_nomask_env): Likewise.
670 2013-11-13  Steve Ellcey  <sellcey@mips.com>
672         * benchtests/bench-timing.h: Include time.h.
674 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
676         [BZ #15997]
677         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
678         to 3.4.0 for x32.
679         * sysdeps/unix/sysv/linux/configure: Regenerated.
681 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
683         [BZ #16151]
684         * stdlib/strtod_l.c (round_and_return): Do not consider
685         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
686         exponent one less than half the least subnormal exponent.
687         * stdlib/test-strtod-round-data: Add more tests.
688         * stdlib/tst-strtod-round.c (tests): Regenerated.
690 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
692         [BZ #14143]
693         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
694         (__fe_mask_env): Likewise.
695         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
696         libm_hidden_proto and add function prototype.
697         (__fe_mask_env): Add function prototype.
698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
699         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
701         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
703         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
705 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
707         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
708         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
710 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
712         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
713         of htab_find_slot().
715 2013-11-11  David S. Miller  <davem@davemloft.net>
717         [BZ #16150]
718         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
719         symbol in the non-vis3 case in static builds.
720         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
721         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
722         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
723         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
725 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
727         [BZ #387]
728         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
729         it is empty.
731 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
733         * benchtests/Makefile: Add bench-strtod.
734         * benchtests/bench-strtod.c: New file: strtod benchtest
736 2013-11-11  Andreas Schwab  <schwab@suse.de>
738         [BZ #16153]
739         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
740         terminating NUL in key length.
742 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
744         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
745         Add artificial ODP entry for vDSO symbol for PPC64.
746         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
747         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
749 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
751         [BZ #15374]
752         * nss/getent.c (services_keys): Recognize services starting with digit.
754 2013-11-06  David S. Miller  <davem@davemloft.net>
756         [BZ #15985]
757         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
758         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
760 2013-11-06  Will Newton  <will.newton@linaro.org>
762         * manual/memory.texi (Malloc Examples): Remove register
763         keyword from examples.
765 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
767         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
769 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
771         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
772         depending on [__GCC_IEC_559 > 0].
773         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
774         depending on [__GCC_IEC_559_COMPLEX > 0].
776 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
778         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
779         to iso-639.def.
781 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
783         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
785 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
787         [BZ #16112]
788         * malloc/malloc (malloc_info): Do not handle first bin as
789         special case.
791 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
793         * locale/iso-639.def: Add Central Nahuatl (nhn).
795 2013-11-01  Bruno Haible  <bruno@clisp.org>
797         [BZ #7003]
798         * manual/math.texi (BSD Random): Specify range upper bound as
799         in POSIX.
801 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
803         * locale/iso-639.def: Add Meadow Mari (mhr).
805 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
807         [BZ #14752], [BZ #15763]
808         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
809         Validate name.
810         * rt/tst_shm.c: Add test for escaping directory.
812 2013-10-31  Andreas Schwab  <schwab@suse.de>
814         [BZ #15917]
815         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
816         followed by 'x' as part of digit sequence.
817         * stdio-common/tst-sscanf.c (double_tests2): New tests.
819 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
821         [BZ #16037]
822         * configure.ac: allow GNU Make 4.0 and greater.
823         * configure: Regenerated.
825 2013-10-30  Will Newton  <will.newton@linaro.org>
827         [BZ #16038]
828         * malloc/hooks.c (memalign_check): Limit alignment to the
829         maximum representable power of two.
830         * malloc/malloc.c (__libc_memalign): Likewise.
831         * malloc/tst-memalign.c (do_test): Add test for very
832         large alignment values.
833         * malloc/tst-posix_memalign.c (do_test): Likewise.
835 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
837         [BZ #11087]
838         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
839         (munmap_chunk): Likewise.
840         (mremap_chunk): Likewise.
842 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
844         [BZ #15799]
845         * stdlib/div.c (div): Remove obsolete code.
846         * stdlib/ldiv.c (ldiv): Likewise.
847         * stdlib/lldiv.c (lldiv): Likewise.
849 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
851         [BZ #16071]
852         * nss/nss_files/files-XXX.c (get_contents_ret): New
853         enumerator.
854         (get_contents): New function.
855         (internal_getent): Use it.  Expand size of LINEBUFLEN.
857 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
859         * configure.in: Moved to ...
860         * configure.ac: ... here. Change reference to configure.in
861         to configure.ac.
862         * sysdeps/arm/preconfigure.ac: ... here.
863         configure.in to configure.ac.
864         * sysdeps/gnu/configure.in: Moved to ...
865         * sysdeps/gnu/configure.ac: ... here.
866         * sysdeps/i386/configure.in: Moved to ...
867         * sysdeps/i386/configure.ac: ... here.
868         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
869         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
870         * sysdeps/mach/configure.in: Moved to ...
871         * sysdeps/mach/configure.ac: ... here.
872         * sysdeps/mach/hurd/configure.in: Moved to ...
873         * sysdeps/mach/hurd/configure.ac: ... here.
874         * sysdeps/powerpc/configure.in: Moved to ...
875         * sysdeps/powerpc/configure.ac: ... here.
876         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
877         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
878         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
879         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
880         * sysdeps/s390/s390-32/configure.in: Moved to ...
881         * sysdeps/s390/s390-32/configure.ac: ... here.
882         * sysdeps/s390/s390-64/configure.in: Moved to ...
883         * sysdeps/s390/s390-64/configure.ac: ... here.
884         * sysdeps/sh/configure.in: Moved to ...
885         * sysdeps/sh/configure.ac: ... here.
886         * sysdeps/sparc/configure.in: Moved to ...
887         * sysdeps/sparc/configure.ac: ... here.
888         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
889         * sysdeps/unix/sysv/linux/configure.ac: ... here.
890         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
891         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
892         * sysdeps/x86_64/configure.in: Moved to ...
893         * sysdeps/x86_64/configure.ac: ... here.
894         * sysdeps/x86_64/preconfigure.in: Moved to ...
895         * sysdeps/x86_64/preconfigure.ac: ... here.
896         * aclocal.m4: Change reference to configure.in to configure.ac.
897         * config.h.in: Likewise.
898         * manual/install.texi: Likewise.
899         * manual/maint.texi: Likewise.
900         * Makefile: Likewise.
901         * malloc/Makefile: Likewise.
902         * nscd/Makefile: Likewise.
903         * Makeconfig: Change reference to configure.in and
904         preconfigure.in to configure.ac and preconfigure.ac
905         respectively.
906         * INSTALL: Regenerated.
907         * configure: Likewise.
908         * sysdeps/gnu/configure: Likewise.
909         * sysdeps/i386/configure: Likewise.
910         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
911         * sysdeps/mach/configure: Likewise.
912         * sysdeps/mach/hurd/configure: Likewise.
913         * sysdeps/powerpc/configure: Likewise.
914         * sysdeps/powerpc/powerpc32/configure: Likewise.
915         * sysdeps/powerpc/powerpc64/configure: Likewise.
916         * sysdeps/s390/s390-32/configure: Likewise.
917         * sysdeps/s390/s390-64/configure: Likewise.
918         * sysdeps/sh/configure: Likewise.
919         * sysdeps/sparc/configure: Likewise.
920         * sysdeps/unix/sysv/linux/configure: Likewise.
921         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
922         * sysdeps/x86_64/configure: Likewise.
923         * sysdeps/x86_64/preconfigure: Likewise.
925 2013-10-29  Andreas Schwab  <schwab@suse.de>
927         * stdio-common/Makefile (tst-swscanf-ENV): Define.
929 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
931         * benchtests/pow-inputs: Add new inputs.
933         * benchtests/exp-inputs: Add new inputs.
935         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
936         conditional check for return value.
937         (__cos32): Likewise.
939 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
941         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
942         to provide a boost for large inputs with word alignment.
943         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
944         implementation based on optimized PPC64 strcpy.
945         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
946         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
947         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
948         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
950 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
952         [BZ #2801]
953         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
955 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
957         [BZ #14876]
958         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
959         * time/tst-strptime.c (day_tests): Add testcase.
961 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
963         [BZ #14029]
964         * manual/pattern.texi: Acknowledge that fnmatch can fail.
966 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
968         [BZ #16074]
969         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
970         MAP_FAILED on error.
972 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
974         [BZ #16072]
975         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
976         heap for large requests.
978 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
980         [BZ #9954]
981         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
982         result if the result has no associated interface.
983         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
984         interface for all 127.X.Y.Z addresses.
986 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
988         * locale/iso-639.def: Add Ligurian (lij)
990 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
992         [BZ #15825]
993         * sunrpc/rpc_main.c: Document rpcgen -5.
995 2013-10-19  Michael Stahl  <mstahl@redhat.com>
997         * elf/rtld.c (do_preload): Print the reason why preloading failed.
999 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
1001         [BZ #10278]
1002         * posix/glob.c: Match only directories when trailing slash is present.
1003         * posix/tst-gnuglob.c (my_opendir): Do not open files.
1004         (main): Add testcase.
1006 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
1008         [BZ #15670]
1009         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
1011 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
1013         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
1014         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
1015         AUTH_DES and cindex for FIPS 140-2.
1016         (DES Encryption): Add cindex FIPS 46-3.
1018         * locale/locarchive.h (struct locarhandle): Add fname.
1019         * locale/programs/localedef.c (main): Pass ARGV[remaining]
1020         if an optional argument was specified to --list-archive,
1021         otherwise NULL.
1022         * locale/programs/locarchive.c (show_archive_content): Take new
1023         argument fname and pass it via ah.fname to open_archive.
1024         * locale/programs/localedef.h: Update decl.
1025         (open_archive): If AH->fname is non-null, open that file
1026         rather than the default file name, and don't ignore ENOENT.
1027         (create_archive): Set AH.fname to NULL.
1028         (delete_locales_from_archive): Likewise.
1029         (add_locales_to_archive): Likewise.
1030         * locale/programs/locfile.c (write_all_categories): Likewise.
1032 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
1033             Aldy Hernandez  <aldyh@redhat.com>
1035         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
1036         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
1037         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
1038         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
1039         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
1040         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
1041         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
1042         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
1043         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
1044         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
1045         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
1046         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
1047         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
1048         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
1049         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
1050         Likewise.
1051         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
1052         Likewise.
1053         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
1054         Likewise.
1055         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
1056         Likewise.
1057         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
1058         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
1059         Likewise.
1060         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
1061         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
1062         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
1063         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
1064         Likewise.
1065         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
1066         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
1067         * sysdeps/powerpc/preconfigure: Likewise.
1068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
1069         Likewise.
1070         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
1071         Replace contents of file by #include of <fenv_libc.h>.
1072         * sysdeps/powerpc/soft-fp/sfp-machine.h
1073         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
1074         and <sys/prctl.h>.
1075         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
1076         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
1077         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
1078         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
1079         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
1080         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
1081         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
1082         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
1083         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
1084         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
1085         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
1086         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
1087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1088         Allow copysignl PLT reference to be missing.
1090 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
1091             Joseph Myers  <joseph@codesourcery.com
1093         [BZ #15948]
1094         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
1095         single character.
1096         (add_to_tablewc): Assert sequence of wide characters is nonempty.
1098 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
1100         * elf/tst-tls-dlinfo.c: Don't include tls.h.
1101         * elf/tst-tls1.c: Likewise.
1102         * elf/tst-tls10.h: Likewise.
1103         * elf/tst-tls14.c: Likewise.
1104         * elf/tst-tls2.c: Likewise.
1105         * elf/tst-tls3.c: Likewise.
1106         * elf/tst-tls4.c: Likewise.
1107         * elf/tst-tls5.c: Likewise.
1108         * elf/tst-tls6.c: Likewise.
1109         * elf/tst-tls7.c: Likewise.
1110         * elf/tst-tls8.c: Likewise.
1111         * elf/tst-tls9.c: Likewise.
1112         * elf/tst-tlsmod1.c: Likewise.
1113         * elf/tst-tlsmod13.c: Likewise.
1114         * elf/tst-tlsmod13a.c: Likewise.
1115         * elf/tst-tlsmod14a.c: Likewise.
1116         * elf/tst-tlsmod16a.c: Likewise.
1117         * elf/tst-tlsmod16b.c: Likewise.
1118         * elf/tst-tlsmod2.c: Likewise.
1119         * elf/tst-tlsmod3.c: Likewise.
1120         * elf/tst-tlsmod4.c: Likewise.
1121         * elf/tst-tlsmod5.c: Likewise.
1122         * elf/tst-tlsmod6.c: Likewise.
1124 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
1126         [BZ #12486]
1127         * malloc/malloc.c: remove checks for statistics.
1129 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
1131         [BZ #15277]
1132         * inet/inet_net.c (inet_network): Detect additional invalid strings.
1133         * inet/tst-network.c: Add testcase.
1135 2013-10-17  Andreas Schwab  <schwab@suse.de>
1137         [BZ #15218]
1138         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
1139         to determine canonical name.
1141 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
1143         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
1144         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
1145         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1146         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1147         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1148         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1149         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1150         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1151         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
1152         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1153         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1154         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1155         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1156         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1157         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1158         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1159         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1160         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1161         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1162         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1163         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1164         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1165         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1166         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
1167         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
1168         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1169         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1170         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
1171         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1172         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
1173         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1174         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1175         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1176         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1177         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1178         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1179         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1180         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1181         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1182         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1183         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1184         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1185         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1186         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1187         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1188         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1189         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1190         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1191         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1192         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1193         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1194         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1195         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1196         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1197         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1198         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1199         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1200         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1202 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
1204         [BZ #16041]
1205         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
1206         make result into a quiet NaN.
1208 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
1210         * soft-fp/adddf3.c: Fix horizontal whitespace.
1211         * soft-fp/addsf3.c: Likewise.
1212         * soft-fp/addtf3.c: Likewise.
1213         * soft-fp/divdf3.c: Likewise.
1214         * soft-fp/divsf3.c: Likewise.
1215         * soft-fp/divtf3.c: Likewise.
1216         * soft-fp/double.h: Likewise.
1217         * soft-fp/eqdf2.c: Likewise.
1218         * soft-fp/eqsf2.c: Likewise.
1219         * soft-fp/eqtf2.c: Likewise.
1220         * soft-fp/extenddftf2.c: Likewise.
1221         * soft-fp/extended.h: Likewise.
1222         * soft-fp/extendsfdf2.c: Likewise.
1223         * soft-fp/extendsftf2.c: Likewise.
1224         * soft-fp/extendxftf2.c: Likewise.
1225         * soft-fp/fixdfdi.c: Likewise.
1226         * soft-fp/fixdfsi.c: Likewise.
1227         * soft-fp/fixdfti.c: Likewise.
1228         * soft-fp/fixsfdi.c: Likewise.
1229         * soft-fp/fixsfsi.c: Likewise.
1230         * soft-fp/fixsfti.c: Likewise.
1231         * soft-fp/fixtfdi.c: Likewise.
1232         * soft-fp/fixtfsi.c: Likewise.
1233         * soft-fp/fixtfti.c: Likewise.
1234         * soft-fp/fixunsdfdi.c: Likewise.
1235         * soft-fp/fixunsdfsi.c: Likewise.
1236         * soft-fp/fixunsdfti.c: Likewise.
1237         * soft-fp/fixunssfdi.c: Likewise.
1238         * soft-fp/fixunssfsi.c: Likewise.
1239         * soft-fp/fixunssfti.c: Likewise.
1240         * soft-fp/fixunstfdi.c: Likewise.
1241         * soft-fp/fixunstfsi.c: Likewise.
1242         * soft-fp/fixunstfti.c: Likewise.
1243         * soft-fp/floatdidf.c: Likewise.
1244         * soft-fp/floatdisf.c: Likewise.
1245         * soft-fp/floatditf.c: Likewise.
1246         * soft-fp/floatsidf.c: Likewise.
1247         * soft-fp/floatsisf.c: Likewise.
1248         * soft-fp/floatsitf.c: Likewise.
1249         * soft-fp/floattidf.c: Likewise.
1250         * soft-fp/floattisf.c: Likewise.
1251         * soft-fp/floattitf.c: Likewise.
1252         * soft-fp/floatundidf.c: Likewise.
1253         * soft-fp/floatundisf.c: Likewise.
1254         * soft-fp/floatunditf.c: Likewise.
1255         * soft-fp/floatunsidf.c: Likewise.
1256         * soft-fp/floatunsisf.c: Likewise.
1257         * soft-fp/floatunsitf.c: Likewise.
1258         * soft-fp/floatuntidf.c: Likewise.
1259         * soft-fp/floatuntisf.c: Likewise.
1260         * soft-fp/floatuntitf.c: Likewise.
1261         * soft-fp/fmadf4.c: Likewise.
1262         * soft-fp/fmasf4.c: Likewise.
1263         * soft-fp/fmatf4.c: Likewise.
1264         * soft-fp/gedf2.c: Likewise.
1265         * soft-fp/gesf2.c: Likewise.
1266         * soft-fp/getf2.c: Likewise.
1267         * soft-fp/ledf2.c: Likewise.
1268         * soft-fp/lesf2.c: Likewise.
1269         * soft-fp/letf2.c: Likewise.
1270         * soft-fp/muldf3.c: Likewise.
1271         * soft-fp/mulsf3.c: Likewise.
1272         * soft-fp/multf3.c: Likewise.
1273         * soft-fp/negdf2.c: Likewise.
1274         * soft-fp/negsf2.c: Likewise.
1275         * soft-fp/negtf2.c: Likewise.
1276         * soft-fp/op-1.h: Likewise.
1277         * soft-fp/op-2.h: Likewise.
1278         * soft-fp/op-4.h: Likewise.
1279         * soft-fp/op-8.h: Likewise.
1280         * soft-fp/op-common.h: Likewise.
1281         * soft-fp/quad.h: Likewise.
1282         * soft-fp/single.h: Likewise.
1283         * soft-fp/soft-fp.h: Likewise.
1284         * soft-fp/sqrtdf2.c: Likewise.
1285         * soft-fp/sqrtsf2.c: Likewise.
1286         * soft-fp/sqrttf2.c: Likewise.
1287         * soft-fp/subdf3.c: Likewise.
1288         * soft-fp/subsf3.c: Likewise.
1289         * soft-fp/subtf3.c: Likewise.
1290         * soft-fp/truncdfsf2.c: Likewise.
1291         * soft-fp/trunctfdf2.c: Likewise.
1292         * soft-fp/trunctfsf2.c: Likewise.
1293         * soft-fp/trunctfxf2.c: Likewise.
1294         * soft-fp/unorddf2.c: Likewise.
1295         * soft-fp/unordsf2.c: Likewise.
1296         * soft-fp/unordtf2.c: Likewise.
1298 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
1300         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
1301         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
1303 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
1305         * elf/dl-libc.c: Clear initfini list after freeing.
1307 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
1309         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
1310         * soft-fp/addsf3.c: Likewise.
1311         * soft-fp/addtf3.c: Likewise.
1312         * soft-fp/divdf3.c: Likewise.
1313         * soft-fp/divsf3.c: Likewise.
1314         * soft-fp/divtf3.c: Likewise.
1315         * soft-fp/double.h: Likewise.
1316         * soft-fp/eqdf2.c: Likewise.
1317         * soft-fp/eqsf2.c: Likewise.
1318         * soft-fp/eqtf2.c: Likewise.
1319         * soft-fp/extenddftf2.c: Likewise.
1320         * soft-fp/extended.h: Likewise.
1321         * soft-fp/extendsfdf2.c: Likewise.
1322         * soft-fp/extendsftf2.c: Likewise.
1323         * soft-fp/extendxftf2.c: Likewise.
1324         * soft-fp/fixdfdi.c: Likewise.
1325         * soft-fp/fixdfsi.c: Likewise.
1326         * soft-fp/fixdfti.c: Likewise.
1327         * soft-fp/fixsfdi.c: Likewise.
1328         * soft-fp/fixsfsi.c: Likewise.
1329         * soft-fp/fixsfti.c: Likewise.
1330         * soft-fp/fixtfdi.c: Likewise.
1331         * soft-fp/fixtfsi.c: Likewise.
1332         * soft-fp/fixtfti.c: Likewise.
1333         * soft-fp/fixunsdfdi.c: Likewise.
1334         * soft-fp/fixunsdfsi.c: Likewise.
1335         * soft-fp/fixunsdfti.c: Likewise.
1336         * soft-fp/fixunssfdi.c: Likewise.
1337         * soft-fp/fixunssfsi.c: Likewise.
1338         * soft-fp/fixunssfti.c: Likewise.
1339         * soft-fp/fixunstfdi.c: Likewise.
1340         * soft-fp/fixunstfsi.c: Likewise.
1341         * soft-fp/fixunstfti.c: Likewise.
1342         * soft-fp/floatdidf.c: Likewise.
1343         * soft-fp/floatdisf.c: Likewise.
1344         * soft-fp/floatditf.c: Likewise.
1345         * soft-fp/floatsidf.c: Likewise.
1346         * soft-fp/floatsisf.c: Likewise.
1347         * soft-fp/floatsitf.c: Likewise.
1348         * soft-fp/floattidf.c: Likewise.
1349         * soft-fp/floattisf.c: Likewise.
1350         * soft-fp/floattitf.c: Likewise.
1351         * soft-fp/floatundidf.c: Likewise.
1352         * soft-fp/floatundisf.c: Likewise.
1353         * soft-fp/floatunsidf.c: Likewise.
1354         * soft-fp/floatunsisf.c: Likewise.
1355         * soft-fp/floatuntidf.c: Likewise.
1356         * soft-fp/floatuntisf.c: Likewise.
1357         * soft-fp/floatuntitf.c: Likewise.
1358         * soft-fp/fmadf4.c: Likewise.
1359         * soft-fp/fmasf4.c: Likewise.
1360         * soft-fp/fmatf4.c: Likewise.
1361         * soft-fp/gedf2.c: Likewise.
1362         * soft-fp/gesf2.c: Likewise.
1363         * soft-fp/getf2.c: Likewise.
1364         * soft-fp/ledf2.c: Likewise.
1365         * soft-fp/lesf2.c: Likewise.
1366         * soft-fp/letf2.c: Likewise.
1367         * soft-fp/muldf3.c: Likewise.
1368         * soft-fp/mulsf3.c: Likewise.
1369         * soft-fp/multf3.c: Likewise.
1370         * soft-fp/negdf2.c: Likewise.
1371         * soft-fp/negsf2.c: Likewise.
1372         * soft-fp/negtf2.c: Likewise.
1373         * soft-fp/op-1.h: Likewise.
1374         * soft-fp/op-2.h: Likewise.
1375         * soft-fp/op-4.h: Likewise.
1376         * soft-fp/op-8.h: Likewise.
1377         * soft-fp/op-common.h: Likewise.
1378         * soft-fp/quad.h: Likewise.
1379         * soft-fp/single.h: Likewise.
1380         * soft-fp/soft-fp.h: Likewise.
1381         * soft-fp/sqrtdf2.c: Likewise.
1382         * soft-fp/sqrtsf2.c: Likewise.
1383         * soft-fp/sqrttf2.c: Likewise.
1384         * soft-fp/subdf3.c: Likewise.
1385         * soft-fp/subsf3.c: Likewise.
1386         * soft-fp/subtf3.c: Likewise.
1387         * soft-fp/truncdfsf2.c: Likewise.
1388         * soft-fp/trunctfdf2.c: Likewise.
1389         * soft-fp/trunctfsf2.c: Likewise.
1390         * soft-fp/trunctfxf2.c: Likewise.
1391         * soft-fp/unorddf2.c: Likewise.
1392         * soft-fp/unordsf2.c: Likewise.
1393         * soft-fp/unordtf2.c: Likewise.
1395 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
1397         [BZ #15672]
1398         * misc/error.c (error_tail): Fix possible buffer overflow.
1400 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
1402         [BZ #13028]
1403         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
1404         address.
1406 2013-10-14  P. J. McDermott  <pj@pehjota.net>
1408         [BZ #832]
1409         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
1410         testing pipefail option.
1412 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
1414         * soft-fp/double.h: Indent preprocessor directives inside #if.
1415         * soft-fp/extended.h: Likewise.
1416         * soft-fp/op-2.h: Likewise.
1417         * soft-fp/op-4.h: Likewise.
1418         * soft-fp/op-common.h: Likewise.
1419         * soft-fp/quad.h: Likewise.
1420         * soft-fp/single.h: Likewise.
1421         * soft-fp/soft-fp.h: Likewise.
1423 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
1425         * iconv/iconv_prog.c: Fix typos.
1426         * stdio-common/psiginfo-data.h: Likewise.
1428 2013-10-12   Reuben Thomas <rrt@sc3d.org>
1430         [BZ #15764]
1431         * locale/setlocale.c: Fix typo.
1433 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
1435         [BZ #16036]
1436         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
1437         signaling NaN arguments.
1438         * soft-fp/unordsf2.c (__unordsf2): Likewise.
1439         * soft-fp/unordtf2.c (__unordtf2): Likewise.
1441         [BZ #14910]
1442         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
1443         unordered operands.
1444         * soft-fp/gesf2.c (__gesf2): Likewise.
1445         * soft-fp/getf2.c (__getf2): Likewise.
1446         * soft-fp/ledf2.c (__ledf2): Likewise.
1447         * soft-fp/lesf2.c (__lesf2): Likewise.
1448         * soft-fp/letf2.c (__letf2): Likewise.
1450         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
1451         * soft-fp/eqsf2.c (__eqsf2): Likewise.
1452         * soft-fp/eqtf2.c (__eqtf2): Likewise.
1453         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
1454         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
1455         * soft-fp/fixdfti.c (__fixdfti): Likewise.
1456         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
1457         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
1458         * soft-fp/fixsfti.c (__fixsfti): Likewise.
1459         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
1460         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
1461         * soft-fp/fixtfti.c (__fixtfti): Likewise.
1462         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
1463         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
1464         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
1465         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
1466         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
1467         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
1468         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
1469         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
1470         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
1471         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
1472         * soft-fp/floatdisf.c (__floatdisf): Likewise.
1473         * soft-fp/floatsisf.c (__floatsisf): Likewise.
1474         * soft-fp/floattidf.c (__floattidf): Likewise.
1475         * soft-fp/floattisf.c (__floattisf): Likewise.
1476         * soft-fp/floattitf.c (__floattitf): Likewise.
1477         * soft-fp/floatundidf.c (__floatundidf): Likewise.
1478         * soft-fp/floatundisf.c (__floatundisf): Likewise.
1479         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
1480         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
1481         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
1482         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
1483         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
1484         * soft-fp/gesf2.c (__gesf2): Likewise.
1485         * soft-fp/getf2.c (__getf2): Likewise.
1486         * soft-fp/ledf2.c (__ledf2): Likewise.
1487         * soft-fp/lesf2.c (__lesf2): Likewise.
1488         * soft-fp/letf2.c (__letf2): Likewise.
1490         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
1491         Undefine and redefine.
1492         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
1493         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
1494         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
1495         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
1496         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1497         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
1498         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1499         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
1500         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1501         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
1502         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1503         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
1504         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1505         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
1506         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1508         [BZ #16032]
1509         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
1510         without decrementing exponent if mantissa >= that for the
1511         denominator, not >.
1512         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
1513         denominator, not >.  Decrement exponent in < case instead of
1514         incrementing in >= case.
1515         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
1516         without decrementing exponent if mantissa >= that for the
1517         denominator, not >.
1519         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
1520         computing saturated result for unsigned overflow.
1522 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1523             Jeff Law  <law@redhat.com>
1525         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
1526         (atan2Mp): Add systemtap probe marker.
1527         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
1528         (__ieee754_log): Add systemtap probe marker.
1529         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
1530         (atanMp): Add systemtap probe marker.
1531         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
1532         (tanMp): Add systemtap probe marker.
1533         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
1534         (__slowexp): Add systemtap probe marker.
1535         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
1536         (__slowpow): Add systemtap probe marker.
1537         * manual/probes.texi: Document probes.
1539 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
1541         [BZ #15362]
1542         * libio/fileops.c (_IO_new_file_write): Return count of bytes
1543         written.
1544         (_IO_new_file_xsputn): Don't return EOF if nothing has been
1545         written.
1546         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
1547         written to buffer but not flushed.
1548         * libio/iofwrite_u.c:  Likewise.
1549         * libio/iopadn.c:  Return bytes returned even if EOF was
1550         encountered.
1551         * libio/iowpadn.c:  Likewise.
1552         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
1553         if _IO_padn does not write the whole buffer.
1554         [!COMPILE_WPRINTF] (PAD): Likewise.
1556 2013-10-10  David S. Miller  <davem@davemloft.net>
1558         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
1559         directory block.
1561 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
1563         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
1564         instead of FSF address.
1565         * soft-fp/fixdfti.c: Likewise.
1566         * soft-fp/fixsfti.c: Likewise.
1567         * soft-fp/fixtfti.c: Likewise.
1568         * soft-fp/fixunsdfti.c: Likewise.
1569         * soft-fp/fixunssfti.c: Likewise.
1570         * soft-fp/fixunstfti.c: Likewise.
1571         * soft-fp/floattidf.c: Likewise.
1572         * soft-fp/floattisf.c: Likewise.
1573         * soft-fp/floattitf.c: Likewise.
1574         * soft-fp/floatuntidf.c: Likewise.
1575         * soft-fp/floatuntisf.c: Likewise.
1576         * soft-fp/floatuntitf.c: Likewise.
1577         * soft-fp/trunctfxf2.c: Likewise.
1579         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
1580         * soft-fp/fixdfti.c: Likewise.
1581         * soft-fp/fixsfti.c: Likewise.
1582         * soft-fp/fixtfti.c: Likewise.
1583         * soft-fp/fixunsdfti.c: Likewise.
1584         * soft-fp/fixunssfti.c: Likewise.
1585         * soft-fp/fixunstfti.c: Likewise.
1586         * soft-fp/floattidf.c: Likewise.
1587         * soft-fp/floattisf.c: Likewise.
1588         * soft-fp/floattitf.c: Likewise.
1589         * soft-fp/floatuntidf.c: Likewise.
1590         * soft-fp/floatuntisf.c: Likewise.
1591         * soft-fp/floatuntitf.c: Likewise.
1592         * soft-fp/trunctfxf2.c: Likewise.
1594 2013-10-10  David S. Miller  <davem@davemloft.net>
1596         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1598 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
1600         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1601         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
1602         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
1603         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
1604         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
1605         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
1606         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
1608         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
1609         for NaNs before doing comparisons on argument.
1610         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1611         Likewise.
1613 2013-10-10  Will Newton  <will.newton@linaro.org>
1615         * malloc/hooks.c (memalign_check): Ensure the value of bytes
1616         passed to _int_memalign does not overflow.
1618 2013-10-10  Torvald Riegel  <triegel@redhat.com>
1620         * scripts/bench.pl: Add include-sources directive.
1621         * benchtests/README: Update documentation.
1623 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
1625         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
1626         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
1627         instead of FP_INIT_ROUNDMODE.
1628         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
1629         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
1631         [BZ #16034]
1632         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
1633         copy class of input value.
1634         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
1635         not handle exceptions.
1636         * soft-fp/negsf2.c (__negsf2): Likewise.
1637         * soft-fp/negtf2.c (__negtf2): Likewise.
1638         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
1640 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
1642         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
1643         semicolon.  From Linux kernel.
1645 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
1647         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
1649 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
1651         [BZ #156]
1652         * manual/socket.texi: Added statement about buffer
1653         for gethostbyname2_r.
1655 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
1657         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
1658         Use .p2align directive instead, throughout.
1659         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1660         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1661         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1662         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1663         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1664         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1665         * sysdeps/x86_64/strchr.S: Likewise.
1666         * sysdeps/x86_64/strrchr.S: Likewise.
1668 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1670         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
1672         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
1674         * sysdeps/generic/math_private.h (__mpsin1): Remove
1675         declaration.
1676         (__mpcos1): Likewise.
1677         (__mpsin): New argument __range_reduce.
1678         (__mpcos): Likewise.
1679         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1680         (slow): Use __mpsin and __mpcos.
1681         (slow1): Likewise.
1682         (slow2): Likewise.
1683         (sloww): Likewise.
1684         (sloww1): Likewise.
1685         (sloww2): Likewise.
1686         (bsloww): Likewise.
1687         (bsloww1): Likewise.
1688         (bsloww2): Likewise.
1689         (cslow2): Likewise.
1690         (csloww): Likewise.
1691         (csloww1): Likewise.
1692         (csloww2): Likewise.
1693         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
1694         range_reduce.  Merge in __mpsin1.
1695         (__mpcos): Likewise.
1696         (__mpsin1): Remove.
1697         (__mpcos1): Likewise.
1699 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
1701         * locale/loadlocale.c (_nl_intern_locale_data): Use
1702         LOCFILE_ALIGNED_P.
1703         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
1704         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
1705         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
1706         obstack data is appropriately aligned.
1707         (obstack_int32_grow_fast): Likewise.
1708         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
1709         * locale/programs/locfile.c (add_locale_uint32): Likewise.
1710         (add_locale_uint32_array): Likewise.
1712 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
1714         * benchtests/Makefile: Remove ARGLIST and RET variables.
1715         ($(objpfx)bench-%.c): Pass only function name to the script.
1716         * benchtests/README: Update documentation.
1717         * benchtests/acos-inputs: Add new directives.
1718         * benchtests/acosh-inputs: Likewise.
1719         * benchtests/asin-inputs: Likewise.
1720         * benchtests/asinh-inputs: Likewise.
1721         * benchtests/atan-inputs: Likewise.
1722         * benchtests/atanh-inputs: Likewise.
1723         * benchtests/cos-inputs: Likewise.
1724         * benchtests/cosh-inputs: Likewise.
1725         * benchtests/exp-inputs: Likewise.
1726         * benchtests/log-inputs: Likewise.
1727         * benchtests/pow-inputs: Likewise.
1728         * benchtests/rint-inputs: Likewise.
1729         * benchtests/sin-inputs: Likewise.
1730         * benchtests/sinh-inputs: Likewise.
1731         * benchtests/tan-inputs: Likewise.
1732         * benchtests/tanh-inputs: Likewise.
1733         * scripts/bench.pl: Add support for new directives.
1735 2013-10-07  Alan Modra  <amodra@gmail.com>
1737         * README: Fix careless merge.
1739 2013-10-05  Alan Modra  <amodra@gmail.com>
1741         * NEWS: Mention powerpc64le support and bugs fixed.
1742         * README: Both big-endian and little-endian powerpc64 supported.
1744 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1746         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
1747         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
1748         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
1749         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
1751 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
1753         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
1754         match prototype.
1756 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
1758         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
1759         Move -mhard-float appending from
1760         ports/sysdeps/powerpc/powerpc32/Makefile.
1761         [$(with-fp) = yes] (ASFLAGS): Likewise.
1762         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
1763         * sysdeps/powerpc/nofpu: Move directory from
1764         ports/sysdeps/powerpc/nofpu.
1765         * sysdeps/powerpc/soft-fp: Move directory from
1766         ports/sysdeps/powerpc/soft-fp.
1767         * sysdeps/powerpc/powerpc32/405: Move directory from
1768         ports/sysdeps/powerpc/powerpc32/405.
1769         * sysdeps/powerpc/powerpc32/440: Move directory from
1770         ports/sysdeps/powerpc/powerpc32/440.
1771         * sysdeps/powerpc/powerpc32/464: Move directory from
1772         ports/sysdeps/powerpc/powerpc32/464.
1773         * sysdeps/powerpc/powerpc32/476: Move directory from
1774         ports/sysdeps/powerpc/powerpc32/476.
1775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
1776         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
1777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
1778         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
1779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
1780         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
1781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
1782         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
1783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
1784         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
1785         * README: Update for powerpc-*-linux-gnu software floating point
1786         support in libc.
1788         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
1789         case to powerpc/powerpc32*.
1790         * sysdeps/unix/sysv/linux/configure: Regenerated.
1792         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
1793         (_FPU_MASK_OM): Define as 0x04.
1794         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
1795         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
1796         0x00c10080.
1797         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
1798         0x0000003c.
1799         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
1801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1802         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1803         getcontext_e500.
1804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1805         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1806         setcontext_e500.
1807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1808         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
1809         and setcontext_e500.
1811 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
1813         * locale/iso-3166.def: Update iso-1366.def and related occurrences
1815 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1817         * manual/threads.texi (Default Thread Attributes): Fix typo.
1819 2013-10-04  Will Newton  <will.newton@linaro.org>
1821         * malloc/Makefile: Add tst-memalign.
1822         * malloc/tst-memalign.c: New file.
1824         * malloc/tst-posix_memalign.c: Add comments.
1825         (do_test): Add comments and call free on all potentially
1826         allocated pointers. Add space after cast.
1828         * malloc/tst-pvalloc.c: Add comments.
1829         (do_test): Add comments and call free on all potentially
1830         allocated pointers. Remove duplicate check for NULL pointer.
1831         Add space after cast.
1833         * malloc/tst-valloc.c: Add comments.
1834         (do_test): Add comments and call free on all potentially
1835         allocated pointers. Remove duplicate check for NULL pointer.
1836         Add space after cast.
1838 2013-10-04  Alan Modra  <amodra@gmail.com>
1840         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1841         Use stdint types in rather than __attribute__((mode())).
1842         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1844 2013-10-04  Alan Modra  <amodra@gmail.com>
1846         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1847         Correct handling of unaligned relocs for little-endian.
1848         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1850 2013-10-04  Alan Modra  <amodra@gmail.com>
1852         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
1853         * configure: Regenerate.
1854         * nptl/shlib-versions: Powerpc*le starts at 2.18.
1855         * shlib-versions: Likewise.
1857 2013-10-04  Alan Modra  <amodra@gmail.com>
1859         * string/tester.c (test_memrchr): Increment reported test cycle.
1861 2013-10-04  Alan Modra  <amodra@gmail.com>
1863         * string/test-memcpy.c (do_one_test): When reporting errors, print
1864         string address and don't overrun end of string.
1866 2013-10-04  Alan Modra  <amodra@gmail.com>
1868         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
1869         insrdi.  Make better use of reg selection to speed exit slightly.
1870         Schedule entry path a little better.  Remove useless "are we done"
1871         checks on entry to main loop.  Handle wrapping around zero address.
1872         Correct main loop count.  Handle single left-over word from main
1873         loop inline rather than by using loop_small.  Remove extra word
1874         case in loop_small caused by wrong loop count.  Add little-endian
1875         support.
1876         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1877         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
1878         cache hint.
1879         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1880         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
1881         support.  Avoid rlwimi.
1882         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
1884 2013-10-04  Alan Modra  <amodra@gmail.com>
1886         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
1887         insrdi.  Formatting.
1888         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1889         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1890         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1891         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1892         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1893         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
1895 2013-10-04  Alan Modra  <amodra@gmail.com>
1897         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
1898         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1899         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1900         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
1901         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1902         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1903         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1904         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1905         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
1906         use of regs.  Use power7 mtocrf.  Tidy function tails.
1908 2013-10-04  Alan Modra  <amodra@gmail.com>
1910         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
1911         Formatting.  Consistently use rXXX register defines or rN defines.
1912         Use early exit labels that avoid restoring unused non-volatile regs.
1913         Make cr field use more consistent with rWORDn compares.  Rename
1914         regs used as shift registers for unaligned loop, using rN defines
1915         for short lifetime/multiple use regs.
1916         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1917         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
1918         addi 1,1,64 to pop stack frame.  Simplify return value code.
1919         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1921 2013-10-04  Alan Modra  <amodra@gmail.com>
1923         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
1924         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
1925         rather than rlwimi.
1926         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
1927         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
1928         little-endian support.  Correct typos.
1929         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
1930         rather than rlwimi.
1931         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
1932         in loop and entry code to keep "and." results.
1933         (strchr): Add little-endian support.  Comment.  Move cntlzd
1934         earlier in tail.
1935         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
1937 2013-10-04  Alan Modra  <amodra@gmail.com>
1939         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
1940         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
1941         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1942         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
1944 2013-10-04  Alan Modra  <amodra@gmail.com>
1946         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
1947         (rTMP): Define as r11.
1948         (strcmp): Add little-endian support.  Optimise tail.
1949         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
1950         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1951         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1952         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1953         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1954         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1955         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1957 2013-10-04  Alan Modra  <amodra@gmail.com>
1959         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
1960         little-endian support.  Remove unnecessary "are we done" tests.
1961         Handle "s" wrapping around zero and extremely large "size".
1962         Correct main loop count.  Handle single left-over word from main
1963         loop inline rather than by using small_loop.  Correct comments.
1964         Delete "zero" tail, use "end_max" instead.
1965         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
1967 2013-10-04  Alan Modra  <amodra@gmail.com>
1969         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
1970         support.  Don't branch over align.
1971         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
1972         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
1973         support.  Rearrange tmp reg use to suit.  Comment.
1974         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
1976 2013-10-04  Alan Modra  <amodra@gmail.com>
1978         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
1980 2013-10-04  Alan Modra  <amodra@gmail.com>
1982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
1983         conditional form of branch and link when obtaining pc.
1984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1986 2013-10-04  Alan Modra  <amodra@gmail.com>
1988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
1989         HIWORD/LOWORD.
1990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
1991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
1993 2013-10-04  Alan Modra  <amodra@gmail.com>
1995         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
1996         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
1997         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1998         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
1999         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2000         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2001         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
2002         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2003         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2004         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
2006 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
2007             Alistair Popple <alistair@ozlabs.au.ibm.com>
2008             Alan Modra <amodra@gmail.com>
2010         [BZ #15723]
2011         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
2012         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
2013         _dl_hwcap access for little-endian.
2014         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
2015         destroy vmx regs when saving unaligned.
2016         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
2017         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
2018         destroy vmx regs when saving unaligned.
2020 2013-10-04  Alan Modra  <amodra@gmail.com>
2022         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
2023         Don't use a union to pack hi/low value.
2025 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
2027         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
2028         for little-endian.
2029         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2030         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2031         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2032         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2033         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2035 2013-10-04  Alan Modra  <amodra@gmail.com>
2037         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
2038         constants to usual value for .cst8 section, and remove redundant
2039         high address load.
2040         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
2041         constant for 0x1p52.  Load little-endian words of double from
2042         correct stack offsets.
2044 2013-10-04  Alan Modra  <amodra@gmail.com>
2046         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
2047         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
2048         words of double from correct stack offsets.
2049         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2050         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
2051         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2052         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2053         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2054         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2055         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2056         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2057         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2058         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2059         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2060         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2061         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2062         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2063         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2064         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
2065         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2067 2013-10-04  Alan Modra  <amodra@gmail.com>
2069         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
2070         64-bit int/double union.
2071         (_FPU_SETCW): Likewise.
2072         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
2073         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
2075 2013-10-04  Alan Modra  <amodra@gmail.com>
2077         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
2078         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
2080 2013-10-04  Alan Modra  <amodra@gmail.com>
2082         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
2083         use vector int constants.
2084         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
2086 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
2088         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
2089         array with long long.
2090         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
2091         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
2092         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
2093         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
2094         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
2095         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
2096         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
2097         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
2098         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
2099         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
2100         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
2101         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
2102         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
2104 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
2106         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
2107         (__signbit): Likewise.  Correct for little-endian.
2108         (__signbitl): Call __signbit.
2109         (lrint): Correct for little-endian.
2110         (lrintf): Call lrint.
2112 2013-10-04  Alan Modra  <amodra@gmail.com>
2114         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
2115         union 32-bit int array member with 64-bit int array.
2116         (t515, tm256): Double rather than long double.
2117         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
2119 2013-10-04  Alan Modra  <amodra@gmail.com>
2121         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
2122         Delete.
2123         (IEEE854_LONG_DOUBLE_BIAS): Delete.
2124         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
2125         version of math_ldbl.h.
2127 2013-10-04  Alan Modra  <amodra@gmail.com>
2129         [BZ #15734], [BZ #15735]
2130         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
2131         all uses of ieee875 long double macros and unions.  Simplify test
2132         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
2133         ldbl_extract_mantissa value for ix,iy exponents.  Properly
2134         normalize after ldbl_extract_mantissa, and don't add hidden bit
2135         already handled.  Don't treat low word of ieee854 mantissa like
2136         low word of IBM long double and mask off bit when testing for
2137         zero.
2138         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
2139         all uses of ieee875 long double macros and unions.  Simplify tests
2140         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
2141         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
2142         two1022, instead use their values.  Recognise that tests for large
2143         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
2144         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
2145         Rewrite all uses of ieee875 long double macros and unions.  Simplify
2146         test for 0.0L and nan.  Correct negation.
2147         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
2148         ieee875 long double macros and unions.  Correct output for large
2149         magnitude x.  Correct absolute value calculation.
2150         (__erfcl): Likewise.
2151         * math/libm-test.inc: Add tests for errors discovered in IBM long
2152         double versions of fmodl, remainderl, erfl and erfcl.
2154 2013-10-04  Alan Modra  <amodra@gmail.com>
2156         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
2157         all uses of ieee854 long double macros and unions.  Simplify tests
2158         for long doubles that are fully specified by the high double.
2159         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
2160         Likewise.
2161         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
2162         Remove dead code too.
2163         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2164         (__ieee754_ynl): Likewise.
2165         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
2166         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
2167         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2168         Remove dead code too.
2169         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
2170         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
2171         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
2172         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
2173         Simplify.
2174         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
2175         Simplify.
2176         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
2177         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
2178         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
2179         Comment on variable precision.
2180         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
2181         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2182         Likewise.
2183         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2184         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2185         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2186         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
2187         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
2189 2013-10-04  Alan Modra  <amodra@gmail.com>
2191         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
2192         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
2193         all uses of ieee854 long double macros and unions.
2194         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
2195         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2196         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
2197         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
2198         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
2199         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2200         Likewise.
2201         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
2202         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2203         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
2204         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2205         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
2206         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
2207         Simplify sign and nan test too.
2208         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
2209         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
2210         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
2211         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
2212         Likewise.
2213         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
2214         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
2215         Likewise.
2216         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2217         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
2218         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
2219         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
2220         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
2221         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
2223 2013-10-04  Alan Modra  <amodra@gmail.com>
2225         * stdio-common/printf_size.c (__printf_size): Don't use
2226         union ieee854_long_double in fpnum union.
2227         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
2228         signbit macro to retrieve sign from long double.
2229         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
2230         retrieve sign from long double.
2231         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
2232         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
2233         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
2234         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2235         * math/test-misc.c (main): Don't use union ieee854_long_double.
2237 2013-10-04  Alan Modra  <amodra@gmail.com>
2239         [BZ #15680]
2240         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
2241         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
2242         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
2243         calculation.  Remove unnecessary test for denormal exponent.
2244         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
2245         Correct handling of denormals.  Avoid undefined shift behaviour.
2246         Correct normalisation of low mantissa when low double is denormal.
2247         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
2248         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
2249         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
2250         Correct normalisation of low mantissa.  Test for overflow of high
2251         mantissa and normalise.
2252         (ldbl_nearbyint): Use more readable constant for two52.
2253         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
2254         (__mpn_construct_long_double): Fix test for overflow of high
2255         mantissa and correct normalisation.  Avoid undefined shift.
2257 2013-10-04  Alan Modra  <amodra@gmail.com>
2259         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2260         (union ibm_extended_long_double): Define as an array of ieee754_double.
2261         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
2262         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
2263         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
2264         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2265         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2266         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
2267         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2268         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2269         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
2270         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
2271         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2273 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
2275         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
2276         page size instead of calling getpagesize.
2278         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
2279         (LOCFILE_ALIGN_MASK): Likewise.
2280         (LOCFILE_ALIGN_UP): Likewise.
2281         (LOCFILE_ALIGNED_P): Likewise.
2282         * locale/programs/ld-collate.c (collate_output): Use the new
2283         macros instead of __alignof__ (int32_t).
2284         * locale/weight.h (findidx): Likewise.
2286 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
2288         [BZ #431]
2289         * manual/string.texi: Fix strncat and wcsncat.
2291 2013-10-03  Brooks Moses  <bmoses@google.com>
2293         [BZ #15915]
2294         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
2295         * Makerules: ...here, and adjust associated comments.
2297 2013-10-02  Will Newton  <will.newton@linaro.org>
2299         * malloc/Makefile: Add tst-pvalloc.
2300         * malloc/tst-pvalloc.c: New file.
2302 2013-10-02  Will Newton  <will.newton@linaro.org>
2304         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
2305         improve test coverage.
2307 2013-10-02  Will Newton  <will.newton@linaro.org>
2309         * malloc/Makefile: Add tst-posix_memalign.
2310         * malloc/tst-posix_memalign.c: New file.
2312 2013-10-01  Eric Blake  <eblake@redhat.com>
2314         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
2315         Use __THROWNL rather than __THROW on static functions.
2317 2013-09-30  Petr Machata  <pmachata@redhat.com>
2319         * elf/elf.h (R_AARCH64_ABS16): New macro.
2320         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
2321         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
2322         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
2323         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
2324         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
2325         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
2326         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
2327         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
2328         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
2329         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
2330         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
2331         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
2332         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
2333         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
2334         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
2335         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
2336         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
2337         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
2338         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
2339         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
2340         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
2341         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
2342         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
2343         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
2344         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
2345         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
2346         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
2347         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
2348         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
2349         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
2350         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
2351         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
2352         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
2353         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
2354         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
2355         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
2356         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
2357         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
2358         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
2359         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
2360         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
2361         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
2362         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
2363         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
2364         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
2365         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
2366         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
2367         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
2368         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
2369         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
2370         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
2371         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
2372         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
2373         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
2374         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
2375         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
2376         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
2377         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
2378         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
2379         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
2380         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
2381         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
2382         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
2383         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
2384         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
2385         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
2386         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
2387         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
2388         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
2389         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
2390         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
2391         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
2392         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
2393         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
2394         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
2395         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
2396         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
2397         (R_AARCH64_TLSDESC_LDR): Likewise.
2398         (R_AARCH64_TLSDESC_ADD): Likewise.
2399         (R_AARCH64_TLSDESC_CALL): Likewise.
2401 2013-09-30  Andreas Schwab  <schwab@suse.de>
2403         [BZ #15048]
2404         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
2405         the nss database lookup.
2406         * nscd/initgrcache.c (addinitgroupsX): Likewise.
2407         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2409 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
2411         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
2413 2013-09-28  P. J. McDermott  <pj@pehjota.net>
2415         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
2416         ${Bash-specific parameter/pattern/string} parameter expansion.
2417         * sysdeps/unix/make-syscalls.sh: Likewise.
2419 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2421         * sysdeps/sh/stackguard-macros.h: New file.
2423 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
2425         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2426         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
2427         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
2428         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
2429         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2430         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
2432 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2434         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
2435         Fix thread ID register.
2437 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
2439         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
2440         [POSIX || UNIX98]: Require rather than permitting all symbols from
2441         <time.h>.
2442         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
2443         element of struct sched_param.
2444         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
2445         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
2446         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
2447         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
2448         constant.
2450 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
2452         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
2453         argument calculation.
2455 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
2457         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
2458         Expect macro.
2459         [POSIX] (pthread_attr_t): Do not require type.
2460         [POSIX] (pthread_cond_t): Likewise.
2461         [POSIX] (pthread_condattr_t): Likewise.
2462         [POSIX] (pthread_key_t): Likewise.
2463         [POSIX] (pthread_mutex_t): Likewise.
2464         [POSIX] (pthread_mutexattr_t): Likewise.
2465         [POSIX] (pthread_once_t): Likewise.
2466         [POSIX] (pthread_t): Likewise.
2467         [POSIX-based standards] (pthread_atfork): Expect function.
2469 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
2470             Richard Sandiford  <richard@codesourcery.com>
2472         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
2473         (swap_endianness_p): New extern variable.
2474         (set_big_endian): New inline function.
2475         (maybe_swap_uint32): Likewise.
2476         (maybe_swap_uint32_array): Likewise.
2477         (maybe_swap_uint32_obstack): Likewise.
2478         * locale/programs/locfile.c: Include <stdbool.h>.
2479         (swap_endianness_p): New variable.
2480         (add_locale_uint32): Call maybe_swap_uint32.
2481         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
2482         (write_locale_data): Call maybe_swap_uint32_array.
2483         * locale/programs/ld-collate.c (obstack_int32_grow): Call
2484         maybe_swap_uint32.
2485         (obstack_int32_grow_fast): Likewise.
2486         (output_weightwc): Call maybe_swap_uint32_obstack.
2487         (collate_output): Likewise.
2488         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
2489         (OPT_LITTLE_ENDIAN): Likewise.
2490         (options): Add --little-endian and --big-endian options.
2491         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
2492         * locale/programs/locarchive.c: Include "locfile.h".
2493         (GET): New macro.
2494         (SET): Likewise.
2495         (INC): Likewise.
2496         (create_archive): Use the new macros to access fields of
2497         structures directly mapped from or written to locale archives.
2498         (oldlocrecentcmp): Likewise.
2499         (enlarge_archive): Likewise.
2500         (insert_name): Likewise.
2501         (add_alias): Likewise.
2502         (add_locale): Likewise.
2503         (delete_locales_from_archive): Likewise.
2504         (show_archive_content): Likewise.
2505         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
2506         locale data.
2508 2013-09-24  Roland McGrath  <roland@hack.frob.com>
2510         * manual/freemanuals.texi: Updated from (newly) canonical copy at
2511         http://www.gnu.org/doc/freemanuals.texi.
2512         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
2514 2013-09-24  Will Newton  <will.newton@linaro.org>
2516         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
2517         macro.
2519 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
2521         * locale/hashval.h (compute_hashval): Interpret bytes of key as
2522         unsigned char.
2524 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
2526         * manual/threads.texi (POSIX Threads): Fix a typo.
2528 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
2530         [BZ #14547]
2531         * string/tst-strcoll-overflow.c: New test case.
2532         * string/Makefile (xtests): Add tst-strcoll-overflow.
2533         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
2534         cache if string sizes may cause integer overflow.
2536         [BZ #14547]
2537         * string/strcoll_l.c (coll_seq): New members rule, idx,
2538         save_idx and back_us.
2539         (get_next_seq_nocache): New function.
2540         (do_compare_nocache): New function.
2541         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
2542         when malloc fails.
2544 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
2546         [BZ #15754]
2547         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
2548         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
2549         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
2551         [BZ #15754]
2552         * elf/Makefile (tests): Add tst-ptrguard1.
2553         (tests-static): Add tst-ptrguard1-static.
2554         (tst-ptrguard1-ARGS): Define.
2555         (tst-ptrguard1-static-ARGS): Define.
2556         * elf/tst-ptrguard1.c: New file.
2557         * elf/tst-ptrguard1-static.c: New file.
2558         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
2559         * sysdeps/i386/stackguard-macros.h: Likewise.
2560         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2561         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2562         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2563         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2564         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2565         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2567 2013-09-23  Hector Marco  <hecmargi@upv.es>
2568             Ismael Ripoll  <iripoll@disca.upv.es>
2569             Carlos O'Donell  <carlos@redhat.com>
2571         [BZ #15754]
2572         * sysdeps/generic/stackguard-macros.h: Define
2573         __pointer_chk_guard_local and POINTER_CHK_GUARD.
2574         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
2575         Define __pointer_chk_guard_local.
2576         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
2577         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
2579 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
2581         [BZ #15859]
2582         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
2584 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
2586         * include/string.h (__ffs): Declare as hidden.
2587         * string/ffs.c (__ffs): Define as hidden.
2588         * sysdeps/i386/ffs.c (__ffs): Likewise.
2589         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
2590         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
2591         * sysdeps/s390/ffs.c (__ffs): Likewise.
2592         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
2594 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
2596         * NEWS: Mention malloc probes.
2598         * malloc/arena.c (new_heap): New memory_heap_new probe.
2599         (grow_heap): New memory_heap_more probe.
2600         (shrink_heap): New memory_heap_less probe.
2601         (heap_trim): New memory_heap_free probe.
2602         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
2603         (systrim): New memory_sbrk_less probe.
2604         * manual/probes.texi: Document them.
2606         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
2607         * manual/probes.texi: Document it.
2609         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
2610         (__libc_realloc): Add memory_realloc_retry probe.
2611         (__libc_memalign): Add memory_memalign_retry probe.
2612         (__libc_valloc): Add memory_valloc_retry probe.
2613         (__libc_pvalloc): Add memory_pvalloc_retry probe.
2614         (__libc_calloc): Add memory_calloc_retry probe.
2615         * manual/probes.texi: Document them.
2617         * malloc/arena.c (get_free_list): Add probe
2618         memory_arena_reuse_free_list.
2619         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
2620         and memory_arena_reuse.
2621         (arena_get2) [!PER_THREAD]: Likewise.
2622         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
2623         memory_arena_reuse_realloc.
2624         * manual/probes.texi: Document them.
2626         * malloc/malloc.c (__libc_free): Add
2627         memory_mallopt_free_dyn_thresholds probe.
2628         (__libc_mallopt): Add multiple memory_mallopt probes.
2629         * manual/probes.texi: Document them.
2631         * malloc/malloc.c: Include stap-probe.h.
2632         (__libc_mallopt): Add memory_mallopt probe.
2633         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
2634         * manual/probes.texi: New.
2635         * manual/Makefile (chapters): Add probes.
2636         * manual/threads.texi: Set next node.
2638 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
2640         [BZ #15963, #13985]
2641         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
2642         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
2643         Add `Chinese' to `nan' entry name.
2645 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2647         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
2648         (POLYNOMIAL): Likewise.
2649         (TAYLOR_SINCOS): Likewise.
2650         (TAYLOR_SLOW): Likewise.
2651         (__sin): Use TAYLOR_SINCOS.
2652         (__cos): Likewise.
2653         (slow): Use TAYLOR_SLOW.
2654         (sloww): Likewise.
2655         (bsloww): Likewise.
2656         (csloww): Likewise.
2658 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
2660         * stdlib/strtod_l.c: Fix buffer overrun.
2662 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2664         * benchtests/Makefile (bench): Add sincos.
2665         * benchtests/bench-sincos.c: New file.
2667         * math/libm-test.inc (cos_test_data): New test inputs.
2668         (sin_test_data): Likewise.
2670         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
2671         macro.
2672         (__sin): Use it.
2673         (__cos): Likewise.
2674         (slow1): Likewise.
2675         (slow2): Likewise.
2676         (sloww1): Likewise.
2677         (sloww2): Likewise.
2678         (bsloww1): Likewise.
2679         (bsloww2): Likewise.
2680         (cslow2): Likewise.
2681         (csloww1): Likewise.
2682         (csloww2): Likewise.
2684         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
2685         function.
2686         (__sin): Use it.
2687         (__cos): Likewise.
2689         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
2690         gotos.
2691         (__cos): Likewise.
2693 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
2695         * config.h.in (HAVE_MIPS_NAN2008): New macro.
2696         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
2697         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
2698         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
2699         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
2700         * elf/cache.c (print_entry): Handle the new cache flags.
2702 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
2703             Aldy Hernandez  <aldyh@redhat.com>
2705         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
2706         Change condition to [_SOFT_FLOAT].
2707         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
2708         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
2709         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
2710         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
2711         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
2712         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
2713         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
2714         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
2715         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
2716         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
2717         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
2718         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
2719         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
2720         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
2721         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
2722         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
2723         declaration.
2725 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
2727         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
2728         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2729         (__longjmp): Use LOAD_GP to load saved GPRs.
2730         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
2731         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2732         (__sigsetjmp): Use SAVE_GP to save GPRs.
2734         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
2735         Do not append -msoft-float.
2736         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
2738 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2740         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
2742 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
2744         [BZ #15966]
2745         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
2746         (_FPU_GETCW): Use initial "__" on variable and field names but not
2747         on macro parameter name.
2748         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
2749         parentheses around reference to macro parameter.
2751 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
2753         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
2754         prototype.
2755         (ctype_startup): Use uint32_t in cast and sizeof for
2756         ctype->charnames.
2758 2013-09-11  Jia Liu  <proljc@gmail.com>
2760         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
2761         __daddr_t_defined.
2762         [__FreeBSD__]: Likewise.
2764 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
2766         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2767         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
2768         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
2769         (strchr): Remove __strchr_sse42 ifunc selection.
2770         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
2771         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
2773 2013-09-11  Will Newton  <will.newton@linaro.org>
2775         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
2776         parameter to RES. Remove hardcoded 1000 value.
2777         * benchtests/bench-skeleton.c (main): Pass RES parameter
2778         to TIMING_INIT and multiply result by 1000.
2780 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2782         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2784 2013-09-11  Andreas Schwab  <schwab@suse.de>
2786         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2787         if not defined.
2788         (O_TMPFILE) [__USE_GNU]: Define.
2789         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
2790         Define.
2792 2013-09-11  Will Newton  <will.newton@linaro.org>
2794         [BZ #15857]
2795         * malloc/malloc.c (__libc_memalign): Check the value of bytes
2796         does not overflow.
2798 2013-09-11  Will Newton  <will.newton@linaro.org>
2800         [BZ #15856]
2801         * malloc/malloc.c (__libc_valloc): Check the value of bytes
2802         does not overflow.
2804 2013-09-11  Will Newton  <will.newton@linaro.org>
2806         [BZ #15855]
2807         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
2808         does not overflow.
2810 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
2812         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
2813         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2814         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2815         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2816         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2818 2013-09-10  Allan McRae  <allan@archlinux.org>
2820         [BZ #15748]
2821         * manual/arith.texi (Parsing of Floats): Clarify
2822         cross-reference.
2824         [BZ #15849]
2825         * manual/install.texi (Running make install): Mention
2826         --enable-pt-chown.
2827         * INSTALL: Regenerated.
2829 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
2831         * csu/init-first.c (_init): Remove the !SHARED condition around
2832         FPU control word initialization.
2833         * elf/dl-support.c (_dl_fpu_control): New variable.
2834         (_dl_aux_init) <AT_FPUCW>: Initialize it.
2835         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
2836         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
2837         * math/test-fpucw-static.c: New file.
2838         * math/test-fpucw-ieee.c: New file.
2839         * math/test-fpucw-ieee-static.c: New file.
2840         * math/Makefile (tests): Add `test-fpucw-ieee' and
2841         `$(tests-static)'.
2842         (tests-static): New variable.
2843         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
2844         dependency to...
2845         [($(build-shared),yes)]
2846         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2847         ... this.
2848         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
2849         New dependency.
2851 2013-09-09  Allan McRae  <allan@archlinux.org>
2853         [BZ #15939]
2854         * manual/string.texi (Collation Functions): Fix typo in
2855         strcoll example.
2856         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
2858         [BZ #15893]
2859         * stdlib/isomac.c (get_null_defines): Fix memory leak.
2861         [BZ #15892]
2862         * libio/memstream.c (open_memstream): Fix memory leak.
2863         * libio/wmemstream.c (open_wmemstream): Likewise.
2865         [BZ #15895]
2866         * nscd/netgroupcache.c: Fix nesting of ifdefs.
2868 2013-09-09  Will Newton  <will.newton@linaro.org>
2870         * malloc/Makefile: Add tst-realloc to tests.
2871         * malloc/tst-realloc.c: New file.
2873 2013-09-09  Allan McRae  <allan@archlinux.org>
2875         [BZ #15844]
2876         * COPYING: Update from GNU website to fix FSF address.
2877         * COPYING.LIB: Likewise.
2879 2013-09-06  David S. Miller  <davem@davemloft.net>
2881         * po/zh_TW.po: Update Chinese (traditional) translation from
2882         translation project.
2884 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
2885             Joseph Myers  <joseph@codesourcery.com>
2887         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
2888         "localeinfo.h".
2889         (obstack_chunk_alloc): New macro.
2890         (obstack_chunk_free): Likewise.
2891         (record_offset): New function.
2892         (init_locale_data): Likewise.
2893         (align_locale_data): Likewise.
2894         (add_locale_empty): Likewise.
2895         (add_locale_raw_data): Likewise.
2896         (add_locale_raw_obstack): Likewise.
2897         (add_locale_string): Likewise.
2898         (add_locale_wstring): Likewise.
2899         (add_locale_uint32): Likewise.
2900         (add_locale_uint32_array): Likewise.
2901         (add_locale_char): Likewise.
2902         (start_locale_structure): Likewise.
2903         (end_locale_structure): Likewise.
2904         (start_locale_prelude): Likewise.
2905         (end_locale_prelude): Likewise.
2906         (write_locale_data): Take locale_file structure rather than an
2907         iovec.
2908         * locale/programs/locfile.h: Include "obstack.h".
2909         (struct locale_file): Change to store locale file contents instead
2910         of header.
2911         (init_locale_data): New prototype.
2912         (align_locale_data): Likewise.
2913         (add_locale_empty): Likewise.
2914         (add_locale_raw_data): Likewise.
2915         (add_locale_raw_obstack): Likewise.
2916         (add_locale_string): Likewise.
2917         (add_locale_wstring): Likewise.
2918         (add_locale_uint32): Likewise.
2919         (add_locale_uint32_array): Likewise.
2920         (add_locale_char): Likewise.
2921         (start_locale_structure): Likewise.
2922         (end_locale_structure): Likewise.
2923         (start_locale_prelude): Likewise.
2924         (end_locale_prelude): Likewise.
2925         (write_locale_data): Update prototype.
2926         * locale/programs/3level.h (struct TABLE): Remove result field.
2927         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
2928         Use new locale_file interface.
2929         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
2930         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
2931         * locale/programs/ld-address.c (address_output): Use new
2932         locale_file interface.
2933         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
2934         NO_ADD_LOCALE.
2935         (collate_finish): Don't call collseq_table_finalize.
2936         (collate_output): Use new locale_file interface.
2937         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
2938         in file.
2939         (NO_FINALIZE): Change to NO_ADD_LOCALE.
2940         (TABLE): Move defines earlier in file.
2941         (ELEMENT): Likewise.
2942         (DEFAULT): Likewise.
2943         (wctrans_table_add): Move macro and inline function earlier in
2944         file.
2945         (struct wctype_table): Move type earlier in file.
2946         (add_locale_wctype_table): New static prototype.
2947         (struct locale_ctype_t): Use logical types instead of struct iovec
2948         pointers for members.
2949         (ctype_output): Use new locale_file interface.
2950         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
2951         new locale_file interface.
2952         (allocate_arrays): Update for use of new locale_file interface.
2953         * locale/programs/ld-identification.c (identification_output): Use
2954         new locale_file interface.
2955         * locale/programs/ld-measurement.c (measurement_output): Likewise.
2956         * locale/programs/ld-messages.c (messages_output): Likewise.
2957         * locale/programs/ld-monetary.c (monetary_output): Likewise.
2958         * locale/programs/ld-name.c (name_output): Likewise.
2959         * locale/programs/ld-numeric.c (numeric_output): Likewise.
2960         * locale/programs/ld-paper.c (paper_output): Likewise.
2961         * locale/programs/ld-telephone.c (telephone_output): Likewise.
2962         * locale/programs/ld-time.c (time_output): Likewise.
2964 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2966         * benchtests/Makefile: Add memrchr benchmark.
2967         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
2968         benchmark as memrchr.
2969         * benchtests/bench-memrchr-ifunc.c: New file.
2970         * benchtests/bench-memrchr.c: New file.
2972 2013-09-06   Will Newton  <will.newton@linaro.org>
2974         * benchtests/Makefile (string-bench): Add memcpy.
2976 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
2977             Cong Wang  <amwang@redhat.com>
2979         * sysdeps/unix/sysv/linux/bits/in.h
2980         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
2981         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
2982         before __USE_KERNEL_IPV6_DEFS uses.
2983         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
2984         IPPROTO_BEETPH.
2985         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
2986         sockaddr_in6, or ipv6_mreq.
2988 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2990         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
2991         memory access for final bytes in some large inputs.
2992         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
2994 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2996         * string/test-memrchr.c: New file.
2997         * string/test-memrchr-ifunc.c: New file.
2998         * string/Makefile: Add new memrchr testcase.
3000 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
3002         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
3003         fanotify_init returns EPERM.
3005 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
3007         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
3008         errors.
3009         (top level): Treat second token from macro or constant entries for
3010         allowed headers as allowed.
3011         * include/complex.h: Condition internal declarations on
3012         [!_ISOMAC].
3013         * include/fenv.h: Condition include of <stdbool.h> and internal
3014         declarations on [!_ISOMAC].
3016 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
3018         [BZ #15923]
3019         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
3021 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
3023         * configure.in (--enable-versioning): Remove configure option.
3024         (libc_cv_asm_symver_directive): Remove configure test.
3025         (libc_cv_ld_version_script_option): Likewise.
3026         (VERSIONING): Remove variable and AC_SUBST.
3027         (DO_VERSIONING): Remove AC_DEFINE.
3028         * configure: Regenerated.
3029         * config.h.in (DO_VERSIONING): Remove macro.
3030         * Makerules [$(versioning) = yes]: Change conditionals to
3031         [$(build-shared) = yes].
3032         * config.make.in (versioning): Remove variable.
3033         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
3034         [$(build-shared) = yes].
3035         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
3036         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
3037         * elf/Makefile [$(versioning) = yes]: Change conditionals to
3038         [$(build-shared) = yes].
3039         * extra-lib.mk [$(versioning) = yes]: Likewise.
3040         * hurd/Makefile [$(versioning) = yes]: Likewise.
3041         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
3042         [SHARED].
3043         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
3044         [SHARED].
3045         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3046         [SHARED && !NO_HIDDEN].
3047         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
3048         [SHARED].
3049         [SHARED && DO_VERSIONING]: Likewise..
3050         * libio/Makefile [$(versioning) = yes]: Change conditionals to
3051         [$(build-shared) = yes].
3052         * manual/install.texi (--disable-versioning): Remove
3053         documentation.
3054         * INSTALL: Regenerated.
3055         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
3056         to [SHARED].
3057         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
3058         [$(build-shared) = yes].
3059         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
3060         * sysdeps/i386/i686/multiarch/strstr-c.c
3061         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3062         [SHARED && !NO_HIDDEN].
3063         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
3064         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
3065         * sysdeps/powerpc/powerpc32/dl-machine.c
3066         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
3067         * sysdeps/powerpc/powerpc32/sysdep.h
3068         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
3069         to [SHARED && PIC && !NO_HIDDEN].
3070         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
3071         conditional to [SHARED].
3073 2013-09-04   Will Newton  <will.newton@linaro.org>
3075         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
3076         * benchtests/bench-string.h: Include bench-timing.h instead
3077         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
3078         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
3079         call to HP_TIMING_DIFF_INIT.
3080         * benchtests/bench-memccpy.c: Use bench-timing.h macros
3081         instead of hp-timing.h macros.
3082         * benchtests/bench-memchr.c: Likewise.
3083         * benchtests/bench-memcmp.c: Likewise.
3084         * benchtests/bench-memcpy.c: Likewise.
3085         * benchtests/bench-memmem.c: Likewise.
3086         * benchtests/bench-memmove.c: Likewise.
3087         * benchtests/bench-memset.c: Likewise.
3088         * benchtests/bench-rawmemchr.c: Likewise.
3089         * benchtests/bench-strcasecmp.c: Likewise.
3090         * benchtests/bench-strcasestr.c: Likewise.
3091         * benchtests/bench-strcat.c: Likewise.
3092         * benchtests/bench-strchr.c: Likewise.
3093         * benchtests/bench-strcmp.c: Likewise.
3094         * benchtests/bench-strcpy.c: Likewise.
3095         * benchtests/bench-strcpy_chk.c: Likewise.
3096         * benchtests/bench-strlen.c: Likewise.
3097         * benchtests/bench-strncasecmp.c: Likewise.
3098         * benchtests/bench-strncat.c: Likewise.
3099         * benchtests/bench-strncmp.c: Likewise.
3100         * benchtests/bench-strncpy.c: Likewise.
3101         * benchtests/bench-strnlen.c: Likewise.
3102         * benchtests/bench-strpbrk.c: Likewise.
3103         * benchtests/bench-strrchr.c: Likewise.
3104         * benchtests/bench-strspn.c: Likewise.
3105         * benchtests/bench-strstr.c: Likewise.
3107 2013-09-04  Will Newton  <will.newton@linaro.org>
3109         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
3111 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
3113         [BZ #15427]
3114         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3115         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
3116         * math/libm-test.inc (lgamma_test_data): Add more tests.
3117         * sysdeps/i386/fpu/libm-test-ulps: Update.
3118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3120 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
3122         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
3123         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3124         Add ifunc.
3125         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3126         Add strcmp-sse2-unaligned
3127         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
3129 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
3131         * Versions.def (libc): Add GLIBC_2.19.
3133 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
3135         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
3136         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
3138 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
3140         [BZ #14155]
3141         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
3142         intermediate calculations in recurrence.
3143         (__ieee754_ynf): Likewise.
3144         * math/libm-test.inc (jn_test_data): Do not allow spurious
3145         underflow exception.  Add more tests.
3146         (yn_test_data): Add more tests.
3147         * sysdeps/i386/fpu/libm-test-ulps: Update.
3148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3150 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
3152         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
3154 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
3156         * csu/init-first.c: Fix then/than typos.
3157         * locale/programs/ld-collate.c: Likewise.
3158         * locale/programs/linereader.h: Likewise.
3159         * manual/charset.texi: Likewise.
3160         * manual/filesys.texi: Likewise.
3161         * manual/stdio.texi: Likewise.
3162         * manual/string.texi: Likewise.
3163         * stdlib/fmtmsg.c: Likewise.
3164         * sysdeps/i386/stpncpy.S: Likewise.
3165         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3166         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3167         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3168         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3170 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
3172         * elf/dl-open.c: Fix typos.
3173         * iconvdata/gbbig5.c: Likewise.
3174         * iconvdata/iso-2022-jp.c: Likewise.
3175         * iconv/gconv_int.h: Likewise.
3176         * iconv/loop.c: Likewise.
3177         * nis/rpcsvc/nis.h: Likewise.
3178         * resolv/ns_name.c: Likewise.
3179         * stdio-common/vfscanf.c: Likewise.
3180         * streams/stropts.h: Likewise.
3181         * sunrpc/rpc_thread.c: Likewise.
3182         * sysdeps/i386/strpbrk.S: Likewise.
3183         * sysdeps/ieee754/k_standard.c: Likewise.
3184         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3185         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3186         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
3187         * sysdeps/mach/hurd/profil.c: Likewise.
3188         * sysdeps/s390/dl-procinfo.h: Likewise.
3189         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
3190         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3191         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
3192         * sysdeps/x86_64/dl-trampoline.S: Likewise.
3193         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3195 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
3197         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
3198         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
3200 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
3202         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
3203         aix specific files.
3204         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
3205         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
3206         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
3207         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
3208         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
3209         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
3210         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
3211         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
3213 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
3214             Roland McGrath  <roland@hack.frob.com>
3216         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
3217         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
3219 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3221         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
3222         __executable_start symbol instead of _start.
3224 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
3226         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
3227         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
3228         Move macros to...
3229         * sysdeps/gnu/ldsodefs.h: ... this new file.
3231         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
3232         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
3233         instead of ELFOSABI_LINUX.
3235         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
3236         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
3237         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
3238         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
3239         Likewise.
3240         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
3241         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
3242         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
3243         Likewise.
3244         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3245         (ibm_extended_long_double): Add ieee_nan member.
3246         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
3247         (do_test): New function.
3249         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
3250         TEST_TRUNC.
3251         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
3252         functions, renamed from truncdfsf_test, trunctfsf_test,
3253         trunctfdf_test.
3254         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
3255         functions.
3256         (do_test): Run all these.
3258 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
3260         * argp/argp-help.c: Fix typos.
3261         * argp/argp-parse.c: Likewise.
3262         * debug/backtracesyms.c: Likewise.
3263         * elf/elf.h: Likewise.
3264         * malloc/malloc.c: Likewise.
3265         * nis/nis_print.c: Likewise.
3266         * resolv/res_comp.c: Likewise.
3267         * stdlib/stdlib.h: Likewise.
3268         * sunrpc/clnt_tcp.c: Likewise.
3269         * sunrpc/clnt_udp.c: Likewise.
3270         * sunrpc/clnt_unix.c: Likewise.
3271         * sysdeps/unix/bsd/ptsname.c: Likewise.
3272         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3273         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
3274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
3275         Likewise.
3276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
3277         Likewise.
3278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3279         Likewise.
3280         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3282 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3284         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
3285         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3287 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
3289         [BZ #15897]
3290         * dlfcn/Makefile (tests): Add bug-dl-leaf.
3291         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
3292         ($(objpfx)bug-dl-leaf): New rule.
3293         ($(objpfx)bug-dl-leaf.so): Likewise.
3294         ($(objpfx)bug-dl-leaf.out): Likewise.
3295         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
3296         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
3297         * dlfcn/bug-dl-leaf.c: New test.
3298         * dlfcn/bug-dl-leaf-lib.c: Likewise.
3299         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
3300         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
3301         (dlclose): Likewise.
3302         (dlmopen): Likewise.
3304 2013-08-27  Roland McGrath  <roland@hack.frob.com>
3306         * include/netdb.h [!_ISOMAC]:
3307         Don't include <tls.h>.
3308         (h_errno, __libc_h_errno): Move declaration and macros out of
3309         [_LIBC_REENTRANT].
3311         * include/resolv.h [_RESOLV_H_]:
3312         Don't include <tls.h>.
3313         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
3314         * resolv/res_libc.c: Don't include <tls.h>.
3315         (_res): Use __attribute__ ((nocommon)) in place of
3316         __attribute__ ((section (".bss"))).
3318         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
3319         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
3321         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
3323         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
3324         only under [SIOCGIFCONF && SIOCGIFNETMASK].
3326         * resolv/res_mkquery.c: Include <sys/time.h>.
3328         * inet/ifreq.c: Moved to ...
3329         * sysdeps/unix/ifreq.c: ... here.
3330         * inet/ifreq.c: New file, true stub version.
3332         * socket/sa_len.c: New file.
3333         * socket/Makefile (aux): Add it.
3334         * sysdeps/unix/sysv/linux/Makefile
3335         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
3336         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
3337         and #include <socket/sa_len.c>.
3338         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
3339         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
3341         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
3342         * bits/socket.h: ... here.
3344         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
3345         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
3346         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
3348 2013-08-27  Andreas Schwab  <schwab@suse.de>
3350         [BZ #15736]
3351         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
3352         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
3353         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
3354         * string/test-strcasecmp.c (test_main): Run tests in several
3355         locales.
3356         * string/test-strncasecmp.c (test_main): Likewise.
3358         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
3359         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
3360         to __strcasecmp_nonascii and __strncasecmp_nonascii.
3361         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
3362         (__strncasecmp_ssse3) [PIC]: Likewise.
3364 2013-08-26  Roland McGrath  <roland@hack.frob.com>
3366         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
3368         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
3369         instead of explicitly declaring xdecrypt.
3370         * nis/nss_nis/nis-publickey.c: Likewise.
3372 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3374         [BZ #15890]
3375         * nscd/aicache.c: Include res_hconf.h.
3376         (addhstaiX): Initialize res_hconf.
3378 2013-08-26  Andreas Schwab  <schwab@suse.de>
3380         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
3381         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
3383 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3385         * nscd/aicache.c (addhstaiX): Fix indentation.
3387 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
3389         * configure.ac: Quote $build_pt_chown test.
3390         * configure: Regenerated.
3392 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
3394         [BZ #15532]
3395         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
3396         * math/s_cexpf.c (__cexpf): Likewise.
3397         * math/s_cexpl.c (__cexpl): Likewise.
3398         * math/libm-test.inc (cexp_test_data): Correct expected return
3399         value for NaN + i0.  Add another test.
3401 2013-08-22  David S. Miller  <davem@davemloft.net>
3403         * po/ca.po: Update Catalan translation from translation project.
3404         * po/uk.po: Add Ukrainian translations from translation project.
3406 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
3408         [BZ #15797]
3409         * math/s_fdim.c (__fdim): Check for infinite arguments if result
3410         is infinite, not alongside NaN test.
3411         * math/s_fdimf.c (__fdimf): Likewise.
3412         * math/s_fdiml.c (__fdiml): Likewise.
3413         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
3414         errno is unchanged.
3416 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
3418         * argp/argp-help.c: Fix typos.
3419         * crypt/speeds.c: Likewise.
3420         * csu/check_fds.c: Likewise.
3421         * elf/dl-load.c: Likewise.
3422         * elf/dl-open.c: Likewise.
3423         * elf/reldep3.c: Likewise.
3424         * elf/reldep.c: Likewise.
3425         * elf/sprof.c: Likewise.
3426         * iconv/iconv_charmap.c: Likewise.
3427         * iconv/skeleton.c: Likewise.
3428         * iconv/strtab.c: Likewise.
3429         * io/lockf64.c: Likewise.
3430         * libio/libioP.h: Likewise.
3431         * resolv/gai_notify.c: Likewise.
3432         * resolv/ns_name.c: Likewise.
3433         * resolv/ns_samedomain.c: Likewise.
3434         * resolv/res_send.c: Likewise.
3435         * stdlib/random.c: Likewise.
3436         * sunrpc/rpc/xdr.h: Likewise.
3437         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
3438         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3439         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3440         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3441         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3442         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3443         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3444         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3445         * sysdeps/mach/hurd/check_fds.c: Likewise.
3446         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3447         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3448         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3449         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3450         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3451         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3452         * sysdeps/pthread/aio_notify.c: Likewise.
3453         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
3454         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
3455         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
3456         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3457         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3459 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3461         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
3462         version if bit_Slow_SSE4_2 is set.
3463         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3464         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3466 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3468         [BZ #15867]
3469         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
3470         trampoline stack frame information.
3471         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
3472         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
3473         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
3474         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
3475         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
3476         * sysdeps/unix/sysv/linux/powerpc/init-first.c
3477         (_libc_vdso_platform_setup): Initialize the signal trampolines.
3478         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
3479         sa_flags value.
3480         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
3481         interrupting a syscall and set with option SA_SIGINFO.
3483 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
3485         [BZ #15531]
3486         * math/s_cproj.c (__cproj): Only return an infinity if one part of
3487         argument is infinite.
3488         * math/s_cprojf.c (__cprojf): Likewise.
3489         * math/s_cprojl.c (__cprojl): Likewise.
3490         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
3491         * math/libm-test.inc (cproj_test_data): Add more tests.
3493         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
3495         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
3496         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
3497         size.  Use __ffs to determine corresponding shift.
3499 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
3500             Roland McGrath  <roland@hack.frob.com>
3502         * Makefile (INSTALL): Remove trailing blank lines from output of
3503         makeinfo.
3505 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3507         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
3508         Align 32 bit compat elf_greg to 8 bytes.
3510 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3512         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
3514 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
3516         * string/strcoll_l.c (coll_seq): New structure.
3517         (get_next_seq_cached): New function.
3518         (get_next_seq): New function.
3519         (do_compare): New function.
3520         (STRCOLL): Use GNU style definition.  Simplify implementation
3521         by using get_next_seq, get_next_seq_cached and do_compare.
3523 2013-08-16  Florian Weimer  <fweimer@redhat.com>
3525         [BZ #14699]
3526         CVE-2013-4237
3527         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
3528         member.
3529         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
3530         member.
3531         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
3532         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
3533         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
3534         conditional.
3535         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
3536         GETDENTS_64BIT_ALIGNED.
3537         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3538         * manual/filesys.texi (Reading/Closing Directory): Document
3539         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
3540         strongly.
3541         * manual/conf.texi (Limits for Files): Add portability note to
3542         NAME_MAX, PATH_MAX.
3543         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
3545 2013-08-13  Andreas Schwab  <schwab@suse.de>
3547         [BZ #15749]
3548         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
3549         of fabs.
3550         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
3551         LDBL_MAX_EXP >= 16384]: Add tests for it.
3553 2013-08-12  David S. Miller  <davem@davemloft.net>
3555         * version.h (RELEASE): Set to "development".
3556         (VERSION): Set to "2.18.90".
3557         * NEWS: Add 2.19 section.
3559 2013-08-03  David S. Miller  <davem@davemloft.net>
3561         * po/ko.po: Update Korean translation from translation project.
3563 2013-08-01  David S. Miller  <davem@davemloft.net>
3565         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
3566         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
3567         Bilka.
3569 2013-07-30  David S. Miller  <davem@davemloft.net>
3571         * po/fr.po: Update French translation from translation project.
3573 2013-07-28  David S. Miller  <davem@davemloft.net>
3575         * po/cs.po: Update Czech translation from translation project.
3577         * po/sv.po: Update Swedish translation from translation project.
3579 2013-07-27  David S. Miller  <davem@davemloft.net>
3581         * po/eo.po: Update Esperanto translation from translation project.
3583         * po/vi.po: Update Vietnamese translation from translation project.
3585         * po/de.po: Update German translation from translation project.
3587 2013-07-26  David S. Miller  <davem@davemloft.net>
3589         * po/bg.po: Update Bulgarian translation from translation project.
3591         * po/nl.po: Update Dutch translation from translation project.
3592         * po/pl.po: Update Polish translation from translation project.
3593         * po/ru.po: Update Russian translation from translation project.
3595 2013-07-24  David S. Miller  <davem@davemloft.net>
3597         * po/libc.pot: Update.
3599 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3601         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
3602         variable page size.
3603         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
3604         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
3605         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
3607 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3609         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
3611 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3612             Andreas Schwab  <schwab@suse.de>
3613             Roland McGrath  <roland@hack.frob.com>
3614             Joseph Myers  <joseph@codesourcery.com>
3615             Carlos O'Donell  <carlos@redhat.com>
3617         [BZ #15755]
3618         * config.h.in: Define HAVE_PT_CHOWN.
3619         * config.make.in (build-pt-chown): New variable.
3620         * configure.in (--enable-pt_chown): New configure option.
3621         * configure: Regenerate.
3622         * login/Makefile: Include Makeconfig.  Build pt_chown only if
3623         build-pt-chown is enabled.
3624         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
3625         pt_chown to fix pty ownership.
3626         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
3627         CLOSE_ALL_FDS.
3628         * manual/install.texi (Configuring and compiling): Mention
3629         --enable-pt_chown. Add @findex for grantpt.
3630         * INSTALL: Regenerate.
3632 2013-07-20  David S. Miller  <davem@davemloft.net>
3634         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
3635         difference between 32-bit and 64-bit.
3637 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
3639         [BZ #15711]
3640         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
3641         Avoid system header dependency with -ffreestanding.
3642         ($(objpfx)bits/syscall%d): Likewise.
3644 2013-07-13  David S. Miller  <davem@davemloft.net>
3646         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
3647         underflows from atanl/atan2l due to bug 15319.
3648         (casinh_test_data): Likewise.
3650 2013-07-07  David S. Miller  <davem@davemloft.net>
3652         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3654 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
3656         * sysdeps/i386/fpu/libm-test-ulps: Update.
3657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3659 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3661         * configure.in (--enable-lock-elision): Fix message text.
3662         * INSTALL: Regenerate.
3663         * configure: Regenerate.
3665 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3667         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3669 2013-07-03  Andreas Jaeger  <aj@suse.de>
3671         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
3672         define.
3673         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
3674         (ptrace_peeksiginfo_args): Add.
3675         (__ptrace_peeksiginfo_flags): Add.
3676         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3677         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3678         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3680 2013-07-03  Allan McRae  <allan@archlinux.org>
3682         * sysdeps/i386/fpu/libm-test-ulps: Update.
3684 2013-07-02  David S. Miller  <davem@davemloft.net>
3686         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3688 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
3690         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3692 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
3694         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3697 2013-07-02  Andi Kleen <ak@linux.intel.com>
3699         * config.h.in (ENABLE_LOCK_ELISION): Add.
3700         * configure.in (--enable-lock-elision): Add option.
3701         * manual/install.texi: Document --enable lock elision.
3702         * configure: Regenerate
3703         * INSTALL: Regenerate.
3705 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
3707         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
3708         SSE4.2 strcasecmp for libc.a.
3709         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3711 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
3713         [BZ #13304]
3714         * soft-fp/op-common.h (_FP_FMA): New macro.
3715         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
3716         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
3717         (_FP_MUL_MEAT_1_imm): ... here.
3718         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
3719         (_FP_MUL_MEAT_1_wide): ... here.
3720         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
3721         (_FP_MUL_MEAT_1_hard): ... here.
3722         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
3723         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
3724         (_FP_MUL_MEAT_2_wide): ... here.
3725         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
3726         (_FP_MUL_MEAT_2_wide_3mul): ... here.
3727         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
3728         (_FP_MUL_MEAT_2_gmp): ... here.
3729         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
3730         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
3731         (_FP_MUL_MEAT_4_wide): ... here.
3732         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
3733         (_FP_MUL_MEAT_4_gmp): ... here.
3734         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
3735         (_FP_WFRACBITS_DW_S): Likewise.
3736         (_FP_WFRACXBITS_DW_S): Likewise.
3737         (_FP_HIGHBIT_DW_S): Likewise.
3738         (FP_FMA_S): Likewise.
3739         (_FP_FRAC_HIGH_DW_S): Likewise.
3740         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
3741         (_FP_WFRACBITS_DW_D): Likewise.
3742         (_FP_WFRACXBITS_DW_D): Likewise.
3743         (_FP_HIGHBIT_DW_D): Likewise.
3744         (FP_FMA_D): Likewise.
3745         (_FP_FRAC_HIGH_DW_D): Likewise.
3746         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
3747         (_FP_WFRACBITS_DW_E): Likewise.
3748         (_FP_WFRACXBITS_DW_E): Likewise.
3749         (_FP_HIGHBIT_DW_E): Likewise.
3750         (FP_FMA_E): Likewise.
3751         (_FP_FRAC_HIGH_DW_E): Likewise.
3752         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
3753         (_FP_WFRACBITS_DW_Q): Likewise.
3754         (_FP_WFRACXBITS_DW_Q): Likewise.
3755         (_FP_HIGHBIT_DW_Q): Likewise.
3756         (FP_FMA_Q): Likewise.
3757         (_FP_FRAC_HIGH_DW_Q): Likewise.
3758         * soft-fp/fmasf4.c: New file.
3759         * soft-fp/fmadf4.c: Likewise.
3760         * soft-fp/fmatf4.c: Likewise.
3762 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3764         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
3765         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
3766         Silvermont.
3767         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
3768         macro.
3769         (index_Slow_SSE4_2): Likewise.
3770         (index_Prefer_PMINUB_for_stringop): Likewise.
3771         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
3772         bit_Slow_SSE4_2 is set.
3773         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3774         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3776 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3778         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
3779         rtld_global._dl_hwcap2.
3780         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
3781         POWER8.
3782         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
3783         POWER8 feature descriptions defined in _dl_hwcap2.
3784         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
3785         string handling for POWER8 feature bits.
3786         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
3787         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
3788         _dl_powerpc_cap_flags.
3789         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
3790         * sysdeps/powerpc/rtld-global-offsets.sym
3791         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
3792         _dl_hwcap2 in the rtld_global_ro structure.
3794 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3796         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
3797         hardware capabilities in support of AT_HWCAP2.
3798         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
3799         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
3800         GLRO(dl_hwcap2).
3801         (_dl_show_auxv): Add support for calling _dl_procinfo to display
3802         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
3803         explicitly the unknown a_type display mechanism is used.
3804         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
3805         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
3806         struct member.
3807         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
3808         to macro prototype for AT_HWCAP2 support.
3809         * sysdeps/i386/dl-procinfo.h: Likewise.
3810         * sysdeps/s390/dl-procinfo.h: Likewise.
3811         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
3812         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
3813         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
3814         return -1 for unknown a_type display fallback.
3815         * sysdeps/sparc/dl-procinfo.h: Likewise.
3816         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3817         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3819 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
3821         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
3822         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
3824 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
3826         [BZ #12492]
3827         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
3828         mprotect making __stack_prot writable.
3830 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
3831             Joseph Myers  <joseph@codesourcery.com>
3833         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
3834         as being properly aligned.
3836 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
3838         * dlfcn/modstatic5.c: New file.
3839         * dlfcn/tststatic5.c: New file.
3840         * dlfcn/Makefile (tests): Add tststatic5.
3841         (tests-static): Likewise.
3842         (modules-names): Add modstatic5.
3843         (tststatic5-ENV): New variable.
3844         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
3846         [BZ #15022]
3847         * elf/dl-support.c (_dl_main_map): New variable.
3848         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
3849         (_dl_nns, _dl_load_adds): Set to 1.
3850         (_dl_initial_searchlist): Refer to _dl_main_map.
3851         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
3852         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
3853         call to _dl_get_origin.
3854         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
3855         around call_map.
3856         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
3857         * dlfcn/modstatic3.c: New file.
3858         * dlfcn/tststatic3.c: New file.
3859         * dlfcn/tststatic4.c: New file.
3860         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
3861         (tests-static): Likewise.
3862         (modules-names): Add modstatic3.
3863         (tststatic3-ENV, tststatic4-ENV): New variables.
3864         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
3865         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
3867 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
3869         * configure.in (CC): Require GCC version 4.4 or later.
3870         * configure: Regenerated.
3871         * manual/install.texi (Tools for Compilation): Update GCC version
3872         requirement.
3873         * INSTALL: Regenerated.
3875 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3877         [BZ #15674]
3878         * string/test-memcmp.c (check2): New.
3879         (main): Call check2.
3881         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
3883 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
3885         [BZ #15022]
3886         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
3887         over to...
3888         (dl_open_worker) [!SHARED]: ... here.
3890 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3892         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
3894 2013-06-25  Richard Henderson  <rth@redhat.com>
3896         * locale/programs/locarchive.c: Include <libc-internal.h>
3898 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
3900         * manual/texinfo.tex: Update to version 2013-06-21.17, with
3901         trailing whitespace removed.
3903 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
3905         [BZ #10283]
3906         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
3907         * locale/programs/locarchive.c: Include libc-mmap.h.
3908         (prepare_address_space): Take two new outputs (the mmap base and len).
3909         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
3910         values.
3911         (create_archive): Declare new mmap base and len values for
3912         prepare_address_space, and store the result in ah.
3913         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
3914         (enlarge_archive): If ah->mmap_base is not NULL, use that and
3915         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3916         Declare new mmap base and len values for
3917         prepare_address_space, and store the result in new_ah.
3918         (open_archive): Declare new mmap base and len values for
3919         prepare_address_space, and store the result in ah.
3920         (close_archive): If ah->mmap_base is not NULL, use that and
3921         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3922         * sysdeps/generic/libc-mmap.h: New file.
3924 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
3926         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
3927         (ALIGN_UP): Likewise.
3928         (PTR_ALIGN_DOWN): Likewise.
3929         (PTR_ALIGN_UP): Likewise.
3931 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3933         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
3934         entry mapped to PPC_PLATFORM_POWER8.
3935         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
3936         POWER8.
3937         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
3938         (_dl_string_platform): Add case for exporting platform position for
3939         POWER8.
3940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
3941         search path to sysdeps/powerpc/powerpc32/power8 directory.
3942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
3943         search path to sysdeps/powerpc/powerpc64/power8 directory.
3944         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
3945         power7 directories.
3946         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
3947         power7 directories.
3949 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3951         * INSTALL: Regenerate.
3953         * nscd/connections.c (nscd_init): Fix comment.
3955 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
3957         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
3959         [BZ #15667]
3960         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
3961         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
3963 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
3965         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
3966         DL_DST_REQ_STATIC.
3967         (DL_DST_REQ_STATIC): Remove macro.
3969 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
3971         [BZ #7006]
3972         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
3973         with a shift of 0 bits.
3975 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
3977         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
3978         $(tststatic-ENV).
3980 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3982         [BZ #15655]
3983         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
3985 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3987         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
3988         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
3989         accepts -fno-tree-loop-distribute-patterns.
3990         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
3991         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
3992         recursive call.
3993         * string/memset.c (memset): Likewise.
3994         * string/test-memmove.c (simple_memmove): Disable loop transformation
3995         to library calls.
3996         * string/test-memset.c (simple_memset): Likewise.
3997         * benchtests/bench-memmove.c (simple_memmove): Likewise.
3998         * benchtests/bench-memset.c (simple_memset): Likewise.
3999         * configure: Regenerated.
4001 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
4003         * math/test-misc.c (main): Ignore fesetround failure when failures
4004         of subsequent rounding tests would be ignored.
4006         [BZ #15654]
4007         * math/fedisblxcpt.c (fedisableexcept): Return 0.
4008         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
4009         * math/fegetenv.c (__fegetenv): Return 0.
4010         * math/fegetexcept.c (fegetexcept): Return 0.
4011         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
4012         FE_TONEAREST.
4013         * math/feholdexcpt.c (feholdexcept): Return 0.
4014         * math/fesetenv.c (__fesetenv): Return 0.
4015         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
4016         argument FE_TONEAREST.
4017         * math/feupdateenv.c (__feupdateenv): Return 0.
4018         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
4020 2013-06-18  Roland McGrath  <roland@hack.frob.com>
4022         * elf/rtld-Rules (rtld-compile-command.S): New variable.
4023         (rtld-compile-command.s, rtld-compile-command.c): New variables.
4024         ($(objpfx)rtld-%.os rules): Use them.
4026 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4028         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
4029         fields.
4031 2013-06-17  Roland McGrath  <roland@hack.frob.com>
4033         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
4034         length of target pattern, then descending length of dependency pattern.
4035         * configure.in (AWK): Require gawk 3.1.2 or newer.
4036         * manual/install.texi (Tools for Compilation): Say that we do.
4037         * configure: Regenerated.
4039         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
4040         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
4041         * scripts/sysd-rules.awk: ... this new script.
4042         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
4043         than a glob-style pattern.
4045 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
4047         * math/test-misc.c (main): Do not treat incorrectly rounded
4048         conversions as failure unless ROUNDING_TESTS passes.
4050 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
4052         [BZ #15631]
4053         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
4054         restore exception state around main square root computation, then
4055         check for inexactness explicitly.
4057         * math/libm-test.inc (fma_test_data): Add another test.
4059 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4061         * manual/threads.texi (Non-POSIX Extensions): New document
4062         node.  Document pthread_getattr_default_np and
4063         pthread_setattr_default_np.
4065         * Versions.def (libpthread): Add GLIBC_2.18.
4066         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
4067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4068         Likewise.
4069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4070         Likewise.
4071         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4072         Likewise.
4073         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4074         Likewise.
4075         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
4076         Likewise.
4077         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4078         Likewise.
4079         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4080         Likewise.
4081         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4082         Likewise.
4083         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4084         Likewise.
4086 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
4088         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4089         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
4091 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
4092             H.J. Lu  <hjl.tools@gmail.com>
4094         [BZ #15627]
4095         * sysdeps/x86_64/rtld-memset.c: Remove file.
4096         * sysdeps/x86_64/rtld-memset.S: New file.
4098 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
4100         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
4101         (test_in_one_mode): Take arguments for whether the rounding mode
4102         is supported for each floating-point type.
4103         (do_test): Pass new arguments to test_in_one_mode using
4104         ROUNDING_TESTS.
4106 2013-06-13  Roland McGrath  <roland@hack.frob.com>
4108         * posix/tst-waitid.c (do_test): Distinguish different instances of
4109         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
4110         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
4111         before entering the kernel for waitpid.
4113 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
4115         * NEWS: Fix note on clock function precision.  Text by Roland
4116         McGrath.
4118 2013-06-13  Roland McGrath  <roland@hack.frob.com>
4120         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
4121         it into place only when and if the sanity check passes.
4123 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
4125         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
4126         output for whether conversion result is exact.  Take argument
4127         indicating whether type is IBM long double.
4128         (round_for_all): Change need_exact field to ibm_ld.
4129         * stdlib/tst-strtod-round.c (struct exactness): New type.
4130         (struct test): Change bool ld_ok field to struct exactness exact.
4131         (TEST): Update all definitions for change to field.
4132         (tests): Regenerate array contents.
4133         (test_in_one_mode): Take pointer to new field instead of old ld_ok
4134         field value.  Check for IBM long double here.
4135         (do_test): Update calls to test_in_one_mode.
4137 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
4139         [BZ #12515]
4140         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
4141         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
4143 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4145         [BZ #15605]
4146         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
4147         generated by the compiler on loop optimizations.
4148         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
4149         general definitions.
4151 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
4153         * math/bug-nextafter.c: Include <math-tests.h>.
4154         (main): Only test for exceptions if EXCEPTION_TESTS is true for
4155         the relevant type.
4156         * math/bug-nexttoward.c: Include <math-tests.h>.
4157         (main): Only test for exceptions if EXCEPTION_TESTS is true for
4158         the relevant type.
4159         * math/test-misc.c: Include <math-tests.h>.
4160         (main): Only test for exceptions if EXCEPTION_TESTS is true for
4161         the relevant type.
4163 2013-06-12  Andreas Jaeger  <aj@suse.de>
4165         * po/ia.po: Update Interlingua translation from translation
4166         project.
4168 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4170         * include/fenv.h: Include stdbool.h.
4171         (struct rm_ctx): New structure.
4172         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
4173         Define macro.
4174         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
4175         (SET_RESTORE_ROUNDF): Likewise.
4176         (SET_RESTORE_ROUNDL): Likewise.
4177         (SET_RESTORE_ROUND_NOEX): Likewise.
4178         (SET_RESTORE_ROUND_NOEXF): Likewise.
4179         (SET_RESTORE_ROUND_NOEXL): Likewise.
4180         (SET_RESTORE_ROUND_53BIT): Likewise.
4181         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
4182         (libc_feresetround_noexf_ctx): Likewise.
4183         (libc_feresetround_noexl_ctx): Likewise.
4184         (libc_feholdsetround_53bit_ctx): Likewise.
4185         (libc_feresetround_53bit_ctx): Likewise.
4186         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
4187         (libc_feholdexcept_setround_sse_ctx): New function.
4188         (libc_fesetenv_sse_ctx): Likewise.
4189         (libc_feupdateenv_sse_ctx): Likewise.
4190         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
4191         (libc_feholdexcept_setround_387_ctx): Likewise.
4192         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
4193         (libc_feholdsetround_387_prec_ctx): Likewise.
4194         (libc_feholdsetround_387_ctx): Likewise.
4195         (libc_feholdsetround_387_53bit_ctx): Likewise.
4196         (libc_feholdsetround_sse_ctx): Likewise.
4197         (libc_feresetround_sse_ctx): Likewise.
4198         (libc_feresetround_387_ctx): Likewise.
4199         (libc_feupdateenv_387_ctx): Likewise.
4200         (libc_feholdexcept_setroundf_ctx): Define macro.
4201         (libc_fesetenvf_ctx): Likewise.
4202         (libc_feupdateenvf_ctx): Likewise.
4203         (libc_feholdsetroundf_ctx): Likewise.
4204         (libc_feresetroundf_ctx): Likewise.
4205         (libc_feholdexcept_setround_ctx): Likewise.
4206         (libc_fesetenv_ctx): Likewise.
4207         (libc_feupdateenv_ctx): Likewise.
4208         (libc_feholdsetround_ctx): Likewise.
4209         (libc_feresetround_ctx): Likewise.
4210         (libc_feholdexcept_setroundl_ctx): Likewise.
4211         (libc_feupdateenvl_ctx): Likewise.
4212         (libc_feholdsetroundl_ctx): Likewise.
4213         (libc_feresetroundl_ctx): Likewise.
4214         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
4215         (libc_feresetround_53bit_ctx): Likewise.
4217 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4219         * locale/iso-639.def: Convert to UTF-8.
4221 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
4223         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
4224         (EXCEPTION_TESTS_double): Likewise.
4225         (EXCEPTION_TESTS_long_double): Likewise.
4226         (EXCEPTION_TESTS): Likewise.
4227         * math/libm-test.inc (test_exceptions): Only test exceptions if
4228         EXCEPTION_TESTS (FLOAT).
4230 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4232         * benchtests/Makefile (string-bench): Add strcpy_chk and
4233         stpcpy_chk.
4234         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
4235         * benchtests/bench-stpcpy_chk.c: New file.
4236         * benchtests/bench-strcpy_chk-ifunc.c: New file.
4237         * benchtests/bench-strcpy_chk.c: New file.
4238         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
4239         code.
4240         (do_test): Likewise.
4242 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
4244         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
4245         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
4246         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
4247         with tabs where appropriate.
4248         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
4249         dl-procinfo.h.
4250         [PPC_PLATFORM_PPC440]: Likewise.
4251         [PPC_PLATFORM_PPC464]: Likewise.
4252         [PPC_PLATFORM_PPC476]: Likewise.
4253         (_dl_string_platform): Add support for detecting ppc405, ppc440,
4254         ppc464, and ppc476 platform strings merging from ports/
4255         dl-procinfo.h.
4257 2013-06-11  Andreas Schwab  <schwab@suse.de>
4259         [BZ #14991]
4260         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
4261         (from_ucs4_idx): Regenerate.
4262         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
4263         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
4264         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
4265         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
4266         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
4267         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
4268         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
4269         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
4270         from FROM_LOOP and TO_LOOP specific macros.
4271         (BODY): Handle combining characters.
4272         * iconvdata/BIG5HKSCS.irreversible: Update.
4273         * iconvdata/BIG5HKSCS.precomposed: New file.
4274         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
4275         characters.
4276         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
4278 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4280         * include/sys/time.h: Fix indentation and add copyright header.
4282         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
4283         (do_test): Likewise.
4284         * string/test-memchr.c (do_one_test): Likewise.
4285         (do_test): Likewise.
4286         * string/test-memcmp.c (do_one_test): Likewise.
4287         (do_test): Likewise.
4288         * string/test-memcpy.c (do_one_test): Likewise.
4289         (do_test): Likewise.
4290         * string/test-memmem.c (do_one_test): Likewise.
4291         (do_test): Likewise.
4292         (do_random_tests): Likewise.
4293         * string/test-memmove.c (do_one_test): Likewise.
4294         (do_test): Likewise.
4295         * string/test-memset.c (do_one_test): Likewise.
4296         (do_test): Likewise.
4297         * string/test-rawmemchr.c (do_one_test): Likewise.
4298         (do_test): Likewise.
4299         * string/test-strcasecmp.c (do_one_test): Likewise.
4300         (do_test): Likewise.
4301         * string/test-strcasestr.c (do_one_test): Likewise.
4302         (do_test): Likewise.
4303         * string/test-strcat.c (do_one_test): Likewise.
4304         (do_test): Likewise.
4305         * string/test-strchr.c (do_one_test): Likewise.
4306         (do_test): Likewise.
4307         * string/test-strcmp.c (do_one_test): Likewise.
4308         (do_test): Likewise.
4309         * string/test-strcpy.c (do_one_test): Likewise.
4310         (do_test): Likewise.
4311         * string/test-string.h: Likewise.
4312         (test_init): Likewise.
4313         * string/test-strlen.c (do_one_test): Likewise.
4314         (do_test): Likewise.
4315         * string/test-strncasecmp.c (do_one_test): Likewise.
4316         (do_test): Likewise.
4317         * string/test-strncat.c (do_one_test): Likewise.
4318         (do_test): Likewise.
4319         * string/test-strncmp.c (do_one_test): Likewise.
4320         (do_test_limit): Likewise.
4321         (do_test): Likewise.
4322         * string/test-strncpy.c (do_one_test): Likewise.
4323         (do_test): Likewise.
4324         * string/test-strnlen.c (do_one_test): Likewise.
4325         (do_test): Likewise.
4326         * string/test-strpbrk.c (do_one_test): Likewise.
4327         (do_test): Likewise.
4328         * string/test-strrchr.c (do_one_test): Likewise.
4329         (do_test): Likewise.
4330         * string/test-strspn.c (do_one_test): Likewise.
4331         (do_test): Likewise.
4332         * string/test-strstr.c (do_one_test): Likewise.
4333         (do_test): Likewise.
4335         * benchtests/Makefile (string-bench): Add string benchmarks.
4336         * benchtests/bench-bcopy-ifunc.c: New file.
4337         * benchtests/bench-bcopy.c: New file.
4338         * benchtests/bench-bzero-ifunc.c: New file.
4339         * benchtests/bench-bzero.c: New file.
4340         * benchtests/bench-memccpy-ifunc.c: New file.
4341         * benchtests/bench-memccpy.c: New file.
4342         * benchtests/bench-memchr-ifunc.c: New file.
4343         * benchtests/bench-memchr.c: New file.
4344         * benchtests/bench-memcmp-ifunc.c: New file.
4345         * benchtests/bench-memcmp.c: New file.
4346         * benchtests/bench-memmem-ifunc.c: New file.
4347         * benchtests/bench-memmem.c: New file.
4348         * benchtests/bench-memmove-ifunc.c: New file.
4349         * benchtests/bench-memmove.c: New file.
4350         * benchtests/bench-mempcpy-ifunc.c: New file.
4351         * benchtests/bench-mempcpy.c: New file.
4352         * benchtests/bench-memset-ifunc.c: New file.
4353         * benchtests/bench-memset.c: New file.
4354         * benchtests/bench-rawmemchr-ifunc.c: New file.
4355         * benchtests/bench-rawmemchr.c: New file.
4356         * benchtests/bench-stpcpy-ifunc.c: New file.
4357         * benchtests/bench-stpcpy.c: New file.
4358         * benchtests/bench-stpncpy-ifunc.c: New file.
4359         * benchtests/bench-stpncpy.c: New file.
4360         * benchtests/bench-strcasecmp-ifunc.c: New file.
4361         * benchtests/bench-strcasecmp.c: New file.
4362         * benchtests/bench-strcasestr-ifunc.c: New file.
4363         * benchtests/bench-strcasestr.c: New file.
4364         * benchtests/bench-strcat-ifunc.c: New file.
4365         * benchtests/bench-strcat.c: New file.
4366         * benchtests/bench-strchr-ifunc.c: New file.
4367         * benchtests/bench-strchr.c: New file.
4368         * benchtests/bench-strchrnul-ifunc.c: New file.
4369         * benchtests/bench-strchrnul.c: New file.
4370         * benchtests/bench-strcmp-ifunc.c: New file.
4371         * benchtests/bench-strcmp.c: New file.
4372         * benchtests/bench-strcpy-ifunc.c: New file.
4373         * benchtests/bench-strcpy.c: New file.
4374         * benchtests/bench-strcspn-ifunc.c: New file.
4375         * benchtests/bench-strcspn.c: New file.
4376         * benchtests/bench-strlen-ifunc.c: New file.
4377         * benchtests/bench-strlen.c: New file.
4378         * benchtests/bench-strncasecmp-ifunc.c: New file.
4379         * benchtests/bench-strncasecmp.c: New file.
4380         * benchtests/bench-strncat-ifunc.c: New file.
4381         * benchtests/bench-strncat.c: New file.
4382         * benchtests/bench-strncmp-ifunc.c: New file.
4383         * benchtests/bench-strncmp.c: New file.
4384         * benchtests/bench-strncpy-ifunc.c: New file.
4385         * benchtests/bench-strncpy.c: New file.
4386         * benchtests/bench-strnlen-ifunc.c: New file.
4387         * benchtests/bench-strnlen.c: New file.
4388         * benchtests/bench-strpbrk-ifunc.c: New file.
4389         * benchtests/bench-strpbrk.c: New file.
4390         * benchtests/bench-strrchr-ifunc.c: New file.
4391         * benchtests/bench-strrchr.c: New file.
4392         * benchtests/bench-strspn-ifunc.c: New file.
4393         * benchtests/bench-strspn.c: New file.
4394         * benchtests/bench-strstr-ifunc.c: New file.
4395         * benchtests/bench-strstr.c: New file.
4397         * benchtests/Makefile: Disable parallel execution of targets.
4398         (string-bench): Add memcpy.
4399         (benchset): New variable to store a list of benchmark sets.
4400         (bench-func): Renamed from bench.
4401         (bench-set): New target.
4402         (bench): Depend on bench-func and bench-set.
4403         * benchtests/README: Add section on benchmark sets.
4404         * benchtests/bench-memcpy-ifunc.c: New file.
4405         * benchtests/bench-memcpy.c: New file.
4406         * benchtests/bench-string.h: New file.
4408 2013-06-11  Andreas Schwab  <schwab@suse.de>
4410         [BZ #15577]
4411         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
4412         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
4413         values in the triple.
4414         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
4415         terminator in the group key.
4417 2013-06-11  Andreas Jaeger  <aj@suse.de>
4419         * po/zh_TW.po: Update Chinese (traditional) translation from
4420         translation project.
4422 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4424         * include/time.h (__clock_gettime): Add libc_hidden_proto.
4425         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
4426         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
4427         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4428         (clock_getcpuclockid): Likewise.
4429         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
4430         Add weak_alias and libc_hidden_def.
4431         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
4432         * rt/clock_gettime.c (clock_gettime): Rename to
4433         __clock_gettime.  Add weak_alias and libc_hidden_def.
4434         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
4435         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
4436         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
4437         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
4438         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
4439         Likewise.
4440         * rt/clock_settime.c (clock_settime): Rename to
4441         __clock_settime.  Add weak_alias and libc_hidden_def.
4442         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
4444 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
4446         * mach/err_boot.sub: Remove trailing whitespace.
4447         * mach/err_ipc.sub: Likewise.
4448         * mach/err_mach.sub: Likewise.
4450         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
4451         (ROUNDING_TESTS_double): Likewise.
4452         (ROUNDING_TESTS_long_double): Likewise.
4453         (ROUNDING_TESTS): Likewise.
4454         * math/libm-test.inc: Include <math-tests.h>.
4455         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
4456         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4457         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4458         (IF_ROUND_INIT_FE_UPWARD): Likewise.
4460 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4462         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
4463         of assigning.
4465 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
4467         * sysdeps/gnu/errlist.awk: Do not generate space at end of
4468         otherwise empty TRANS lines.
4469         * sysdeps/gnu/errlist.c: Regenerated.
4471         * catgets/gencat.c (error_print): Use (void) in function
4472         definition.
4473         * crypt/crypt_util.c (__init_des): Likewise.
4474         * crypt/speeds.c (Stop): Likewise.
4475         (main): Likewise.
4476         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
4477         * inet/ruserpass.c (token): Likewise.
4478         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
4479         * intl/localealias.c (extend_alias_table): Likewise.
4480         * intl/plural-exp.c (init_germanic_plural): Likewise.
4481         * libio/fcloseall.c (__fcloseall): Likewise.
4482         * libio/genops.c (_IO_flush_all): Likewise.
4483         (_IO_flush_all_linebuffered): Likewise.
4484         (_IO_cleanup): Likewise.
4485         (_IO_iter_begin): Likewise.
4486         (_IO_iter_end): Likewise.
4487         (_IO_list_lock): Likewise.
4488         (_IO_list_unlock): Likewise.
4489         (_IO_list_resetlock): Likewise.
4490         * libio/getchar.c (getchar): Likewise.
4491         * libio/getchar_u.c (getchar_unlocked): Likewise.
4492         * libio/getwchar.c (getwchar): Likewise.
4493         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
4494         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
4495         * login/getpt.c (__getpt): Likewise.
4496         * login/tst-utmp.c (main): Likewise.
4497         * malloc/hooks.c (__malloc_check_init): Likewise.
4498         * malloc/malloc.c (__malloc_stats): Likewise.
4499         * malloc/mtrace.c (tr_break): Likewise.
4500         (mtrace): Likewise.
4501         (muntrace): Likewise.
4502         * misc/fstab.c (endfsent): Likewise.
4503         * misc/getclktck.c (__getclktck): Likewise.
4504         * misc/getdtsz.c (__getdtablesize): Likewise.
4505         * misc/gethostid.c (gethostid): Likewise.
4506         * misc/getpagesize.c (__getpagesize): Likewise.
4507         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
4508         (__get_nprocs): Likewise.
4509         (__get_phys_pages): Likewise.
4510         (__get_avphys_pages): Likewise.
4511         * misc/getttyent.c (getttyent): Likewise.
4512         (setttyent): Likewise.
4513         (endttyent): Likewise.
4514         * misc/getusershell.c (getusershell): Likewise.
4515         (endusershell): Likewise.
4516         (setusershell): Likewise.
4517         (initshells): Likewise.
4518         * misc/hsearch.c (__hdestroy): Likewise.
4519         * misc/sync.c (sync): Likewise.
4520         * misc/syslog.c (closelog_internal): Likewise.
4521         (closelog): Likewise.
4522         * misc/ttyslot.c (ttyslot): Likewise.
4523         * misc/vhangup.c (vhangup): Likewise.
4524         * posix/fork.c (__fork): Likewise.
4525         * posix/getegid.c (__getegid): Likewise.
4526         * posix/geteuid.c (__geteuid): Likewise.
4527         * posix/getgid.c (__getgid): Likewise.
4528         * posix/getpid.c (__getpid): Likewise.
4529         * posix/getppid.c (__getppid): Likewise.
4530         * posix/getuid.c (__getuid): Likewise.
4531         * posix/pause.c (pause): Likewise.
4532         * posix/setpgrp.c (setpgrp): Likewise.
4533         * posix/setsid.c (__setsid): Likewise.
4534         * posix/test-vfork.c (noop): Likewise.
4535         * resolv/gethnamaddr.c (_endhtent): Likewise.
4536         (_gethtent): Likewise.
4537         (ht_endhostent): Likewise.
4538         (gethostent): Likewise.
4539         (dns_service): Likewise.
4540         * stdlib/drand48.c (drand48): Likewise.
4541         * stdlib/lrand48.c (lrand48): Likewise.
4542         * stdlib/mrand48.c (mrand48): Likewise.
4543         * stdlib/rand.c (rand): Likewise.
4544         * stdlib/random.c (__random): Likewise.
4545         * stdlib/setenv.c (clearenv): Likewise.
4546         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
4547         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
4548         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
4549         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
4550         (__get_nprocs): Likewise.
4551         (__get_phys_pages): Likewise.
4552         (__get_avphys_pages): Likewise.
4553         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
4554         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
4555         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
4556         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
4557         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
4558         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
4559         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
4560         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
4561         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
4562         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
4563         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
4564         * sysdeps/mach/hurd/sync.c (sync): Likewise.
4565         * sysdeps/posix/clock.c (clock): Likewise.
4566         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
4567         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
4568         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
4569         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
4570         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
4571         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
4572         (__get_nprocs_conf): Likewise.
4573         (__get_phys_pages): Likewise.
4574         (__get_avphys_pages): Likewise.
4575         * time/clock.c (clock): Likewise.
4576         * time/tzset.c (__tzname_max): Likewise.
4578 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
4580         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
4581         (__bswap_32): Do not use "register".
4582         * crypt/crypt.c (_ufc_doit_r): Likewise.
4583         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4584         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4585         * gmon/gmon.c (__monstartup): Likewise.
4586         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
4587         * hurd/hurdmalloc.c (more_memory): Likewise.
4588         (malloc): Likewise.
4589         (free): Likewise.
4590         (realloc): Likewise.
4591         (malloc_fork_prepare): Likewise.
4592         (malloc_fork_parent): Likewise.
4593         (malloc_fork_child): Likewise.
4594         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
4595         (_svcauth_des): Likewise.
4596         * inet/inet_lnaof.c (inet_lnaof): Likewise.
4597         * inet/inet_net.c (inet_network): Likewise.
4598         * inet/inet_netof.c (inet_netof): Likewise.
4599         * inet/rcmd.c (__validuser2_sa): Likewise.
4600         * io/fts.c (fts_open): Likewise.
4601         (fts_load): Likewise.
4602         (fts_close): Likewise.
4603         (fts_read): Likewise.
4604         (fts_children): Likewise.
4605         (fts_build): Likewise.
4606         (fts_stat): Likewise.
4607         (fts_sort): Likewise.
4608         (fts_alloc): Likewise.
4609         (fts_lfree): Likewise.
4610         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
4611         (_IO_file_xsgetn): Likewise.
4612         (_IO_file_xsgetn_mmap): Likewise.
4613         * libio/iofopncook.c (_IO_cookie_read): Likewise.
4614         (_IO_cookie_write): Likewise.
4615         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
4616         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
4617         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
4618         * malloc/obstack.c (_obstack_begin): Likewise.
4619         (_obstack_begin_1): Likewise.
4620         (_obstack_newchunk): Likewise.
4621         (_obstack_allocated_p): Likewise.
4622         (obstack_free): Likewise.
4623         (_obstack_memory_used): Likewise.
4624         * misc/getttyent.c (getttynam): Likewise.
4625         (getttyent): Likewise.
4626         (skip): Likewise.
4627         (value): Likewise.
4628         * misc/getusershell.c (initshells): Likewise.
4629         * misc/syslog.c (__vsyslog_chk): Likewise.
4630         * misc/ttyslot.c (ttyslot): Likewise.
4631         * nis/nis_hash.c (__nis_hash): Likewise.
4632         * posix/fnmatch_loop.c (FCT): Likewise.
4633         * posix/getconf.c (print_all): Likewise.
4634         (main): Likewise.
4635         * posix/getopt.c (exchange): Likewise.
4636         * posix/glob.c (globfree): Likewise.
4637         (prefix_array): Likewise.
4638         (__glob_pattern_type): Likewise.
4639         * resolv/arpa/nameser.h (NS_GET16): Likewise.
4640         (NS_GET32): Likewise.
4641         (NS_PUT16): Likewise.
4642         (NS_PUT32): Likewise.
4643         * resolv/gethnamaddr.c (getanswer): Likewise.
4644         (gethostbyname2): Likewise.
4645         (gethostbyaddr): Likewise.
4646         (_gethtent): Likewise.
4647         (_gethtbyname2): Likewise.
4648         (_gethtbyaddr): Likewise.
4649         * resolv/ns_print.c (dst_s_get_int16): Likewise.
4650         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4651         * resolv/res_init.c (__res_vinit): Likewise.
4652         (net_mask): Likewise.
4653         * resolv/res_mkquery.c (outchar): Likewise.
4654         (PRINT): Likewise.
4655         * stdio-common/printf_fp.c (outchar): Likewise.
4656         (PRINT): Likewise.
4657         * stdio-common/printf_fphex.c (outchar): Likewise.
4658         (PRINT): Likewise.
4659         * stdio-common/printf_size.c (outchar): Likewise.
4660         (PRINT): Likewise.
4661         * stdio-common/test_rdwr.c (main): Likewise.
4662         * stdio-common/tfformat.c (matches): Likewise.
4663         * stdio-common/vfprintf.c (outchar): Likewise.
4664         (printf_unknown): Likewise.
4665         (buffered_vfprintf): Likewise.
4666         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4667         * stdio-common/xbug.c (AppendToBuffer): Likewise.
4668         (ReadFile): Likewise.
4669         * stdlib/qsort.c (SWAP): Likewise.
4670         (_quicksort): Likewise.
4671         * stdlib/setenv.c (__add_to_environ): Likewise.
4672         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4673         * stdlib/strtol_l.c (__strtol_l): Likewise.
4674         * stdlib/tst-strtod.c (main): Likewise.
4675         * stdlib/tst-strtol.c (main): Likewise.
4676         * stdlib/tst-strtoll.c (main): Likewise.
4677         * string/bits/string2.h (__strcmp_cc): Likewise.
4678         (__strcmp_cg): Likewise.
4679         (__strcspn_c1): Likewise.
4680         (__strcspn_c2): Likewise.
4681         (__strcspn_c3): Likewise.
4682         (__strspn_c1): Likewise.
4683         (__strspn_c2): Likewise.
4684         (__strspn_c3): Likewise.
4685         (__strsep_1c): Likewise.
4686         (__strsep_2c): Likewise.
4687         (__strsep_3c): Likewise.
4688         * string/memccpy.c (__memccpy): Likewise.
4689         * string/stpcpy.c (__stpcpy): Likewise.
4690         * string/strcmp.c (strcmp): Likewise.
4691         * string/strrchr.c (strrchr): Likewise.
4692         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
4693         Likewise.
4694         * sysdeps/mach/hurd/getcwd.c
4695         (_hurd_canonicalize_directory_name_internal): Likewise.
4696         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
4697         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
4698         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
4699         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
4700         Likewise, in both definitions.
4701         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
4702         definitions.
4703         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
4704         64] (__bswap_64): Likewise.
4705         * time/test_time.c (main): Likewise.
4706         * time/tzfile.c (__tzfile_read): Likewise.
4707         (__tzfile_compute): Likewise.
4708         * time/tzset.c (__tzset_parse_tz): Likewise.
4709         (tzset_internal): Likewise.
4710         (compute_change): Likewise.
4711         * wcsmbs/wcscat.c (__wcscat): Likewise.
4712         * wcsmbs/wcschr.c (wcschr): Likewise.
4713         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4714         * wcsmbs/wcscspn.c (wcscspn): Likewise.
4715         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4716         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
4717         * wcsmbs/wcsspn.c (wcsspn): Likewise.
4718         * wcsmbs/wcsstr.c (wcsstr): Likewise.
4719         * wcsmbs/wmemchr.c (wmemchr): Likewise.
4720         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4721         * wcsmbs/wmemset.c (wmemset): Likewise.
4723 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
4725         * scripts/config.guess: Update to version 2013-05-16.
4726         * scripts/config.sub: Update to version 2013-04-24.
4727         * scripts/install-sh: Update to version 2011-11-20.07.
4728         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
4729         * scripts/move-if-change: Update to version 2012-01-06 07:23.
4731 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
4733         * debug/fgetws_u_chk.c: Fix leading whitespaces.
4734         * elf/sln.c: Likewise.
4735         * hurd/hurd/ioctl.h: Likewise.
4736         * hurd/hurdmalloc.c: Likewise.
4737         * hurd/xattr.c: Likewise.
4738         * include/shlib-compat.h: Likewise.
4739         * inet/ruserpass.c: Likewise.
4740         * libio/iofgets_u.c: Likewise.
4741         * libio/iofgetws_u.c: Likewise.
4742         * locale/programs/ld-identification.c: Likewise.
4743         * locale/programs/ld-time.c: Likewise.
4744         * mach/msg-destroy.c: Likewise.
4745         * nss/nss_files/files-netgrp.c: Likewise.
4746         * resolv/res_data.c: Likewise.
4747         * soft-fp/op-1.h: Likewise.
4748         * soft-fp/op-2.h: Likewise.
4749         * soft-fp/op-4.h: Likewise.
4750         * soft-fp/op-common.h: Likewise.
4751         * stdio-common/printf_fphex.c: Likewise.
4752         * stdlib/strtod_l.c: Likewise.
4753         * sunrpc/rpc/clnt.h: Likewise.
4754         * sysdeps/generic/framestate.c: Likewise.
4755         * sysdeps/i386/bsd-_setjmp.S: Likewise.
4756         * sysdeps/i386/bsd-setjmp.S: Likewise.
4757         * sysdeps/i386/__longjmp.S: Likewise.
4758         * sysdeps/i386/setjmp.S: Likewise.
4759         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4760         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4761         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4762         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4763         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4764         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4765         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4766         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4767         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4768         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4769         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4770         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4771         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4772         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4773         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4774         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4775         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4776         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
4777         * sysdeps/ieee754/support.c: Likewise.
4778         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4779         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
4780         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
4781         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
4782         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
4783         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
4784         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
4785         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
4786         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
4787         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
4788         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
4789         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
4790         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
4791         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
4792         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
4793         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
4794         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4797 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
4799         * posix/transbug.c: Remove executable mode.
4801 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
4803         * crypt/speeds.c: Remove trailing whitespace.
4804         * dlfcn/default.c: Likewise.
4805         * elf/ifuncdep2.c: Likewise.
4806         * elf/ifuncmain1.c: Likewise.
4807         * elf/ifuncmain1vis.c: Likewise.
4808         * elf/testobj.h: Likewise.
4809         * elf/tst-stackguard1.c: Likewise.
4810         * gmon/sys/gmon.h: Likewise.
4811         * hurd/hurdmsg.c: Likewise.
4812         * hurd/new-fd.c: Likewise.
4813         * hurd/ports-get.c: Likewise.
4814         * iconvdata/ibm1008_420.c: Likewise.
4815         * inet/tst-getni1.c: Likewise.
4816         * inet/tst-getni2.c: Likewise.
4817         * libio/ioungetc.c: Likewise.
4818         * libio/wfiledoalloc.c: Likewise.
4819         * manual/libm-err-tab.pl: Likewise.
4820         * math/w_dremf.c: Likewise.
4821         * misc/ftruncate.c: Likewise.
4822         * posix/bug-glob2.c: Likewise.
4823         * posix/tst-pcre.c: Likewise.
4824         * posix/wait4.c: Likewise.
4825         * resolv/README: Likewise.
4826         * resolv/res_debug.h: Likewise.
4827         * resolv/tst-inet_ntop.c: Likewise.
4828         * setjmp/bug269-setjmp.c: Likewise.
4829         * soft-fp/extended.h: Likewise.
4830         * soft-fp/op-1.h: Likewise.
4831         * soft-fp/op-2.h: Likewise.
4832         * soft-fp/op-4.h: Likewise.
4833         * soft-fp/op-8.h: Likewise.
4834         * soft-fp/testit.c: Likewise.
4835         * stdio-common/bug16.c: Likewise.
4836         * stdlib/random.c: Likewise.
4837         * sunrpc/rpcsvc/rquota.x: Likewise.
4838         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
4839         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4840         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4841         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4842         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4843         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4844         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4845         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4846         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4847         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4848         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4849         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4850         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4851         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4852         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4853         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4854         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4855         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4856         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4857         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4858         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4859         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4860         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4861         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4862         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4863         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4864         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4865         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4866         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4867         * sysdeps/ieee754/s_lib_version.c: Likewise.
4868         * sysdeps/mach/hurd/check_fds.c: Likewise.
4869         * sysdeps/mach/hurd/getsockname.c: Likewise.
4870         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
4871         * sysdeps/mach/hurd/recvfrom.c: Likewise.
4872         * sysdeps/powerpc/bits/link.h: Likewise.
4873         * sysdeps/powerpc/dl-procinfo.c: Likewise.
4874         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
4875         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
4876         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4877         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4878         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4879         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
4880         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4881         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
4882         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4883         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4884         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4885         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
4886         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4887         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4888         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4889         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4890         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4891         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4892         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4893         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4894         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
4895         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4896         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4897         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
4898         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4899         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4900         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4901         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4902         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4903         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4904         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4905         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4906         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4907         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
4908         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4909         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4910         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4911         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4912         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
4913         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
4914         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
4915         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
4916         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4917         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4918         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
4919         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4920         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4921         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
4922         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
4923         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4924         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4925         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4926         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4927         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
4928         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4929         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4930         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4931         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
4932         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4933         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
4934         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
4935         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
4936         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4937         * sysdeps/powerpc/sysdep.h: Likewise.
4938         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4939         * sysdeps/s390/s390-64/sub_n.S: Likewise.
4940         * sysdeps/sh/dl-trampoline.S: Likewise.
4941         * sysdeps/sh/memset.S: Likewise.
4942         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
4943         * sysdeps/sh/strlen.S: Likewise.
4944         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
4945         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
4946         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
4947         * sysdeps/sparc/sparc32/rem.S: Likewise.
4948         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
4949         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
4950         * sysdeps/sparc/sparc32/strchr.S: Likewise.
4951         * sysdeps/sparc/sparc32/udiv.S: Likewise.
4952         * sysdeps/sparc/sparc32/urem.S: Likewise.
4953         * sysdeps/sparc/sparc64/add_n.S: Likewise.
4954         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4955         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
4956         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
4957         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
4958         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
4959         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4960         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
4961         * sysdeps/unix/bsd/times.c: Likewise.
4962         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
4963         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
4964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4967         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
4968         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4969         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
4970         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
4971         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
4972         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
4973         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4974         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
4975         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4976         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4977         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4978         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4979         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
4980         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
4981         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
4982         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
4983         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
4984         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4985         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
4986         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
4987         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4988         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
4989         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4990         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
4991         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
4992         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
4993         * sysdeps/x86_64/strcspn.S: Likewise.
4995 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
4997         * locale/C-translit.h: Revert #include <stdint.h> because this is a
4998         generated file.  Regenerate properly from gen-translit.pl.
4999         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
5000         locale/C-translit.h.
5002 2013-06-05  Andreas Schwab  <schwab@suse.de>
5004         [BZ #15100]
5005         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
5006         week as 6 instead of -1.
5007         * time/tst-strptime.c (day_tests): Add test case.
5009 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
5011         * sysdeps/generic/math_private.h
5012         (libc_feholdexcept_setround_53bit): Replace with
5013         libc_feholdsetround_53bit.
5014         (libc_feupdateenv_53bit): Replace with
5015         libc_feresetround_53bit.
5016         (SET_RESTORE_ROUND_53BIT): Adjust.
5018 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
5020         * string/test-strchrnul.c: Add copyright header.
5022         * posix/tst-getaddrinfo4.c: Increase test timeout.
5024 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
5026         [BZ #15536]
5027         * math/libm-test.inc (MAX_EXP): Remove
5028         (MIN_EXP): Define.
5029         (ulp): Use MIN_EXP - MANT_DIG.
5030         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
5032 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
5034         * po/be.po: Revert last change.
5035         * po/zh_CN.po: Likewise.
5036         * po/header.pot: Likewise.
5038 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
5040         * Makefile ($(common-objpfx)linkobj/libc.so): Define
5041         link-libc-deps to empty as target-specific variable.
5042         * Makerules (link-libc-args): New variable.
5043         (libc-for-link): Likewise.
5044         (link-libc-deps): Likewise.
5045         (lib%.so): Depend on $(link-libc-deps).  Link with
5046         $(link-libc-args).
5047         (build-module): Link with $(link-libc-args).
5048         (build-module-asneeded): Likewise.
5049         (build-module-helper-objlist): Filter out $(link-libc-deps) from
5050         list of objects.
5051         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
5052         target-specific variable.
5053         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
5054         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
5055         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
5056         libc.
5057         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
5058         libc and ld.so.
5059         ($(objpfx)libpcprofile.so): Likewise.
5060         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
5061         libc_nonshared.a.
5062         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
5063         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
5064         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
5065         $(link-libc-deps).
5066         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
5067         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
5068         * login/Makefile ($(objpfx)libutil.so): Likewise.
5069         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
5070         * math/Makefile ($(objpfx)libm.so): Likewise.
5071         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
5072         $(objpfx)libnsl.so): Define libc-for-link as target-specific
5073         variable instead of depending directly on libc.
5074         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
5075         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
5076         $(link-libc-deps).
5077         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
5078         libc.
5079         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
5080         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
5081         ($(objpfx)libanl.so): Likewise.
5082         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
5083         ld.so.
5084         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
5085         $(link-libc-deps).
5086         * sysdeps/i386/fpu/Makefile: Remove file.
5087         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
5088         ($(objpfx)libm.so): Remove dependency on ld.so.
5090 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
5092         [BZ # 15553]
5093         * nis/yp_xdr.c (XDRMAXNAME): Define.
5094         (XDRMAXRECORD): Define.
5095         (xdr_domainname): Use XDRMAXNAME.
5096         (xdr_mapname): Likewise.
5097         (xdr_peername): Likewise.
5098         (xdr_keydat): Use XDRMAXRECORD.
5099         (xdr_valdat): Likewise.
5101 2013-05-30  Jeff Law  <law@redhat.com>
5103         [BZ #14256]
5104         * manual/errno.texi (ESTALE): Update to account for more than
5105         just NFS file systems.
5106         * sysdeps/gnu/errlist.c: Regenerated.
5108 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
5110         [BZ #15465]
5111         * elf/Makefile (tests): Add tst-null-argv.
5112         (modules-names):  Add tst-null-argv-lib.
5113         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
5114         (tst-null-argv-ENV): Set environment for tst-null-argv.
5115         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
5116         (RTLD_PROGNAME): New macro.
5117         * elf/tst-null-argv.c: New test case.
5118         * elf/tst-null-argv-lib.c: Library for test case.
5119         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
5120         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5121         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
5122         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
5123         * elf/dl-init.c (call_init): Likewise.
5124         (_dl_init): Likewise.
5125         * elf/dl-load.c (print_search_path): Likewise.
5126         (_dl_map_object): Likewise.
5127         * elf/dl-lookup.c (do_lookup_x): Likewise.
5128         (add_dependency): Likewise.
5129         (_dl_lookup_symbol_x): Likewise.
5130         (_dl_debug_bindings): Likewise.
5131         * elf/dl-open.c (_dl_show_scope): Likewise.
5132         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5133         * elf/dl-version.c (match_symbol): Likewise.
5134         (_dl_check_map_versions): Likewise.
5135         * elf/rtld.c (dl_main): Likewise.
5136         (print_unresolved): Use RTLD_PROGNAME.
5137         (print_missing_version): Likewise.
5138         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
5139         (elf_machine_rela): Likewise.
5140         * sysdeps/powerpc/powerpc32/dl-machine.c
5141         (__process_machine_rela): Likewise.
5142         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5143         Likewise.
5144         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5145         Likewise.
5146         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5147         Likewise.
5148         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5149         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
5150         Likewise.
5151         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
5152         Likewise.
5153         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5155 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
5157         * po/be.po: Add descriptive title.
5158         * po/zh_CN.po: Likewise.
5159         * po/header.pot: Likewise.
5161 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
5163         * locale/programs/locarchive.c (create_archive): Inlucde fname in
5164         error message.
5165         (enlarge_archive): Likewise.
5167 2013-05-28  Ben North  <ben@redfrontdoor.org>
5169         * manual/arith.texi (frexp): It is the magnitude of the return
5170         value which lies in [0.5, 1), not the return value itself.
5172 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5174         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5176 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
5178         * stdio-common/bug26.c (main): Correct fscanf template.
5180         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
5181         declare _dl_skip_args.
5183         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
5184         Don't declare.
5186         * manual/platform.texi: Add missing @end deftypefun.
5188 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
5190         [BZ #15529]
5191         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
5192         bit of mantissa of 2^16382.
5193         * math/libm-test.inc (hypot_test_data): Add more tests.
5195         * math/libm-test.inc: Add drem and pow10 to list of tested
5196         functions.
5197         (pow10_test): New function.
5198         (drem_test): Likewise.
5199         (drem_test_tonearest): Likewise.
5200         (drem_test_towardzero): Likewise.
5201         (drem_test_downward): Likewise.
5202         (drem_test_upward): Likewise.
5203         (main): Call the new functions.
5205         * math/libm-test.inc (finite_test_data): Remove.
5206         (finite_test): Run tests from isfinite_test_data.
5207         (gamma_test_data): Remove.
5208         (gamma_test): Run tests from lgamma_test_data.
5209         * sysdeps/i386/fpu/libm-test-ulps: Update.
5210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5212 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5214         * manual/platform.texi: Add PowerPC PPR function set documentation.
5215         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
5216         implementation.
5218 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
5220         * math/libm-test.inc (MAX_EXP): Define.
5221         (ULPDIFF): Define.
5222         (ulp): New function.
5223         (check_float_internal): Use ULPDIFF.
5224         (cpow_test): Disable failing test.
5225         (check_ulp): Test ulp() implemetnation.
5226         (main): Call check_ulp before starting tests.
5228 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
5230         * math/gen-libm-test.pl (generate_testfile): Do not handle
5231         START_DATA and END_DATA.
5232         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
5233         END_DATA.
5234         (acos_tonearest_test_data): Likewise.
5235         (acos_towardzero_test_data): Likewise.
5236         (acos_downward_test_data): Likewise.
5237         (acos_upward_test_data): Likewise.
5238         (acosh_test_data): Likewise.
5239         (asin_test_data): Likewise.
5240         (asin_tonearest_test_data): Likewise.
5241         (asin_towardzero_test_data): Likewise.
5242         (asin_downward_test_data): Likewise.
5243         (asin_upward_test_data): Likewise.
5244         (asinh_test_data): Likewise.
5245         (atan_test_data): Likewise.
5246         (atanh_test_data): Likewise.
5247         (atan2_test_data): Likewise.
5248         (cabs_test_data): Likewise.
5249         (cacos_test_data): Likewise.
5250         (cacosh_test_data): Likewise.
5251         (carg_test_data): Likewise.
5252         (casin_test_data): Likewise.
5253         (casinh_test_data): Likewise.
5254         (catan_test_data): Likewise.
5255         (catanh_test_data): Likewise.
5256         (cbrt_test_data): Likewise.
5257         (ccos_test_data): Likewise.
5258         (ccosh_test_data): Likewise.
5259         (ceil_test_data): Likewise.
5260         (cexp_test_data): Likewise.
5261         (cimag_test_data): Likewise.
5262         (clog_test_data): Likewise.
5263         (clog10_test_data): Likewise.
5264         (conj_test_data): Likewise.
5265         (copysign_test_data): Likewise.
5266         (cos_test_data): Likewise.
5267         (cos_tonearest_test_data): Likewise.
5268         (cos_towardzero_test_data): Likewise.
5269         (cos_downward_test_data): Likewise.
5270         (cos_upward_test_data): Likewise.
5271         (cosh_test_data): Likewise.
5272         (cosh_tonearest_test_data): Likewise.
5273         (cosh_towardzero_test_data): Likewise.
5274         (cosh_downward_test_data): Likewise.
5275         (cosh_upward_test_data): Likewise.
5276         (cpow_test_data): Likewise.
5277         (cproj_test_data): Likewise.
5278         (creal_test_data): Likewise.
5279         (csin_test_data): Likewise.
5280         (csinh_test_data): Likewise.
5281         (csqrt_test_data): Likewise.
5282         (ctan_test_data): Likewise.
5283         (ctan_tonearest_test_data): Likewise.
5284         (ctan_towardzero_test_data): Likewise.
5285         (ctan_downward_test_data): Likewise.
5286         (ctan_upward_test_data): Likewise.
5287         (ctanh_test_data): Likewise.
5288         (ctanh_tonearest_test_data): Likewise.
5289         (ctanh_towardzero_test_data): Likewise.
5290         (ctanh_downward_test_data): Likewise.
5291         (ctanh_upward_test_data): Likewise.
5292         (erf_test_data): Likewise.
5293         (erfc_test_data): Likewise.
5294         (exp_test_data): Likewise.
5295         (exp_tonearest_test_data): Likewise.
5296         (exp_towardzero_test_data): Likewise.
5297         (exp_downward_test_data): Likewise.
5298         (exp_upward_test_data): Likewise.
5299         (exp10_test_data): Likewise.
5300         (exp2_test_data): Likewise.
5301         (expm1_test_data): Likewise.
5302         (fabs_test_data): Likewise.
5303         (fdim_test_data): Likewise.
5304         (finite_test_data): Likewise.
5305         (floor_test_data): Likewise.
5306         (fma_test_data): Likewise.
5307         (fma_towardzero_test_data): Likewise.
5308         (fma_downward_test_data): Likewise.
5309         (fma_upward_test_data): Likewise.
5310         (fmax_test_data): Likewise.
5311         (fmin_test_data): Likewise.
5312         (fmod_test_data): Likewise.
5313         (fpclassify_test_data): Likewise.
5314         (frexp_test_data): Likewise.
5315         (gamma_test_data): Likewise.
5316         (hypot_test_data): Likewise.
5317         (ilogb_test_data): Likewise.
5318         (isfinite_test_data): Likewise.
5319         (isgreater_test_data): Likewise.
5320         (isgreaterequal_test_data): Likewise.
5321         (isinf_test_data): Likewise.
5322         (isless_test_data): Likewise.
5323         (islessequal_test_data): Likewise.
5324         (islessgreater_test_data): Likewise.
5325         (isnan_test_data): Likewise.
5326         (isnormal_test_data): Likewise.
5327         (issignaling_test_data): Likewise.
5328         (isunordered_test_data): Likewise.
5329         (j0_test_data): Likewise.
5330         (j1_test_data): Likewise.
5331         (jn_test_data): Likewise.
5332         (ldexp_test_data): Likewise.
5333         (lgamma_test_data): Likewise.
5334         (lrint_test_data): Likewise.
5335         (lrint_tonearest_test_data): Likewise.
5336         (lrint_towardzero_test_data): Likewise.
5337         (lrint_downward_test_data): Likewise.
5338         (lrint_upward_test_data): Likewise.
5339         (llrint_test_data): Likewise.
5340         (llrint_tonearest_test_data): Likewise.
5341         (llrint_towardzero_test_data): Likewise.
5342         (llrint_downward_test_data): Likewise.
5343         (llrint_upward_test_data): Likewise.
5344         (log_test_data): Likewise.
5345         (log10_test_data): Likewise.
5346         (log1p_test_data): Likewise.
5347         (log2_test_data): Likewise.
5348         (logb_test_data): Likewise.
5349         (logb_downward_test_data): Likewise.
5350         (lround_test_data): Likewise.
5351         (llround_test_data): Likewise.
5352         (modf_test_data): Likewise.
5353         (nearbyint_test_data): Likewise.
5354         (nextafter_test_data): Likewise.
5355         (nexttoward_test_data): Likewise.
5356         (pow_test_data): Likewise.
5357         (pow_tonearest_test_data): Likewise.
5358         (pow_towardzero_test_data): Likewise.
5359         (pow_downward_test_data): Likewise.
5360         (pow_upward_test_data): Likewise.
5361         (remainder_test_data): Likewise.
5362         (remainder_tonearest_test_data): Likewise.
5363         (remainder_towardzero_test_data): Likewise.
5364         (remainder_downward_test_data): Likewise.
5365         (remainder_upward_test_data): Likewise.
5366         (remquo_test_data): Likewise.
5367         (rint_test_data): Likewise.
5368         (rint_tonearest_test_data): Likewise.
5369         (rint_towardzero_test_data): Likewise.
5370         (rint_downward_test_data): Likewise.
5371         (rint_upward_test_data): Likewise.
5372         (round_test_data): Likewise.
5373         (scalb_test_data): Likewise.
5374         (scalbn_test_data): Likewise.
5375         (scalbln_test_data): Likewise.
5376         (signbit_test_data): Likewise.
5377         (sin_test_data): Likewise.
5378         (sin_tonearest_test_data): Likewise.
5379         (sin_towardzero_test_data): Likewise.
5380         (sin_downward_test_data): Likewise.
5381         (sin_upward_test_data): Likewise.
5382         (sincos_test_data): Likewise.
5383         (sinh_test_data): Likewise.
5384         (sinh_tonearest_test_data): Likewise.
5385         (sinh_towardzero_test_data): Likewise.
5386         (sinh_downward_test_data): Likewise.
5387         (sinh_upward_test_data): Likewise.
5388         (sqrt_test_data): Likewise.
5389         (tan_test_data): Likewise.
5390         (tan_tonearest_test_data): Likewise.
5391         (tan_towardzero_test_data): Likewise.
5392         (tan_downward_test_data): Likewise.
5393         (tan_upward_test_data): Likewise.
5394         (tanh_test_data): Likewise.
5395         (tgamma_test_data): Likewise.
5396         (trunc_test_data): Likewise.
5397         (y0_test_data): Likewise.
5398         (y1_test_data): Likewise.
5399         (yn_test_data): Likewise.
5400         (significand_test_data): Likewise.
5402         * math/gen-libm-test.pl (@functions): Remove variable.
5403         (generate_testfile): Don't handle START and END lines.
5404         * math/libm-test.inc (START): New macro.
5405         (END): Likewise.
5406         (END_COMPLEX): Likewise.
5407         (acos_test): Use END macro without arguments.
5408         (acos_test_tonearest): Likewise.
5409         (acos_test_towardzero): Likewise.
5410         (acos_test_downward): Likewise.
5411         (acos_test_upward): Likewise.
5412         (acosh_test): Likewise.
5413         (asin_test): Likewise.
5414         (asin_test_tonearest): Likewise.
5415         (asin_test_towardzero): Likewise.
5416         (asin_test_downward): Likewise.
5417         (asin_test_upward): Likewise.
5418         (asinh_test): Likewise.
5419         (atan_test): Likewise.
5420         (atanh_test): Likewise.
5421         (atan2_test): Likewise.
5422         (cabs_test): Likewise.
5423         (cacos_test): Use END_COMPLEX macro without arguments.
5424         (cacosh_test): Likewise.
5425         (carg_test): Use END macro without arguments.
5426         (casin_test): Use END_COMPLEX macro without arguments.
5427         (casinh_test): Likewise.
5428         (catan_test): Likewise.
5429         (catanh_test): Likewise.
5430         (cbrt_test): Use END macro without arguments.
5431         (ccos_test): Use END_COMPLEX macro without arguments.
5432         (ccosh_test): Likewise.
5433         (ceil_test): Use END macro without arguments.
5434         (cexp_test): Use END_COMPLEX macro without arguments.
5435         (cimag_test): Use END macro without arguments.
5436         (clog_test): Use END_COMPLEX macro without arguments.
5437         (clog10_test): Likewise.
5438         (conj_test): Likewise.
5439         (copysign_test): Use END macro without arguments.
5440         (cos_test): Likewise.
5441         (cos_test_tonearest): Likewise.
5442         (cos_test_towardzero): Likewise.
5443         (cos_test_downward): Likewise.
5444         (cos_test_upward): Likewise.
5445         (cosh_test): Likewise.
5446         (cosh_test_tonearest): Likewise.
5447         (cosh_test_towardzero): Likewise.
5448         (cosh_test_downward): Likewise.
5449         (cosh_test_upward): Likewise.
5450         (cpow_test): Use END_COMPLEX macro without arguments.
5451         (cproj_test): Likewise.
5452         (creal_test): Use END macro without arguments.
5453         (csin_test): Use END_COMPLEX macro without arguments.
5454         (csinh_test): Likewise.
5455         (csqrt_test): Likewise.
5456         (ctan_test): Likewise.
5457         (ctan_test_tonearest): Likewise.
5458         (ctan_test_towardzero): Likewise.
5459         (ctan_test_downward): Likewise.
5460         (ctan_test_upward): Likewise.
5461         (ctanh_test): Likewise.
5462         (ctanh_test_tonearest): Likewise.
5463         (ctanh_test_towardzero): Likewise.
5464         (ctanh_test_downward): Likewise.
5465         (ctanh_test_upward): Likewise.
5466         (erf_test): Use END macro without arguments.
5467         (erfc_test): Likewise.
5468         (exp_test): Likewise.
5469         (exp_test_tonearest): Likewise.
5470         (exp_test_towardzero): Likewise.
5471         (exp_test_downward): Likewise.
5472         (exp_test_upward): Likewise.
5473         (exp10_test): Likewise.
5474         (exp2_test): Likewise.
5475         (expm1_test): Likewise.
5476         (fabs_test): Likewise.
5477         (fdim_test): Likewise.
5478         (finite_test): Likewise.
5479         (floor_test): Likewise.
5480         (fma_test): Likewise.
5481         (fma_test_towardzero): Likewise.
5482         (fma_test_downward): Likewise.
5483         (fma_test_upward): Likewise.
5484         (fmax_test): Likewise.
5485         (fmin_test): Likewise.
5486         (fmod_test): Likewise.
5487         (fpclassify_test): Likewise.
5488         (frexp_test): Likewise.
5489         (gamma_test): Likewise.
5490         (hypot_test): Likewise.
5491         (ilogb_test): Likewise.
5492         (isfinite_test): Likewise.
5493         (isgreater_test): Likewise.
5494         (isgreaterequal_test): Likewise.
5495         (isinf_test): Likewise.
5496         (isless_test): Likewise.
5497         (islessequal_test): Likewise.
5498         (islessgreater_test): Likewise.
5499         (isnan_test): Likewise.
5500         (isnormal_test): Likewise.
5501         (issignaling_test): Likewise.
5502         (isunordered_test): Likewise.
5503         (j0_test): Likewise.
5504         (j1_test): Likewise.
5505         (jn_test): Likewise.
5506         (ldexp_test): Likewise.
5507         (lgamma_test): Likewise.
5508         (lrint_test): Likewise.
5509         (lrint_test_tonearest): Likewise.
5510         (lrint_test_towardzero): Likewise.
5511         (lrint_test_downward): Likewise.
5512         (lrint_test_upward): Likewise.
5513         (llrint_test): Likewise.
5514         (llrint_test_tonearest): Likewise.
5515         (llrint_test_towardzero): Likewise.
5516         (llrint_test_downward): Likewise.
5517         (llrint_test_upward): Likewise.
5518         (log_test): Likewise.
5519         (log10_test): Likewise.
5520         (log1p_test): Likewise.
5521         (log2_test): Likewise.
5522         (logb_test): Likewise.
5523         (logb_test_downward): Likewise.
5524         (lround_test): Likewise.
5525         (llround_test): Likewise.
5526         (modf_test): Likewise.
5527         (nearbyint_test): Likewise.
5528         (nextafter_test): Likewise.
5529         (nexttoward_test): Likewise.
5530         (pow_test): Likewise.
5531         (pow_test_tonearest): Likewise.
5532         (pow_test_towardzero): Likewise.
5533         (pow_test_downward): Likewise.
5534         (pow_test_upward): Likewise.
5535         (remainder_test): Likewise.
5536         (remainder_test_tonearest): Likewise.
5537         (remainder_test_towardzero): Likewise.
5538         (remainder_test_downward): Likewise.
5539         (remainder_test_upward): Likewise.
5540         (remquo_test): Likewise.
5541         (rint_test): Likewise.
5542         (rint_test_tonearest): Likewise.
5543         (rint_test_towardzero): Likewise.
5544         (rint_test_downward): Likewise.
5545         (rint_test_upward): Likewise.
5546         (round_test): Likewise.
5547         (scalb_test): Likewise.
5548         (scalbn_test): Likewise.
5549         (scalbln_test): Likewise.
5550         (signbit_test): Likewise.
5551         (sin_test): Likewise.
5552         (sin_test_tonearest): Likewise.
5553         (sin_test_towardzero): Likewise.
5554         (sin_test_downward): Likewise.
5555         (sin_test_upward): Likewise.
5556         (sincos_test): Likewise.
5557         (sinh_test): Likewise.
5558         (sinh_test_tonearest): Likewise.
5559         (sinh_test_towardzero): Likewise.
5560         (sinh_test_downward): Likewise.
5561         (sinh_test_upward): Likewise.
5562         (sqrt_test): Likewise.
5563         (tan_test): Likewise.
5564         (tan_test_tonearest): Likewise.
5565         (tan_test_towardzero): Likewise.
5566         (tan_test_downward): Likewise.
5567         (tan_test_upward): Likewise.
5568         (tanh_test): Likewise.
5569         (tgamma_test): Likewise.
5570         (trunc_test): Likewise.
5571         (y0_test): Likewise.
5572         (y1_test): Likewise.
5573         (yn_test): Likewise.
5574         (significand_test): Likewise.
5576 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
5578         [BZ #15381]
5579         * libio/genops.c (_IO_no_init): Initialize wide struct info.
5581 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
5583         [BZ #14894]
5584         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
5585         __ppc_mdoio and __ppc_mdoom.
5586         * manual/platform.texi: Document new functions __ppc_yield,
5587         __ppc_mdoio and __ppc_mdoom.
5589 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
5591         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
5592         (main): Mention "tls" pseudo-hwcap is legacy.
5593         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
5595 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
5597         * math/gen-libm-test.pl (parse_args): Output only string of
5598         arguments as text for test name, not full call or descriptions of
5599         tests for extra outputs.
5600         (generate_testfile): Do not pass function name to parse_args.
5601         Generate this_func variable from START.
5602         * math/libm-test.inc (struct test_f_f_data): Rename test_name
5603         field to arg_str.
5604         (struct test_ff_f_data): Likewise.
5605         (test_ff_f_data_nexttoward): Likewise.
5606         (struct test_fi_f_data): Likewise.
5607         (struct test_fl_f_data): Likewise.
5608         (struct test_if_f_data): Likewise.
5609         (struct test_fff_f_data): Likewise.
5610         (struct test_c_f_data): Likewise.
5611         (struct test_f_f1_data): Likewise.  Remove field extra_name.
5612         (struct test_fF_f1_data): Likewise.
5613         (struct test_ffI_f1_data): Likewise.
5614         (struct test_c_c_data): Rename test_name field to arg_str.
5615         (struct test_cc_c_data): Likewise.
5616         (struct test_f_i_data): Likewise.
5617         (struct test_ff_i_data): Likewise.
5618         (struct test_f_l_data): Likewise.
5619         (struct test_f_L_data): Likewise.
5620         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
5621         and extra2_name.
5622         (COMMON_TEST_SETUP): New macro.
5623         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
5624         (COMMON_TEST_CLEANUP): Likewise.
5625         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
5626         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
5627         macros.
5628         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
5629         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
5630         macros.
5631         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
5632         (RUN_TEST_fff_f): Take argument string.  Call new setup and
5633         cleanup macros.
5634         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
5635         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
5636         macros.
5637         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
5638         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
5639         macros.
5640         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5641         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
5642         cleanup macros.
5643         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5644         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
5645         cleanup macros.
5646         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5647         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
5648         cleanup macros.
5649         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5650         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
5651         macros.
5652         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
5653         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
5654         macros.
5655         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
5656         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
5657         macros.
5658         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
5659         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
5660         cleanup macros.
5661         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
5662         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
5663         cleanup macros.
5664         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
5665         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
5666         macros.
5667         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
5668         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
5669         cleanup macros.
5670         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
5671         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
5672         macros.
5673         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
5674         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
5675         macros.
5676         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
5677         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
5678         cleanup macros.
5679         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
5681 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
5683         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
5684         to _sifields.sigfault.
5685         (si_addr_lsb): Define new macro.
5686         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5687         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5688         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
5690 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
5692         [BZ #15441]
5693         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
5694         returns -1.
5695         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
5696         null return -1.
5697         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
5698         loading the domain.
5700 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
5702         * math/gen-libm-test.pl (parse_args): Do not include expected
5703         result in test name.
5704         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
5705         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5706         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5707         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5708         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5711 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5713         * benchtests/Makefile: Sort function entries.
5715         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
5716         tanh, asinh, acosh, atanh.
5717         * benchtests/acos-inputs: New file.
5718         * benchtests/acosh-inputs: New file.
5719         * benchtests/asin-inputs: New file.
5720         * benchtests/asinh-inputs: New file.
5721         * benchtests/atanh-inputs: New file.
5722         * benchtests/cosh-inputs: New file.
5723         * benchtests/log-inputs: New file.
5724         * benchtests/sinh-inputs: New file.
5725         * benchtests/tanh-inputs: New file.
5727 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
5729         [BZ #15339]
5730         * posix/tst-getaddrinfo4.c: New test.
5731         * posix/Makefile (tests): Add it.
5733 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5735         [BZ #15339]
5736         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
5737         when no services were used.
5738         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
5739         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
5741 2013-05-21  Andreas Schwab  <schwab@suse.de>
5743         [BZ #15014]
5744         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
5745         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
5746         successful.
5747         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
5748         redundant variable declarations and reallocation of buffer when
5749         parsing as IPv6 address.  Always set NSS status when called from
5750         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
5751         buffer too small.  Correct computation of needed size.
5752         * nss/Makefile (tests): Add test-digits-dots.
5753         * nss/test-digits-dots.c: New test.
5755 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5757         * benchtests/Makefile: Remove instructions for adding
5758         benchmark tests.
5759         * benchtests/README: New file to explain how to execute and
5760         enhance the benchmark tests.
5762 2013-05-21  Andreas Schwab  <schwab@suse.de>
5764         [BZ #15493]
5765         * setjmp/Makefile (tests): Add tst-sigsetjmp.
5766         * setjmp/tst-sigsetjmp.c: New test.
5768 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
5770         * sysdeps/x86_64/memset.S (memset): New implementation.
5771         (__bzero): Likewise.
5772         (__memset_tail): New function.
5774 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
5776         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
5777         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
5778         __memcpy_sse2_unaligned ifunc selection.
5779         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5780         Add memcpy-sse2-unaligned.S.
5781         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5782         Add: __memcpy_sse2_unaligned.
5784 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
5786         [BZ #15490]
5787         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5788         math_force_eval before restoring floating-point envrionment.
5789         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
5790         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
5791         Likewise.
5792         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
5793         <math_private.h>.
5794         (__nearbyintl): Use math_force_eval before restoring
5795         floating-point environment.
5796         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
5798         * math/gen-libm-test.pl (special_functions): Remove.
5799         (parse_args): Don't handle TEST_extra.  Handle functions with no
5800         return value.
5801         * math/libm-test.inc (struct test_sincos_data): Replace with
5802         struct test_fFF_11_data.
5803         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
5804         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
5805         (sincos_test_data): Change element type to struct
5806         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
5807         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
5808         RUN_TEST_LOOP_sincos.
5809         * math/README.libm-test: Don't mention special handling of
5810         individual functions.
5811         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
5812         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5813         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5814         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5815         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5818         * math/gen-libm-test.pl (get_variable): Remove function.
5819         (parse_args): Don't show pointer parameters to call in test
5820         names.  Use "extra output N" in test names for extra outputs
5821         rather than naming variables.
5823 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
5825         [BZ #15488]
5826         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
5827         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
5828         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
5829         double tests.
5830         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
5831         disable.
5832         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
5833         check_long_double.
5835         * math/gen-libm-test.pl (@tests): Remove variable.
5836         ($count): Likewise.
5837         (new_test): Remove function.
5838         (show_exceptions): New function.
5839         (special_functions): Use show_exceptions instead of new_test.
5840         (parse_args): Likewise.
5841         (generate_testfile): Pass only function name in generated call to
5842         print_max_error or print_complex_max_error.
5843         (get_ulps): Do not handle complex tests specially.
5844         (output_test): Rename to ...
5845         (get_all_ulps_for_test): ... this.  Return a string rather than
5846         printing to a file.  Require ulps to be present.
5847         (output_ulps): Generate arrays rather than #defines.
5848         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
5849         (struct ulp_data): New type.
5850         (BUILD_COMPLEX_ULP): Remove macro.
5851         (compare_ulp_data): New function.
5852         (find_ulps): Likewise.
5853         (find_test_ulps): Likewise.
5854         (find_function_ulps): Likewise.
5855         (find_complex_function_ulps): Likewise.
5856         (print_max_error): Determine allowed ulps using
5857         find_function_ulps.
5858         (print_complex_max_error): Determine allowed ulps using
5859         find_complex_function_ulps.
5860         (check_float_internal): Determine max ulps using find_test_ulps.
5861         (check_float): Do not take max_ulp parameter.  Update call to
5862         check_float_internal.
5863         (check_complex): Likewise.
5864         (check_int): Do not take max_ulp parameter.
5865         (check_long): Likewise.
5866         (check_bool): Likewise.
5867         (check_longlong): Likewise.
5868         (struct test_f_f_data): Remove max_ulp field.
5869         (struct test_ff_f_data): Likewise.
5870         (struct test_ff_f_data_nexttoward): Likewise.
5871         (struct test_fi_f_data): Likewise.
5872         (struct test_fl_f_data): Likewise.
5873         (struct test_if_f_data): Likewise.
5874         (struct test_fff_f_data): Likewise.
5875         (struct test_c_f_data): Likewise.
5876         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
5877         (struct test_fF_f1_data): Likewise.
5878         (struct test_ffI_f1_data): Likewise.
5879         (struct test_c_c_data): Remove max_ulp field.
5880         (struct test_cc_c_data): Likewise.
5881         (struct test_f_i_data): Likewise.
5882         (struct test_ff_i_data): Likewise.
5883         (struct test_f_l_data): Likewise.
5884         (struct test_f_L_data): Likewise.
5885         (struct test_sincos_data): Likewise.
5886         (RUN_TEST_f_f): Do not handle ulps.
5887         (RUN_TEST_LOOP_f_f): Likewise.
5888         (RUN_TEST_2_f): Likewise.
5889         (RUN_TEST_LOOP_2_f): Likewise.
5890         (RUN_TEST_fff_f): Likewise.
5891         (RUN_TEST_LOOP_fff_f): Likewise.
5892         (RUN_TEST_c_f): Likewise.
5893         (RUN_TEST_LOOP_c_f): Likewise.
5894         (RUN_TEST_f_f1): Likewise.
5895         (RUN_TEST_LOOP_f_f1): Likewise.
5896         (RUN_TEST_fF_f1): Likewise.
5897         (RUN_TEST_LOOP_fF_f1): Likewise.
5898         (RUN_TEST_fI_f1): Likewise.
5899         (RUN_TEST_LOOP_fI_f1): Likewise.
5900         (RUN_TEST_ffI_f1): Likewise.
5901         (RUN_TEST_LOOP_ffI_f1): Likewise.
5902         (RUN_TEST_c_c): Likewise.
5903         (RUN_TEST_LOOP_c_c): Likewise.
5904         (RUN_TEST_cc_c): Likewise.
5905         (RUN_TEST_LOOP_cc_c): Likewise.
5906         (RUN_TEST_f_i): Likewise.
5907         (RUN_TEST_LOOP_f_i): Likewise.
5908         (RUN_TEST_f_i_tg): Likewise.
5909         (RUN_TEST_LOOP_f_i_tg): Likewise.
5910         (RUN_TEST_ff_i_tg): Likewise.
5911         (RUN_TEST_LOOP_ff_i_tg): Likewise.
5912         (RUN_TEST_f_b): Likewise.
5913         (RUN_TEST_LOOP_f_b): Likewise.
5914         (RUN_TEST_f_b_tg): Likewise.
5915         (RUN_TEST_LOOP_f_b_tg): Likewise.
5916         (RUN_TEST_f_l): Likewise.
5917         (RUN_TEST_LOOP_f_l): Likewise.
5918         (RUN_TEST_f_L): Likewise.
5919         (RUN_TEST_LOOP_f_L): Likewise.
5920         (RUN_TEST_sincos): Likewise.
5921         (RUN_TEST_LOOP_sincos): Likewise.
5923 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
5925         [BZ #15480]
5926         [BZ #15485]
5927         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
5928         main case of finite arguments, set rounding mode to FE_TONEAREST
5929         and discard exceptions.
5930         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
5931         exceptions.
5932         (remainder_tonearest_test_data): New variable.
5933         (remainder_test_tonearest): New function.
5934         (remainder_towardzero_test_data): New variable.
5935         (remainder_test_towardzero): New function.
5936         (remainder_downward_test_data): New variable.
5937         (remainder_test_downward): New function.
5938         (remainder_upward_test_data): New variable.
5939         (remainder_test_upward): New function.
5940         (main): Call the new test functions.
5942         * math/libm-test.inc (struct test_f_f1_data): Remove field
5943         extra_init.
5944         (struct test_fF_f1_data): Likewise.
5945         (struct test_ffI_f1_data): Likewise.
5946         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
5947         based on value of EXTRA_EXPECTED.
5948         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5949         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
5950         EXTRA_VAR based on value of EXTRA_EXPECTED.
5951         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5952         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
5953         EXTRA_VAR based on value of EXTRA_EXPECTED.
5954         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5955         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
5956         EXTRA_VAR based on value of EXTRA_EXPECTED.
5957         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5958         * math/gen-libm-test.pl (parse_args): Don't output initializers
5959         for extra output values.
5961         * math/libm-test.inc (check_int): Expect result to be exactly
5962         equal to expected value and do not handle ulps.
5963         (check_long): Likewise.
5964         (check_longlong): Likewise.
5966         * math/libm-test.inc (ceil_test_data): Test for "inexact"
5967         exceptions.
5968         (cimag_test_data): Likewise.
5969         (conj_test_data): Likewise.
5970         (copysign_test_data): Likewise.
5971         (cproj_test_data): Likewise.
5972         (creal_test_data): Likewise.
5973         (fabs_test_data): Likewise.
5974         (fdim_test_data): Likewise.
5975         (finite_test_data): Likewise.
5976         (floor_test_data): Likewise.
5977         (fmax_test_data): Likewise.
5978         (fmin_test_data): Likewise.
5979         (fmod_test_data): Likewise.
5980         (fpclassify_test_data): Likewise.
5981         (frexp_test_data): Likewise.
5982         (ilogb_test_data): Likewise.
5983         (isfinite_test_data): Likewise.
5984         (isgreater_test_data): Likewise.
5985         (isgreaterequal_test_data): Likewise.
5986         (isinf_test_data): Likewise.
5987         (isless_test_data): Likewise.
5988         (islessequal_test_data): Likewise.
5989         (islessgreater_test_data): Likewise.
5990         (isnan_test_data): Likewise.
5991         (isnormal_test_data): Likewise.
5992         (issignaling_test_data): Likewise.
5993         (isunordered_test_data): Likewise.
5994         (ldexp_test_data): Likewise.
5995         (lrint_test_data): Likewise.
5996         (lrint_test_data) [TEST_FLOAT]: Disable one test.
5997         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
5998         (lrint_tonearest_test_data): Test for "inexact" exceptions.
5999         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6000         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
6001         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6002         test input.
6003         (lrint_towardzero_test_data): Test for "inexact" exceptions.
6004         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6005         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
6006         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
6007         that test input.
6008         (lrint_downward_test_data): Test for "inexact" exceptions.
6009         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6010         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
6011         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6012         test input.
6013         (lrint_upward_test_data): Test for "inexact" exceptions.
6014         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
6015         test input.
6016         (llrint_test_data): Test for "inexact" exceptions.
6017         (llrint_test_data) [TEST_FLOAT]: Disable one test.
6018         (llrint_tonearest_test_data): Test for "inexact" exceptions.
6019         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6020         (llrint_towardzero_test_data): Test for "inexact" exceptions.
6021         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6022         (llrint_downward_test_data): Test for "inexact" exceptions.
6023         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6024         (llrint_upward_test_data): Test for "inexact" exceptions.
6025         (logb_test_data): Likewise.
6026         (logb_downward_test_data): Likewise.
6027         (nextafter_test_data): Likewise.
6028         (nexttoward_test_data): Likewise.
6029         (remainder_test_data): Likewise.
6030         (remquo_test_data): Likewise.
6031         (scalbn_test_data): Likewise.
6032         (scalbln_test_data): Likewise.
6033         (signbit_test_data): Likewise.
6034         (sqrt_test_data): Likewise.
6035         (significand_test_data): Likewise.
6037 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
6039         [BZ #15424]
6040         * benchtests/bench-modf.c (struct args): Mark arg0 as
6041         volatile.
6042         * scripts/bench.pl: Mark members of struct args as volatile.
6044 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6046         [BZ # 15497]
6047         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
6048         negative infinity on POWER6 or lower.
6049         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
6051 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
6053         [BZ #15442]
6054         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
6055         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
6056         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
6057         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
6058         (_FP_SETQNAN): New macro.
6059         (_FP_SETQNAN_SEMIRAW): Likewise.
6060         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
6061         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
6062         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
6063         (FP_EXTEND): Use _FP_FRAC_SNANP.
6064         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
6065         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
6066         into account.
6067         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6068         New macro.
6069         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6070         Likewise.
6072 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
6074         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
6075         with DIVIDE_BY_ZERO_EXCEPTION.
6076         (gamma_test_data): Likewise.
6077         (lgamma_test_data): Likewise.
6078         (log_test_data): Likewise.
6079         (log10_test_data): Likewise.
6080         (log2_test_data): Likewise.
6081         (tgamma_test_data): Likewise.
6083         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
6084         (acos_test_tonearest): Likewise.
6085         (acos_test_towardzero): Likewise.
6086         (acos_test_downward): Likewise.
6087         (acos_test_upward): Likewise.
6088         (acosh_test): Likewise.
6089         (asin_test): Likewise.
6090         (asin_test_tonearest): Likewise.
6091         (asin_test_towardzero): Likewise.
6092         (asin_test_downward): Likewise.
6093         (asin_test_upward): Likewise.
6094         (asinh_test): Likewise.
6095         (atan_test): Likewise.
6096         (atanh_test): Likewise.
6097         (atan2_test): Likewise.
6098         (cabs_test): Likewise.
6099         (cacos_test): Likewise.
6100         (cacosh_test): Likewise.
6101         (casin_test): Likewise.
6102         (casinh_test): Likewise.
6103         (catan_test): Likewise.
6104         (catanh_test): Likewise.
6105         (cbrt_test): Likewise.
6106         (ccos_test): Likewise.
6107         (ccosh_test): Likewise.
6108         (cexp_test): Likewise.
6109         (clog_test): Likewise.
6110         (clog10_test): Likewise.
6111         (cos_test): Likewise.
6112         (cos_test_tonearest): Likewise.
6113         (cos_test_towardzero): Likewise.
6114         (cos_test_downward): Likewise.
6115         (cos_test_upward): Likewise.
6116         (cosh_test): Likewise.
6117         (cosh_test_tonearest): Likewise.
6118         (cosh_test_towardzero): Likewise.
6119         (cosh_test_downward): Likewise.
6120         (cosh_test_upward): Likewise.
6121         (cpow_test): Likewise.
6122         (csin_test): Likewise.
6123         (csinh_test): Likewise.
6124         (csqrt_test): Likewise.
6125         (ctan_test): Likewise.
6126         (ctan_test_tonearest): Likewise.
6127         (ctan_test_towardzero): Likewise.
6128         (ctan_test_downward): Likewise.
6129         (ctan_test_upward): Likewise.
6130         (ctanh_test): Likewise.
6131         (ctanh_test_tonearest): Likewise.
6132         (ctanh_test_towardzero): Likewise.
6133         (ctanh_test_downward): Likewise.
6134         (ctanh_test_upward): Likewise.
6135         (erf_test): Likewise.
6136         (erfc_test): Likewise.
6137         (exp_test): Likewise.
6138         (exp_test_tonearest): Likewise.
6139         (exp_test_towardzero): Likewise.
6140         (exp_test_downward): Likewise.
6141         (exp_test_upward): Likewise.
6142         (exp10_test): Likewise.
6143         (exp2_test): Likewise.
6144         (expm1_test): Likewise.
6145         (fmod_test): Likewise.
6146         (gamma_test): Likewise.
6147         (hypot_test): Likewise.
6148         (j0_test): Likewise.
6149         (j1_test): Likewise.
6150         (jn_test): Likewise.
6151         (lgamma_test): Likewise.
6152         (log_test): Likewise.
6153         (log10_test): Likewise.
6154         (log1p_test): Likewise.
6155         (log2_test): Likewise.
6156         (logb_test_downward): Likewise.
6157         (pow_test): Likewise.
6158         (pow_test_tonearest): Likewise.
6159         (pow_test_towardzero): Likewise.
6160         (pow_test_downward): Likewise.
6161         (pow_test_upward): Likewise.
6162         (remainder_test): Likewise.
6163         (remquo_test): Likewise.
6164         (sin_test): Likewise.
6165         (sin_test_tonearest): Likewise.
6166         (sin_test_towardzero): Likewise.
6167         (sin_test_downward): Likewise.
6168         (sin_test_upward): Likewise.
6169         (sincos_test): Likewise.
6170         (sinh_test): Likewise.
6171         (sinh_test_tonearest): Likewise.
6172         (sinh_test_towardzero): Likewise.
6173         (sinh_test_downward): Likewise.
6174         (sinh_test_upward): Likewise.
6175         (sqrt_test): Likewise.
6176         (tan_test): Likewise.
6177         (tan_test_tonearest): Likewise.
6178         (tan_test_towardzero): Likewise.
6179         (tan_test_downward): Likewise.
6180         (tan_test_upward): Likewise.
6181         (tanh_test): Likewise.
6182         (tgamma_test): Likewise.
6183         (y0_test): Likewise.
6184         (y1_test): Likewise.
6185         (yn_test): Likewise.
6187         * math/gen-libm-test.pl (adjust_arg): Remove function.
6188         (special_function): Remove argument $in_func.  Only handle
6189         generating output for tables of tests, not inside functions.
6190         (parse_args): Likewise.
6191         (generate_testfile): Remove variable $in_func.  Update call to
6192         parse_args.
6193         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
6194         (MINUS_ZERO_INIT): Rename macro to minus_zero.
6195         (PLUS_INFTY_INIT): Rename macro to plus_infty.
6196         (MINUS_INFTY_INIT): Rename macro to minus_infty.
6197         (QNAN_VALUE_INIT): Rename macro to qnan_value.
6198         (MAX_VALUE_INIT): Rename macro to max_value.
6199         (MIN_VALUE_INIT): Rename macro to min_value.
6200         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
6201         (plus_zero): Remove variable.
6202         (minus_zero): Likewise.
6203         (plus_infty): Likewise.
6204         (minus_infty): Likewise.
6205         (qnan_value): Likewise.
6206         (max_value): Likewise.
6207         (min_value): Likewise.
6208         (min_subnorm_value): Likewise.
6210 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6212         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
6213         uint64_t or uint32_t usage.
6214         * crypt/sha256-block.c: Likewise.
6215         * crypt/sha256-crypt.c: Likewise.
6216         * crypt/sha256.c: Likewise.
6217         * crypt/sha512-block.c: Likewise.
6218         * crypt/sha512-crypt.c: Likewise.
6219         * crypt/sha512.c: Likewise.
6220         * debug/backtrace-tst.c: Likewise.
6221         * debug/pcprofiledump.c: Likewise.
6222         * elf/cache.c: Likewise.
6223         * elf/dl-cache.c: Likewise.
6224         * elf/dl-misc.c: Likewise.
6225         * elf/dl-profile.c: Likewise.
6226         * elf/dl-support.c: Likewise.
6227         * elf/ldconfig.c: Likewise.
6228         * elf/sprof.c: Likewise.
6229         * iconv/dummy-repertoire.c: Likewise.
6230         * iconv/iconv_charmap.c: Likewise.
6231         * iconv/skeleton.c: Likewise.
6232         * iconvdata/8bit-generic.c: Likewise.
6233         * iconvdata/cp737.h: Likewise.
6234         * iconvdata/cp775.h: Likewise.
6235         * iconvdata/ibm1008.h: Likewise.
6236         * iconvdata/ibm1025.h: Likewise.
6237         * iconvdata/ibm1046.h: Likewise.
6238         * iconvdata/ibm1097.h: Likewise.
6239         * iconvdata/ibm1112.h: Likewise.
6240         * iconvdata/ibm1122.h: Likewise.
6241         * iconvdata/ibm1123.h: Likewise.
6242         * iconvdata/ibm1124.h: Likewise.
6243         * iconvdata/ibm1129.h: Likewise.
6244         * iconvdata/ibm1130.h: Likewise.
6245         * iconvdata/ibm1132.h: Likewise.
6246         * iconvdata/ibm1133.h: Likewise.
6247         * iconvdata/ibm1137.h: Likewise.
6248         * iconvdata/ibm1140.h: Likewise.
6249         * iconvdata/ibm1141.h: Likewise.
6250         * iconvdata/ibm1142.h: Likewise.
6251         * iconvdata/ibm1143.h: Likewise.
6252         * iconvdata/ibm1144.h: Likewise.
6253         * iconvdata/ibm1145.h: Likewise.
6254         * iconvdata/ibm1146.h: Likewise.
6255         * iconvdata/ibm1147.h: Likewise.
6256         * iconvdata/ibm1148.h: Likewise.
6257         * iconvdata/ibm1149.h: Likewise.
6258         * iconvdata/ibm1153.h: Likewise.
6259         * iconvdata/ibm1154.h: Likewise.
6260         * iconvdata/ibm1155.h: Likewise.
6261         * iconvdata/ibm1156.h: Likewise.
6262         * iconvdata/ibm1157.h: Likewise.
6263         * iconvdata/ibm1158.h: Likewise.
6264         * iconvdata/ibm1160.h: Likewise.
6265         * iconvdata/ibm1161.h: Likewise.
6266         * iconvdata/ibm1162.h: Likewise.
6267         * iconvdata/ibm1163.h: Likewise.
6268         * iconvdata/ibm1164.h: Likewise.
6269         * iconvdata/ibm1166.h: Likewise.
6270         * iconvdata/ibm1167.h: Likewise.
6271         * iconvdata/ibm12712.h: Likewise.
6272         * iconvdata/ibm1390.h: Likewise.
6273         * iconvdata/ibm1399.h: Likewise.
6274         * iconvdata/ibm16804.h: Likewise.
6275         * iconvdata/ibm4517.h: Likewise.
6276         * iconvdata/ibm4899.h: Likewise.
6277         * iconvdata/ibm4909.h: Likewise.
6278         * iconvdata/ibm4971.h: Likewise.
6279         * iconvdata/ibm5347.h: Likewise.
6280         * iconvdata/ibm803.h: Likewise.
6281         * iconvdata/ibm856.h: Likewise.
6282         * iconvdata/ibm901.h: Likewise.
6283         * iconvdata/ibm902.h: Likewise.
6284         * iconvdata/ibm9030.h: Likewise.
6285         * iconvdata/ibm9066.h: Likewise.
6286         * iconvdata/ibm921.h: Likewise.
6287         * iconvdata/ibm922.h: Likewise.
6288         * iconvdata/ibm9448.h: Likewise.
6289         * iconvdata/isiri-3342.h: Likewise.
6290         * iconvdata/jis0201.h: Likewise.
6291         * include/link.h: Likewise.
6292         * include/netdb.h: Likewise.
6293         * inet/check_native.c: Likewise.
6294         * inet/check_pf.c: Likewise.
6295         * inet/getipv4sourcefilter.c: Likewise.
6296         * inet/getnameinfo.c: Likewise.
6297         * inet/getsourcefilter.c: Likewise.
6298         * inet/htonl.c: Likewise.
6299         * inet/setipv4sourcefilter.c: Likewise.
6300         * inet/setsourcefilter.c: Likewise.
6301         * inet/test-inet6_opt.c: Likewise.
6302         * inet/tst-network.c: Likewise.
6303         * locale/C-collate.c: Likewise.
6304         * locale/C-ctype.c: Likewise.
6305         * locale/C-time.c: Likewise.
6306         * locale/C-translit.h: Likewise.
6307         * locale/loadarchive.c: Likewise.
6308         * locale/programs/3level.h: Likewise.
6309         * locale/programs/charmap.c: Likewise.
6310         * locale/programs/charmap.h: Likewise.
6311         * locale/programs/ld-address.c: Likewise.
6312         * locale/programs/ld-collate.c: Likewise.
6313         * locale/programs/ld-ctype.c: Likewise.
6314         * locale/programs/ld-identification.c: Likewise.
6315         * locale/programs/ld-measurement.c: Likewise.
6316         * locale/programs/ld-messages.c: Likewise.
6317         * locale/programs/ld-monetary.c: Likewise.
6318         * locale/programs/ld-name.c: Likewise.
6319         * locale/programs/ld-numeric.c: Likewise.
6320         * locale/programs/ld-paper.c: Likewise.
6321         * locale/programs/ld-telephone.c: Likewise.
6322         * locale/programs/ld-time.c: Likewise.
6323         * locale/programs/linereader.c: Likewise.
6324         * locale/programs/locale.c: Likewise.
6325         * locale/programs/locarchive.c: Likewise.
6326         * locale/programs/locfile.h: Likewise.
6327         * locale/programs/repertoire.c: Likewise.
6328         * locale/programs/simple-hash.c: Likewise.
6329         * locale/programs/simple-hash.h: Likewise.
6330         * malloc/memusage.c: Likewise.
6331         * malloc/memusagestat.c: Likewise.
6332         * nis/nis_defaults.c: Likewise.
6333         * nis/nis_hash.c: Likewise.
6334         * nis/nis_print.c: Likewise.
6335         * nis/nis_xdr.c: Likewise.
6336         * nscd/connections.c: Likewise.
6337         * nscd/hstcache.c: Likewise.
6338         * nscd/nscd_gethst_r.c: Likewise.
6339         * nscd/nscd_getserv_r.c: Likewise.
6340         * nscd/nscd_helper.c: Likewise.
6341         * nscd/servicescache.c: Likewise.
6342         * nss/makedb.c: Likewise.
6343         * nss/nss_db/db-XXX.c: Likewise.
6344         * nss/nss_db/db-initgroups.c: Likewise.
6345         * nss/nss_db/db-netgrp.c: Likewise.
6346         * nss/nss_files/files-network.c: Likewise.
6347         * nss/nss_files/files-parse.c: Likewise.
6348         * posix/bug-regex5.c: Likewise.
6349         * posix/fnmatch_loop.c: Likewise.
6350         * posix/regcomp.c: Likewise.
6351         * posix/regexec.c: Likewise.
6352         * posix/tst-rfc3484-2.c: Likewise.
6353         * posix/tst-rfc3484-3.c: Likewise.
6354         * posix/tst-rfc3484.c: Likewise.
6355         * resolv/nss_dns/dns-canon.c: Likewise.
6356         * resolv/nss_dns/dns-network.c: Likewise.
6357         * resolv/res_init.c: Likewise.
6358         * resolv/res_mkquery.c: Likewise.
6359         * resolv/tst-aton.c: Likewise.
6360         * stdlib/cxa_atexit.c: Likewise.
6361         * stdlib/cxa_finalize.c: Likewise.
6362         * stdlib/gen-fpioconst.c: Likewise.
6363         * stdlib/strtol_l.c: Likewise.
6364         * string/tst-endian.c: Likewise.
6365         * sunrpc/auth_des.c: Likewise.
6366         * sunrpc/clnt_udp.c: Likewise.
6367         * sunrpc/rtime.c: Likewise.
6368         * sunrpc/svcauth_des.c: Likewise.
6369         * sunrpc/xdr.c: Likewise.
6370         * sunrpc/xdr_intXX_t.c: Likewise.
6371         * sunrpc/xdr_rec.c: Likewise.
6372         * sysdeps/generic/ldconfig.h: Likewise.
6373         * sysdeps/generic/ldsodefs.h: Likewise.
6374         * sysdeps/generic/memusage.h: Likewise.
6375         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6376         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
6377         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
6378         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6379         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6380         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6381         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6382         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6383         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6384         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6385         * sysdeps/posix/getaddrinfo.c: Likewise.
6386         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6387         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6388         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6389         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6390         * sysdeps/powerpc/test-gettimebase.c: Likewise.
6391         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6392         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
6393         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
6394         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6395         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
6396         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6397         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6398         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
6399         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
6400         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
6401         * sysdeps/x86_64/dl-tls.h: Likewise.
6402         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
6403         * time/alt_digit.c: Likewise.
6404         * time/era.c: Likewise.
6405         * wcsmbs/tst-c16c32-1.c: Likewise.
6407 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
6409         * math/libm-test.inc (struct test_sincos_data): New type.
6410         (RUN_TEST_LOOP_sincos): New macro.
6411         (sincos_test_data): New variable.
6412         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
6414 2013-05-16  Richard Henderson  <rth@redhat.com>
6416         * math/atest-exp2.c (LIMB64): New macro.
6417         (CONSTSZ): New macro.
6418         (mp_exp1, mp_exp_m1, mp_log2): New variables.
6419         (hexdig): Move ...
6420         (print_mpn_fp): ... to function scope.
6421         (read_mpn_hex): Remove.
6422         (get_log2): Remove.
6423         (exp2_mpn): Use mp_log2.
6424         (main): Use mp_exp1.
6426 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
6428         * math/libm-test.inc: Remove comment about not testing "inexact"
6429         exceptions.
6430         (INEXACT_EXCEPTION): New macro.
6431         (NO_INEXACT_EXCEPTION): Likewise.
6432         (INVALID_EXCEPTION_OK): Update value.
6433         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6434         (OVERFLOW_EXCEPTION_OK): Likewise.
6435         (UNDERFLOW_EXCEPTION_OK): Likewise.
6436         (IGNORE_ZERO_INF_SIGN): Likewise.
6437         (ERRNO_UNCHANGED): Likewise.
6438         (ERRNO_EDOM): Likewise.
6439         (ERRNO_ERANGE): Likewise.
6440         (test_exceptions): Handle testing "inexact" exceptions.
6441         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
6442         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
6443         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
6444         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
6445         INEXACT_EXCEPTION.
6446         (rint_towardzero_test_data): Likewise.
6447         (rint_downward_test_data): Likewise.
6448         (rint_upward_test_data): Likewise.
6450         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
6451         with OVERFLOW_EXCEPTION.
6452         (exp10_test_data): Likewise.
6453         (exp2_test_data): Likewise.
6454         (expm1_test_data): Likewise.
6455         (lgamma_test_data): Likewise.
6456         (pow_test_data): Likewise.
6457         (tgamma_test_data): Likewise.
6458         (yn_test_data): Remove duplicate test of overflow.
6460         * math/libm-test.inc (struct test_cc_c_data): New type.
6461         (RUN_TEST_LOOP_cc_c): New macro.
6462         (cpow_test_data): New variable.
6463         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
6465         * math/libm-test.inc (struct test_f_L_data): New type.
6466         (RUN_TEST_LOOP_f_L): New macro.
6467         (llrint_test_data): New variable.
6468         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
6469         (llrint_tonearest_test_data): New variable.
6470         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
6471         (llrint_towardzero_test_data): New variable.
6472         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
6473         (llrint_downward_test_data): New variable.
6474         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
6475         (llrint_upward_test_data): New variable.
6476         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
6477         (llround_test_data): New variable.
6478         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
6480 2013-05-13  Peter Collingbourne  <pcc@google.com>
6482         * math/atest-exp2.c (get_log2): Remove const attribute.
6484 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
6486         * math/libm-test.inc (struct test_f_l_data): New type.
6487         (RUN_TEST_LOOP_f_l): New macro.
6488         (lrint_test_data): New variable.
6489         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
6490         (lrint_tonearest_test_data): New variable.
6491         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
6492         (lrint_towardzero_test_data): New variable.
6493         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
6494         (lrint_downward_test_data): New variable.
6495         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
6496         (lrint_upward_test_data): New variable.
6497         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
6498         (lround_test_data): New variable.
6499         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
6501 2013-05-15  Peter Collingbourne  <pcc@google.com>
6503         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
6504         (EXTRACT_WORDS64) Use where appropriate.
6505         (INSERT_WORDS64) Likewise.
6507         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
6508         constraints with x constraints.
6509         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
6511         * malloc/obstack.c (_obstack_compat): Add initializer.
6513 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
6515         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
6516         si_trapno and add si_addr_lsb to _sifields.sigfault.
6517         (si_trapno): Remove macro.
6518         (si_addr_lsb): Define new macro.
6519         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6521 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
6523         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
6524         instead of TEST_f_l.
6525         (llrint_test_tonearest): Likewise.
6526         (llrint_test_towardzero): Likewise.
6527         (llrint_test_downward): Likewise.
6528         (llrint_test_upward): Likewise.
6529         (llround_test): Likewise.
6531         * math/libm-test.inc (struct test_f_i_data): Add comment.
6532         (RUN_TEST_LOOP_f_b): New macro.
6533         (RUN_TEST_LOOP_f_b_tg): Likewise.
6534         (finite_test_data): New variable.
6535         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
6536         (isfinite_test_data): New variable.
6537         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6538         (isinf_test_data): New variable.
6539         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6540         (isnan_test_data): New variable.
6541         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6542         (isnormal_test_data): New variable.
6543         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6544         (issignaling_test_data): New variable.
6545         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6546         (signbit_test_data): New variable.
6547         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6549         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
6550         with INVALID_EXCEPTION.
6551         (acosh_test_data): Likewise.
6552         (asin_test_data): Likewise.
6553         (atanh_test_data): Likewise.
6554         (fmod_test_data): Likewise.
6555         (log_test_data): Likewise.
6556         (log10_test_data): Likewise.
6557         (log2_test_data): Likewise.
6558         (pow_test_data): Likewise.
6559         (sqrt_test_data): Likewise.
6560         (y0_test_data): Likewise.
6561         (y1_test_data): Likewise.
6562         (yn_test_data): Likewise.
6564         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
6565         function contents.
6567         * math/libm-test.inc (struct test_ff_i_data): New type.
6568         (RUN_TEST_LOOP_ff_i_tg): New macro.
6569         (isgreater_test_data): New variable.
6570         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6571         (isgreaterequal_test_data): New variable.
6572         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6573         (isless_test_data): New variable.
6574         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6575         (islessequal_test_data): New variable.
6576         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6577         (islessgreater_test_data): New variable.
6578         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6579         (isunordered_test_data): New variable.
6580         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6582 2013-05-14  David S. Miller  <davem@davemloft.net>
6584         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6586 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
6588         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
6590         * math/libm-test.inc (struct test_fF_f1_data): Change type of
6591         extra_test to int.
6592         (struct test_f_i_data): Change type of max_ulp to int.
6594         * math/libm-test.inc (test_ffI_f1_data): New type.
6595         (RUN_TEST_LOOP_ffI_f1): New macro.
6596         (remquo_test_data): New variable.
6597         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
6599         * setjmp/tst-setjmp-fp.c: New file.
6600         * setjmp/Makefile (tests): Add tst-setjmp-fp.
6601         (link-libm): New variable.
6602         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
6604         * math/libm-test.inc (struct test_f_i_data): New type.
6605         (RUN_TEST_LOOP_f_i): New macro.
6606         (RUN_TEST_LOOP_f_i_tg): Likewise.
6607         (fpclassify_test_data): New variable.
6608         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
6609         (ilogb_test_data): New variable.
6610         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
6612         * math/libm-test.inc (scalbln_test): Correct function name in END
6613         call.
6615         * math/libm-test.inc (struct test_f_f1_data): Add comment.
6616         (RUN_TEST_LOOP_fI_f1): New macro.
6617         (frexp_test_data): New variable.
6618         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
6620         * math/libm-test.inc (struct test_fF_f1_data): New type.
6621         (RUN_TEST_LOOP_fF_f1): New macro.
6622         (modf_test_data): New variable.
6623         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
6625         * math/libm-test.inc (struct test_f_f1_data): New type.
6626         (RUN_TEST_LOOP_f_f1): New macro.
6627         (gamma_test_data): New variable.
6628         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6629         (lgamma_test_data): New variable.
6630         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6632 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
6634         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
6635         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
6636         (main): Comment "tls" pseudo-hwcap.
6638 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
6640         * math/libm-test.inc (struct test_fl_f_data): New type.
6641         (RUN_TEST_LOOP_fl_f): New variable.
6642         (scalbln_test_data): New variable.
6643         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
6645         * math/libm-test.inc (struct test_fi_f_data): New type.
6646         (RUN_TEST_LOOP_fi_f): New macro.
6647         (ldexp_test_data): New variable.
6648         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
6649         (scalbn_test_data): New variable.
6650         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
6652         * math/libm-test.inc (struct test_c_f_data): New type.
6653         (RUN_TEST_LOOP_c_f): New macro.
6654         (cabs_test_data): New variable.
6655         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
6656         (carg_test_data): New variable.
6657         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
6658         (cimag_test_data): New variable.
6659         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
6660         (creal_test_data): New variable.
6661         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
6663         * math/libm-test.inc (struct test_if_f_data): New type.
6664         (RUN_TEST_LOOP_if_f): New macro.
6665         (jn_test_data): New variable.
6666         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
6667         (yn_test_data): New variable.
6668         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
6670         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
6672 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6674         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
6675         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
6677 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6679         * benchtests/Makefile (CPPFLAGS-nonlib): Add
6680         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
6681         (bench-deps): Add bench-timing.h.
6682         * benchtests-bench-skeleton.c: Include bench-timing.h.
6683         (main): Use TIMING_* macros instead of clock_gettime.
6684         * benchtests/bench-timing.h: New file.
6686         [BZ #14582]
6687         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
6688         Renamed from _LIB_VERSION.
6689         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
6691 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
6693         * math/libm-test.inc (struct test_fff_f_data): New type.
6694         (RUN_TEST_LOOP_fff_f): New macro.
6695         (fma_test_data): New variable.
6696         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
6697         (fma_towardzero_test_data): New variable.
6698         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
6699         (fma_downward_test_data): New variable.
6700         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
6701         (fma_upward_test_data): New variable.
6702         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
6704         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
6705         (struct test_c_c_data): New type.
6706         (RUN_TEST_LOOP_c_c): New macro.
6707         (cacos_test_data): New variable.
6708         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
6709         (cacosh_test_data): New variable.
6710         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
6711         (casin_test_data): New variable.
6712         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
6713         (casinh_test_data): New variable.
6714         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
6715         (catan_test_data): New variable.
6716         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
6717         (catanh_test_data): New variable.
6718         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
6719         (ccos_test_data): New variable.
6720         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
6721         (ccosh_test_data): New variable.
6722         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
6723         (cexp_test_data): New variable.
6724         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
6725         (clog_test_data): New variable.
6726         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
6727         (clog10_test_data): New variable.
6728         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
6729         (conj_test_data): New variable.
6730         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
6731         (cproj_test_data): New variable.
6732         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
6733         (csin_test_data): New variable.
6734         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
6735         (csinh_test_data): New variable.
6736         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
6737         (csqrt_test_data): New variable.
6738         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
6739         (ctan_test_data): New variable.
6740         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
6741         (ctan_tonearest_test_data): New variable.
6742         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6743         (ctan_towardzero_test_data): New variable.
6744         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6745         (ctan_downward_test_data): New variable.
6746         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6747         (ctan_upward_test_data): New variable.
6748         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6749         (ctanh_test_data): New variable.
6750         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
6751         (ctanh_tonearest_test_data): New variable.
6752         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6753         (ctanh_towardzero_test_data): New variable.
6754         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6755         (ctanh_downward_test_data): New variable.
6756         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6757         (ctanh_upward_test_data): New variable.
6758         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6759         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
6760         of BUILD_COMPLEX.
6762         * math/libm-test.inc (struct test_ff_f_data): New type.
6763         (struct test_ff_f_data_nexttoward): Likewise.
6764         (RUN_TEST_LOOP_2_f): New macro.
6765         (RUN_TEST_LOOP_ff_f): Likewise.
6766         (atan2_test_data): New variable.
6767         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
6768         (copysign_test_data): New variable.
6769         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
6770         (fdim_test_data): New variable.
6771         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
6772         (fmax_test_data): New variable.
6773         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
6774         (fmin_test_data): New variable.
6775         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
6776         (fmod_test_data): New variable.
6777         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
6778         (hypot_test_data): New variable.
6779         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
6780         (nextafter_test_data): New variable.
6781         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
6782         (nexttoward_test_data): New variable.
6783         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
6784         (pow_test_data): New variable.
6785         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
6786         (pow_tonearest_test_data): New variable.
6787         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
6788         (pow_towardzero_test_data): New variable.
6789         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
6790         (pow_downward_test_data): New variable.
6791         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
6792         (pow_upward_test_data): New variable.
6793         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
6794         (remainder_test_data): New variable.
6795         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
6796         (scalb_test_data): New variable.
6797         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
6798         * sysdeps/i386/fpu/libm-test-ulps: Update.
6800 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
6802         * math/libm-test.inc (fma_test): Use max_value instead of local
6803         variable fltmax.
6804         (nextafter_test): Likewise.
6806         * math/libm-test.inc (acos_towardzero_test_data): New variable.
6807         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6808         (acos_downward_test_data): New variable.
6809         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6810         (acos_upward_test_data): New variable.
6811         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6812         (acosh_test_data): New variable.
6813         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
6814         (asin_test_data): New variable.
6815         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
6816         (asin_tonearest_test_data): New variable.
6817         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6818         (asin_towardzero_test_data): New variable.
6819         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6820         (asin_downward_test_data): New variable.
6821         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6822         (asin_upward_test_data): New variable.
6823         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6824         (asinh_test_data): New variable.
6825         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
6826         (atan_test_data): New variable.
6827         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
6828         (atanh_test_data): New variable.
6829         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
6830         (cbrt_test_data): New variable.
6831         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
6832         (ceil_test_data): New variable.
6833         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
6834         (cos_test_data): New variable.
6835         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
6836         (cos_tonearest_test_data): New variable.
6837         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6838         (cos_towardzero_test_data): New variable.
6839         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6840         (cos_downward_test_data): New variable.
6841         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6842         (cos_upward_test_data): New variable.
6843         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6844         (cosh_test_data): New variable.
6845         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
6846         (cosh_tonearest_test_data): New variable.
6847         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6848         (cosh_towardzero_test_data): New variable.
6849         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6850         (cosh_downward_test_data): New variable.
6851         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6852         (cosh_upward_test_data): New variable.
6853         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6854         (erf_test_data): New variable.
6855         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
6856         (erfc_test_data): New variable.
6857         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
6858         (exp_test_data): New variable.
6859         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
6860         (exp_tonearest_test_data): New variable.
6861         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6862         (exp_towardzero_test_data): New variable.
6863         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6864         (exp_downward_test_data): New variable.
6865         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6866         (exp_upward_test_data): New variable.
6867         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6868         (exp10_test_data): New variable.
6869         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
6870         (exp2_test_data): New variable.
6871         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
6872         (expm1_test_data): New variable.
6873         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
6874         (fabs_test_data): New variable.
6875         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
6876         (floor_test_data): New variable.
6877         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
6878         (j0_test_data): New variable.
6879         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
6880         (j1_test_data): New variable.
6881         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
6882         (log_test_data): New variable.
6883         (log_test): Run tests with RUN_TEST_LOOP_f_f.
6884         (log10_test_data): New variable.
6885         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
6886         (log1p_test_data): New variable.
6887         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
6888         (log2_test_data): New variable.
6889         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
6890         (logb_test_data): New variable.
6891         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
6892         (logb_downward_test_data): New variable.
6893         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6894         (nearbyint_test_data): New variable.
6895         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
6896         (rint_test_data): New variable.
6897         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
6898         (rint_tonearest_test_data): New variable.
6899         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6900         (rint_towardzero_test_data): New variable.
6901         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6902         (rint_downward_test_data): New variable.
6903         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6904         (rint_upward_test_data): New variable.
6905         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6906         (round_test_data): New variable.
6907         (round_test): Run tests with RUN_TEST_LOOP_f_f.
6908         (sin_test_data): New variable.
6909         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
6910         (sin_tonearest_test_data): New variable.
6911         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6912         (sin_towardzero_test_data): New variable.
6913         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6914         (sin_downward_test_data): New variable.
6915         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6916         (sin_upward_test_data): New variable.
6917         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6918         (sinh_test_data): New variable.
6919         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
6920         (sinh_tonearest_test_data): New variable.
6921         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6922         (sinh_towardzero_test_data): New variable.
6923         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6924         (sinh_downward_test_data): New variable.
6925         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6926         (sinh_upward_test_data): New variable.
6927         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6928         (sqrt_test_data): New variable.
6929         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
6930         (tan_test_data): New variable.
6931         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
6932         (tan_tonearest_test_data): New variable.
6933         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6934         (tan_towardzero_test_data): New variable.
6935         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6936         (tan_downward_test_data): New variable.
6937         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6938         (tan_upward_test_data): New variable.
6939         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6940         (tanh_test_data): New variable.
6941         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
6942         (tgamma_test_data): New variable.
6943         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
6944         (trunc_test_data): New variable.
6945         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
6946         (y0_test_data): New variable.
6947         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
6948         (y1_test_data): New variable.
6949         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
6950         (significand_test_data): New variable.
6951         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
6953 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
6955         [BZ #12387]
6956         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
6958 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
6960         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
6962 2013-05-10  Andreas Jaeger  <aj@suse.de>
6964         [BZ #15448]
6965         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
6966         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
6968 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
6970         * math/gen-libm-test.pl (adjust_arg): New function.
6971         (special_functions): Handle generating output in both functions
6972         and arrays.
6973         (parse_args): Likewise.
6974         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
6975         $in_func argument to parse_args.
6976         * math/libm-test.inc (struct test_f_f_data): New type.
6977         (IF_ROUND_INIT_): New macro.
6978         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
6979         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6980         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6981         (IF_ROUND_INIT_FE_UPWARD): Likewise.
6982         (ROUND_RESTORE_): Likewise.
6983         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
6984         (ROUND_RESTORE_FE_TONEAREST): Likewise.
6985         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
6986         (ROUND_RESTORE_FE_UPWARD): Likewise.
6987         (RUN_TEST_LOOP_f_f): New macro.
6988         (acos_test_data): New variable.
6989         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
6990         (acos_tonearest_test_data): New variable.
6991         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6993 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6995         * benchtests/bench-skeleton.c (startup): Fix coding style.
6997 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
6999         [BZ #6809]
7000         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
7001         negative infinity argument.
7002         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
7003         negative infinity argument.
7004         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
7005         negative infinity argument.
7006         * math/libm-test.inc (tgamma_test): Expect errno to be set for
7007         domain errors.
7009 2013-05-10  Florian Weimer  <fweimer@redhat.com>
7011         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
7012         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
7013         * iconv/iconv_prog.c (main): Likewise.
7014         * locale/programs/charmap-dir.c (charmap_readdir)
7015         (fopen_uncompressed): Likewise.
7016         * locale/programs/locfile.c (siblings_uncached)
7017         (write_locale_data): Use lstat64 instead of lstat.
7018         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
7019         stat.
7021 2013-05-10  Andreas Jaeger  <aj@suse.de>
7023         [BZ #15395]
7024         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
7025         localization.
7026         Include <locale.h>.
7028 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
7030         * elf/dl-close.c (_dl_close_worker): Add comments.
7032 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
7034         [BZ #15359]
7035         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
7036         high part of pi/2.
7037         (__ieee754_rem_pio2l): Update comments.
7039         [BZ #15429]
7040         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
7041         high part of pi/2.
7042         (__ieee754_rem_pio2l): Update comments.
7044         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
7045         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
7047         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
7048         M_PI_4l.
7050         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
7051         (M_PI_34_LOG10El): Likewise.
7052         (M_PI2_LOG10El): Likewise.
7053         (M_PI4_LOG10El): Likewise.
7054         (M_PI_LOG10El): Likewise.
7056 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7058         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7060 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
7062         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
7063         (MINUS_ZERO_INIT): Likewise.
7064         (PLUS_INFTY_INIT): Likewise.
7065         (MINUS_INFTY_INIT): Likewise.
7066         (QNAN_VALUE_INIT): Likewise.
7067         (MAX_VALUE_INIT): Likewise.
7068         (MIN_VALUE_INIT): Likewise.
7069         (MIN_SUBNORM_VALUE_INIT): Likewise.
7070         (plus_zero): Initialize with PLUS_ZERO_INIT.
7071         (minus_zero): Initialize with MINUS_ZERO_INIT.
7072         (plus_infty): Initialize with PLUS_INFTY_INIT.
7073         (minus_infty): Initialize with MINUS_INFTY_INIT.
7074         (qnan_value): Initialize with QNAN_VALUE_INIT.
7075         (max_value): Initialize with MAX_VALUE_INIT.
7076         (min_value): Initialize with MIN_VALUE_INIT.
7077         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
7079         * math/libm-test.inc (RUN_TEST_if_f): New macro.
7080         (jn_test): Use TEST_if_f instead of TEST_ff_f.
7081         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
7082         (yn_test): Use TEST_if_f instead of TEST_ff_f.
7084         * math/libm-test.inc (RUN_TEST_f_f): New macro.
7085         (RUN_TEST_2_f): Likewise.
7086         (RUN_TEST_ff_f): Likewise.
7087         (RUN_TEST_fi_f): Likewise.
7088         (RUN_TEST_fl_f): Likewise.
7089         (RUN_TEST_fff_f): Likewise.
7090         (RUN_TEST_c_f): Likewise.
7091         (RUN_TEST_f_f1): Likewise.
7092         (RUN_TEST_fF_f1): Likewise.
7093         (RUN_TEST_fI_f1): Likewise.
7094         (RUN_TEST_ffI_f1): Likewise.
7095         (RUN_TEST_c_c): Likewise.
7096         (RUN_TEST_cc_c): Likewise.
7097         (RUN_TEST_f_i): Likewise.
7098         (RUN_TEST_f_i_tg): Likewise.
7099         (RUN_TEST_ff_i_tg): Likewise.
7100         (RUN_TEST_f_b): Likewise.
7101         (RUN_TEST_f_b_tg): Likewise.
7102         (RUN_TEST_f_l): Likewise.
7103         (RUN_TEST_f_L): Likewise.
7104         (RUN_TEST_sincos): Likewise.
7105         * math/gen-libm-test.pl (new_test): Take new argument to indicate
7106         whether to show exceptions.  Do not include ");\n" in return
7107         value.
7108         (special_functions): Output call to RUN_TEST_sincos instead of
7109         check_float calls.  Update calls to new_test.
7110         (parse_args): Output call to single RUN_TEST_* macro instead of
7111         check_* calls and other assignments.  Update calls to new_test.
7113         [BZ #2546]
7114         [BZ #2560]
7115         [BZ #5159]
7116         [BZ #15426]
7117         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
7118         input to result for tgamma overflow.
7119         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
7120         (gamma_coeff): New variable.
7121         (NCOEFF): New macro.
7122         (gamma_positive): New function.
7123         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
7124         underflow here.  Use gamma_positive instead of exp (lgamma) for
7125         other arguments.
7126         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
7127         (gamma_coeff): New variable.
7128         (NCOEFF): New macro.
7129         (gammaf_positive): New function.
7130         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
7131         underflow here.  Use gamma_positive instead of exp (lgamma) for
7132         other arguments.
7133         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
7134         (gamma_coeff): New variable.
7135         (NCOEFF): New macro.
7136         (gammal_positive): New function.
7137         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
7138         underflow here.  Use gamma_positive instead of exp (lgamma) for
7139         other arguments.
7140         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
7141         (gamma_coeff): New variable.
7142         (NCOEFF): New macro.
7143         (gammal_positive): New function.
7144         (__ieee754_gammal_r): Handle positive infinity, overflow and
7145         underflow here.  Handle NaN the same as positive infinity.  Remove
7146         check x < 0xffffffff for negative integers.  Use gamma_positive
7147         instead of exp (lgamma) for other arguments.
7148         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
7149         (gamma_coeff): New variable.
7150         (NCOEFF): New macro.
7151         (gammal_positive): New function.
7152         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
7153         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
7154         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7155         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
7156         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
7157         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7158         * sysdeps/generic/math_private.h (__gamma_productf): New
7159         prototype.
7160         (__gamma_product): Likewise.
7161         (__gamma_productl): Likewise.
7162         * math/Makefile (libm-calls): Add gamma_product.
7163         * math/libm-test.inc (tgamma_test): Add more tests.
7164         * sysdeps/i386/fpu/libm-test-ulps: Update.
7165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7167 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
7169         * benchtests/bench-skeleton.c (main): Preheat CPU.
7171 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
7173         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
7175 2013-05-07  Roland McGrath  <roland@hack.frob.com>
7177         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
7178         and _dl_skip_args_internal.
7180 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
7182         * manual/message.texi (Message Translation): Talk about users.
7183         Message to key mapping impacts design.
7185 2013-05-06  Roland McGrath  <roland@hack.frob.com>
7187         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
7189         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
7191         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
7192         * sysdeps/wordsize-64/glob64.c: ... here.
7194         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
7195         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
7196         New macros.
7198         * debug/getlogin_r_chk.c: Moved to ...
7199         * login/getlogin_r_chk.c: ... here.
7200         * debug/Makefile (routines): Move getlogin_r_chk to ...
7201         * login/Makefile (routines): ... here.
7202         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
7203         * login/Versions (libc: GLIBC_2.4): ... here.
7205         * io/poll.c (__poll): Renamed from poll.
7206         Add libc_hidden_def.
7207         (poll): Define as weak alias.
7209         * debug/ptsname_r_chk.c: Moved to ...
7210         * login/ptsname_r_chk.c: ... here.
7211         * debug/Makefile (routines): Move ptsname_r_chk to ...
7212         * login/Makefile (routines): ... here.
7213         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
7214         * login/Versions (libc: GLIBC_2.4): ... here.
7216         * posix/getlogin.c: Moved to ...
7217         * login/getlogin.c: ... here.
7218         * posix/getlogin_r.c: Moved to ...
7219         * login/getlogin_r.c: ... here.
7220         * posix/getlogin_r.c: Moved to ...
7221         * login/getlogin_r.c: ... here.
7222         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
7223         * login/Makefile (routines): ... here.
7224         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
7225         * login/Versions (libc: GLIBC_2.0): ... here.
7227         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
7228         (setrlimit): Define as weak alias.
7230         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
7231         Call __ names for open, ftruncate, and close.
7232         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
7233         (truncate): Define as weak alias.
7235 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
7237         * math/gen-libm-test.pl (parse_args): Initialize x before each
7238         test of frexp, modf and remquo.
7240         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
7241         test signgam value.
7243 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7245         [BZ #15418]
7246         [BZ #15419]
7247         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
7248         internal tests.
7249         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7251 2013-05-06  Roland McGrath  <roland@hack.frob.com>
7253         * elf/dl-writev.h: New file.
7254         * elf/dl-misc.c: Include it.
7255         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
7256         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
7258 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
7260         * math/libm-test.inc (noXFails): Remove variable.
7261         (noXPasses): Likewise.
7262         (BUILD_COMPLEX_INT): Remove macro.
7263         (print_screen): Remove xfail argument.
7264         (print_screen_max_error): Likewise.
7265         (update_stats): Likewise.
7266         (print_max_error): Likewise.  Update calls to other affected
7267         functions.
7268         (print_complex_max_error): Likewise.
7269         (test_single_exception): Update calls to print_screen.
7270         (test_single_errno): Likewise.
7271         (check_float_internal): Remove xfail argument.  Update calls to
7272         other affected functions.
7273         (check_float): Likewise.
7274         (check_complex): Likewise.
7275         (check_int): Likewise.
7276         (check_long): Likewise.
7277         (check_bool): Likewise.
7278         (check_longlong): Likewise.
7279         (main): Don't print noXFails and noXPasses.
7280         * math/gen-libm-test.pl (top level): Don't mention expected
7281         failure handling in comment.
7282         (new_test): Don't handle expected failures.
7283         (parse_args): Don't mention expected failure handling in comment.
7284         (generate_testfile): Don't handle expected failures.
7285         (parse_ulps): Likewise.
7286         (print_ulps_file): Likewise.
7287         (get_failure): Remove function.
7288         (output_test): Don't handle expected failures.
7289         * make/README.libm-test: Don't mention expected failure handling.
7291         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
7292         (minus_zero): Likewise.
7293         (plus_infty): Likewise.
7294         (minus_infty): Likewise.
7295         (qnan_value): Likewise.
7296         (max_value): Likewise.
7297         (min_value): Likewise.
7298         (min_subnorm_value): Likewise.
7299         (initialize): Do not initialize those variables dynamically.
7301 2013-05-03  Roland McGrath  <roland@hack.frob.com>
7303         * io/open.c (__open_2): Moved to ...
7304         * io/open_2.c: ... this new file.
7305         * io/open64.c (__open64_2): Moved to ...
7306         * io/open64_2.c: ... this new file.
7307         * io/openat.c (__openat_2): Moved to ...
7308         * io/openat_2.c: ... this new file.
7309         * io/openat64.c (__openat64_2): Moved to ...
7310         * io/openat64_2.c: ... this new file.
7311         * io/Makefile (routines): Add them.
7312         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
7313         * sysdeps/unix/sysv/linux/open_2.c: File removed.
7314         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
7315         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
7316         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
7317         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
7318         (__openat64): Add hidden_ver.
7319         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
7320         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
7322         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
7323         Separately conditionalize setting of GLRO(dl_sysinfo) so
7324         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
7325         as well, but the actual setting is only under [NEED_DL_SYSINFO].
7327 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7329         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
7330         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
7331         definition.
7332         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
7333         * sysdeps/unix/sysv/linux/powerpc/init-first.c
7334         (_libc_vdso_platform_setup): Add __vdso_time initialization.
7335         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
7336         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
7338 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
7340         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
7341         test signgam value.
7343         * math/libm-test.inc (hypot_test): Do not use
7344         IGNORE_ZERO_INF_SIGN.
7346 2013-05-03  Andreas Jaeger  <aj@suse.de>
7348         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
7349         Linux 3.9.
7350         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
7351         (PF_MAX): Adjust for VSOCK change.
7353 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7355         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7357 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
7359         [BZ #15264]
7360         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
7361         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
7362         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
7364 2013-05-02  David S. Miller  <davem@davemloft.net>
7366         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7368 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
7370         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
7372 2013-05-01  Roland McGrath  <roland@hack.frob.com>
7374         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
7376 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
7378         [BZ #14952]
7379         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
7380         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7381         Use __attribute__ ((__gnu_inline__)).
7382         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7383         Don't use __attribute__ ((__gnu_inline__)).
7385 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
7387         [BZ #15423]
7388         * math/s_catan.c (__catan): Handle small real or imaginary part of
7389         input specially to avoid spurious underflow.
7390         * math/s_catanf.c (__catanf): Likewise.
7391         * math/s_catanh.c (__catanh): Likewise.
7392         * math/s_catanhf.c (__catanhf): Likewise.
7393         * math/s_catanhl.c (__catanhl): Likewise.
7394         * math/s_catanl.c (__catanl): Likewise.
7395         * math/libm-test.inc (catan_test): Add more tests.
7396         (catanh_test): Likewise.
7397         * sysdeps/i386/fpu/libm-test-ulps: Update.
7398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7400 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7402         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7404 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
7406         [BZ #15416]
7407         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
7408         accurately for denominator in atan2.
7409         * math/s_catanf.c (__catanf): Likewise.
7410         * math/s_catanh.c (__catanh): Likewise.
7411         * math/s_catanhf.c (__catanhf): Likewise.
7412         * math/s_catanhl.c (__catanhl): Likewise.
7413         * math/s_catanl.c (__catanl): Likewise.
7414         * math/libm-test.inc (catan_test): Add more tests.
7415         (catanh_test): Likewise.
7416         * sysdeps/i386/fpu/libm-test-ulps: Update.
7417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7419 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7421         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
7423         * benchtests/Makefile (bench): Remove slow benchmarks.
7424         * benchtests/atan-inputs: Add slow benchmark inputs.
7425         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
7426         (BENCH_FUNC): Accept variant offset.
7427         (VARIANT): Define.
7428         * benchtests/bench-skeleton.c (main): Run benchmark for each
7429         variant.
7430         * benchtests/cos-inputs: Add slow benchmark inputs.
7431         * benchtests/exp-inputs: Likewise.
7432         * benchtests/pow-inputs: Likewise.
7433         * benchtests/sin-inputs: Likewise.
7434         * benchtests/slowatan-inputs: Remove.
7435         * benchtests/slowatan.c: Remove.
7436         * benchtests/slowcos-inputs: Remove.
7437         * benchtests/slowcos.c: Remove.
7438         * benchtests/slowexp-inputs: Remove.
7439         * benchtests/slowexp.c: Remove.
7440         * benchtests/slowpow-inputs: Remove.
7441         * benchtests/slowpow.c: Remove.
7442         * benchtests/slowsin-inputs: Remove.
7443         * benchtests/slowsin.c: Remove.
7444         * benchtests/slowtan-inputs: Remove.
7445         * benchtests/slowtan.c: Remove.
7446         * benchtests/tan-inputs: Add slow benchmark inputs.
7447         * scripts/bench.pl: Parse comments and directives.
7449         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
7450         in CPPFLAGS.
7451         ($(objpfx)bench-%.c): Remove *-ITER.
7452         * benchtests/bench-modf.c: Remove definition of ITER.
7453         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
7454         (main): Loop for DURATION seconds instead of fixed number of
7455         iterations.
7456         * scripts/bench.pl: Don't expect iterations in parameters.
7458 2013-04-29  Roland McGrath  <roland@hack.frob.com>
7460         * io/fchdir.c (__fchdir): Renamed from fchdir.
7461         (fchdir): Define as weak alias.
7463 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
7465         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
7466         (ERRNO_EDOM): Likewise.
7467         (ERRNO_ERANGE): Likewise.
7468         (noErrnoTests): New variable.
7469         (init_max_error): Set errno to 0.
7470         (test_single_errno): New function.
7471         (test_errno): Likewise.
7472         (check_float_internal): Call test_errno.  Set errno to 0.
7473         (check_complex): Refer to errno tests in comment.
7474         (check_int): Call test_errno.  Set errno to 0.
7475         (check_long): Likewise.
7476         (check_bool): Likewise.
7477         (check_longlong): Likewise.
7478         (cos_test): Use ERRNO_* flags for errno tests instead of
7479         check_int.
7480         (expm1_test): Likewise.
7481         (fmod_test): Likewise.
7482         (ilogb_test): Likewise.
7483         (lgamma_test): Likewise.
7484         (pow_test): Likewise.
7485         (remainder_test): Likewise.
7486         (sin_test): Likewise.
7487         (tan_test): Likewise.
7488         (yn_test): Likewise.
7489         (initialize): Set errno to 0.
7490         (main): Print number of errno tests.
7491         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
7493 2013-04-29  Andreas Jaeger  <aj@suse.de>
7495         [BZ #15084]
7496         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
7497         and RES_USEVC.
7499         [BZ #15085]
7500         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
7501         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
7502         unimplemented.
7504         [BZ #15380]
7505         * stdlib/random.c (__initstate): Return NULL if
7506         __initstate fails.
7508         [BZ #15086]
7509         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
7510         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
7511         RES_SNGLKUPREOP.
7513 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7515         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7517 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
7519         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
7520         of individual tests.
7521         (casin_test): Likewise.
7522         (casinh_test): Likewise.
7524 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
7526         [BZ #15409]
7527         * math/s_catan.c (__catan): Handle arguments with large real or
7528         imaginary part separately without squaring.
7529         * math/s_catanf.c (__catanf): Likewise.
7530         * math/s_catanh.c (__catanh): Likewise.
7531         * math/s_catanhf.c (__catanhf): Likewise.
7532         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7533         and redefine.
7534         (__catanhl): Handle arguments with large real or imaginary part
7535         separately without squaring.
7536         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7537         and redefine.
7538         (__catanl): Handle arguments with large real or imaginary part
7539         separately without squaring.
7540         * math/libm-test.inc (catan_test): Add more tests.
7541         (catanh_test): Likewise.
7542         * sysdeps/i386/fpu/libm-test-ulps: Update.
7543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7545 2013-04-27  Andreas Jaeger  <aj@suse.de>
7547         [BZ #15007]
7548         * stdlib/stdlib.h: Update guards for qecvt.
7549         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
7550         <stdlib.h>.
7552 2013-04-27  Allan McRae  <allan@archlinux.org>
7554         * sysdeps/i386/fpu/libm-test-ulps: Update.
7556 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
7558         [BZ #15406]
7559         * math/s_catan.c: Include <float.h>.
7560         (__catan): Ensure underflow exception occurs for underflowed
7561         result.
7562         * math/s_catanf.c: Include <float.h>.
7563         (__catanf): Ensure underflow exception occurs for underflowed
7564         result.
7565         * math/s_catanh.c: Include <float.h>.
7566         (__catanh): Ensure underflow exception occurs for underflowed
7567         result.
7568         * math/s_catanhf.c: Include <float.h>.
7569         (__catanhf): Ensure underflow exception occurs for underflowed
7570         result.
7571         * math/s_catanhl.c: Include <float.h>.
7572         (__catanhl): Ensure underflow exception occurs for underflowed
7573         result.
7574         * math/s_catanl.c: Include <float.h>.
7575         (__catanl): Ensure underflow exception occurs for underflowed
7576         result.
7577         * math/libm-test.inc (catan_test): Add more tests.
7578         (catanh_test): Likewise.
7580         [BZ #15405]
7581         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
7582         underflowed result.
7583         * math/s_ccoshf.c (__ccoshf): Likewise.
7584         * math/s_ccoshl.c (__ccoshl): Likewise.
7585         * math/s_csin.c (__csin): Likewise.
7586         * math/s_csinf.c (__csinf): Likewise.
7587         * math/s_csinh.c (__csinh): Likewise.
7588         * math/s_csinhf.c (__csinhf): Likewise.
7589         * math/s_csinhl.c (__csinhl): Likewise.
7590         * math/s_csinl.c (__csinl): Likewise.
7591         * math/libm-test.inc (ccos_test): Add more tests.
7592         (ccosh_test): Likewise.
7593         (csin_test): Likewise.
7594         (csinh_test): Likewise.
7596 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7598         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
7599         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
7600         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
7601         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
7602         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
7603         powerpc/power5+/fpu folders.
7604         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
7607 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
7609         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7611 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
7613         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
7614         additions to variable.
7615         [$(config-machine) = x86_64] (modules-names): Likewise.
7616         ($(objpfx)tst-audit3): Remove dependency.
7617         ($(objpfx)tst-audit3.out): Likewise.
7618         ($(objpfx)tst-audit4): Likewise.
7619         ($(objpfx)tst-audit4.out): Likewise.
7620         ($(objpfx)tst-audit5): Likewise.
7621         ($(objpfx)tst-audit5.out): Likewise.
7622         ($(objpfx)tst-audit6): Likewise.
7623         ($(objpfx)tst-audit6.out): Likewise.
7624         ($(objpfx)tst-audit7): Likewise.
7625         ($(objpfx)tst-audit7.out): Likewise.
7626         (tst-audit3-ENV): Remove variable.
7627         (tst-audit4-ENV): Likewise.
7628         (tst-audit5-ENV): Likewise.
7629         (tst-audit6-ENV): Likewise.
7630         (tst-audit7-ENV): Likewise.
7631         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
7632         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
7633         addition to variable.
7634         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
7635         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
7636         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
7637         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
7638         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
7639         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
7640         tst-audit3, tst-audit4 and tst-audit5.
7641         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
7642         tst-audit6 and tst-audit7.
7643         [$(subdir) = elf] (modules-names): Add audit modules for those
7644         tests.
7645         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
7646         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
7647         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
7648         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
7649         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
7650         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
7651         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
7652         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
7653         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
7654         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
7655         [$(subdir) = elf] (tst-audit3-ENV): New variable.
7656         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
7657         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
7658         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
7659         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
7660         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
7661         Likewise.
7662         [$(subdir) = elf && $(config-cflags-avx) = yes]
7663         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
7664         [$(subdir) = elf && $(config-cflags-avx) = yes]
7665         (CFLAGS-tst-auditmod4a.c): Likewise.
7666         [$(subdir) = elf && $(config-cflags-avx) = yes]
7667         (CFLAGS-tst-auditmod4b.c): Likewise.
7668         [$(subdir) = elf && $(config-cflags-avx) = yes]
7669         (CFLAGS-tst-auditmod6b.c): Likewise.
7670         [$(subdir) = elf && $(config-cflags-avx) = yes]
7671         (CFLAGS-tst-auditmod6c.c): Likewise.
7672         [$(subdir) = elf && $(config-cflags-avx) = yes]
7673         (CFLAGS-tst-auditmod7b.c): Likewise.
7674         * elf/tst-audit3.c: Move to ...
7675         * sysdeps/x86_64/tst-audit3.c: ... here.
7676         * elf/tst-audit4.c: Move to ...
7677         * sysdeps/x86_64/tst-audit4.c: ... here.
7678         * elf/tst-audit5.c: Move to ...
7679         * sysdeps/x86_64/tst-audit5.c: ... here.
7680         * elf/tst-audit6.c: Move to ...
7681         * sysdeps/x86_64/tst-audit6.c: ... here.
7682         * elf/tst-audit7.c: Move to ...
7683         * sysdeps/x86_64/tst-audit7.c: ... here.
7684         * elf/tst-auditmod3a.c: Move to ...
7685         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
7686         * elf/tst-auditmod3b.c: Move to ...
7687         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
7688         * elf/tst-auditmod4a.c: Move to ...
7689         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
7690         * elf/tst-auditmod4b.c: Move to ...
7691         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
7692         * elf/tst-auditmod5a.c: Move to ...
7693         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
7694         * elf/tst-auditmod5b.c: Move to ...
7695         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
7696         * elf/tst-auditmod6a.c: Move to ...
7697         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
7698         * elf/tst-auditmod6b.c: Move to ...
7699         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
7700         * elf/tst-auditmod6c.c: Move to ...
7701         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
7702         * elf/tst-auditmod7a.c: Move to ...
7703         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
7704         * elf/tst-auditmod7b.c: Move to ...
7705         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
7707 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
7709         [BZ #15366]
7710         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
7711         define unconditionally.
7712         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
7713         define unconditionally.
7714         (INT8_C, INT16_C, etc.): Likewise.
7716 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
7718         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
7719         __ehdr_start with hidden visibility.
7721         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
7723 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
7725         * math/libm-test.inc (cos_test): Use accurate hex constants.
7726         (sincost_test): Likewise.
7728 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
7730         * math/libm-test.inc (catan_test): Add more tests.
7731         (catanh_test): Likewise.
7733         * math/s_catanf.c (__catanf): Use suffixed floating-point
7734         constants.
7735         * math/s_catanhf.c (__catanhf): Likewise.
7736         * math/s_catanhl.c (__catanhl): Likewise.
7737         * math/s_catanl.c (__catanl): Likewise.
7739         [BZ #15394]
7740         * math/s_catan.c (__catan): Calculate imaginary part of result
7741         with log1p not log unless computing log of number close to 0.
7742         * math/s_catanf.c (__catanf): Likewise.
7743         * math/s_catanl.c (__catanl): Likewise.
7744         * math/s_catanh.c (__catanh): Calculate real part of result with
7745         log1p not log unless computing log of number close to 0.
7746         * math/s_catanhf.c (__catanhf): Likewise.
7747         * math/s_catanhl.c (__catanhl): Likewise.
7748         * math/libm-test.inc (catan_test): Add more tests.
7749         (catanh_test): Likewise.
7750         * sysdeps/i386/fpu/libm-test-ulps: Update.
7751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7753 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7755         * benchtests/Makefile: Mention files in which fast and slow
7756         paths of math functions are implemented.
7758 2013-04-23  Roland McGrath  <roland@hack.frob.com>
7760         * sysdeps/posix/timespec_get.c: New file.
7762 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7764         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
7765         POWER.
7766         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
7767         for POWER.
7768         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
7769         powerpc/power5/fpu folders.
7770         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
7771         * benchtests/Makefile: Add modf testcase.
7772         * benchtests/bench-modf.c: New file: Benchmark test for mo
7774 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
7776         [BZ #14888]
7777         * time/Makefile (tests): Add tst-strptime-whitespace.
7778         * time/strptime_l.c (get_number): Use ISSPACE.
7779         (__strptime_internal): Likewise.
7780         * time/tst-strptime-whitespace.c: New test case.
7782 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
7784         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
7785         member.
7786         (_nss_files_init): Set it here.
7788 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
7790         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
7791         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
7792         unsigned.
7794 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
7796         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
7798 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7800         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
7801         size just once.
7803 2013-04-21  David S. Miller  <davem@davemloft.net>
7805         * po/ru.po: Update Russion translation from translation project.
7807 2013-04-17  Adam Conrad  <adconrad@0c3.net>
7809         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
7810         and setfsgid.
7812 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
7814         * configure.in: Remove i386 configure warning. Remove i386 case.
7815         * configure: Regenerate.
7816         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
7817         Add example to error message.
7818         * sysdeps/i386/configure: Regenerate.
7820 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7822         * benchtests/Makefile (bench): Add cos, tan, slowcos and
7823         slowtan.
7824         * benchtests/cos-inputs: New file.
7825         * benchtests/slowcos-inputs: New file.
7826         * benchtests/slowcos.c: New file.
7827         * benchtests/slowtan-inputs: New file.
7828         * benchtests/slowtan.c: New file.
7829         * benchtests/tan-inputs: New file.
7831 2013-04-16  Roland McGrath  <roland@hack.frob.com>
7833         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
7834         considered kosher.
7836 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7838         * benchtests/Makefile: Include cppflags-iterator.mk to add
7839         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
7841         * Makefile.in (bench-clean): New target.
7842         * benchtests/Makefile (bench-clean): Likewise.
7844 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
7846         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
7848 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
7850         * stdio-common/tstdiomisc.c: Fix coding-style violation.
7852 2013-04-15  Andreas Schwab  <schwab@suse.de>
7854         * nscd/grpcache.c (cache_addgr): Properly check for short write.
7855         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7856         * nscd/pwdcache.c (cache_addpw): Likewise.
7857         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
7858         more than recsize.
7860 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7862         * benchtests/Makefile (bench): Write all output to
7863         bench-out.tmp together.
7865 2013-04-15  Andreas Schwab  <schwab@suse.de>
7867         * nscd/nscd.c (main): Don't fork again after closing files.
7869 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7871         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
7873         * benchtests/Rules (bench-deps): Collect dependencies into a
7874         single variable.  Add Makefile to dependencies.
7875         ($(objpfx)bench-%.c): Depend on bench-deps.
7877 2013-04-12  Roland McGrath  <roland@hack.frob.com>
7878             Xavier Roche  <roche+kml2@exalead.com>
7880         [BZ #15361]
7881         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
7882         just that it's a file descriptor.
7883         * manual/llio.texi (Synchronizing AIO Operations): Update description
7884         for EBADF error from aio_fsync.
7886 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7888         * Rules (bench): Move target definition...
7889         * benchtests/Makefile: ... here.
7891 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
7893         * math/libm-test.inc (cos_test): Fix PI/2 test.
7894         (sincos_test): Likewise.
7895         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7896         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7898 2013-04-11  Andreas Schwab  <schwab@suse.de>
7900         [BZ #13988]
7901         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
7902         accept exponent character only when digits were seen.
7903         * stdio-common/Makefile (tests): Add bug26.
7904         * stdio-common/bug26.c: New file.
7906         [BZ #14293]
7907         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
7908         non-freeable.
7910 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7912         * Makeconfig (rtld-prefix): Define built linker prefix.
7913         * Rules (run-bench): Use it.
7914         * math/Makefile (run-regen-ulps): Likewise.
7916         * Rules (bench): Remove eval.
7918 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7919             Roland McGrath  <roland@hack.frob.com>
7920             Ondrej Bilka  <neleai@seznam.cz>
7922         [BZ #15346]
7923         * time/getdate.c: Include ctype.h and alloca.h.
7924         (__getdate_r): Trim leading and trailing spaces of input.
7925         * time/tst-getdate.c (tests): Add tests with leading and
7926         trailing spaces.
7928 2013-04-08  Roland McGrath  <roland@hack.frob.com>
7930         [BZ #14280]
7931         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
7932         when computing value.
7934 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
7936         * math/README.libm-test (How can I generate "libm-test-ulps"?):
7937         Use testrun.sh to run libm tests.
7939         [BZ #15309]
7940         * elf/dl-open.c (dl_open_worker): memset all of seen array.
7942 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
7944         [BZ #15264]
7945         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
7947 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
7949         * Makefile.in (regen-ulps): New target.
7950         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
7951         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
7952         [ifneq (no,$(PERL)] (regen-ulps): New target.
7953         [ifeq (no,$(PERL)] (regen-ulps): New target.
7954         * math/libm-test.inc (ulps_file_name): Define.
7955         (output_dir): New variable.
7956         (options): Add "output-dir" option.
7957         (parse_opt): Handle 'o' case.
7958         (main): If output_dir is non-NULL use it as a prefix
7959         otherwise use "".
7960         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
7962 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
7964         [BZ #10060, #10062]
7965         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
7966         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
7967         fail configure if __sync_val_compare_and_swap is not inlined.
7968         * sysdeps/i386/configure: Regenerate.
7969         * configure.in: Build for i686 when configured for i386.
7970         * configure: Regenerate.
7971         * README: Remove i386 reference.
7973 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
7975         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
7976         * sysdeps/s390/s390-64/sysdep.h: Likewise.
7978 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
7980         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
7981         (lmsnanval): New variables.
7982         (F): Add conversion tests.
7983         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
7984         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
7986         * stdio-common/tstdiomisc.c (F): Properly collect individual
7987         tests' results.
7989         [BZ #14686, #15336]
7990         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
7991         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7992         Instead, use input NaN values or generate a qNaN by arithmetic
7993         operation.  Also fix bugs to comply with the standard.
7994         * math/libm-test.inc (remainder_test): Add more tests.
7996         [BZ #15335, #15342]
7997         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
7998         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
7999         input NaN values or generate a qNaN by arithmetic operation.
8001         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
8002         unreachable code.
8004         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
8005         definitions.
8007 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
8009         [BZ #14478]
8010         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
8011         underflowed result.
8012         * math/s_cexpf.c (__cexpf): Likewise.
8013         * math/s_cexpl.c (__cexpl): Likewise.
8014         * math/libm-test.inc (cexp_test): Add more tests.
8016 2013-04-03  Andreas Schwab  <schwab@suse.de>
8018         [BZ #15330]
8019         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
8020         order arrays from heap if bigger than alloca cutoff.
8022 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
8024         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
8025         (SNAN_TESTS_double): Refer to GCC PR56831.
8026         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
8027         GCC PR56828.
8029 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
8031         * Rules (bench): Move bench.out after the run is complete.
8033         * Rules (bench): Echo currently running benchmark.
8035         * benchtests/Makefile (bench): Add atan and slowatan.
8036         * benchtests/atan-inputs: New file.
8037         * benchtests/slowatan-inputs: New file.
8038         * benchtests/slowatan.c: New file.
8040         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
8041         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
8042         its value.
8044         [BZ #15305]
8045         * sysdeps/unix/sysv/linux/kernel-features.h
8046         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
8047         __ASSUME_XFS_RESTRICTED_CHOWN.
8048         * sysdeps/unix/sysv/linux/pathconf.c
8049         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8050         Save and restore errno.
8052 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
8054         [BZ #15327]
8055         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
8056         arguments using __kernel_casinh.
8057         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
8058         arguments using __kernel_casinhf.
8059         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
8060         arguments using __kernel_casinhl.
8061         * math/libm-test.inc (cacosh_test): Add more tests.
8062         * sysdeps/i386/fpu/libm-test-ulps: Update.
8063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8065 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8067         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
8068         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
8070         * bench/Makefile (bench): Add sin and slowsin.
8071         * benchtests/sin-inputs: New file.
8072         * benchtests/slowsin-inputs: New file.
8073         * benchtests/slowsin.c: New file.
8075         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
8076         (bench): Add slowexp and slowpow.
8077         (exp-ITER): Increase iterations.
8078         (pow-ITER): Likewise.
8079         * benchtests/exp-inputs: Change input.
8080         * benchtests/pow-inputs: Likewise.
8081         * benchtests/slowexp-inputs: New file.
8082         * benchtests/slowexp.c: New file.
8083         * benchtests/slowpow-inputs: New file.
8084         * benchtests/slowpow.c: New file.
8086 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8088         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
8089         instructions.
8090         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8091         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
8092         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8093         * benchtests/Makefile: Add rint benchtest.
8094         * benchtests/rint-inputs: Input for rint benchtest.
8096 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
8098         * Versions.def (libm): Add GLIBC_2.18.
8099         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
8100         hidden libm prototypes.
8101         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
8102         * math/Makefile (libm-calls): Add s_issignaling.
8103         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
8104         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
8105         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
8106         declaration.
8107         * math/math.h [__USE_GNU] (issignaling): New macro.
8108         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
8109         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
8110         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
8111         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
8112         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
8113         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
8114         * manual/arith.texi (issignaling): New section.
8115         * manual/libm-err-tab.pl (@all_functions): Update comment.
8116         * math/gen-libm-test.pl (parse_args): Apply special handling for
8117         issignaling.
8118         * math/libm-test.inc (print_float, issignaling_test): New
8119         functions.
8120         (check_float_internal): Add issignaling checks.
8121         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
8122         default definition.
8123         * sysdeps/powerpc/math-tests.h: New file.
8124         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
8125         tests.
8126         * math/test-snan.c (TEST_FUNC): Likewise.
8128 2013-03-30  David S. Miller  <davem@davemloft.net>
8130         * po/de.po: Update from translation team.
8132 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
8134         [BZ #10357]
8135         * math/k_casinh.c (__kernel_casinh): Handle arguments with
8136         imaginary part less than 1.0 and real part less than 0.5
8137         specially.
8138         * math/k_casinhf.c (__kernel_casinhf): Likewise.
8139         * math/k_casinhl.c (__kernel_casinhl): Likewise.
8140         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
8141         (cacos_test): Add more tests.
8142         (casin_test): Likewise.
8143         (casinh_test): Likewise.
8144         * sysdeps/i386/fpu/libm-test-ulps: Update.
8145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8147 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8149         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
8150         ONE with its value.
8152         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
8153         (__pow_mp): Replace ONE and MONE with their values.
8154         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8155         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
8156         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8157         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
8158         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8159         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8161         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
8163         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
8164         (__pow_mp): Replace ZERO and MZERO with their values.
8165         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8166         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8167         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8168         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8169         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8170         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
8171         (__sqr): Likewise.
8173         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
8175         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
8177 2013-03-28  Roland McGrath  <roland@hack.frob.com>
8179         * include/stdlib.h [!SHARED] (__call_tls_dtors):
8180         Declare with __attribute__ ((weak)).
8181         * stdlib/exit.c (__libc_atexit) [!SHARED]:
8182         Call __call_tls_dtors only if it's not NULL.
8184 2013-03-28  Roland McGrath  <roland@hack.frob.com>
8186         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
8187         didn't do it already, then set _dl_phdr and _dl_phnum based on the
8188         magic __ehdr_start linker symbol if it's defined.
8189         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
8190         them up here if it was already done.
8192         * elf/dl-support.c (_dl_phdr): Make pointer to const.
8193         (_dl_aux_init): Use const in cast when setting it.
8194         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
8195         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
8196         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
8198         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
8199         Declare them here.
8200         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
8201         * csu/libc-tls.c: Nor here.
8202         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
8204         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
8205         (__libc_message): Never call vsyslog.
8207 2013-03-28  Alan Modra  <amodra@gmail.com>
8209         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
8210         Define as empty.
8211         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
8212         Likewise.
8214 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8216         [BZ #15214]
8217         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
8218         underflow.
8219         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8221 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8223         [BZ #15304]
8224         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8225         Don't add gid passed as argument.
8227         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
8229 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
8231         [BZ #15307]
8232         * math/k_casinh.c (__kernel_casinh): Handle arguments with
8233         imaginary part between 1.0 and 1.5 and real part less than 0.5
8234         specially.
8235         * math/k_casinhf.c (__kernel_casinhf): Likewise.
8236         * math/k_casinhl.c (__kernel_casinhl): Likewise.
8237         * math/libm-test.inc (cacos_test): Add more tests.
8238         (casin_test): Likewise.
8239         (casinh_test): Likewise.
8240         * sysdeps/i386/fpu/libm-test-ulps: Update.
8241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8243 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8245         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
8246         constants.
8247         (norm): Likewise.
8248         (denorm): Likewise.
8249         (__dbl_mp): Likewise.
8250         (add_magnitudes): Likewise.
8251         (sub_magnitudes): Likewise.
8252         (__add): Likewise.
8253         (__sub): Likewise.
8254         (__mul): Likewise.
8255         (__sqr): Likewise.
8256         (__inv): Likewise.
8257         (__dvd): Likewise.
8259         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
8260         commented code.
8261         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
8262         (__dubcos): Likewise.
8263         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
8264         (__ieee754_acos): Likewise.
8265         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8266         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
8267         (__exp1): Likewise.
8268         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8269         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8270         (log1): Likewise.
8271         (my_log2): Likewise.
8272         (checkint): Likewise.
8273         * sysdeps/ieee754/dbl-64/e_remainder.c
8274         (__ieee754_remainder): Likewise.
8275         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8276         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
8277         (bsloww): Likewise.
8278         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8280         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8281         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
8282         MANTISSA_STORE_T to store computations on mantissa.  Use
8283         macros for rounding and division.
8284         (denorm): Likewise.
8285         (__dbl_mp): Likewise.
8286         (add_magnitudes): Likewise.
8287         (sub_magnitudes): Likewise.
8288         (__mul): Likewise.
8289         (__sqr): Likewise.
8290         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
8291         powers of two in terms of TWOPOW macro.
8292         (mp_no): Make type of mantissa as MANTISSA_T.
8293         [!RADIXI]: Define RADIXI.
8294         [!TWO52]: Define TWO52.
8295         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8297 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8299         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
8300         llroundl symbol when building for PPC32.
8302 2013-03-24  Mark H Weaver  <mhw@netris.org>
8304         * manual/arith.texi (Normalization Functions): Fix prototypes for
8305         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
8307 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8309         [BZ #13889]
8310         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
8311         high value to check if expl overflow.
8312         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
8313         to check for underflow and overflow.
8314         * math/libm-test.inc: Add exp test.
8316 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
8318         [BZ #11120]
8319         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
8320         with NOT_IN_libc.
8322 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8324         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
8325         symbol.
8327 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
8329         * math/gen-libm-test.pl (parse_args, special_functions): Properly
8330         wrap blocks consisting of several statements.
8332         * sysdeps/generic/math-tests.h: New file.
8333         * sysdeps/i386/fpu/math-tests.h: Likewise.
8334         * math/test-snan.c: Include it.
8335         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
8337 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
8339         [BZ #15285]
8340         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
8341         (__ieee754_j0l): Do not improve calculations using cos of twice
8342         input for inputs above LDBL_MAX / 2.0L.
8343         (__ieee754_y0l): Likewise.
8344         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
8345         (__ieee754_j1l): Do not improve calculations using cos of twice
8346         input for inputs above LDBL_MAX / 2.0L.
8347         (__ieee754_y1l): Likewise.
8348         * math/libm-test.inc (j0_test): Add another test.
8349         (j1_test): Likewise.
8350         (y0_test): Likewise.
8351         (y1_test): Likewise.
8352         * sysdeps/i386/fpu/libm-test-ulps: Update.
8354 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8356         * Rules ($(objpfx)bench-%.c): Include code from a C source
8357         file.
8359 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
8361         [BZ #15287]
8362         * math/k_casinh.c (__kernel_casinh): Handle arguments with
8363         imaginary part 1.0 and real part less than 0.5 specially.
8364         * math/k_casinhf.c (__kernel_casinhf): Likewise.
8365         * math/k_casinhl.c (__kernel_casinhl): Likewise.
8366         * math/libm-test.inc (cacos_test): Add more tests.
8367         (casin_test): Likewise.
8368         (casinh_test): Likewise.
8369         * sysdeps/i386/fpu/libm-test-ulps: Update.
8370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8372 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8374         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
8375         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
8377 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
8379         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
8380         * config.make.in (config-cflags-sse4): Remove variable.
8381         (config-cflags-avx): Likewise.
8382         (config-cflags-sse2avx): Likewise.
8383         (config-cflags-novzeroupper): Likewise.
8384         (config-asflags-i686): Likewise.
8385         (have-mfma4): Likewise.
8386         (have-as-vis3): Likewise.
8387         (MIG): Likewise.
8388         * configure.in (MIG): Do not AC_SUBST.
8389         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
8390         (libc_cv_cc_sse4): Do not AC_SUBST.
8391         (libc_cv_cc_avx): Likewise.
8392         (libc_cv_cc_sse2avx): Likewise.
8393         (libc_cv_cc_novzeroupper): Likewise.
8394         (libc_cv_cc_fma4): Likewise.
8395         (libc_cv_as_i686): Likewise.
8396         (libc_cv_sparc_as_vis3): Likewise.
8397         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
8398         LIBC_CONFIG_VAR.
8399         (config-asflags-i686): Likewise.
8400         (config-cflags-avx): Likewise.
8401         (config-cflags-sse2avx): Likewise.
8402         (have-mfma4): Likewise.
8403         (config-cflags-novzeroupper): Likewise.
8404         * sysdeps/mach/configure.in (MIG): Likewise.
8405         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
8406         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
8407         LIBC_CONFIG_VAR.
8408         (config-cflags-avx): Likewise.
8409         (config-cflags-sse2avx): Likewise.
8410         (have-mfma4): Likewise.
8411         (config-cflags-novzeroupper): Likewise.
8412         * configure: Regenerated.
8413         * sysdeps/i386/configure: Likewise.
8414         * sysdeps/mach/configure: Likewise.
8415         * sysdeps/sparc/configure: Likewise.
8416         * sysdeps/x86_64/configure: Likewise.
8418 2013-03-20  Roland McGrath  <roland@hack.frob.com>
8420         [BZ #14812]
8421         * locale/programs/localedef.c (options): Put N_ translation marker
8422         on argument names, not just descriptions.
8424 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8426         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
8428 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
8430         [BZ #14176]
8431         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
8433 2013-03-19  Roland McGrath  <roland@hack.frob.com>
8435         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
8436         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
8437         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
8438         [!BEFORE_ABORT] (before_abort): New function.
8439         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
8440         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
8441         (writev_for_fatal): New function.
8442         (WRITEV_FOR_FATAL): New macro; call that.
8443         (backtrace_and_maps): New function.
8444         (BEFORE_ABORT): New macro; call that.
8445         (struct str_list): Type removed.
8446         (__libc_message, __libc_fatal): Functions removed.
8447         Include <sysdeps/posix/libc_fatal.c> instead.
8449 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
8451         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
8452         constants.
8453         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
8454         double constants.
8456 2013-03-19  Andreas Schwab  <schwab@suse.de>
8458         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
8459         * sysdeps/gnu/configure: Regenerate.
8461         * configure.in: Substitute libc_cv_rtlddir.
8462         * configure: Regenerate.
8463         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
8464         * Makeconfig (rtlddir, inst_rtlddir): New variables.
8465         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
8466         * elf/Makefile (install-others, CFLAGS-interp.c)
8467         (ldso_install, common-ldd-rewrite): Likewise.
8468         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
8469         $(inst_slibdir)/$(rtld-installed-name).
8470         * scripts/rellns-sh: Add -p option.
8471         * Makerules (make-shlib-link): Use rellns-sh to get relative name
8472         for source.
8474 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8476         * manual/nptl.texi: Renamed to ...
8477         * manual/threads.texi: ... this.
8478         * manual/Makefile (chapters): Update.
8480 2013-03-18  Roland McGrath  <roland@hack.frob.com>
8482         [BZ #14812]
8483         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
8484         on argument names, not just descriptions.
8485         * malloc/memusagestat.c (options): Likewise.
8486         * nss/getent.c (options): Likewise.
8488 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
8490         [BZ #14812]
8491         * iconv/iconv_prog.c (options): Put N_ translation marker
8492         on argument names, not just descriptions.
8493         * iconv/iconvconfig.c (options): Likewise.
8495 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
8497         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
8498         implementation which is faster on all x86_64 architectures.
8499         Tested on AMD, Intel Nehalem, SNB, IVB.
8500         * sysdeps/x86_64/strnlen.S: Likewise.
8502         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8503         Remove all multiarch strlen and strnlen versions.
8504         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8505         Remove strlen and strnlen related parts.
8507         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
8508         Inline strlen part.
8509         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8511         * sysdeps/x86_64/multiarch/strlen.S: Remove.
8512         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
8513         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
8514         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
8515         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8516         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
8518 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
8520         * manual/memory.texi (Malloc Tunable Parameters):
8521         Sort parameters alphabetically. Add comments for missing entries.
8523 2013-03-17  David S. Miller  <davem@davemloft.net>
8525         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8527 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
8529         [BZ #15283]
8530         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
8531         for arguments at most half maximum finite value.
8532         * math/libm-test.inc (j0_test): Add more tests.
8533         (j1_test): Likewise.
8534         (y0_test): Likewise.
8535         (y1_test): Likewise.
8536         * sysdeps/i386/fpu/libm-test-ulps: Update.
8537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8539         [BZ #14155]
8540         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
8541         1 / x and functions P and Q for arguments above 0x1p256L.
8542         (__ieee754_y0l): Likewise.
8543         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
8544         (__ieee754_y1l): Likewise.
8545         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
8546         (j1_test): Likewise.
8547         (y0_test): Likewise.
8548         (y1_test): Likewise.
8550 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
8552         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
8553         variable.
8555 2013-03-15  Roland McGrath  <roland@hack.frob.com>
8557         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
8558         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
8559         zero since it's initialized to EXEC_PAGESIZE.
8561         * sysdeps/unix/sysv/linux/ldsodefs.h
8562         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
8563         * sysdeps/generic/ldsodefs.h: ... here.
8565 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
8567         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
8569         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
8570         math/test-snan.c.
8571         * math/test-snan.c: Renamed from
8572         sysdeps/powerpc/fpu/test-powerpc-snan.c.
8573         * math/Makefile (tests): Add test-snan.
8574         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
8575         test-powerpc-snan.
8577         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
8578         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
8579         functions.
8580         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
8581         __builtin_nan family of functions.
8582         * math/libm-test.inc (initialize): Initialize qnan_value with
8583         __builtin_nan family of functions.
8584         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
8585         Remove variables.
8586         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
8587         Remove functions.
8588         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
8589         storage class.  Initialize qNaN_var and sNaN_var with
8590         __builtin_nan and __builtin_nans families of functions,
8591         respectively.
8593         * math/libm-test.inc (acosh_test): Also test with qNaN input.
8594         (sqrt_test): Remove duplicate test with qNaN input.
8595         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
8596         (round_test, signbit_test, significand_test): Note missing +/-Inf
8597         as well as qNaN tests.
8599         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
8600         qNaN_var.  Fix a few strings, too.
8601         * math/libm-test.inc (nan_value): Rename to qnan_value.
8602         * math/gen-libm-test.pl (%beautify): Adjust to that.
8603         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
8604         * math/test-misc.c (main): Likewise.
8605         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
8606         to __qnan_bytes, and __qnan_union, respectively.
8607         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
8608         Likewise.
8609         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
8610         and lqnanval, respectively.
8611         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
8612         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
8613         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
8614         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
8616         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
8617         * math/test-misc.c (main) [__x86_64__]: Enable test for long
8618         doubles.
8620         * math/test-misc.c (main): Fix copy'n'pastos.
8621         * misc/tst-efgcvt.c (special): Likewise.
8623         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
8624         Remove declarations.
8626 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8628         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
8629         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
8630         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
8631         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
8633 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8635         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
8636         macro to return vdso values correctly in IFUNC implementations.
8637         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8638         Optimization by using IFUNC.
8640 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8641             Richard Henderson  <rth@redhat.com>
8642             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8644         * Makefile.in (bench): New target.
8645         * NEWS: Mention the benchmark framework.
8646         * Rules (bench): Likewise.
8647         (binaries-bench): Generate binaries for functions to
8648         benchmark.
8649         * benchtests/Makefile: New makefile for benchmark tests.
8650         * benchtests/bench-skeleton.c: New skeleton file for benchmark
8651         programs.
8652         * benchtests/exp-inputs: New input file for EXP function.
8653         * benchtests/pow-inputs: New input file for POW function.
8654         * scripts/bench.pl: New script to generate source files for
8655         benchmark programs.
8657 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8659         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8660         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
8661         computations on mantissa.  Use macros for rounding and
8662         division.
8663         (denorm): Likewise.
8664         (__dbl_mp): Likewise.
8665         (add_magnitudes): Likewise.
8666         (sub_magnitudes): Likewise.
8667         (__mul): Likewise.
8668         (__sqr): Likewise.
8669         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
8670         powers of two in terms of TWOPOW macro.
8671         (mp_no): Make type of mantissa as MANTISSA_T.
8672         [!RADIXI]: Define RADIXI.
8673         [!TWO52]: Define TWO52.
8674         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8676         * manual/nptl.texi (cindex): Modify threads to pthreads.
8678 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
8680         * sysdeps/x86_64/preconfigure: Regenerated.
8682 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
8684         [BZ #14155]
8685         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
8686         0x1p28 and above.
8687         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
8688         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
8689         0x1p28 and above.
8690         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
8691         * math/libm-test.inc (j0_test): Do not allow one spurious
8692         underflow exception.
8693         (y1_test): Likewise.
8695 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8697         * manual/Makefile (chapters): Add nptl.
8698         * manual/debug.texi (Debugging Support): Add link to Threads
8699         chapter.
8700         * manual/nptl.texi: New file.
8702         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
8704 2013-03-14  Petr Baudis  <pasky@ucw.cz>
8706         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
8707         for non-NULL pointer before the memory validity test. Pointed
8708         out by Holger Brunck <holger.brunck@keymile.com>.
8710 2013-03-13  Andreas Schwab  <schwab@suse.de>
8712         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
8713         instead of .os.
8715 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
8717         * timezone/zic.c: Update from tzcode 2013b.
8719 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
8721         * manual/install.texi (Configuring and compiling):
8722         Mention i686 and i586.
8723         * INSTALL: Regenerate.
8725 2013-03-12  Roland McGrath  <roland@hack.frob.com>
8727         * sysdeps/init_array/elf-init.c: New file.
8728         * csu/elf-init.c
8729         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
8730         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
8732         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
8733         __gmon_start__ as global, but as static with a .preinit_array pointer.
8734         * sysdeps/init_array/gmon-start.c: New file.  Use that.
8735         * sysdeps/init_array/crti.S: New file, empty except for comments.
8736         * sysdeps/init_array/crtn.S: Likewise.
8738 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
8740         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
8741         definining bcopy.
8742         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8743         Remove Prefer_SSE_for_memop.
8744         * sysdeps/x86_64/multiarch/init-arch.h: Remove
8745         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
8746         HAS_PREFER_SSE_FOR_MEMOP.
8747         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8748         memset-x86-64.
8749         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8750         Remove bzero, memset ifunc support.
8751         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
8752         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
8753         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8754         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8756 2013-03-11  Andreas Schwab  <schwab@suse.de>
8758         [BZ #15234]
8759         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
8760         by SHLIB_COMPAT.
8761         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
8762         (GLIBC_2.16): Remove pthread_atfork.
8764 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
8766         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
8767         (ptestcases.h): Likewise.
8769 2013-03-08  Roland McGrath  <roland@hack.frob.com>
8771         * Makeconfig ($(common-objpfx)config.status): Depend on
8772         sysdeps/*/preconfigure{,.in} too.
8774 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
8776         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
8777         (__free_hook): Use void * instead of __malloc_ptr_t.
8778         (__malloc_hook): Likewise.
8779         (__realloc_hook): Likewise.
8780         (__memalign_hook): Likewise.
8781         (__after_morecore_hook): Likewise.
8782         * malloc/arena.c (save_malloc_hook): Likewise.
8783         (save_free_hook): Likewise.
8784         * malloc/hooks.c (malloc_hook_ini): Likewise.
8785         (realloc_hook_ini): Likewise.
8786         (memalign_hook_ini): Likewise.
8787         * malloc/malloc.c (malloc_hook_ini): Likewise.
8788         (realloc_hook_ini): Likewise.
8789         (memalign_hook_ini): Likewise.
8790         (__free_hook): Likewise.
8791         (__malloc_hook): Likewise.
8792         (__realloc_hook): Likewise.
8793         (__memalign_hook): Likewise.
8794         (__libc_malloc): Likewise.
8795         (__libc_free): Likewise.
8796         (__libc_realloc): Likewise.
8797         (__libc_memalign): Likewise.
8798         (__libc_valloc): Likewise.
8799         (__libc_pvalloc): Likewise.
8800         (__libc_calloc): Likewise.
8801         (__posix_memalign): Likewise.
8802         * malloc/morecore.c (__sbrk): Likewise.
8803         (__default_morecore): Likewise.
8805         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
8807         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
8808         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
8809         __malloc_ptrdiff_t.
8811         * malloc/malloc.h (__malloc_size_t): Remove macro.
8812         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
8813         __malloc_size_t.
8814         (old_memalign_hook): Likewise.
8815         (old_realloc_hook): Likewise.
8816         (struct hdr): Likewise.
8817         (flood): Likewise.
8818         (mallochook): Likewise.
8819         (memalignhook): Likewise.
8820         (reallochook): Likewise.
8821         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
8822         (tr_old_realloc_hook): Likewise.
8823         (tr_old_memalign_hook): Likewise.
8824         (tr_mallochook): Likewise.
8825         (tr_reallochook): Likewise.
8826         (tr_memalignhook): Likewise.
8828 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8830         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
8831         default_ldbl_pack and using as default implementation.
8832         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
8833         implementation.
8834         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
8835         redundant definition.
8836         (ldbl_insert_mantissa): Likewise.
8837         (ldbl_canonicalize): Likewise.
8838         (ldbl_nearbyint): Likewise.
8839         (ldbl_pack): Rename to ldbl_pack_ppc.
8840         (ldbl_unpack): Rename to ldbl_unpack_ppc.
8841         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
8842         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
8844 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
8846         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
8847         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
8848         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
8849         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
8850         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
8851         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
8852         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
8853         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
8855 2013-03-07  Andreas Jaeger  <aj@suse.de>
8857         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8858         bits/mman-linux.h.
8860 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
8862         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
8863         Include mpa.h and declare __MPEXP.
8864         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
8865         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8866         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8867         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
8868         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8869         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8870         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
8872         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
8873         (__slowpow): Use long double EXPL and LOGL functions to
8874         compute POW.
8875         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8876         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8877         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
8878         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8879         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8880         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
8882         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
8883         intermediate variable to calculate exponent.
8884         (__sqr): Likewise.
8885         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8886         Likewise.
8887         (__sqr): Likewise.
8889         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
8890         [!NO__SQR]: Define __sqr.
8891         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
8892         and NO__SQR.  Remove all code except __mul and __sqr.  Include
8893         sysdeps/ieee754/dbl-64/mpa.c.
8894         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8896         [BZ #12723]
8897         * posix/Makefile (tests): Add tst-pathconf.
8898         * posix/tst-pathconf.c: New test case.
8899         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
8900         _PC_PIPE_BUF.
8901         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
8903 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
8905         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
8907 2013-03-06  Andreas Jaeger  <aj@suse.de>
8909         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
8910         definition via __MAP_ANONYMOUS.
8912         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
8913         it's not part of Linux headers.
8915         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
8916         (MAP_HUGE_MASK): Define.
8918         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8919         Define.
8920         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8921         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8922         Define.
8923         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8924         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8925         Define.
8926         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8927         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
8928         Define.
8929         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8931         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
8932         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
8933         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
8934         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
8935         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
8936         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
8938         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8939         Handle f2fs.
8941         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8942         Handle f2fs and efivarfs.
8944         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
8945         f2fs.
8947         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
8948         (EFIVARFS_MAGIC): Add.
8949         (F2FS_LINK_MAX): Add.
8951 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
8953         * stdio-common/vfprintf.c: Replace __builtin_expect with
8954         __glibc_unlikely.
8956 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
8958         [BZ #13550]
8959         * sysdeps/generic/bp-sym.h: Remove file.
8960         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
8961         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
8962         <bp-sym.h> and <bp-asm.h>.
8963         (__longjmp): Don't use BP_SYM.
8964         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
8965         and <bp-asm.h>.
8966         (memcpy): Don't use BP_SYM.
8967         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
8968         <bp-sym.h> and <bp-asm.h>.
8969         (memcpy): Don't use BP_SYM.
8970         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
8971         <bp-asm.h>.
8972         (memcpy): Don't use BP_SYM.
8973         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
8974         <bp-asm.h>.
8975         (memset): Don't use BP_SYM.
8976         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8977         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8978         (__bzero): Don't use BP_SYM.
8979         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8980         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8981         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
8982         <bp-sym.h> and <bp-asm.h>.
8983         (memcmp): Don't use BP_SYM.  Remove comment about bounded
8984         pointers.
8985         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
8986         <bp-sym.h> and <bp-asm.h>.
8987         (memcpy): Don't use BP_SYM.
8988         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
8989         <bp-sym.h> and <bp-asm.h>.
8990         (memset): Don't use BP_SYM.
8991         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8992         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8993         (__bzero): Don't use BP_SYM.
8994         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8995         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8996         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
8997         <bp-sym.h> and <bp-asm.h>.
8998         (strncmp): Don't use BP_SYM.  Remove comment about bounded
8999         pointers.
9000         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
9001         <bp-sym.h> and <bp-asm.h>.
9002         (memcpy): Don't use BP_SYM.
9003         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
9004         <bp-sym.h> and <bp-asm.h>.
9005         (memset): Don't use BP_SYM.
9006         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9007         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9008         (__bzero): Don't use BP_SYM.
9009         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9010         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9011         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
9012         <bp-sym.h> and <bp-asm.h>.
9013         (__memchr): Don't use BP_SYM.
9014         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
9015         <bp-sym.h> and <bp-asm.h>.
9016         (memcmp): Don't use BP_SYM.  Remove comment about bounded
9017         pointers.
9018         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
9019         <bp-sym.h> and <bp-asm.h>.
9020         (memcpy): Don't use BP_SYM.
9021         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
9022         <bp-sym.h> and <bp-asm.h>.
9023         (__mempcpy): Don't use BP_SYM.
9024         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
9025         <bp-sym.h> and <bp-asm.h>.
9026         (__memrchr): Don't use BP_SYM.
9027         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
9028         <bp-sym.h> and <bp-asm.h>.
9029         (memset): Don't use BP_SYM.
9030         (__bzero): Likewise.
9031         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
9032         <bp-sym.h> and <bp-asm.h>.
9033         (__rawmemchr): Don't use BP_SYM.
9034         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
9035         <bp-sym.h> and <bp-asm.h>.
9036         (__STRCMP): Don't use BP_SYM.
9037         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
9038         <bp-sym.h> and <bp-asm.h>.
9039         (strchr): Don't use BP_SYM.
9040         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
9041         <bp-sym.h> and <bp-asm.h>.
9042         (__strchrnul): Don't use BP_SYM.
9043         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
9044         <bp-sym.h> and <bp-asm.h>.
9045         (strlen): Don't use BP_SYM.
9046         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
9047         <bp-sym.h> and <bp-asm.h>.
9048         (strncmp): Don't use BP_SYM.  Remove comment about bounded
9049         pointers.
9050         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
9051         <bp-sym.h> and <bp-asm.h>.
9052         (__strnlen): Don't use BP_SYM.
9053         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
9054         <bp-sym.h> and <bp-asm.h>.
9055         (__GI__setjmp): Don't use BP_SYM.
9056         (_setjmp): Likewise.
9057         (__sigsetjmp): Likewise.
9058         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
9059         (L(start_addresses)): Don't use BP_SYM.
9060         (_start): Likewise.
9061         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
9062         <bp-asm.h>.
9063         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
9064         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
9065         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9066         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9067         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
9068         <bp-asm.h>.
9069         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
9070         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
9071         about bounded pointers.
9072         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9073         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9074         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
9075         <bp-asm.h>.
9076         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
9077         about bounded pointers.  Remove GKM FIXME comments.
9078         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9079         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
9080         <bp-asm.h>.
9081         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
9082         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
9083         Remove GKM FIXME comments.
9084         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9085         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9086         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
9087         <bp-asm.h>.
9088         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
9089         about bounded pointers.  Remove GKM FIXME comment.
9090         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
9091         and <bp-asm.h>.
9092         (strncmp): Don't use BP_SYM.  Remove comment about bounded
9093         pointers.
9094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
9095         <bp-sym.h> and <bp-asm.h>.
9096         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
9098         <bp-sym.h> and <bp-asm.h>.
9099         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
9100         comment.
9102 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
9104         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
9105         call free(NULL).
9107 2013-03-05  David S. Miller  <davem@davemloft.net>
9109         * po/es.po: Update from translation team.
9111 2013-03-05  Andreas Jaeger  <aj@suse.de>
9113         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
9114         <bits/mman-linux.h>.
9115         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9116         is fine.
9117         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
9118         <bits/mman-linux.h> to end of file.
9119         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9120         is fine.
9121         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
9122         <bits/mman-linux.h> to end of file.
9123         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9124         is fine.
9125         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
9126         <bits/mman-linux.h> to end of file.
9128         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
9129         (MCL_CURRENT, MCL_FUTURE): Define here.
9131 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9133         [BZ #15232]
9134         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
9135         attribute_hidden.
9136         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9138 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9140         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
9141         fourth parameter needed for rt_sigprocmask syscall.
9142         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
9143         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9144         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
9145         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9146         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9147         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
9149 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
9151         [BZ #13550]
9152         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
9153         comment about bounded pointers.
9154         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
9155         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
9157 2013-03-04  Andreas Jaeger  <aj@suse.de>
9159         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
9160         common definitions.
9162         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
9163         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
9164         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
9165         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9166         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9167         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9169 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9171         [BZ #15055]
9172         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
9173         __ieee754_sqrl instead of __sqrl.
9175 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
9177         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
9178         * sysdeps/powerpc/fpu_control.h: ... here.
9179         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
9180         * sysdeps/powerpc/bits/fenvinline.h: ... here.
9181         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
9182         * sysdeps/powerpc/bits/mathinline.h: ... here.
9184 2013-03-01  Roland McGrath  <roland@hack.frob.com>
9186         * elf/dl-hwcaps.c (_dl_important_hwcaps):
9187         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
9188         to just [NEED_DL_SYSINFO_DSO].
9189         * elf/dl-support.c: Likewise.
9190         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
9191         * elf/rtld.c (dl_main): Likewise.
9192         * elf/setup-vdso.h (setup_vdso): Likewise.
9193         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
9194         * sysdeps/unix/sysv/linux/dl-sysdep.c
9195         (_dl_discover_osversion): Likewise.
9197 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
9199         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
9200         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9202 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
9204         * NEWS: Mention libm performance improvements and non-x86 PI
9205         futex support.
9207         * csu/libc-start.c (__pthread_initialize_minimal): Change
9208         function arguments.
9209         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9211 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
9213         [BZ #13550]
9214         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
9215         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
9216         <bp-sym.h> and <bp-asm.h>.
9217         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9218         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
9219         and <bp-asm.h>.
9220         (memcpy): Don't use BP_SYM.
9221         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
9222         <bp-asm.h>.
9223         (__mpn_add_n): Don't use BP_SYM.
9224         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
9225         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
9226         and <bp-asm.h>.
9227         (__mpn_addmul_1): Don't use BP_SYM.
9228         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9229         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
9230         <bp-sym.h>.
9231         (_setjmp): Don't use BP_SYM.
9232         (__novmx_setjmp): Likewise.
9233         (__GI__setjmp): Likewise.
9234         (__vmx_setjmp): Likewise.
9235         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
9236         <bp-sym.h>.
9237         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
9238         (__bzero): Don't use BP_SYM.
9239         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9240         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9241         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
9242         <bp-sym.h> and <bp-asm.h>.
9243         (memcpy): Don't use BP_SYM.
9244         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
9245         <bp-sym.h> and <bp-asm.h>.
9246         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9247         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
9248         <bp-sym.h> and <bp-asm.h>.
9249         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9250         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
9251         <bp-asm.h>.
9252         (__mpn_lshift): Don't use BP_SYM.
9253         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9254         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
9255         <bp-asm.h>.
9256         (memset): Don't use BP_SYM.
9257         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9258         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9259         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
9260         <bp-asm.h>.
9261         (__mpn_mul_1): Don't use BP_SYM.
9262         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9263         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
9264         <bp-sym.h> and <bp-asm.h>.
9265         (memcmp): Don't use BP_SYM.
9266         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
9267         <bp-sym.h> and <bp-asm.h>.
9268         (memcpy): Don't use BP_SYM.
9269         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
9270         <bp-sym.h> and <bp-asm.h>.
9271         (memset): Don't use BP_SYM.
9272         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
9273         <bp-sym.h> and <bp-asm.h>.
9274         (strncmp): Don't use BP_SYM.
9275         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
9276         <bp-sym.h> and <bp-asm.h>.
9277         (memcpy): Don't use BP_SYM.
9278         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
9279         <bp-sym.h> and <bp-asm.h>.
9280         (memset): Don't use BP_SYM.
9281         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
9282         <bp-sym.h> and <bp-asm.h>.
9283         (__memchr): Don't use BP_SYM.
9284         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
9285         <bp-sym.h> and <bp-asm.h>.
9286         (memcmp): Don't use BP_SYM.
9287         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
9288         <bp-sym.h> and <bp-asm.h>.
9289         (memcpy): Don't use BP_SYM.
9290         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
9291         <bp-sym.h> and <bp-asm.h>.
9292         (__mempcpy): Don't use BP_SYM.
9293         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
9294         <bp-sym.h> and <bp-asm.h>.
9295         (__memrchr): Don't use BP_SYM.
9296         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
9297         <bp-sym.h> and <bp-asm.h>.
9298         (memset): Don't use BP_SYM.
9299         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
9300         <bp-sym.h> and <bp-asm.h>.
9301         (__rawmemchr): Don't use BP_SYM.
9302         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
9303         <bp-sym.h> and <bp-asm.h>.
9304         (__STRCMP): Don't use BP_SYM.
9305         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
9306         <bp-sym.h> and <bp-asm.h>.
9307         (strchr): Don't use BP_SYM.
9308         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
9309         <bp-sym.h> and <bp-asm.h>.
9310         (__strchrnul): Don't use BP_SYM.
9311         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
9312         <bp-sym.h> and <bp-asm.h>.
9313         (strlen): Don't use BP_SYM.
9314         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
9315         <bp-sym.h> and <bp-asm.h>.
9316         (strncmp): Don't use BP_SYM.
9317         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
9318         <bp-sym.h> and <bp-asm.h>.
9319         (__strnlen): Don't use BP_SYM.
9320         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
9321         <bp-asm.h>.
9322         (__mpn_rshift): Don't use BP_SYM.
9323         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9324         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
9325         <bp-sym.h> and <bp-asm.h>.
9326         (__sigsetjmp): Don't use BP_SYM.
9327         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
9328         (L(start_addresses)): Don't use BP_SYM.
9329         (_start): Likewise.
9330         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
9331         <bp-asm.h>.
9332         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
9333         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9334         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9335         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
9336         <bp-asm.h>.
9337         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
9338         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9339         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9340         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
9341         <bp-asm.h>.
9342         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
9343         comments.
9344         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9345         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
9346         <bp-asm.h>.
9347         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
9348         FIXME comments.
9349         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9350         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9351         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
9352         <bp-asm.h>.
9353         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
9354         comment.
9355         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
9356         and <bp-asm.h>.
9357         (strncmp): Don't use BP_SYM,
9358         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
9359         <bp-asm.h>.
9360         (__mpn_sub_n): Don't use BP_SYM.
9361         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9362         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
9363         and <bp-asm.h>.
9364         (__mpn_submul_1): Don't use BP_SYM.
9365         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
9367         <bp-sym.h> and <bp-asm.h>.
9368         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
9370         <bp-sym.h> and <bp-asm.h>.
9371         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
9372         comment.
9374 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9376         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
9377         Use ZK to minimize writes to Z.
9378         (sub_magnitudes): Simplify code a bit.
9379         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
9380         Use ZK to minimize writes to Z.
9381         (sub_magnitudes): Simplify code a bit.
9383 2013-02-27  Roland McGrath  <roland@hack.frob.com>
9385         * csu/gmon-start.c: Add special exception to license text.
9387 2013-02-27  Richard Henderson  <rth@redhat.com>
9389         * scripts/config.guess: Update from config.git.
9390         * scripts/config.sub: Likewise.
9392 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9394         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
9396         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
9398         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
9400         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
9402         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
9404 2013-02-26  Roland McGrath  <roland@hack.frob.com>
9406         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
9407         [$(build-shared = yes].
9409 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9411         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
9412         (__mul): Reduce iterations for calculating mantissa.
9414         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
9415         MPTWO.
9416         (__mpranred): Likewise.
9418         [BZ #15160]
9419         * malloc/memusagestat.c (main): Draw graphs for heap and stack
9420         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
9422 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
9424         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
9425         Define __attribute__.
9427 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9429         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
9430         unused.
9431         * posix/regex_internal.h (__attribute): Remove.
9432         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
9433         (re_string_context_at): Likewise.
9434         (bitset_not): Use __attribute__ and mark function as possibly
9435         unused.
9436         (bitset_merge): Likewise.
9437         (bitset_mask): Likewise.
9438         (re_string_char_size_at): Likewise.
9439         (re_string_wchar_at): Likewise.
9440         (re_string_elem_size_at): Likewise.
9442 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
9444         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
9445         code.
9446         (cc32): Likewise.
9448         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
9449         (__acr): Likewise.
9450         (__cpy): Likewise.
9451         (norm): Likewise.
9452         (denorm): Likewise.
9453         (__dbl_mp): Likewise.
9454         (add_magnitudes): Likewise.
9455         (sub_magnitudes): Likewise.
9456         (__mul): Likewise.
9457         (__inv): Likewise.
9459         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
9460         style.
9462         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
9463         style.
9465         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
9466         code.
9468         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
9469         up changes with default code.
9470         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
9471         Likewise.
9473 2013-02-24  Allan McRae  <allan@archlinux.org>
9475         * manual/socket.texi (The Internet Namespace): Order menu items
9476         to match that in the file.
9478         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
9479         node listing of the info page menu.
9481 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
9483         [BZ #13550]
9484         * sysdeps/i386/bp-asm.h: Remove file.
9485         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9486         (PARMS): Do not use macros from bp-asm.h.
9487         (S1): Likewise.
9488         (S2): Likewise.
9489         (SIZE): Likewise.
9490         (__mpn_add_n): Do not use BP_SYM
9491         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
9492         "bp-asm.h".
9493         (PARMS): Do not use macros from bp-asm.h.
9494         (S1): Likewise.
9495         (SIZE): Likewise.
9496         (__mpn_addmul_1): Do not use BP_SYM
9497         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
9498         "bp-asm.h".
9499         (PARMS): Do not use macros from bp-asm.h.
9500         (SIGMSK): Likewise.
9501         (_setjmp): Likewise.  Do not use BP_SYM.
9502         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
9503         "bp-asm.h".
9504         (PARMS): Do not use macros from bp-asm.h.
9505         (SIGMSK): Likewise.
9506         (setjmp): Likewise.  Do not use BP_SYM.
9507         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
9508         "bp-asm.h".
9509         (PARMS): Do not use macros from bp-asm.h.
9510         (__frexp): Do not use BP_SYM.
9511         (frexp): Likewise.
9512         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
9513         "bp-asm.h".
9514         (PARMS): Do not use macros from bp-asm.h.
9515         (__frexpf): Do not use BP_SYM.
9516         (frexpf): Likewise.
9517         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
9518         "bp-asm.h".
9519         (PARMS): Do not use macros from bp-asm.h.
9520         (__frexpl): Do not use BP_SYM.
9521         (frexpl): Likewise.
9522         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
9523         "bp-asm.h".
9524         (PARMS): Do not use macros from bp-asm.h.
9525         (__remquo): Do not use BP_SYM.
9526         (remquo): Likewise.
9527         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
9528         "bp-asm.h".
9529         (PARMS): Do not use macros from bp-asm.h.
9530         (__remquof): Do not use BP_SYM.
9531         (remquof): Likewise.
9532         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
9533         "bp-asm.h".
9534         (PARMS): Do not use macros from bp-asm.h.
9535         (__remquol): Do not use BP_SYM.
9536         (remquol): Likewise.
9537         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
9538         "bp-asm.h".
9539         (PARMS): Do not use macros from bp-asm.h.
9540         (DEST): Likewise.
9541         (SRC): Likewise.
9542         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
9543         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
9544         "bp-asm.h".
9545         (PARMS): Do not use macros from bp-asm.h.
9546         (strlen): Do not use BP_SYM.
9547         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
9548         "bp-asm.h".
9549         (PARMS): Do not use macros from bp-asm.h.
9550         (S1): Likewise.
9551         (S2): Likewise.
9552         (SIZE): Likewise.
9553         (__mpn_add_n): Do not use BP_SYM.
9554         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
9555         "bp-asm.h".
9556         (PARMS): Do not use macros from bp-asm.h.
9557         (S1): Likewise.
9558         (SIZE): Likewise.
9559         (__mpn_addmul_1): Do not use BP_SYM.
9560         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
9561         weak_alias.
9562         (bzero): Likewise.
9563         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
9564         "bp-asm.h".
9565         (PARMS): Do not use macros from bp-asm.h.
9566         (S): Likewise.
9567         (SIZE): Likewise.
9568         (__mpn_lshift): Do not use BP_SYM.
9569         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
9570         "bp-asm.h".
9571         (PARMS): Do not use macros from bp-asm.h.
9572         (DEST): Likewise.
9573         (SRC): Likewise.
9574         (LEN): Likewise.
9575         (memcpy): Likewise.  Do not use BP_SYM.
9576         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
9577         libc_hidden_def and weak_alias.
9578         (mempcpy): Do not use BP_SYM in weak_alias.
9579         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
9580         "bp-asm.h".
9581         (PARMS): Do not use macros from bp-asm.h.
9582         (DEST): Likewise.
9583         (LEN): Likewise.
9584         [!BZERO_P] (CHR): Likewise.
9585         (memset): Likewise.  Do not use BP_SYM.
9586         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
9587         "bp-asm.h".
9588         (PARMS): Do not use macros from bp-asm.h.
9589         (S1): Likewise.
9590         (SIZE): Likewise.
9591         (__mpn_mul_1): Do not use BP_SYM.
9592         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
9593         "bp-asm.h".
9594         (PARMS): Do not use macros from bp-asm.h.
9595         (S): Likewise.
9596         (SIZE): Likewise.
9597         (__mpn_rshift): Do not use BP_SYM.
9598         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
9599         "bp-asm.h".
9600         (PARMS): Do not use macros from bp-asm.h.
9601         (STR): Likewise.
9602         (CHR): Likewise.
9603         (strchr): Likewise.  Do not use BP_SYM.
9604         (index): Do not use BP_SYM in weak_alias.
9605         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
9606         "bp-asm.h".
9607         (PARMS): Do not use macros from bp-asm.h.
9608         (DEST): Likewise.
9609         (SRC): Likewise.
9610         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
9611         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
9612         "bp-asm.h".
9613         (PARMS): Do not use macros from bp-asm.h.
9614         (strlen): Do not use BP_SYM.
9615         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
9616         "bp-asm.h".
9617         (PARMS): Do not use macros from bp-asm.h.
9618         (S1): Likewise.
9619         (S2): Likewise.
9620         (SIZE): Likewise.
9621         (__mpn_sub_n): Do not use BP_SYM.
9622         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
9623         "bp-asm.h".
9624         (PARMS): Do not use macros from bp-asm.h.
9625         (S1): Likewise.
9626         (SIZE): Likewise.
9627         (__mpn_submul_1): Do not use BP_SYM.
9628         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
9629         "bp-asm.h".
9630         (PARMS): Do not use macros from bp-asm.h.
9631         (S1): Likewise.
9632         (S2): Likewise.
9633         (SIZE): Likewise.
9634         (__mpn_add_n): Do not use BP_SYM.
9635         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
9636         weak_alias.
9637         (bzero): Likewise.
9638         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
9639         "bp-asm.h".
9640         (PARMS): Do not use macros from bp-asm.h.
9641         (BLK2): Likewise.
9642         (LEN): Likewise.
9643         (memcmp): Do not use BP_SYM.
9644         (bcmp): Do not use BP_SYM in weak_alias.
9645         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
9646         "bp-asm.h".
9647         (PARMS): Do not use macros from bp-asm.h.
9648         (DEST): Likewise.
9649         (SRC): Likewise.
9650         (LEN): Likewise.
9651         (memcpy): Likewise.  Do not use BP_SYM.
9652         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
9653         "bp-asm.h".
9654         (PARMS): Do not use macros from bp-asm.h.
9655         (DEST): Likewise.
9656         (SRC): Likewise.
9657         (LEN): Likewise.
9658         (memmove): Likewise.  Do not use BP_SYM.
9659         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
9660         "bp-asm.h".
9661         (PARMS): Do not use macros from bp-asm.h.
9662         (DEST): Likewise.
9663         (SRC): Likewise.
9664         (LEN): Likewise.
9665         (__mempcpy): Likewise.  Do not use BP_SYM.
9666         (mempcpy): Do not use BP_SYM in weak_alias.
9667         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
9668         "bp-asm.h".
9669         (PARMS): Do not use macros from bp-asm.h.
9670         (DEST): Likewise.
9671         (LEN): Likewise.
9672         [!BZERO_P] (CHR): Likewise.
9673         (memset): Likewise.  Do not use BP_SYM.
9674         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
9675         "bp-asm.h".
9676         (PARMS): Do not use macros from bp-asm.h.
9677         (STR2): Likewise.
9678         (strcmp): Do not use BP_SYM.
9679         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
9680         "bp-asm.h".
9681         (PARMS): Do not use macros from bp-asm.h.
9682         (STR): Likewise.
9683         (DELIM): Likewise.
9684         [USE_AS_STRTOK_R] (SAVE): Likewise.
9685         (FUNCTION): Likewise.  Do not use BP_SYM.
9686         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
9687         aliases.
9688         (strtok_r): Likewise.
9689         (__GI___strtok_r): Likewise.
9690         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9691         (PARMS): Do not use macros from bp-asm.h.
9692         (S): Likewise.
9693         (SIZE): Likewise.
9694         (__mpn_lshift): Do not use BP_SYM.
9695         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9696         (PARMS): Do not use macros from bp-asm.h.
9697         (STR): Likewise.
9698         (CHR): Likewise.
9699         (__memchr): Do not use BP_SYM.
9700         (memchr): Do not use BP_SYM in weak_alias.
9701         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9702         (PARMS): Do not use macros from bp-asm.h.
9703         (BLK2): Likewise.
9704         (LEN): Likewise.
9705         (memcmp): Do not use BP_SYM.
9706         (bcmp): Do not use BP_SYM in weak_alias.
9707         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
9708         (PARMS): Do not use macros from bp-asm.h.
9709         (S1): Likewise.
9710         (SIZE): Likewise.
9711         (__mpn_mul_1): Do not use BP_SYM.
9712         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
9713         "bp-asm.h".
9714         (PARMS): Do not use macros from bp-asm.h.
9715         (STR): Likewise.
9716         (CHR): Likewise.
9717         (__rawmemchr): Do not use BP_SYM.
9718         (rawmemchr): Do not use BP_SYM in weak_alias.
9719         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9720         (PARMS): Do not use macros from bp-asm.h.
9721         (S): Likewise.
9722         (SIZE): Likewise.
9723         (__mpn_rshift): Do not use BP_SYM.
9724         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9725         (PARMS): Do not use macros from bp-asm.h.
9726         (SIGMSK): Likewise.
9727         (__sigsetjmp): Likewise.  Do not use BP_SYM.
9728         * sysdeps/i386/start.S: Do not include "bp-sym.h".
9729         (_start): Do not use BP_SYM.
9730         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
9731         (PARMS): Do not use macros from bp-asm.h.
9732         (DEST): Likewise.
9733         (SRC): Likewise.
9734         (__stpcpy): Likewise.  Do not use BP_SYM.
9735         (stpcpy): Do not use BP_SYM in weak_alias.
9736         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
9737         "bp-asm.h".
9738         (PARMS): Do not use macros from bp-asm.h.
9739         (DEST): Likewise.
9740         (SRC): Likewise.
9741         (LEN): Likewise.
9742         (__stpncpy): Likewise.  Do not use BP_SYM.
9743         (stpncpy): Do not use BP_SYM in weak_alias.
9744         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9745         (PARMS): Do not use macros from bp-asm.h.
9746         (STR): Likewise.
9747         (CHR): Likewise.
9748         (strchr): Likewise.  Do not use BP_SYM.
9749         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
9750         "bp-asm.h".
9751         (PARMS): Do not use macros from bp-asm.h.
9752         (STR): Likewise.
9753         (CHR): Likewise.
9754         (__strchrnul): Likewise.  Do not use BP_SYM.
9755         (strchrnul): Do not use BP_SYM in weak_alias.
9756         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
9757         "bp-asm.h".
9758         (PARMS): Do not use macros from bp-asm.h.
9759         (STOP): Likewise.
9760         (strcspn): Do not use BP_SYM.
9761         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
9762         "bp-asm.h".
9763         (PARMS): Do not use macros from bp-asm.h.
9764         (STR): Likewise.
9765         (STOP): Likewise.
9766         (strpbrk): Likewise.  Do not use BP_SYM.
9767         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
9768         "bp-asm.h".
9769         (PARMS): Do not use macros from bp-asm.h.
9770         (STR): Likewise.
9771         (CHR): Likewise.
9772         (strrchr): Likewise.  Do not use BP_SYM.
9773         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
9774         (PARMS): Do not use macros from bp-asm.h.
9775         (SKIP): Likewise.
9776         (strspn): Do not use BP_SYM.
9777         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
9778         (PARMS): Do not use macros from bp-asm.h.
9779         (STR): Likewise.
9780         (DELIM): Likewise.
9781         (SAVE): Likewise.
9782         (FUNCTION): Likewise.  Do not use BP_SYM.
9783         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
9784         aliases.
9785         (strtok_r): Likewise.
9786         (__GI___strtok_r): Likewise.
9787         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9788         (PARMS): Do not use macros from bp-asm.h.
9789         (S1): Likewise.
9790         (S2): Likewise.
9791         (SIZE): Likewise.
9792         (__mpn_sub_n): Do not use BP_SYM.
9793         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
9794         "bp-asm.h".
9795         (PARMS): Do not use macros from bp-asm.h.
9796         (S1): Likewise.
9797         (SIZE): Likewise.
9798         (__mpn_submul_1): Do not use BP_SYM.
9799         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
9800         <bp-sym.h>.
9801         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
9802         and <bp-asm.h>.
9803         (PARMS): Do not use macros from bp-asm.h.
9804         (FLAGS): Likewise.
9805         (PTID): Likewise.
9806         (TLS): Likewise.
9807         (CTID): Likewise.
9808         (__clone): Do not use BP_SYM.
9809         (clone): Do not use BP_SYM in weak_alias.
9810         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
9811         and <bp-asm.h>.
9812         (PARMS): Do not use macros from bp-asm.h.
9813         (LEN): Likewise.
9814         (__mmap64): Do not use BP_SYM.
9815         (mmap64): Do not use BP_SYM in weak_alias.
9816         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9817         <bp-sym.h> and <bp-asm.h>.
9818         (PARMS): Do not use macros from bp-asm.h.
9819         (__posix_fadvise64_l64): Do not use BP_SYM.
9820         * sysdeps/unix/sysv/linux/i386/semtimedop.S
9821         (PARMS): Do not use macros from bp-asm.h.
9822         (NSOPS): Likewise.
9823         (semtimedop): Do not use BP_SYM.
9824         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
9825         and <bp-asm.h>.
9827 2013-02-21  Allan McRae  <allan@archlinux.org>
9829         * manual/message.texi (Charset conversion in gettext):
9830         Move @end statement to beginning of line.
9832 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9834         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
9835         static.
9836         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9837         Likewise.
9839         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
9840         (denorm): Likewise.
9841         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
9842         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
9844 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9846         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
9847         tail-call to the resolved function if pltexit isn't needed.
9849 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9851         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
9852         or Y being zero as being unlikely.
9853         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9854         Likewise.
9856 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
9858         * manual/nss.texi (System Databases and Name Service Switch):
9859         Remove frobnicate @pxref.
9861 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
9863         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9864         __attribute__ ((unused)) to __attribute__ ((__unused__)).
9866 2013-02-20  Petr Machata  <pmachata@redhat.com>
9868         * elf/elf.h (R_ARM_TARGET1): New macro.
9869         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
9870         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
9871         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
9872         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
9873         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
9874         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
9875         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
9876         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
9877         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
9878         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
9879         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
9880         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
9881         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
9882         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
9883         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
9884         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
9885         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
9886         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
9887         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
9888         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
9889         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
9890         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
9891         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
9892         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
9893         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
9894         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
9895         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
9896         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
9897         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
9898         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
9899         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
9900         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
9901         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
9902         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
9903         (R_ARM_THM_GOT_BREL12): Likewise.
9904         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
9905         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
9906         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
9907         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
9908         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
9909         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
9910         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
9911         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
9912         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
9914 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
9916         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9917         __attribute_used__ to __attribute__ ((unused)).
9919 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
9921         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
9922         powerpc mpa.c.
9923         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
9924         comment formatting.
9925         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
9927 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
9929         [BZ #13550]
9930         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
9931         Remove macro.
9932         (ENTER): Remove both macro definitions.
9933         (LEAVE): Likewise.
9934         (CHECK_BOUNDS_LOW): Likewise.
9935         (CHECK_BOUNDS_HIGH): Likewise.
9936         (CHECK_BOUNDS_BOTH): Likewise.
9937         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
9938         (RETURN_BOUNDED_POINTER): Likewise.
9939         (RETURN_NULL_BOUNDED_POINTER): Likewise.
9940         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
9941         (POP_ERRNO_LOCATION_RETURN): Likewise.
9942         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
9943         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9944         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
9945         macros.
9946         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9947         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
9948         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
9949         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
9950         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
9951         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
9952         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
9953         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
9954         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
9955         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
9956         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
9957         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
9958         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9959         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
9960         removed macros.
9961         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9962         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
9963         macros.
9964         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9965         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
9966         * sysdeps/i386/i586/memset.S (memset): Likewise.
9967         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
9968         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9969         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
9970         macros.
9971         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9972         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
9973         Change uses of L(2) to L(out).
9974         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
9975         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
9976         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
9977         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9978         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
9979         removed macros.
9980         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9981         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
9982         macros.
9983         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9984         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
9985         (RETURN): Do not use macro LEAVE.
9986         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
9987         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
9988         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
9989         * sysdeps/i386/i686/memset.S (memset): Likewise.
9990         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
9991         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
9992         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9993         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
9994         Likewise.
9995         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9996         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
9997         L(1_2) and L(1_3) into L(1).
9998         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9999         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
10000         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10001         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
10002         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10003         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
10004         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
10005         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10006         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
10007         macros.
10008         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
10009         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10010         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
10011         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
10012         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
10013         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10014         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
10015         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
10016         * sysdeps/i386/strcspn.S (strcspn): Likewise.
10017         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
10018         * sysdeps/i386/strrchr.S (strrchr): Likewise.
10019         * sysdeps/i386/strspn.S (strspn): Likewise.
10020         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
10021         conditional code.
10022         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10023         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
10024         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10025         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
10026         L(1_3) into L(1_1).
10027         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
10028         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10029         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
10030         macros.
10031         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10033 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
10035         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
10036         macro.
10038 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10040         * math/atest-exp.c (exp_mpn): Remove ROUND.
10041         * math/atest-exp2.c (exp_mpn): Likewise.
10042         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
10044         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
10045         * stdlib/tst-tls-atexit-lib.c: Likewise.
10046         * stdlib/tst-tls-atexit.c: Likewise.
10048 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
10050         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
10051         and __attribute_alloc_size__.
10053 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
10055         * include/programs/xmalloc.h: Change __attribute_alloc_size to
10056         __attribute_alloc_size__.
10057         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
10058         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
10060 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
10062         * include/programs/xmalloc.h: New file.
10063         * catgets/gencat.c: Include it.
10064         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
10065         * elf/pldd.c: Likewise.
10066         * iconv/iconv_charmap.c: Likewise.
10067         * iconv/iconvconfig.c: Likewise.
10068         * iconv/strtab.c: Likewise.
10069         * locale/programs/locale.c: Likewise.
10070         * locale/programs/localedef.h: Likewise.
10071         * locale/programs/simple-hash.c: Likewise.
10072         * nscd/nscd.h: Likewise.
10073         * nss/makedb.c: Likewise.
10074         * sysdeps/generic/ldconfig.h: Likewise.
10076 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
10078         * Versions.def: Add GLIBC_2.18.
10079         * include/link.h (struct link_map): New member l_tls_dtor_count.
10080         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
10081         (__call_tls_dtors): Likewise.
10082         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
10083         __cxa_thread_atexit_impl.
10084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10085         Likewise.
10086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10087         Likewise.
10088         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10089         Likewise.
10090         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10091         Likewise.
10092         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10093         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
10094         Likewise.
10095         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
10096         Likewise.
10097         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10098         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10099         Likewise.
10100         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
10101         (tests): Add test case tst-tls-atexit.
10102         (modules-names): Add shared library for tst-tls-atexit.
10103         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
10104         (GLIBC_PRIVATE): Add __call_tls_dtors.
10105         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
10106         for libstdc++.
10107         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
10108         * stdlib/tst-tls-atexit.c: New test case.
10109         * stdlib/tst-tls-atexit-lib.c: New test case.
10111         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
10113         * elf/Versions (ld): Add _dl_find_dso_for_object.
10114         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
10115         * elf/dl-open.c (_dl_find_dso_for_object): New function.
10116         (dl_open_worker): Use _dl_find_dso_for_object.
10117         * elf/dl-sym.c (do_sym): Likewise.
10118         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
10120 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10122         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
10123         Syntactic changes only.
10124         (_dl_runtime_profile): Do a tail-call to the resolved function.
10126 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
10128         [BZ #13550]
10129         * sysdeps/x86_64/bp-asm.h: Remove file.
10130         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
10131         <bp-sym.h> and <bp-asm.h>.
10132         (__clone): Do not use BP_SYM.
10133         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
10134         <bp-sym.h> and <bp-asm.h>.
10135         * sysdeps/unix/x86_64/sysdep.S: Likewise.
10136         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
10137         "bp-asm.h".
10138         (_setjmp): Do not use BP_SYM.
10139         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
10140         "bp-asm.h".
10141         (setjmp): Do not use BP_SYM.
10142         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
10143         libc_hidden_def.
10144         (mempcpy): Do not use BP_SYM in weak_alias.
10145         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
10146         "bp-asm.h".
10147         (strchr): Do not use BP_SYM.
10148         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
10149         "bp-asm.h".
10150         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
10151         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
10152         (_start): Do not use BP_SYM.
10153         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
10154         "bp-asm.h".
10155         (strcat): Do not use BP_SYM.
10156         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
10157         "bp-asm.h".
10158         (STRCMP): Do not use BP_SYM.
10159         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
10160         "bp-asm.h".
10161         (STRCPY): Do not use BP_SYM.
10162         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
10163         "bp-asm.h".
10164         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
10165         "bp-asm.h".
10166         (FUNCTION): Do not use BP_SYM.
10167         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
10168         weak_alias.
10169         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
10171 2013-02-17  Andreas Jaeger  <aj@suse.de>
10173         * time/Versions: Sort entries.
10174         * string/Versions: Likewise.
10175         * resolv/Versions: Likewise.
10176         * posix/Versions: Likewise.
10177         * iconv/Versions: Likewise.
10178         * elf/Versions: Likewise.
10179         * wcsmbs/Versions: Likewise.
10181 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10183         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
10184         loop termination condition.
10186         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
10187         variable to calculate EZ.
10188         (__sqr): Likewise.
10190         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
10191         the lower precision input.
10193 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
10195         [BZ #13550]
10196         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
10197         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
10198         (run-via-rtld-prefix): Do not handle %-bp tests.
10199         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
10200         (all-object-suffixes): Remove .ob.
10201         (bppfx): Remove variable.
10202         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
10203         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
10204         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
10205         [$(build-bounded) = yes] (libtype.ob): Likewise.
10206         * Makerules (elide-routines.ob): Remove variable.
10207         (do-tests-clean): Do not handle *-bp.out.
10208         (common-mostlyclean): Do not handle *-bp and *-bp.out.
10209         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
10210         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
10211         (tests): Do not include $(tests-bp.out).
10212         (xtests): Do not include $(xtests-bp.out).
10213         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
10214         [$(build-bounded) = yes] ($(addprefix
10215         $(objpfx),$(binaries-bounded))): Remove rule.
10216         ($(objpfx)%-bp.out): Remove rule.
10217         * config.make.in (build-bounded): Remove variable.
10218         * crypt/Makefile [$(build-bounded) = yes]
10219         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
10220         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
10221         append to variable.
10222         [$(build-bounded) = yes] (install-lib): Likewise.
10223         [$(build-bounded) = yes] (generated): Likewise.
10224         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
10225         Remove rule.
10226         * intl/Makefile [$(build-bounded) = yes]
10227         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
10228         * math/Makefile [$(build-bounded) = yes]
10229         ($(tests:%=$(objpfx)%-bp): Likewise.
10230         * misc/Makefile [$(build-bounded) = yes]
10231         ($(objpfx)tst-tsearch-bp): Likewise.
10232         * nptl/Makeconfig (bounded-thread-library): Remove variable.
10233         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
10234         Remove dependency.
10235         * string/Makefile (o-objects.ob): Remove variable.
10236         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
10237         (CFLAGS-.ob): Remove variable.
10238         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
10239         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
10240         both definitions of variable.
10241         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
10242         (ASFLAGS-.ob): Remove variable.
10244 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
10246         [BZ #13550]
10247         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
10248         Remove __BOUNDED_POINTERS__ from condition.
10249         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
10250         * string/bits/string2.h [!__NO_STRING_INLINES &&
10251         !__BOUNDED_POINTERS__]: Likewise.
10252         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
10253         Likewise.
10254         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
10255         Remove conditional code.
10256         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
10257         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
10258         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
10259         condition.
10261         [BZ #13550]
10262         * csu/libc-start.c: Do not include <bp-sym.h>.
10263         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
10264         * elf/dl-open.c: Do not include <bp-sym.h>.
10265         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
10266         * math/fegetenv.c: Do not include <bp-sym.h>.
10267         (fegetenv): Do not use BP_SYM in versioned symbols.
10268         * nptl/sysdeps/pthread/bits/libc-lockP.h
10269         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
10270         <bp-sym.h>.
10271         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10272         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
10273         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10274         (__pthread_mutex_destroy): Likewise.
10275         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10276         (__pthread_mutex_lock): Likewise.
10277         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10278         (__pthread_mutex_trylock): Likewise.
10279         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10280         (__pthread_mutex_unlock): Likewise.
10281         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10282         (__pthread_mutexattr_init): Likewise.
10283         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10284         (__pthread_mutexattr_destroy): Likewise.
10285         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10286         (__pthread_mutexattr_settype): Likewise.
10287         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10288         (__pthread_rwlock_init): Likewise.
10289         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10290         (__pthread_rwlock_destroy): Likewise.
10291         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10292         (__pthread_rwlock_rdlock): Likewise.
10293         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10294         (__pthread_rwlock_tryrdlock): Likewise.
10295         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10296         (__pthread_rwlock_wrlock): Likewise.
10297         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10298         (__pthread_rwlock_trywrlock): Likewise.
10299         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10300         (__pthread_rwlock_unlock): Likewise.
10301         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10302         (__pthread_key_create): Likewise.
10303         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10304         (__pthread_setspecific): Likewise.
10305         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10306         (__pthread_getspecific): Likewise.
10307         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
10308         Likewise.
10309         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10310         (_pthread_cleanup_push_defer): Likewise.
10311         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10312         (_pthread_cleanup_pop_restore): Likewise.
10313         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10314         (pthread_setcancelstate): Likewise.
10315         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
10316         <bp-sym.h>.
10317         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
10318         (memchr): Do not use BP_SYM in weak_alias.
10319         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
10320         (fegetenv): Do not use BP_SYM in versioned symbols.
10321         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
10322         (fesetenv): Do not use BP_SYM in versioned symbols.
10323         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10324         (feupdateenv): Do not use BP_SYM in versioned symbols.
10325         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10326         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10327         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
10328         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
10329         (open64): Do not use BP_SYM in weak_alias.
10330         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
10331         (fegetenv): Do not use BP_SYM in versioned symbols.
10332         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
10333         (fesetenv): Do not use BP_SYM in versioned symbols.
10334         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10335         (feupdateenv): Do not use BP_SYM in versioned symbols.
10336         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
10337         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
10338         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
10339         (feraiseexcept): Do not use BP_SYM in versioned symbols.
10340         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10341         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10342         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
10343         <bp-sym.h>.
10344         (__libc_start_main): Do not use BP_SYM.
10346 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10348         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
10349         redundant return line.
10350         (norm): Likewise.
10351         (denorm): Likewise.
10352         (dbl_mp): Likewise.
10353         (sub_magnitudes): Likewise.
10354         (__add): Likewise.
10355         (__sub): Likewise.
10356         (__mul): Likewise.
10357         (__inv): Likewise.
10358         (__dvd): Likewise.
10359         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
10360         (norm): Likewise.
10361         (denorm): Likewise.
10362         (dbl_mp): Likewise.
10363         (sub_magnitudes): Likewise.
10364         (__add): Likewise.
10365         (__sub): Likewise.
10366         (__mul): Likewise.
10367         (__inv): Likewise.
10368         (__dvd): Likewise.
10370         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
10371         instead of __mul.
10372         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10373         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
10374         (cc32): Likewise.
10376         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
10377         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
10378         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
10379         of __mul for squares.
10380         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
10381         function
10382         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
10383         Likewise.
10384         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
10385         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10387 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
10389         [BZ #13550]
10390         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
10391         code.
10392         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
10393         prototype or function definition.  Rename ubp_* variables and
10394         parameters.  Remove argv definitions conditional on
10395         [__BOUNDED_POINTERS__].
10396         * debug/backtrace.c (__backtrace): Do not use __unbounded.
10397         * elf/dl-runtime.c (_dl_fixup): Likewise.
10398         * include/set-hooks.h (RUN_HOOK): Likewise.
10399         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
10400         definition.
10401         * string/strcpy.c (strcpy): Do not use __unbounded.
10402         * sysdeps/generic/frame.h (struct layout): Likewise.
10403         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
10404         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
10405         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
10406         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
10407         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
10408         (__backtrace): Likewise.
10409         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
10410         use __ptrvalue.
10411         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10412         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10413         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
10414         Likewise.
10415         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
10416         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
10417         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10418         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10419         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
10420         Do not use __unbounded.
10421         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
10422         Rename __unboundedrlimits parameter to rlimits in prototype.
10423         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
10424         Do not use __unbounded.
10425         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
10426         not use __ptrvalue.
10427         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10428         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
10429         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10430         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
10431         __ptrvalue or __unbounded.
10432         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
10433         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
10434         use __unbounded.
10435         (__new_msgctl): Do not use __ptrvalue.
10436         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
10437         __unbounded.
10438         (__libc_msgrcv): Do not use __ptrvalue.
10439         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
10440         startup_info): Do not use __unbounded.
10441         (__libc_start_main): Likewise.  Rename ubp_* variables and
10442         parameters.  Remove argv definitions conditional on
10443         [__BOUNDED_POINTERS__].
10444         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
10445         __ptrvalue.
10446         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
10447         use __unbounded.
10448         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
10449         or __ptrvalue.
10450         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
10451         use __unbounded.
10452         (__new_shmctl): Do not use __ptrvalue.
10453         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
10454         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
10455         Likewise.
10456         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
10457         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
10458         (__libc_sigaction): Likewise.
10459         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
10460         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
10461         Likewise.
10462         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10464 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
10466         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
10468         * string/mempcpy.c: Implement by calling memcpy.
10470 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
10472         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
10474         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
10475         evaluation.
10477         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
10478         values in the mantissa.
10480         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
10481         minimize writes to Z.
10482         (sub_magnitudes): Simplify code a bit.
10484 2013-02-12  Roland McGrath  <roland@hack.frob.com>
10486         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
10487         from the message.  The linker prefixes all warnings with that already.
10489 2013-02-12  Andreas Schwab  <schwab@suse.de>
10491         [BZ #15078]
10492         * posix/regexec.c (extend_buffers): Add parameter min_len.
10493         (check_matching): Pass minimum needed length.
10494         (clean_state_log_if_needed): Likewise.
10495         (get_subexp): Likewise.
10496         * posix/Makefile (tests): Add bug-regex34.
10497         (bug-regex34-ENV): Define.
10498         * posix/bug-regex34.c: New file.
10500         [BZ #11561]
10501         * posix/regcomp.c (parse_bracket_exp): When looking up collating
10502         elements compare against the byte sequence of it, not its name.
10503         * posix/Makefile (tests): Add bug-regex35.
10504         (bug-regex35-ENV): Define.
10505         * posix/bug-regex35.c: New file.
10507 2013-02-11  Tom de Vries  <tom@codesourcery.com>
10509         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
10510         comment.
10511         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
10512         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
10513         (CHECK_EOL): Add undef.
10515 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
10517         * bits/stdlib-bsearch.h: New file.
10518         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
10519         * stdlib/stdlib.h: Likewise.
10521 2013-02-11  Roland McGrath  <roland@hack.frob.com>
10523         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
10524         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
10525         declaration.
10526         * manual/search.texi (Array Search Function): Add missing const in
10527         lfind prototype.
10528         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
10529         declaration to use rlim_t.
10530         (Basic Scheduling Functions): Remove erroneous const from
10531         sched_getparam prototype.  Remove erroneous * from
10532         sched_get_priority_max and sched_get_priority_min prototypes.
10533         (Resource Usage): Fix summary @comment on vtimes to refer to
10534         sys/vtimes.h rather than vtimes.h.
10535         Add missing *s in vtimes prototype.
10536         (Limits on Resources): Fix ulimit prototype to return long int.
10537         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
10538         prototypes to use long int rather than double.
10539         (BSD Random): Fix initstate and setstate to use char *, not void *.
10540         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
10541         prototype to make second argument 'struct aiocb64 *const[]'.
10542         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
10543         (Status of AIO Operations): Remove erroneous const in aio_return and
10544         aio_return64 prototypes.
10545         (Synchronizing I/O): Fix sync prototype to return void.
10546         * manual/startup.texi (Suboptions): Remove an erroneous const in
10547         getsubopt prototype.
10548         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
10549         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
10550         use size_t rather than int.
10551         (Scanning All Users): Likewise for getpwent_r.
10552         (Setting Groups): Add missing const to setgroups prototype.
10553         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
10554         * manual/socket.texi (Host Names): Fix gethostbyaddr and
10555         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
10556         'const void *' rather than 'const char *'.
10557         (Host Address Functions): Likewise for inet_ntop.
10558         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
10559         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
10560         ssize_t for return value.
10561         (Sending Data): Likewise for send, sendto, sendmsg.
10562         (Socket Option Functions): Add a missing const in setsockopt prototype.
10563         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
10564         use wchar_t for the argument.
10565         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
10566         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
10567         take no arguments.
10568         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
10569         double/float/long double for second argument.
10570         Fix return types of significand, significandf, significandl.
10571         * manual/filesys.texi (Setting Permissions): Use mode_t for second
10572         argument in fchmod prototype.
10573         (File Owner): Use uid_t and gid_t in fchown prototype.
10574         (File Times): Add const to utimes, futimes, and lutimes prototypes.
10575         (Making Special Files): Use mode_t and dev_t in mknod prototype.
10576         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
10577         use 'const struct dirent **' as argument types to CMP function pointer
10578         argument.
10579         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
10580         (File Times): Fix summary magic @comment for struct utimbuf and utime
10581         to refer to utime.h, not time.h.
10582         * manual/string.texi (Argz Functions): Add missing const in
10583         argz_extract and argz_next prototypes.
10584         (Finding Tokens in a String): Likewise for basename.
10585         (String/Array Comparison): Fix typo in wcscasecmp prototype.
10586         (Copying and Concatenation): Fix typo in wmemmove prototype.
10587         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
10588         (Signal Stack): Remove erroneous const in sigstack prototype.
10589         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
10590         prototype.
10591         (Simple Calendar Time): Likewise for stime.
10592         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
10593         prototype.
10594         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
10595         say sys/sysctl.h instead.
10596         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
10597         and vsyslog prototypes.
10599 2013-02-11  Tom de Vries  <tom@codesourcery.com>
10601         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
10602         Remove.
10604 2013-02-11  Roland McGrath  <roland@hack.frob.com>
10606         * misc/sys/mman.h: Fix typo in mremap comment.
10608 2013-02-08  Roland McGrath  <roland@hack.frob.com>
10610         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
10611         the '\0' terminator.
10613 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
10615         [BZ #13550]
10616         * debug/segfault.c: Don't include <bp-checks.h>.
10617         * sysdeps/generic/bp-checks.h: Remove file.
10618         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
10619         (__GETDENTS): Don't use CHECK_N.
10620         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
10621         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10622         (__getgroups): Don't use CHECK_N.
10623         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
10624         (setgroups): Don't use CHECK_N.
10625         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
10626         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
10627         (__libc_msgrcv): Don't use CHECK_N.
10628         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
10629         (__libc_msgsnd): Don't use CHECK_N.
10630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
10631         <bp-checks.h>.
10632         (__libc_pread): Don't use CHECK_N.
10633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
10634         include <bp-checks.h>.
10635         (__libc_pread64): Don't use CHECK_N.
10636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
10637         include <bp-checks.h>.
10638         (__libc_pwrite): Don't use CHECK_N.
10639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
10640         include <bp-checks.h>.
10641         (__libc_pwrite64): Don't use CHECK_N.
10642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
10643         <bp-checks.h>.
10644         (__libc_pread): Don't use CHECK_N.
10645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
10646         include <bp-checks.h>.
10647         (__libc_pread64): Don't use CHECK_N.
10648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
10649         include <bp-checks.h>.
10650         (__libc_pwrite): Don't use CHECK_N.
10651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
10652         include <bp-checks.h>.
10653         (__libc_pwrite64): Don't use CHECK_N.
10654         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
10655         (do_pread): Don't use CHECK_N.
10656         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
10657         (do_pread64): Don't use CHECK_N.
10658         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
10659         (do_pwrite): Don't use CHECK_N.
10660         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
10661         (do_pwrite64): Don't use CHECK_N.
10662         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
10663         (__libc_readv): Don't use CHECK_N.
10664         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
10665         (semop): Don't use CHECK_N.
10666         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
10667         <bp-checks.h>.
10668         (semtimedop): Don't use CHECK_N.
10669         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
10670         (__libc_pread): Don't use CHECK_N.
10671         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
10672         <bp-checks.h>.
10673         (__libc_pread64): Don't use CHECK_N.
10674         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
10675         <bp-checks.h>.
10676         (__libc_pwrite): Don't use CHECK_N.
10677         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
10678         <bp-checks.h>.
10679         (__libc_pwrite64): Don't use CHECK_N.
10680         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
10681         <bp-checks.h>.
10682         (__libc_msgrcv): Don't use CHECK_N.
10683         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
10684         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
10685         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
10686         (__libc_writev): Don't use CHECK_N.
10688 2013-02-08  Roland McGrath  <roland@hack.frob.com>
10690         * string/strcpy.c: Removed unused variable.
10692         * Makeconfig (+sysdep-includes): Define with := rather than =.
10693         Use an existing include/ subdir of each sysdeps dir before it.
10695 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
10697         * nscd/connection.c (register_traced_file): Comment function.
10698         [HAVE_INOTIFY] (union __inev): Define.
10699         [HAVE_INOTIFY] (inotify_check_files): New function.
10700         [HAVE_INOTIFY] (clear_db_cache): Likewise.
10701         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
10702         clear_db_cache.
10703         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
10705 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
10707         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
10708         loaded if not already and that a failure is permanent.
10710 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
10712         [BZ #15006]
10713         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
10714         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
10716 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
10718         [BZ #13550]
10719         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
10720         (CHECK_1_NULL_OK): Likewise.
10721         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
10722         (__fxstat): Do not use CHECK_1.
10723         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
10724         <bp-checks.h>.
10725         (___fxstat64): Do not use CHECK_1.
10726         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10727         <bp-checks.h>.
10728         (__fxstatat): Do not use CHECK_1.
10729         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10730         <bp-checks.h>.
10731         (__fxstatat64): Do not use CHECK_1.
10732         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
10733         <bp-checks.h>.
10734         (__fxstat): Do not use CHECK_1.
10735         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10736         <bp-checks.h>.
10737         (__fxstatat): Do not use CHECK_1.
10738         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10739         <bp-checks.h>.
10740         (__getresgid): Do not use CHECK_1.
10741         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10742         <bp-checks.h>.
10743         (__getresuid): Do not use CHECK_1.
10744         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
10745         <bp-checks.h>.
10746         (__lxstat): Do not use CHECK_1.
10747         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10748         <bp-checks.h>.
10749         (__old_msgctl): Do not use CHECK_1.
10750         (__new_msgctl): Likewise.
10751         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
10752         <bp-checks.h>.
10753         (__new_setrlimit): Do not use CHECK_1.
10754         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10755         <bp-checks.h>.
10756         (__old_shmctl): Do not use CHECK_1.
10757         (__new_shmctl): Likewise.
10758         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
10759         <bp-checks.h>.
10760         (__xstat): Do not use CHECK_1.
10761         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
10762         (__lxstat): Do not use CHECK_1.
10763         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
10764         <bp-checks.h>.
10765         (___lxstat64): Do not use CHECK_1.
10766         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
10767         (__old_msgctl): Do not use CHECK_1.
10768         (__new_msgctl): Likewise.
10769         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
10770         <bp-checks.h>.
10771         (__gettimeofday): Do not use CHECK_1.
10772         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
10773         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
10774         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
10775         <bp-checks.h>.
10776         (__gettimeofday): Do not use CHECK_1.
10777         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
10778         (__old_shmctl): Do not use CHECK_1_NULL_OK.
10779         (__new_shmctl): Do not use CHECK_1.
10780         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
10781         <bp-checks.h>.
10782         (do_sigtimedwait): Do not use CHECK_1.
10783         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
10784         <bp-checks.h>.
10785         (do_sigwaitinfo): Do not use CHECK_1.
10786         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
10787         <bp-checks.h>.
10788         (msgctl): Do not use CHECK_1.
10789         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
10790         <bp-checks.h>.
10791         (shmctl): Do not use CHECK_1.
10792         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
10793         (ustat): Do not use CHECK_1.
10794         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
10795         <bp-checks.h>.
10796         (__fxstat): Do not use CHECK_1.
10797         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10798         <bp-checks.h>.
10799         (__fxstatat): Do not use CHECK_1.
10800         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
10801         <bp-checks.h>.
10802         (__lxstat): Do not use CHECK_1.
10803         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
10804         <bp-checks.h>.
10805         (__xstat): Do not use CHECK_1.
10806         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
10807         (__xstat): Do not use CHECK_1.
10808         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
10809         (___xstat64): Do not use CHECK_1.
10811         [BZ #13550]
10812         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
10813         definitions.
10814         (CHECK_BOUNDS_HIGH): Likewise.
10815         * string/strcpy.c: Do not include <bp-checks.h>.
10816         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
10818 2013-02-07  Roland McGrath  <roland@hack.frob.com>
10820         * nscd/nscd-client.h (__nscd_drop_map_ref):
10821         Add __attribute__ ((unused)).
10822         * nis/nss-nisplus.h (niserr2nss): Likewise.
10824         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
10825         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
10827         * csu/libc-tls.c (init_static_tls, init_slotinfo):
10828         Remove inline keyword.
10829         * include/rounding-mode.h (round_away): Likewise.
10830         * libio/wfileops.c (adjust_wide_data): Likewise.
10831         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
10832         (__m128i_strloadu_tolower): Likewise.
10833         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
10834         (__m128i_strloadu_tolower): Likewise.
10835         * time/mktime.c (ydhms_diff): Likewise.
10836         * locale/elem-hash.h (elem_hash): Likewise.
10837         * locale/setlocale.c (setdata): Likewise.
10838         * posix/regex_internal.h (re_string_char_size_at): Likewise.
10839         (re_string_wchar_at): Likewise.
10840         (bitset_not, bitset_merge, bitset_mask): Likewise.
10841         [!(__GNUC__ > 3)] (inline): Remove macro.
10842         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
10843         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
10844         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10845         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
10846         * string/memcmp.c (memcmp_bytes): Likewise.
10847         * locale/programs/locarchive.c (compute_hashval): Likewise.
10848         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
10849         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
10850         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
10851         * nss/getent.c (print_rpc, print_protocols): Likewise.
10852         (print_passwd, print_group, print_aliases): Likewise.
10853         * nis/nss-nisplus.h (niserr2nss): Likewise.
10854         * nscd/connections.c (restart_p): Likewise.
10855         Change return type to bool.
10857 2013-02-05  Roland McGrath  <roland@hack.frob.com>
10859         * Makeconfig (all-Depend-files): Add existing
10860         $(sorted-subdirs:=/Depend) files.
10861         (all-subdirs): Remove nss.
10862         * sysdeps/unix/inet/Subdirs: Add it here instead.
10863         * hesiod/Depend: New file.
10865         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
10866         instead of calling alloca.
10868         * io/lseek.c (__lseek): Rename to __libc_lseek.
10869         Define __lseek as an alias.
10871         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
10873 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
10875         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
10876         else clause and remove check for non-standard endianness.
10878 2013-02-04  David S. Miller  <davem@davemloft.net>
10880         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10882 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
10884         [BZ #13550]
10885         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
10886         (__ubp_memchr): Remove prototype.
10887         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
10888         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10889         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
10890         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10891         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
10892         Remove alias.
10893         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
10894         (__ubp_memchr): Likewise.
10895         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
10896         (__ubp_memchr): Likewise.
10897         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
10898         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
10899         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
10900         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
10901         CHECK_STRING.
10902         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10903         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
10904         (__getcwd): Do not use CHECK_STRING.
10905         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10906         <bp-checks.h>.
10907         (__real_chown): Do not use CHECK_STRING.
10908         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
10909         <bp-checks.h>.
10910         (fchownat): Do not use CHECK_STRING.
10911         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
10912         CHECK_STRING.
10913         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10914         <bp-checks.h>.
10915         (__lchown): Do not use CHECK_STRING.
10916         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10917         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10918         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10919         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10921         include <bp-checks.h>.
10922         (truncate64): Do not use CHECK_STRING.
10923         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10924         <bp-checks.h>.
10925         (__real_chown): Do not use CHECK_STRING.
10926         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10927         <bp-checks.h>.
10928         (__lchown): Do not use CHECK_STRING.
10929         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10930         <bp-checks.h>.
10931         (__chown): Do not use CHECK_STRING.
10932         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
10933         <bp-checks.h>.
10934         (truncate64): Do not use CHECK_STRING.
10935         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
10936         Likewise.
10937         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
10938         (__xmknod): Do not use CHECK_STRING.
10939         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10940         <bp-checks.h>.
10941         (__xmknodat): Do not use CHECK_STRING.
10942         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10943         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
10945 2013-02-04  Andreas Schwab  <schwab@suse.de>
10947         [BZ #14142]
10948         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
10949         * include/netdb.h: Likewise for h_errno.
10950         * elf/tst-stackguard1.c: Include <tls.h>.
10952 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
10954         * elf/link.h (struct link_map): Extend the l_addr comment.
10955         * include/link.h (struct link_map): Likewise.
10957 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
10959         [BZ #13550]
10960         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
10961         (BOUNDED_1): Remove macro.
10962         * debug/backtrace.c: Don't include <bp-checks.h>.
10963         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
10964         (__backtrace): Likewise.
10965         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
10966         <bp-checks.h>.
10967         (__backtrace): Don't use BOUNDED_1.
10968         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
10969         <bp-checks.h>.
10970         (__backtrace): Don't use BOUNDED_1.
10971         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
10972         (__backtrace): Don't use BOUNDED_1.
10973         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
10974         (shmat): Don't use BOUNDED_N.
10976 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
10978         [BZ #13550]
10979         * sysdeps/generic/bp-start.h: Remove file.
10980         * csu/libc-start.c: Don't include <bp-start.h>.
10981         (LIBC_START_MAIN): Set up __environ directly instead of using
10982         INIT_ARGV_and_ENVIRON.
10983         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
10984         <bp-start.h>.
10986         [BZ #13550]
10987         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
10988         definitions.
10989         (CHECK_FCNTL): Likewise.
10990         (CHECK_N_PAGES): Likewise.
10992         [BZ #13550]
10993         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
10994         definitions.
10995         (CHECK_SIGSET_NULL_OK): Likewise.
10996         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
10997         <bp-checks.h>.
10998         (sigpending): Don't use CHECK_SIGSET.
10999         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
11000         <bp-checks.h>.
11001         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11002         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
11003         <bp-checks.h>.
11004         (do_sigsuspend): Don't use CHECK_SIGSET.
11005         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
11006         use CHECK_SIGSET.
11007         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
11008         (do_sigwait): Don't use CHECK_SIGSET.
11009         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
11010         use CHECK_SIGSET.
11011         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
11012         include <bp-checks.h>.
11013         (sigpending): Don't use CHECK_SIGSET.
11014         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
11015         include <bp-checks.h>.
11016         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11017         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
11018         <bp-checks.h>.
11019         (sigpending): Don't use CHECK_SIGSET.
11020         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
11021         <bp-checks.h>.
11022         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11024         [BZ #13550]
11025         * sysdeps/generic/bp-semctl.h: Remove file.
11026         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
11027         <bp-checks.h> and <bp-semctl.h>.
11028         (__old_semctl): Don't use CHECK_SEMCTL.
11029         (__new_semctl): Likewise.
11030         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
11031         and <bp-semctl.h>.
11032         (__old_semctl): Don't use CHECK_SEMCTL.
11033         (__new_semctl): Likewise.
11034         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
11035         <bp-checks.h> and <bp-semctl.h>.
11036         (__old_semctl): Don't use CHECK_SEMCTL.
11037         (__new_semctl): Likewise.
11038         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
11039         <bp-checks.h> and <bp-semctl.h>.
11040         (semctl): Don't use CHECK_SEMCTL.
11042         [BZ #13550]
11043         * Makerules (elide-bp-thunks): Remove variable.
11044         (elide-routines.oS): Don't use $(elide-bp-thunks).
11045         (elide-routines.os): Likewise.
11046         (elide-routines.o): Likewise.
11047         (elide-routines.op): Likewise.
11048         (elide-routines.og): Likewise.
11049         (objects): Don't use $(bp-thunks).
11050         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
11051         include.
11052         (common-generated): Do not add s-proto-bp.d.
11053         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
11054         (int): Likewise.
11055         (typ): Likewise.
11056         Do not generate makefile rules for bounded-pointer thunks.
11057         * sysdeps/generic/bp-thunks.h: Remove file.
11058         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
11059         * sysdeps/unix/s-proto-bp.S: Likewise.
11061         [BZ #15062]
11062         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
11063         parts of result separately when argument is not close to line from
11064         -i to i and one part of argument is small.
11065         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11066         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11067         * math/libm-test.inc (cacos_test): Add more tests.
11068         (casin_test): Likewise.
11069         (casinh_test): Likewise.
11070         * sysdeps/i386/fpu/libm-test-ulps: Update.
11071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11073 2013-01-31  David S. Miller  <davem@davemloft.net>
11075         * po/de.po: Update from translation team.
11077 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
11079         * time/tzfile.c: Include stdint.h for SIZE_MAX.
11081 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
11083         * configure.in (_AC_PROG_CC_C89): New definition.
11084         * configure: Regenerate.
11086         * configure.in (AC_PROG_CPP): New definition.
11087         * configure: Regenerate.
11089 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
11091         * debug/tst-backtrace.h: New file.
11092         * debug/tst-backtrace2.c: Include tst-backtrace.h.
11093         (ret): Remove variable.
11094         (x): Likewise.
11095         (FAIL): Remove macro.
11096         (NO_INLINE): Likewise.
11097         (fn1): Use match function instead of strstr.
11098         * debug/tst-backtrace3.c: Include tst-backtrace.h.
11099         (ret): Remove variable.
11100         (x): Likewise.
11101         (FAIL): Remove macro.
11102         (NO_INLINE): Likewise.
11103         (fn): Use match function instead of strstr.
11104         * debug/tst-backtrace4.c: Include tst-backtrace.h.
11105         (ret): Remove variable.
11106         (x): Likewise.
11107         (FAIL): Remove macro.
11108         (NO_INLINE): Likewise.
11109         (handle_signal): Use match function instead of strstr.
11110         * debug/tst-backtrace5.c: Include tst-backtrace.h.
11111         (ret): Remove variable.
11112         (x): Likewise.
11113         (FAIL): Remove macro.
11114         (NO_INLINE): Likewise.
11115         (handle_signal): Use match function instead of strstr.
11117 2013-01-23  Roland McGrath  <roland@hack.frob.com>
11119         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
11121 2013-01-23  David S. Miller  <davem@davemloft.net>
11123         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
11124         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
11125         argument of CAS if possible.
11126         * sysdeps/sparc/sparc64/bits/atomic.h
11127         (__arch_compare_and_exchange_val_32_acq): Likewise.
11128         (__arch_compare_and_exchange_val_64_acq): Likewise.
11130 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
11132         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
11133         * sysdeps/posix/ulimit.c: ... this.
11134         Include <limits.h>.
11135         * sysdeps/unix/bsd/ulimit.c: Remove file.
11137 2013-01-23  Adam Conrad  <adconrad@0c3.net>
11139         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
11140         (LDFLAGS-tst-array5): Likewise.
11142 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
11144         [BZ #15036]
11145         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
11146         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
11147         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
11148         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
11150 2013-01-21  David S. Miller  <davem@davemloft.net>
11152         * sysdeps/sparc/backtrace.c: New file.
11153         * sysdeps/sparc/sparc32/backtrace.h: New file.
11154         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
11155         * sysdeps/sparc/sparc64/backtrace.h: New file.
11156         * sysdeps/sparc/sparc64/backtrace.c: Delete.
11157         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
11158         -funwind-tables.
11160 2013-01-21  Andreas Schwab  <schwab@suse.de>
11162         [BZ #15020]
11163         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
11164         closed its stdout.
11166 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
11168         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
11169         "mpa2.h".
11170         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11172 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
11173             Mark Mitchell  <mark@codesourcery.com>
11174             Tom de Vries  <tom@codesourcery.com>
11175             Paul Pluzhnikov  <ppluzhnikov@google.com>
11177         * debug/tst-backtrace2.c: New file.
11178         * debug/tst-backtrace3.c: Likewise.
11179         * debug/tst-backtrace4.c: Likewise.
11180         * debug/tst-backtrace5.c: Likewise.
11181         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
11182         (CFLAGS-tst-backtrace3.c): Likewise.
11183         (CFLAGS-tst-backtrace4.c): Likewise.
11184         (CFLAGS-tst-backtrace5.c): Likewise.
11185         (LDFLAGS-tst-backtrace2): Likewise.
11186         (LDFLAGS-tst-backtrace3): Likewise.
11187         (LDFLAGS-tst-backtrace4): Likewise.
11188         (LDFLAGS-tst-backtrace5): Likewise.
11189         (tests): Add new tests tst-backtrace2, tst-backtrace3,
11190         tst-backtrace4 and tst-backtrace5.
11192 2013-01-18  Anton Blanchard  <anton@samba.org>
11193             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11195         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
11196         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
11197         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
11198         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
11199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11200         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
11201         "+r" and remove output regs list as redundant.  Add explicit inline
11202         asm to specify register of return val to work around compiler codegen
11203         bug.  Remove (int) cast on return value.  Add return type parameter to
11204         use in macro so that this macro does not truncate return value for
11205         64-bit values.
11206         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
11207         pass to INTERNAL_VSYSCALL_NCS.
11208         (INLINE_VSYSCALL): Add 'long int' as return type to
11209         INTERNAL_VSYSCALL_NCS macro invocation.
11210         (INTERNAL_VSYSCALL): Add 'long int' as return type to
11211         INTERNAL_VSYSCALL_NCS macro invocation.
11212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11214 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11216         [BZ #14496]
11217         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
11218         Fix application of SIMD FP exception mask.
11220         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
11221         mp_no from a power of two.
11222         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
11223         __mpexp_twomm1.  Use __pow_mp.
11225         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
11226         multiplication.
11228 2013-01-17  David S. Miller  <davem@davemloft.net>
11230         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11232 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
11234         [BZ #15023]
11235         * include/complex.h: Condition contents on [!_COMPLEX_H].
11236         (__kernel_casinhf): New prototype.
11237         (__kernel_casinh): Likewise.
11238         (__kernel_casinhl): Likewise.
11239         * math/Makefile (libm_calls): Add k_casinh.
11240         * math/k_casinh.c: New file.
11241         * math/k_casinhf.c: Likewise.
11242         * math/k_casinhl.c: Likewise.
11243         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
11244         finite nonzero arguments.
11245         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
11246         finite nonzero arguments.
11247         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
11248         finite nonzero arguments.
11249         * math/s_casinh.c: Do not include <float.h>.
11250         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
11251         * math/s_casinhf.c: Do not include <float.h>.
11252         (__casinhf): Move code for finite nonzero arguments to
11253         k_casinhf.c.
11254         * math/s_casinhl.c: Do not include <float.h>.
11255         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
11256         redefine.
11257         (__casinhl): Move code for finite nonzero arguments to
11258         k_casinhl.c.
11259         * math/libm-test.inc (cacos_test): Add more tests.
11260         * sysdeps/i386/fpu/libm-test-ulps: Update.
11261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11263 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
11265         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
11266         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
11267         [!HAVE_MREMAP]: Remove [defined linux] case.
11268         * malloc/arena.c: Do not include <malloc-sysdep.h>.
11270 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
11272         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
11274 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
11276         * elf/elf.h (R_386_SIZE32): New relocation.
11277         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
11278         R_386_SIZE32.
11279         (elf_machine_rela): Likewise.
11280         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11281         R_X86_64_SIZE64 and R_X86_64_SIZE32.
11283 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
11285         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
11286         (FP_FAST_FMA): Do not define.
11287         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
11288         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
11289         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
11290         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
11291         !_SOFT_FLOAT]: Likewise.
11292         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
11293         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
11294         value.
11295         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
11296         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
11297         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
11298         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
11299         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
11300         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
11301         file.
11303 2013-01-16  Andreas Schwab  <schwab@suse.de>
11305         [BZ #14327]
11306         * include/stdlib.h (__mktemp): Add declaration.
11307         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
11308         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
11310 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11312         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
11313         definitions.
11314         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11315         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
11316         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
11317         definitions here.
11318         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
11319         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
11320         definitions.
11321         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
11322         and ONE.
11323         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
11324         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
11325         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
11326         definitions.
11327         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
11328         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
11329         definitions.
11330         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11332         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
11334 2013-01-15  David S. Miller  <davem@davemloft.net>
11336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11337         trunc{,f} to libm-sysdep_routes.
11338         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
11340         file.
11341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
11342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
11343         file.
11344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
11345         file.
11346         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
11347         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
11348         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
11349         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
11350         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
11351         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
11352         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
11353         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
11355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11356         nearbyint{,f} to libm-sysdep_routes.
11357         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
11359         New file.
11360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
11361         file.
11362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
11363         New file.
11364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
11365         file.
11366         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
11367         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
11368         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
11369         file.
11370         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
11371         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
11372         file.
11373         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
11374         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
11375         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
11377         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
11378         libc_feholdexcept and libc_fesetenv.
11380 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
11382         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
11384 2013-01-14  David S. Miller  <davem@davemloft.net>
11386         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
11387         (SPARC_ASM_VIS2_IFUNC): Likewise.
11388         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
11389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
11390         use of 'siam' instruction.
11391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
11392         Likewise.
11393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
11394         Likewise.
11395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
11396         Likewise.
11397         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
11398         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11399         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
11400         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
11401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
11402         file.
11403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
11404         file.
11405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
11406         file.
11407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
11408         file.
11409         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
11410         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
11411         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
11412         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
11413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
11414         new VIS2 routines.
11415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
11416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
11418         Likewise.
11419         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11420         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11421         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11422         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
11424         routines to libm-sysdep_routines.
11425         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11428         fdim/fdimf to libm-sysdep_routines.
11429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
11430         file.
11431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
11432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
11433         file.
11434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
11435         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
11436         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
11437         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
11438         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
11439         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
11440         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
11442 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11444         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
11445         to optimize copies.
11447         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
11448         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11449         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11451         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
11452         local variable MPTWO.
11453         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11454         Likewise.
11456 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
11458         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
11459         GLOB_NOESCAPE.
11461 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
11463         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
11465 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
11467         * manual/pattern.texi (glob_t): Document gl_flags.
11468         (glob64_t): Likewise.
11470 2013-01-11  David S. Miller  <davem@davemloft.net>
11472         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
11473         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
11474         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
11475         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
11476         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
11477         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
11478         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
11479         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
11480         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
11481         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
11482         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
11483         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
11484         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
11486         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11487         sparc V9 rather than using V8 code.
11488         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11489         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11491         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11492         Move to...
11493         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
11494         Here.
11496 2013-01-11  Roland McGrath  <roland@hack.frob.com>
11498         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
11499         not in the main loop.
11500         * configure: Regenerated.
11502 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
11504         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
11505         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
11506         to just #else.
11507         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
11508         [!__GLIBC_HAVE_LONG_LONG] case.
11509         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
11510         condition to just #else.
11511         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
11512         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
11513         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
11514         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
11515         unconditional.
11516         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
11517         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11518         #elif condition to just #else.
11519         * sysdeps/unix/sysv/linux/sys/sysmacros.h
11520         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
11521         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11522         #elif condition to just #else.
11524 2013-01-11  Steve Ellcey  <sellcey@mips.com>
11526         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
11527         (EF_MIPS_ARCH_64): Fix value.
11528         (EF_MIPS_ARCH_32R2): New.
11529         (EF_MIPS_ARCH_64R2): New.
11531 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
11533         * Makeconfig (+link-pie-before-libc): New.
11534         (+link-pie-after-libc): Likewise.
11535         (+link-pie-tests): Likewise.
11536         (+link-pie): Rewritten.
11537         (link-before-libc): Remove $(config-LDFLAGS).
11538         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
11539         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
11540         (config-LDFLAGS): Renamed to ...
11541         (rtld-LDFLAGS): This.
11542         (rtld-tests-LDFLAGS): New macro.
11543         (link-libc-rpath-link): Likewise.
11544         (link-libc-tests-rpath-link): Likewise.
11545         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
11546         (link-libc): Prepand $(link-libc-rpath-link).
11547         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
11548         (test-program-prefix): New macro.
11549         (test-via-rtld-prefix): Likewise.
11550         (test-program-cmd): Likewise.
11551         (host-test-program-cmd): Likewise.
11552         * Makefile ($(common-objpfx)testrun.sh): Replace
11553         $(run-program-prefix) with $(test-program-prefix).
11554         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
11555         $(rtld-LDFLAGS).
11556         ($(common-objpfx)shlib.lds): Likewise.
11557         (build-module-helper): Likewise.
11558         ($(common-objpfx)format.lds): Likewise.
11559         * Rules (binaries-pie-tests): New.
11560         (binaries-pie-notests): Likewise.
11561         (binaries-pie): Rewritten.
11562         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
11563         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
11564         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
11565         (make-test-out): Replace $(host-built-program-cmd) with
11566         $(host-test-program-cmd).
11567         * config.make.in (build-hardcoded-path-in-tests): New variable.
11568         * configure.in (--enable-hardcoded-path-in-tests): New configure
11569         option.
11570         (hardcoded_path_in_tests): New AC_SUBST.
11571         * configure: Regenerated.
11572         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
11573         $(built-program-cmd) with $(test-program-cmd).
11574         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
11575         (test_program_cmd): This.
11576         * elf/Makefile ($(objpfx)order.out): Run test with
11577         $(test-program-prefix).
11578         ($(objpfx)order2.out): Likewise.
11579         ($(objpfx)tst-initorder.out): Likewise.
11580         ($(objpfx)tst-initorder2.out): Likewise.
11581         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
11582         $(test-program-cmd).
11583         ($(objpfx)tst-array1-static.out): Likewise.
11584         ($(objpfx)tst-array2.out): Likewise.
11585         ($(objpfx)tst-array3.out): Likewise.
11586         ($(objpfx)tst-array4.out): Likewise.
11587         ($(objpfx)tst-array5.out): Likewise.
11588         ($(objpfx)tst-array5-static.out): Likewise.
11589         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
11590         $(test-program-cmd).
11591         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
11592         $(run-program-prefix) with $(test-program-prefix).
11593         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
11594         (test_program_prefix): This.
11595         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
11596         $(run-program-prefix) with $(test-program-prefix).
11597         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
11598         (test_program_prefix): This.
11599         * iconvdata/tst-tables.sh: Likewise.
11600         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
11601         $(run-program-prefix) with $(test-program-prefix).
11602         ($(objpfx)tst-translit.out): Likewise.
11603         ($(objpfx)tst-gettext2.out): Likewise.
11604         ($(objpfx)tst-gettext4.out): Likewise.
11605         ($(objpfx)tst-gettext6.out): Likewise.
11606         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
11607         (test_program_prefix): This.
11608         * intl/tst-gettext2.sh: Likewise.
11609         * intl/tst-gettext4.sh  Likewise.
11610         * intl/tst-gettext6.sh: Likewise.
11611         * intl/tst-translit.sh: Likewise.
11612         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
11613         with $(test-program-cmd).
11614         * libio/Makefile ($(objpfx)test-freopen.out): Replace
11615         $(run-program-prefix) with $(test-program-prefix).
11616         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
11617         (test_program_prefix): This.
11618         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
11619         $(run-program-prefix) with $(test-program-prefix).
11620         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
11621         (test_program_prefix): This.
11622         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
11623         * posix/Makefile ($(objpfx)globtest.out): Replace
11624         $(run-via-rtld-prefix) and $(test-wrapper) with
11625         $(test-program-prefix) and $(test-via-rtld-prefix).
11626         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
11627         $(test-program-prefix).
11628         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
11629         $(host-test-program-cmd).
11630         (tst-spawn-ARGS): Likewise.
11631         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
11632         $(test-program-prefix).
11633         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
11634         (test_via_rtld_prefix): This.
11635         (test_wrapper): Renamed to ...
11636         (test_program_prefix): This.
11637         (run_program_prefix): Replaced by test_program_prefix.
11638         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
11639         (test_program_prefix): This.
11640         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
11641         with $(host-test-program-cmd).
11642         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
11643         $(run-program-prefix) with $(test-program-prefix).
11644         ($(objpfx)tst-printf.out): Likewise.
11645         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
11646         $(test-program-cmd).
11647         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
11648         (test_program_prefix): This.
11649         * stdio-common/tst-unbputc.sh: Likewise.
11650         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
11651         $(run-program-prefix) with $(test-program-prefix).
11652         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
11653         (test_program_prefix): This.
11654         * string/Makefile ($(objpfx)tst-svc.out):  Replace
11655         $(built-program-cmd) with $(test-program-cmd).
11657 2013-01-11  Andreas Jaeger  <aj@suse.de>
11659         [BZ #15003]
11660         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
11661         value. Sync with Linux 3.7.
11663 2013-01-10  David S. Miller  <davem@davemloft.net>
11665         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
11666         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11667         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11669 2013-01-10  Roland McGrath  <roland@hack.frob.com>
11671         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
11672         never set.
11673         * configure: Regenerated.
11675 2013-01-10  David S. Miller  <davem@davemloft.net>
11677         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11678         sparc V9 rather than using V8 code.
11679         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11680         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11682 2013-01-10  Roland McGrath  <roland@hack.frob.com>
11684         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
11685         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
11686         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
11687         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
11688         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
11689         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
11690         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
11691         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
11692         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
11693         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
11694         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
11695         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
11696         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
11697         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
11698         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
11699         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
11700         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
11701         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
11702         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
11703         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
11704         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
11705         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
11706         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
11707         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
11708         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
11709         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
11710         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
11712 2013-01-10  David S. Miller  <davem@davemloft.net>
11714         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11716 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
11718         * posix/Makefile (tests-static): New variable.
11719         (tests): Add $(tests-static).
11720         (tst-exec-static-ARGS): New variable.
11721         (tst-spawn-static-ARGS): Likewise.
11722         * posix/tst-exec-static.c: New file.
11723         * posix/tst-spawn-static.c: Likewise.
11724         * posix/tst-exec.c: Support run directly.
11725         * posix/tst-spawn.c: Likewise.
11727 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
11729         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
11730         long.
11731         * math/bits/mathcalls.h (llrint): Likewise.
11732         (llround): Likewise.
11733         * stdlib/stdlib.h (struct drand48_data): Likewise.
11734         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
11735         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
11736         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
11737         Likewise.
11738         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
11739         Likewise.
11740         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
11741         (elf_greg_t): Likewise.
11742         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
11743         (__jmp_buf): Likewise.
11744         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
11745         definitions.
11746         (llrint): Likewise, for all definitions.
11747         (llrintl): Likewise.
11749         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
11750         Remove [__GNUC__] condition.
11751         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
11752         condition to just [__USE_ISOC99].
11753         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
11755 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
11757         [BZ #14200]
11758         * sysdeps/unix/sysv/linux/x86/bits/environments.h
11759         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
11760         defined.
11761         (_POSIX_V6_ILP32_OFF32): Likewise.
11762         (_XBS5_ILP32_OFF32): Likewise.
11763         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
11764         (__ILP32_OFFBIG_LDFLAGS): Likewise.
11766 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11768         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
11770         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
11771         doubles __mpexp_twomm1.  Adjust usage.
11772         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
11773         Remove.
11775 2013-01-10  Andreas Schwab  <schwab@suse.de>
11777         [BZ #14964]
11778         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
11779         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
11781 2013-01-09  David S. Miller  <davem@davemloft.net>
11783         [BZ #15003]
11784         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
11785         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
11786         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
11787         TCP_FASTOPEN): Define.
11788         (tcp_repair_opt): New structure.
11789         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
11790         enum values.
11791         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
11792         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
11793         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
11794         (tcp_cookie_transactions): New structure.
11796 2013-01-09  Anton Blanchard  <anton@samba.org>
11798         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
11799         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
11800         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
11801         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
11803 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
11805         * include/features.h (__USE_ANSI): Remove.
11807 2013-01-09  Roland McGrath  <roland@hack.frob.com>
11809         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
11811         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
11813 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
11815         * sysdeps/s390/fpu/libm-test-ulps: Update.
11817         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11819         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
11820         (__acr): Likewise.
11821         (__cpy): Likewise.
11822         (norm): Likewise.
11823         (denorm): Likewise.
11824         (__mp_dbl): Likewise.
11825         (__dbl_mp): Likewise.
11826         (add_magnitudes): Likewise.
11827         (sub_magnitudes): Likewise.
11828         (__add): Likewise.
11829         (__sub): Likewise.
11830         (__mul): Likewise.
11831         (__inv): Likewise.
11832         (__dvd): Likewise.
11833         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
11834         (__acr): Likewise.
11835         (__cpy): Likewise.
11836         (norm): Likewise.
11837         (denorm): Likewise.
11838         (__mp_dbl): Likewise.
11839         (__dbl_mp): Likewise.
11840         (add_magnitudes): Likewise.
11841         (sub_magnitudes): Likewise.
11842         (__add): Likewise.
11843         (__sub): Likewise.
11844         (__mul): Likewise.
11845         (__inv): Likewise.
11846         (__dvd): Likewise.
11847         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
11848         (__acr): Likewise.
11849         (__cpy): Likewise.
11850         (norm): Likewise.
11851         (denorm): Likewise.
11852         (__mp_dbl): Likewise.
11853         (__dbl_mp): Likewise.
11854         (add_magnitudes): Likewise.
11855         (sub_magnitudes): Likewise.
11856         (__add): Likewise.
11857         (__sub): Likewise.
11858         (__mul): Likewise.
11859         (__inv): Likewise.
11860         (__dvd): Likewise.
11862 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
11864         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
11865         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
11866         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
11867         2 && __USE_EXTERN_INLINES]: Likewise.
11869 2013-01-08  Andreas Jaeger  <aj@suse.de>
11871         [BZ# 14985]
11872         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
11873         Remove.
11874         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11875         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11877 2013-01-07  Anton Blanchard  <anton@samba.org>
11879         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
11880         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11881         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
11882         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11883         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11884         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11885         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
11886         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11887         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11888         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11889         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11890         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11891         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11892         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11893         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11894         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11895         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11896         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11897         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11898         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11899         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11900         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
11901         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11902         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11903         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
11904         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11905         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11906         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11907         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
11908         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11909         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11910         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11911         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11912         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11913         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11914         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11915         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11916         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11917         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
11918         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11919         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
11920         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11921         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11923 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
11925         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
11926         (__MALLOC_PMT): Likewise.
11927         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
11928         [__GNUC__], only on [_LIBC].
11929         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11930         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
11931         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11932         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
11933         forward declaration.
11934         (realloc_hook_ini): Likewise.
11935         (memalign_hook_ini): Likewise.
11936         (__libc_memalign): Do not use __MALLOC_PMT in variable
11937         declaration.
11938         (__libc_valloc): Likewise.
11939         (__libc_pvalloc): Likewise.
11940         (__libc_calloc): Likewise.
11941         (__posix_memalign): Likewise.
11943         [BZ #14996]
11944         * math/s_casinh.c: Include <float.h>.
11945         (__casinh): Do not do computation with squaring and square root
11946         for large arguments.
11947         * math/s_casinhf.c: Include <float.h>.
11948         (__casinhf): Do not do computation with squaring and square root
11949         for large arguments.
11950         * math/s_casinhl.c: Include <float.h>.
11951         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
11952         (__casinhl): Do not do computation with squaring and square root
11953         for large arguments.
11954         * math/libm-test.inc (casin_test): Add more tests.
11955         (casinh_test): Likewise.
11956         * sysdeps/i386/fpu/libm-test-ulps: Update.
11957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11959 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
11961         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
11962         (__x86_64_raw_data_cache_size): Likewise.
11963         (__x86_64_data_cache_size_half): Likewise.
11964         (__x86_64_raw_data_cache_size_half): Likewise.
11965         (__x86_64_shared_cache_size): Likewise.
11966         (__x86_64_raw_shared_cache_size): Likewise.
11967         (__x86_64_shared_cache_size_half): Likewise.
11968         (__x86_64_raw_shared_cache_size_half): Likewise.
11969         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
11970         to ...
11971         (__x86_data_cache_size): This.
11972         (__x86_64_raw_data_cache_size): Renamed to ...
11973         (__x86_raw_data_cache_size): This.
11974         (__x86_64_data_cache_size_half): Renamed to ...
11975         (__x86_data_cache_size_half): This.
11976         (__x86_64_raw_data_cache_size_half): Renamed to ...
11977         (__x86_raw_data_cache_size_half): This.
11978         (__x86_64_shared_cache_size): Renamed to ...
11979         (__x86_shared_cache_size): This.
11980         (__x86_64_raw_shared_cache_size): Renamed to ...
11981         (__x86_raw_shared_cache_size): This.
11982         (__x86_64_shared_cache_size_half): Renamed to ...
11983         (__x86_shared_cache_size_half): This.
11984         (__x86_64_raw_shared_cache_size_half): Renamed to ...
11985         (__x86_raw_shared_cache_size_half): This.
11986         * sysdeps/x86_64/memcpy.S: Updated.
11987         * sysdeps/x86_64/memset.S: Likewise.
11988         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11989         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11990         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11992 2013-01-04  David S. Miller  <davem@davemloft.net>
11994         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11996 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
11998         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
11999         1 to avoid redefinition warning.
12000         (__USE_GNU): Don't define.
12001         (init_signaling_nan): Protoize.
12003         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12005 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12007         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
12008         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
12009         (__cpymn): Likewise.
12010         (norm): Remove commented code.
12011         (denorm): Likewise.
12012         (__mp_dbl): Likewise.
12013         (__inv): Likewise.
12014         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
12015         (__cpymn): Likewise.
12016         (norm): Remove commented code.
12017         (denorm): Likewise.
12018         (__mp_dbl): Likewise.
12019         (__inv): Likewise.
12021         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
12022         mp_no value for 1.0 and 2.0.
12023         (norm): Use RADIXI instead of radixi.d.
12024         (denorm): Likewise.
12025         (__mul): Use 0.0 instead of zero.d.
12026         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
12027         mp_no value for 1.0 and 2.0.
12028         (norm): Use RADIXI instead of radixi.d.
12029         (denorm): Likewise.
12030         (__mul): Use 0.0 instead of zero.d.
12032 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
12034         [BZ #14994]
12035         * math/s_casinh.c (__casinh): Reduce finite argument to first
12036         quadrant then set signs of results at the end.
12037         * math/s_casinhf.c (__casinhf): Likewise.
12038         * math/s_casinhl.c (__casinhl): Likewise.
12039         * math/libm-test.inc (casin_test): Add more tests.
12040         (casinh_test): Likewise.
12041         * sysdeps/i386/fpu/libm-test-ulps: Update.
12042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12044 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12046         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
12048         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
12050         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
12051         declarations.
12052         (denorm): Likewise.
12053         (__mp_dbl): Likewise.
12054         (__inv): Likewise.
12056         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
12057         and adjust the header comment.
12059         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
12060         variable name from declaration.
12062 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
12064         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12065         Initialize COMMON_CPUID_INDEX_7 element.
12066         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
12067         (CPUID_RTM): Likewise.
12068         (HAS_RTM): Likewise.
12069         (COMMON_CPUID_INDEX_7): New enum.
12071 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
12073         [BZ #14981]
12074         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
12075         size is zero, record memory as freed.
12077 2013-01-03  Andreas Jaeger  <aj@suse.de>
12079         * po/ia.po: Add new Interlingua translation.
12081 2012-01-03  Allan McRae  <allan@archlinux.org>
12083         * locale/programs/localedef.c: Fix description of '--posix' flag.
12085 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
12087         * NEWS: Update dates in second copyright notice.
12088         * README: Update copyright dates in example.
12089         * manual/libc.texinfo: Update copyright dates.
12090         * scripts/test-installation.pl: Update copyright date in --version
12091         output.
12093         * hurd/ctty-input.c: Fix copyright notice formatting.
12094         * hurd/ctty-output.c: Likewise.
12095         * hurd/dtable.c: Likewise.
12096         * hurd/hurd-raise.c: Likewise.
12097         * hurd/hurdprio.c: Likewise.
12098         * hurd/msgportdemux.c: Likewise.
12099         * misc/sys/file.h: Likewise.
12100         * misc/sys/ioctl.h: Likewise.
12101         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12102         * sysdeps/mach/hurd/chdir.c: Likewise.
12103         * sysdeps/mach/hurd/fchdir.c: Likewise.
12104         * sysdeps/mach/hurd/rename.c: Likewise.
12105         * sysdeps/mach/hurd/rmdir.c: Likewise.
12106         * sysdeps/mach/hurd/seekdir.c: Likewise.
12107         * sysdeps/mach/hurd/setsid.c: Likewise.
12108         * sysdeps/posix/wait3.c: Likewise.
12110         * All files with FSF copyright notices: Update copyright dates
12111         using scripts/update-copyrights.
12112         * intl/plural.c: Regenerated.
12113         * locale/programs/charmap-kw.h: Likewise.
12114         * locale/programs/locfile-kw.h: Likewise.
12116 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12118         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
12119         four values.
12121         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
12122         calculation loop and add branch prediction.
12124         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
12125         check access beyond bounds of m1np.
12127         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12128         MPTWO.
12129         (__inv): Remove local variable MPTWO to use the global
12130         constant.
12131         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
12132         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12133         variable MPTWO.
12134         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
12135         MP3HALFS static const.
12137 2013-01-01  David S. Miller  <davem@davemloft.net>
12139         * po/ca.po: Update from translation team.
12141 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
12143         * scripts/update-copyrights: New file.
12144         * Makeconfig: Reformat copyright notice.
12145         * ctype/ctype.h: Likewise.
12146         * debug/swprintf_chk.c: Likewise.
12147         * elf/dl-cache.c: Likewise.
12148         * elf/dl-debug.c: Likewise.
12149         * elf/dl-object.c: Likewise.
12150         * grp/initgroups.c: Likewise.
12151         * hurd/Makefile: Likewise.
12152         * hurd/hurd/signal.h: Likewise.
12153         * hurd/hurdfault.c: Likewise.
12154         * hurd/hurdioctl.c: Likewise.
12155         * hurd/hurdlookup.c: Likewise.
12156         * hurd/intr-msg.c: Likewise.
12157         * iconv/gconv_open.c: Likewise.
12158         * libio/swprintf.c: Likewise.
12159         * locale/lc-ctype.c: Likewise.
12160         * locale/nl_langinfo.c: Likewise.
12161         * mach/Machrules: Likewise.
12162         * mach/Makefile: Likewise.
12163         * malloc/obstack.h: Likewise.
12164         * manual/Makefile: Likewise.
12165         * manual/tsort.awk: Likewise.
12166         * misc/bits/stab.def: Likewise.
12167         * nis/nis_print_group_entry.c: Likewise.
12168         * nis/nis_table.c: Likewise.
12169         * nis/nss_compat/compat-pwd.c: Likewise.
12170         * nis/nss_compat/compat-spwd.c: Likewise.
12171         * po/Makefile: Likewise.
12172         * posix/fnmatch.c: Likewise.
12173         * posix/regex.h: Likewise.
12174         * resolv/Makefile: Likewise.
12175         * resolv/nss_dns/dns-network.c: Likewise.
12176         * resolv/res_hconf.c: Likewise.
12177         * scripts/gen-sorted.awk: Likewise.
12178         * soft-fp/soft-fp.h: Likewise.
12179         * stdio-common/printf.h: Likewise.
12180         * stdlib/monetary.h: Likewise.
12181         * stdlib/random.c: Likewise.
12182         * stdlib/random_r.c: Likewise.
12183         * sysdeps/generic/Makefile: Likewise.
12184         * sysdeps/gnu/Makefile: Likewise.
12185         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12186         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12187         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12188         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12189         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12190         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12191         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12192         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12193         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12194         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12195         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12196         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12197         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12198         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12199         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
12200         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12201         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12202         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12203         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12204         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12205         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12206         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12207         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12208         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12209         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
12210         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12211         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12212         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
12213         * sysdeps/mach/hurd/errnos.awk: Likewise.
12214         * sysdeps/mach/hurd/fork.c: Likewise.
12215         * sysdeps/mach/hurd/getcwd.c: Likewise.
12216         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
12217         * sysdeps/mach/hurd/mmap.c: Likewise.
12218         * sysdeps/mach/hurd/utimes.c: Likewise.
12219         * sysdeps/mach/hurd/xmknod.c: Likewise.
12220         * sysdeps/posix/profil.c: Likewise.
12221         * sysdeps/posix/readdir_r.c: Likewise.
12222         * sysdeps/powerpc/bits/mathdef.h: Likewise.
12223         * sysdeps/powerpc/bits/setjmp.h: Likewise.
12224         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
12225         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12226         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12227         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
12228         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12229         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12230         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12231         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
12232         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12233         * sysdeps/pthread/lio_listio.c: Likewise.
12234         * sysdeps/sparc/dl-procinfo.h: Likewise.
12235         * sysdeps/unix/i386/sysdep.S: Likewise.
12236         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
12237         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
12238         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
12239         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
12240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12241         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
12242         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
12243         * sysdeps/unix/sysv/linux/speed.c: Likewise.
12244         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
12245         * sysdeps/wordsize-32/divdi3.c: Likewise.
12246         * time/sys/time.h: Likewise.
12247         * wcsmbs/Makefile: Likewise.
12249 2013-01-01  David S. Miller  <davem@davemloft.net>
12251         * po/fr.po: Update from translation team.
12253         * catgets/gencat.c: Update copyright year.
12254         * csu/version.c: Likewise.
12255         * debug/catchsegv.sh: Likewise.
12256         * debug/pcprofiledump.c: Likewise.
12257         * debug/xtrace.sh: Likewise.
12258         * elf/ldconfig.c: Likewise.
12259         * elf/ldd.bash.in: Likewise.
12260         * elf/pldd.c: Likewise.
12261         * elf/sotruss.ksh: Likewise.
12262         * elf/sprof.c: Likewise.
12263         * iconv/iconv_prog.c: Likewise.
12264         * iconv/iconvconfig.c: Likewise.
12265         * locale/programs/locale.c: Likewise.
12266         * locale/programs/localedef.c: Likewise.
12267         * login/programs/pt_chown.c: Likewise.
12268         * malloc/memusage.sh: Likewise.
12269         * malloc/memusagestat.c: Likewise.
12270         * malloc/mtrace.pl: Likewise.
12271         * nscd/nscd.c: Likewise.
12272         * nss/getent.c: Likewise.
12273         * nss/makedb.c: Likewise.
12274         * posix/getconf.c: Likewise.
12276 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
12278         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
12279         numbers.
12281 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
12283         * math/bits/mathcalls.h (modf): Use __nonnull.
12285 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12287         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
12288         (split): Use macro CN instead of the bare value.
12289         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
12290         could be used.
12291         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
12292         instead of the bare value.
12293         (power1): Likewise.
12295 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12297         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
12298         __ATAN_TWOM.
12299         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12301         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
12302         their values.
12303         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12304         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12305         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
12306         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
12308 2012-12-28  Andreas Jaeger  <aj@suse.de>
12310         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
12311         values are from Linux 3.7.
12313         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
12314         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
12316 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12318         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
12319         TRUE case.
12321         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
12322         (norm): Likewise.
12323         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
12324         variables with preprocessor constants.
12325         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12326         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12327         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12329 2012-12-27  Bruno Haible  <bruno@clisp.org>
12331         [BZ #14317]
12332         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
12333         only if needed.
12335 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12337         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
12338         and use variable directly.
12339         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
12341         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12342         MPONE.
12343         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
12344         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12345         variable MPONE.
12346         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12347         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12348         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
12349         include directive.  Remove local variable MPONE.
12350         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
12351         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
12352         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12354 2012-12-25  David S. Miller  <davem@davemloft.net>
12356         * version.h (RELEASE): Set to "development".
12357         (VERSION): Set to "2.17.90".
12358         * NEWS: Add 2.18 section.
12360 2012-12-21  David S. Miller  <davem@davemloft.net>
12362         * po/hr.po: Update from translation team.
12364 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12366         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
12368 2012-12-19  Steve Ellcey  <sellcey@mips.com>
12370         * NEWS:  Mention new memcpy for MIPS.
12372 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12374         * manual/contrib.texi (Contributors): Spelling correction.
12376 2012-12-15  David S. Miller  <davem@davemloft.net>
12378         * po/ru.po: Update from translation team.
12380 2012-12-13  David S. Miller  <davem@davemloft.net>
12382         * NEWS: Mention IFUNC testsuite enhancements.
12384         * po/pl.po: Update from translation team.
12385         * po/bg.po: Likewise.
12387         * manual/contrib.texi (Contributors): Update entries for Hongjiu
12388         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
12390 2012-12-11  David S. Miller  <davem@davemloft.net>
12392         * po/sv.po: Update from translation team.
12394         * po/vi.po: Update from translation team.
12396         * po/cs.po: Update from translation team.
12398         * po/de.po: Update from translation team.
12399         * po/eo.po: Likewise.
12400         * po/nl.po: Likewise.
12402 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12404         [BZ #14246]
12405         * manual/argp.texi (Argp Helper Functions): Move node to follow
12406         Argp Parsing State.
12408         [BZ #14872]
12409         * manual/conf.texi (Limits on File System Capacity): Mention if
12410         terminating null is included in the max size.
12412 2012-12-10  Andreas Jaeger  <aj@suse.de>
12414         * po/cs.po: Update from translation team.
12416 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12418         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
12419         void pointer and cast to uintptr_t.
12420         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
12421         path.
12422         * sysdeps/s390/s390-64/memcpy.S: Likewise.
12423         * sysdeps/s390/s390-64/memset.S: Likewise.
12425 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
12427         [BZ #14833]
12428         * menual/message.texi (Message Translation): Fix typos.
12429         (Helper programs for gettext): Likewise.
12431 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
12433         [BZ #14898]
12434         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
12435         Change to -1.
12437 2012-12-07  David S. Miller  <davem@davemloft.net>
12439         * po/libc.pot: Update.
12441 2012-12-07  Richard Henderson  <rth@redhat.com>
12443         [BZ #10114]
12444         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
12445         normal/normal case to before the switch.
12446         (_FP_DIV): Likewise.
12448 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
12449             Mike Frysinger  <vapier@gentoo.org>
12451         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
12452         check for __NR_fadvise64_64.
12454 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
12456         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
12457         0, not just to plain "0" as a statement.
12458         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
12459         with cw.
12461 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
12463         * NEWS: Use sourceware.org in Bugzilla URL.
12465 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
12467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12468         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12470         * stdio-common/tst-put-error.c (do_test): Add newline to the
12471         padded test to ensure flush.
12473 2012-12-05  Jeff Law  <law@redhat.com>
12475         * sunrpc/etc.rpc (fedfs_admin): Add entry.
12477 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
12479         * README: Don't refer to ports add-on as distributed separately.
12480         Mention AArch64 in list of systems supported in the ports add-on.
12482         * LICENSES: Add more non-FSF copyright and license notices.
12484         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
12485         ((unused)).
12487         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
12489         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
12490         10000 as width of padded output.
12492 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
12494         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
12496         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
12497         variable LX with __attribute__ ((unused)).
12498         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12499         Likewise.
12500         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12501         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12502         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
12503         with __attribute__ ((unused)).
12505 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
12507         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
12509 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
12511         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
12512         (CFLAGS-nldbl-acos.c): New variable.
12513         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
12514         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
12515         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
12516         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
12517         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
12518         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
12519         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
12520         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
12521         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
12522         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
12523         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
12524         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
12525         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
12526         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
12527         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
12528         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
12529         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
12530         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
12531         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
12532         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
12533         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
12534         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
12535         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
12536         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
12537         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
12538         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
12539         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
12540         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
12541         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
12542         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
12543         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
12544         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
12545         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
12546         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
12547         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
12548         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
12549         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
12550         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
12551         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
12552         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
12553         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
12554         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
12555         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
12556         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
12557         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
12558         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
12559         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
12560         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
12561         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
12562         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
12563         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
12564         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
12565         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
12566         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
12567         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
12568         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
12569         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
12570         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
12571         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
12572         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
12573         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
12574         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
12575         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
12576         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
12577         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
12578         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
12579         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
12580         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
12581         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
12582         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
12583         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
12584         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
12585         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
12586         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
12587         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
12588         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
12589         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
12590         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
12591         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
12592         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
12593         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
12594         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
12595         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
12596         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
12597         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
12598         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
12599         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
12600         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
12601         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
12602         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
12603         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
12604         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
12605         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
12606         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
12607         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
12608         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
12609         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
12611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12612         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12614         [BZ #14914]
12615         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
12616         whole low double instead of just low 47 bits when splitting values
12617         into two parts.
12619 2012-12-03  Allan McRae  <allan@archlinux.org>
12621         * manual/stdio.texi (Predefined Printf Handlers): Remove
12622         @hsep and @vsep usage.
12624 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
12626         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
12627         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
12629 2012-12-03  Jeff Law  <law@redhat.com>
12631         * time/sys/time.h (settimeofday): Do not mark TV argument
12632         as __nonnull.
12634 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
12636         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
12637         when currently writing and seek to current position when not.
12638         * libio/Makefile (tests): Remove bug-fclose1.
12639         * libio/bug-fclose1.c: Delete.
12641 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
12643         * manual/arith.texi (feenableexcept): Fix typo.
12644         (fedisableexcept): Likewise.
12646 2012-11-30  Roland McGrath  <roland@hack.frob.com>
12648         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
12649         second, differently-typed declaration, rather than a cast.
12651 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12653         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
12654         * include/rpc/svc.h: ... here.
12656 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
12658         [BZ #13013]
12659         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
12660         depending n and resplen2 to catch cases where answer
12661         equals answerp2.
12663 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
12665         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
12666         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
12668 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
12670         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
12672 2012-11-29  Roland McGrath  <roland@hack.frob.com>
12674         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
12676 2012-11-28  Jeff Law  <law@redhat.com>
12678         [BZ #13761]
12679         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
12680         dataset_temporary.  Track alloca usage into alloca_used.
12681         If dataset is large allocate and release it via malloc/free.
12683 2012-06-04  Florian Weimer  <fweimer@redhat.com>
12685         [BZ #14197]
12686         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
12688 2012-11-28  David S. Miller  <davem@davemloft.net>
12690         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12692 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
12694         [BZ #14803]
12695         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
12696         of pi/2 rounded to nearest to 64 bits.
12697         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
12698         nearest to 64 bits.
12699         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
12700         bits.
12702 2012-11-28  Jeff Law <law@redhat.com>
12703             Martin Osvald <mosvald@redhat.com>
12705         [BZ #14889]
12706         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
12707         * sunrpc/svc.c: Include time.h.
12708         (__svc_accept_failed): New function.
12709         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
12710         any reason other than EINTR, call __svc_accept_failed.
12711         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
12712         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
12714 2012-11-28  Andreas Schwab  <schwab@suse.de>
12716         * scripts/abilist.awk: Also handle indirect functions in .opd
12717         section.
12719 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
12721         [BZ #13881]
12722         * sysdeps/x86/fpu/powl_helper.c: New file.
12723         * sysdeps/x86/fpu/Makefile: Likewise.
12724         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
12725         (p3): New object.
12726         (__ieee754_powl): Use __powl_helper for finite arguments except
12727         integer exponents below 8.
12728         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
12729         (p3): New object.
12730         (__ieee754_powl): Use __powl_helper for finite arguments except
12731         integer exponents below 8.
12732         * math/libm-test.inc (pow_test): Add more tests and enable some
12733         previously disabled tests.
12734         * sysdeps/i386/fpu/libm-test-ulps: Update.
12735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12737 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12738             Carlos O'Donell  <carlos_odonell@mentor.com>
12740         * nss/makedb.c (is_prime): Assert that input is odd and greater
12741         than 4.  Note that fact in a comment too.
12742         (next_prime): Add 4 to input.
12744 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12746         [BZ #11741]
12747         * libio/Makefile (tests): Add test case tst-fwrite-error.
12748         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
12749         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12750         * libio/tst-fwrite-error.c: New test case.
12752 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
12754         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
12755         before casting to void *.
12756         * include/libc-internal.h (__pointer_type): New macro.
12757         (__integer_if_pointer_type_sub): Likewise.
12758         (__integer_if_pointer_type): Likewise.
12759         (cast_to_integer): Likewise.
12760         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
12761         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
12762         before casting to atomic64_t.
12763         (atomic_exchange_acq): Likewise.
12764         (__arch_exchange_and_add_body): Likewise.
12765         (__arch_add_body): Likewise.
12766         (atomic_add_negative): Likewise.
12767         (atomic_add_zero): Likewise.
12769 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
12771         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
12772         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
12773         (add_fdes): Likewise.
12774         (linear_search_fdes): Likewise.
12775         (binary_search_unencoded_fdes): Likewise.
12777 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
12779         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
12781 2012-11-24  Adam Conrad  <adconrad@0c3.net>
12783         * configure.in: Autodetect C++ header directories.
12784         * configure: Regenerated.
12786 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
12788         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
12790 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
12792         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12794 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
12796         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
12797         LDBL_MANT_DIG == 106]: Disable some tests.
12798         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12799         Likewise.
12800         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12801         Likewise.
12803         [BZ #14871]
12804         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
12805         input for small inputs.  Return +/- pi/2 for large inputs.
12806         * math/libm-test.inc (atan_test): Add more tests.
12808         * sysdeps/generic/unwind-dw2-fde-glibc.c
12809         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
12810         __attribute__ ((unused)).
12812         [BZ #14645]
12813         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
12814         x * y if x and y are nonzero and z is zero.
12816         [BZ #14811]
12817         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
12818         nonzero exponents with absolute value below 0x1p-117 to +/-
12819         0x1p-117.
12821         [BZ #14869]
12822         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
12823         up arguments below 2**-450, not just those below 2**-500.
12824         * math/libm-test.inc (hypot_test): Add another test.
12826         [BZ #14868]
12827         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12828         Return a+b for ratio over 2**120, not 2**60.
12829         * math/libm-test.inc (hypot_test): Add another test.
12831         * math/libm-test.inc (clog_test): Use
12832         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
12833         (clog10_test): Likewise.
12835         [BZ #6778]
12836         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
12838 2012-11-22  Andreas Schwab  <schwab@suse.de>
12840         * sysdeps/i386/fpu/libm-test-ulps: Update.
12842 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
12844         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
12845         printf output with newline.
12847 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
12849         [BZ #14865]
12850         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
12851         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
12852         -z nodlopen, -z initfirst and -z execstack support.
12853         * configure: Regenerated.
12855         * elf/elf.h (DF_1_NODIRECT): New macro.
12856         (DF_1_IGNMULDEF): Likewise.
12857         (DF_1_NOKSYMS): Likewise.
12858         (DF_1_NOHDR): Likewise.
12859         (DF_1_EDITED): Likewise.
12860         (DF_1_NORELOC): Likewise.
12861         (DF_1_SYMINTPOSE): Likewise.
12862         (DF_1_GLOBAUDIT): Likewise.
12863         (DF_1_SINGLETON): Likewise.
12864         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
12865         DT_1_SUPPORTED_MASK bits.
12866         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
12868 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
12870         * sysdeps/unix/make-syscalls.sh: Document prefixes.
12872 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
12874         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
12875         macro.
12877         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
12878         (sendmmsg): Move declarations...
12879         * socket/sys/socket.h: ... here.
12880         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
12881         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
12882         include it from...
12883         * socket/recvmmsg.c: ... this new file.
12884         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
12885         (sendmmsg): Rename to __sendmmsg, create weak alias and make
12886         definition of __sendmmsg hidden.
12887         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12888         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
12889         Move ENOSYS stub into and include it from...
12890         * socket/sendmmsg.c: ... this new file.
12891         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
12892         (sysdep_routines): Move recvmmsg and sendmmsg...
12893         * socket/Makefile (routines): ... here.
12894         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
12895         (GLIBC_PRIVATE): Add __sendmmsg.
12896         * include/sys/socket.h (__sendmmsg): Add declarations.
12897         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
12898         sendmmsg.
12900 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
12902         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
12903         variable I1 with __attribute__ ((unused)).
12904         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12906 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
12908         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
12909         DUMMY variables with __attribute__ ((unused)).
12911         * bits/byteswap.h: Include <bits/types.h>.
12912         (__bswap_64): Use __uint64_t instead of unsigned long long int.
12914 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
12916         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
12917         string_t.  Do not manually set errno.
12918         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
12919         length with __strnlen.  Make sure to both set errno and return it on
12920         failure.
12922 2012-11-19  David S. Miller  <davem@davemloft.net>
12924         With help from Joseph Myers.
12925         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
12926         very large arguments properly.
12927         * math/libm-test.inc (atan_test): New tests.
12928         (atan2_test): New tests.
12929         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12930         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12932 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
12934         [BZ #14856]
12935         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
12936         Define to 3.
12938         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
12939         [POSIX] (EADDRNOTAVAIL): Likewise.
12940         [POSIX] (EAFNOSUPPORT): Likewise.
12941         [POSIX] (EALREADY): Likewise.
12942         [POSIX] (ECONNABORTED): Likewise.
12943         [POSIX] (ECONNREFUSED): Likewise.
12944         [POSIX] (ECONNRESET): Likewise.
12945         [POSIX] (EDESTADDRREQ): Likewise.
12946         [POSIX] (EDQUOT): Likewise.
12947         [POSIX] (EHOSTUNREACH): Likewise.
12948         [POSIX] (EIDRM): Likewise.
12949         [POSIX] (EISCONN): Likewise.
12950         [POSIX] (ELOOP): Likewise.
12951         [POSIX] (EMULTIHOP): Likewise.
12952         [POSIX] (ENETDOWN): Likewise.
12953         [POSIX] (ENETUNREACH): Likewise.
12954         [POSIX] (ENOBUFS): Likewise.
12955         [POSIX] (ENODATA): Likewise.
12956         [POSIX] (ENOLINK): Likewise.
12957         [POSIX] (ENOMSG): Likewise.
12958         [POSIX] (ENOPROTOOPT): Likewise.
12959         [POSIX] (ENOSR): Likewise.
12960         [POSIX] (ENOSTR): Likewise.
12961         [POSIX] (ENOTCONN): Likewise.
12962         [POSIX] (ENOTSOCK): Likewise.
12963         [POSIX] (EOPNOTSUPP): Likewise.
12964         [POSIX] (EOVERFLOW): Likewise.
12965         [POSIX] (EPROTO): Likewise.
12966         [POSIX] (EPROTONOSUPPORT): Likewise.
12967         [POSIX] (EPROTOTYPE): Likewise.
12968         [POSIX] (ESTALE): Likewise.
12969         [POSIX] (ETIME): Likewise.
12970         [POSIX] (ETXTBSY): Likewise.
12971         [POSIX] (EWOULDBLOCK): Likewise.
12972         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
12973         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
12974         [POSIX] (SEEK_CUR): Likewise.
12975         [POSIX] (SEEK_END): Likewise.
12976         [POSIX || UNIX98] (mode_t): Do not require.
12977         [POSIX] (off_t): Likewise.
12978         [POSIX] (pid_t): Likewise.
12979         [POSIX] (sys/stat.h): Do not allow header.
12980         [POSIX] (unistd.h): Likewise.
12981         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
12982         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
12983         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
12984         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
12985         require.
12986         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
12987         sigevent): Specify elements.
12988         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
12989         entry.
12990         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
12991         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
12993         * conform/data/cpio.h-data [POSIX]: Disable whole file.
12994         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
12995         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
12996         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
12997         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
12998         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
12999         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
13000         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
13001         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
13002         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
13003         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
13004         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
13005         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
13006         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
13007         Likewise.
13008         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
13009         Likewise.
13010         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
13011         Likewise.
13012         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
13013         Likewise.
13014         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
13015         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
13016         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
13017         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
13018         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
13019         Specify lower bound on value.
13020         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
13021         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
13022         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
13023         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
13024         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
13025         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
13026         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
13027         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
13028         value.
13029         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
13030         as optional.
13031         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
13032         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
13033         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
13034         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
13035         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
13036         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
13037         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
13038         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
13039         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
13040         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
13041         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
13042         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
13043         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
13044         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
13045         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
13046         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
13047         entry.
13048         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
13049         optional.
13050         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
13051         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
13052         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
13053         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
13054         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
13055         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
13056         Likewise.
13057         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
13058         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
13059         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
13060         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
13061         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
13062         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
13063         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
13064         as optional.
13065         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
13066         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
13067         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
13068         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
13069         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
13070         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
13071         specify as optional.
13072         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
13073         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
13074         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
13075         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
13076         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
13077         [XPG3] (NL_LANGMAX): Likewise.
13078         [POSIX || XPG3] (NL_MSGMAX): Likewise.
13079         [POSIX || XPG3] (NL_NMAX): Likewise.
13080         [POSIX || XPG3] (NL_SETMAX): Likewise.
13081         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
13082         [XPG3] (NZERO): Likewise.
13083         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
13084         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
13085         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
13086         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
13087         (REG_ERANGE): Expect.
13088         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
13089         optional-constant.
13090         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
13091         Use (void) in prototype.
13092         [POSIX] (*_t): Allow.
13093         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
13094         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
13095         (WRDE_BADVAL): Expect.
13097         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
13098         expect.
13099         [XPG3 || XPG4] (O_RSYNC): Likewise.
13100         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
13101         Likewise.
13102         [XPG3 || XPG4] (pthread_sigmask): Likewise.
13103         [XPG3 || XPG4] (sigqueue): Likewise.
13104         [XPG3 || XPG4] (sigtimedwait): Likewise.
13105         [XPG3 || XPG4] (sigwaitinfo): Likewise.
13106         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
13107         [XPG3 || XPG4] (vsnprintf): Likewise.
13108         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
13109         Likewise.
13110         [XPG3 || XPG4] (blksize_t): Likewise.
13111         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
13112         Likewise.
13113         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
13114         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
13115         [XPG3 || XPG4] (struct itimerspec): Likewise.
13116         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
13117         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
13118         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
13119         [XPG3 || XPG4] (clockid_t): Likewise.
13120         [XPG3 || XPG4] (timer_t): Likewise.
13121         [XPG3 || XPG4] (clock_getres): Likewise.
13122         [XPG3 || XPG4] (clock_gettime): Likewise.
13123         [XPG3 || XPG4] (clock_settime): Likewise.
13124         [XPG3 || XPG4] (nanosleep): Likewise.
13125         [XPG3 || XPG4] (timer_create): Likewise.
13126         [XPG3 || XPG4] (timer_delete): Likewise.
13127         [XPG3 || XPG4] (timer_gettime): Likewise.
13128         [XPG3 || XPG4] (timer_getoverrun): Likewise.
13129         [XPG3 || XPG4] (timer_settime): Likewise.
13130         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
13131         [XPG3 || XPG4] (getlogin_r): Likewise.
13132         [XPG3 || XPG4] (pread): Likewise.
13133         [XPG3 || XPG4] (pthread_atfork): Likewise.
13134         [XPG3 || XPG4] (pwrite): Likewise.
13136         [BZ #14835]
13137         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
13138         <bits/siginfo.h>.
13140 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
13142         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
13143         finalizing MALLSTREAM.
13145         * sysdeps/mach/hurd/syncfs.c: New file.
13147 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13149         [BZ #14719]
13150         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
13151         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
13152         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
13153         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
13154         (_nss_dns_gethostbyname4_r): Likewise.
13155         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
13156         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
13158 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
13160         [BZ #13763]
13161         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
13163 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
13165         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
13166         * elf/cache.c (print_entry): Print ",AArch64" for
13167         FLAG_AARCH64_LIB64
13169         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
13170         * elf/cache.c (print_entry): Print ",hard-float" for
13171         FLAG_ARM_LIBHF.
13173 2012-11-18  David S. Miller  <davem@davemloft.net>
13175         With help from Joseph Myers.
13176         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
13177         cutoff to 2**-13.
13178         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
13179         cutoff to 2**-25.
13180         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
13181         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
13182         small.
13183         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
13184         * math/libm-test.inc (y0_test): New tests.
13185         (y1_test): New tests.
13186         * sysdeps/i386/fpu/libm-test-ulps: Update.
13187         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13188         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13190 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
13192         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
13193         64-bit targets.
13194         * configure: Regenerated.
13196 2012-11-17  David S. Miller  <davem@davemloft.net>
13198         [BZ #14811]
13199         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
13200         nonzero exponents with absolute value below 0x1p-128 to +/-
13201         0x1p-128.
13203 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
13205         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
13207         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
13209         * posix/getconf-speclist.c: New file.
13210         * posix/posix-envs.def: Likewise.
13211         * posix/confstr.c (START_ENV_GROUP): New macro.
13212         (END_ENV_GROUP): Likewise.
13213         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13214         (KNOWN_PRESENT_ENV_STRING): Likewise.
13215         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13216         (UNKNOWN_ENVIRONMENT): Likewise.
13217         (confstr): Include posix-envs.def instead of handling
13218         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
13219         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
13220         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
13221         (END_ENV_GROUP): Likewise.
13222         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13223         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13224         (UNKNOWN_ENVIRONMENT): Likewise.
13225         (__sysconf): Include posix-envs.def instead of handling associated
13226         cases directly here.
13227         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
13228         preprocessing getconf-speclist.c rather than running getconf or
13229         generating empty file.
13231 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
13233         * scripts/check-local-headers.sh: Ignore 'mach' headers.
13235 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
13237         [BZ #14672]
13238         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
13240 2012-11-16  David S. Miller  <davem@davemloft.net>
13242         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
13243         smaller than LDBL_EPSILON/2.0L, just return xm1.
13245 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
13247         * elf/tst-array1.c (init): Set constructor priority to 1000.
13248         (fini): Set destructor priority to 1000.
13249         * elf/tst-array2dep.c: Likewise.
13251 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13253         [BZ #11741]
13254         * libio/fileops.c (_IO_new_file_write): Correctly return error.
13255         (_IO_new_file_xsputn): Also return EOF if none of the input
13256         data was written when overflow failed.
13257         * libio/iopadn.c (_IO_padn): Likewise.
13258         * libio/iowpadn.c (_IO_wpadn): Likewise.
13259         * stdio-common/tst-put-error.c: Add copyright notice.
13260         (do_test): Add case for printing padded string.
13261         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
13262         _IO_padn returned error.
13263         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
13264         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
13265         return EOF.
13267 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13269         * libio/libioP.h: Add comment note that the references to C++
13270         bits are now obsolete.
13272 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13274         * math/libm-test.inc (check_complex): Use asprintf.
13276 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
13278         * debug/pcprofiledump.c (print_version): Update copyright year.
13279         * malloc/memusagestat.c (print_version): Likewise.
13281 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
13283         [BZ #14831]
13284         * elf/Makefile (tests): Add tst-audit8.
13285         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
13286         ($(objpfx)tst-audit8.out): New target.
13287         (tst-audit8-ENV): New variable.
13288         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
13289         audit if l_reloc_result is NULL.
13290         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
13291         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
13292         * elf/tst-audit8.c: New file.
13294 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13296         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
13297         * misc/Makefile (CFLAGS-select.c): Define.
13298         * posix/Makefile (CFLAGS-pause.c): Define.
13300 2012-11-13  David S. Miller  <davem@davemloft.net>
13302         * crypt/Makefile: Move test targets after toplevel Rules
13303         inclusion.  Grab any necessary sysdep routines when linking.
13304         * crypt/md5.c (md5_process_block): Remove define, we will always
13305         name it __md5_process_block.
13306         (md5_finish_ctx): Update md5_process_block call.
13307         (md5_stream): Likewise.
13308         (md5_process_bytes): Likewise.
13309         (md5_process_block): Rename to __md5_process_block and move to ...
13310         * crypt/md5-block.c: ... here.
13311         * crypt/sha256.c (sha256_process_block): Move to ...
13312         * crypt/sha256-block.c: ... here.
13313         * crypt/sha512.c (sha512_process_block): Move to ...
13314         * crypt/sha512-block.c: ... here.
13315         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
13316         path.
13317         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
13318         * sysdeps/sparc/sparc64/multiarch/Makefile
13319         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
13320         crypt subdir.
13321         (localedef-aux): Add md5 crypto assembler when in locale subdir.
13322         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
13323         multiarch changes.
13324         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
13325         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
13326         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
13327         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
13328         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
13329         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
13330         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
13331         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
13332         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
13333         file.
13334         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
13335         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
13336         file.
13337         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
13339 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
13341         * timezone/tzselect.ksh: Update from tzcode git revision
13342         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
13343         * timezone/zdump.c: Likewise.
13344         * timezone/zic.c: Likewise.
13345         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
13346         in TZVERSION setting, not $(PKGVERSION).
13347         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
13348         REPORT_BUGS_TO settings.
13350         [BZ #14838]
13351         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
13352         macro.
13354 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13356         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
13357         detection to immediately after _FP_ROUND().
13358         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
13359         bits are 0.
13361 2012-11-11  David S. Miller  <davem@davemloft.net>
13363         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
13364         inttypes.h
13365         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
13366         __close rather than their public counterparts.
13368 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
13370         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
13371         file.
13372         [UNIX98] (sem_timedwait): Do not expect.
13373         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
13374         [XPG4 || UNIX98] (sockatmark): Do not expect.
13375         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
13376         (clock_getcpuclockid): Do not expect.
13377         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
13378         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
13379         Do not expect.
13380         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
13381         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
13382         [UNIX98] (vwscanf): Likewise.
13383         [UNIX98] (vswscanf): Likewise.
13385 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
13387         * timezone/version.h: Remove file.
13388         * timezone/README: Do not refer to version.h.
13389         * timezone/Makefile ($(objpfx)zic.o): New dependency on
13390         $(objpfx)version.h.
13391         ($(objpfx)zdump.o): Likewise.
13392         ($(objpfx)version.h): New target.
13394         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
13395         2012i.
13396         * timezone/README: Don't mention modification to tzselect.ksh.
13397         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
13398         work on unmodified tzselect.ksh.  Substitute version numbers in
13399         tzselect.ksh.
13401         * Makefile (format-me): Remove.
13402         (INSTALL): Adjust indentation.  Use commands directly instead of
13403         using $(format-me).
13405         * aclocal.m4 (ACX_PKGVERSION): New macro.
13406         (ACX_BUGURL): Likewise.
13407         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
13408         (PKGVERSION): New AC_DEFINE_UNQUOTED.
13409         (REPORT_BUGS_TO): Likewise.
13410         * configure: Regenerated.
13411         * config.h.in (PKGVERSION): New macro.
13412         (REPORT_BUGS_TO): Likewise.
13413         * config.make.in (PKGVERSION): New variable.
13414         (PKGVERSION_TEXI): Likewise.
13415         (REPORT_BUGS_TO): Likewise.
13416         (REPORT_BUGS_TEXI): Likewise.
13417         * Makefile (format-me): Use -I$(common-objpfx)manual.
13418         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
13419         ($(common-objpfx)manual/%): New target.
13420         (manual/%): Remove target.
13421         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
13422         (print_version): Use PKGVERSION.
13423         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
13424         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
13425         and REPORT_BUGS_TO.
13426         ($(objpfx)xtrace): Likewise.
13427         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
13428         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
13429         (print_version): Use PKGVERSION.
13430         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
13431         (do_version): Use PKGVERSION.
13432         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
13433         REPORT_BUGS_TO.
13434         (common-ldd-rewrite): Likewise.
13435         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
13436         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
13437         (print_version): Use PKGVERSION.
13438         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
13439         * elf/pldd.c (argp_program_bug_address): Remove variable.
13440         (more_help): New function.
13441         (argp): Use more_help.
13442         (print_version): Use PKGVERSION.
13443         * elf/sln.c (main): Use PKGVERSION.
13444         (usage): Use REPORT_BUGS_TO.
13445         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
13446         (top level): Use PKGVERSION.
13447         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
13448         (print_version): Use PKGVERSION.
13449         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
13450         (print_version): Use PKGVERSION.
13451         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
13452         (print_version): Use PKGVERSION.
13453         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
13454         (print_version): Use PKGVERSION.
13455         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
13456         (print_version): Use PKGVERSION.
13457         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
13458         (print_version): Use PKGVERSION.
13459         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
13460         and BUGURL.
13461         ($(objpfx)memusage): Likewise.
13462         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
13463         (do_version): Use PKGVERSION.
13464         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
13465         (print_version): Use PKGVERSION.
13466         * malloc/mtrace.pl ($PACKAGE): Remove variable.
13467         ($PKGVERSION): New variable.
13468         ($REPORT_BUGS_TO): Likewise.
13469         (usage): Use $REPORT_BUGS_TO.
13470         (top level): Use $PKGVERSION.
13471         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
13472         ($(objpfx)pkgvers.texi): New rule.
13473         ($(objpfx)stamp-pkgvers): Likewise.
13474         * manual/install.texi: Include pkgvers.texi.
13475         (--with-pkgversion): Document new configure option.
13476         (--with-bugurl): Likewise.
13477         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
13478         than necessarily for this particular distribution.  Use
13479         REPORT_BUGS_TO for where to report bugs.
13480         * INSTALL: Regenerated.
13481         * manual/libc.texinfo: Include pkgvers.texi.
13482         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
13483         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
13484         (print_version): Use PKGVERSION.
13485         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
13486         (print_version): Use PKGVERSION.
13487         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
13488         (print_version): Use PKGVERSION.
13489         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
13490         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
13491         macro.
13492         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
13493         (print_version): Use PKGVERSION.
13494         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
13495         (print_version): Use PKGVERSION.
13496         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
13497         and PKGVERSION.
13499         * timezone/checktab.awk: Update from tzcode 2012i.
13500         * timezone/ialloc.c: Likewise.
13501         * timezone/private.h: Likewise.
13502         * timezone/scheck.c: Likewise.
13503         * timezone/tzfile.h: Likewise.
13504         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
13505         (TZVERSION): Hardcode tzcode version number.
13506         * timezone/zdump.c: Update from tzcode 2012i.
13507         * timezone/zic.c: Likewise.
13508         * timezone/version.h: New file.
13509         * timezone/README: Describe version.h.  Update upstream location.
13511         [BZ #14824]
13512         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
13513         (mktemp): Enable declaration.
13514         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
13515         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
13516         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
13517         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
13518         Likewise.
13519         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
13520         Likewise.
13521         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
13522         Likewise.
13523         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
13524         Likewise.
13525         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
13526         Likewise.
13527         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
13528         Likewise.
13530         [BZ #14821]
13531         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
13532         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
13533         for copies of such integer values.
13534         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13535         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13537 2012-11-09  Andreas Jaeger  <aj@suse.de>
13539         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
13540         definitions and declarations that are provided by
13541         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13543 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13545         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
13546         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
13547         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
13548         definition.
13550 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13552         * elf/elf.h: Update comment before AArch64 relocations.
13554 2012-11-07  David S. Miller  <davem@davemloft.net>
13556         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
13557         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13558         (__start_context): Declare.
13559         (__makecontext_ret): Delete.
13560         (__makecontext): Hook up __start_context instead of
13561         __makecontext_ret.
13562         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
13563         (sysdep_routines): Add __start_context when in stdlib.
13565 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
13567         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
13568         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
13569         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
13570         hardcoded "nm".
13571         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
13572         (READELF): New variable.  Use it instead of hardcoded "readelf".
13574 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
13576         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
13577         * sysdeps/x86/Makefile: Here.
13578         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
13579         * sysdeps/x86/tst-xmmymm.sh: This.
13581 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
13583         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
13584         expectations.
13585         [UNIX98] (pthread_barrier_t): Do not expect.
13586         [UNIX98] (pthread_barrierattr_t): Likewise.
13587         [UNIX98] (pthread_spinlock_t): Likewise.
13588         [UNIX98] (pthread_barrier_destroy): Likewise.
13589         [UNIX98] (pthread_barrier_init): Likewise.
13590         [UNIX98] (pthread_barrier_wait): Likewise.
13591         [UNIX98] (pthread_barrierattr_destroy): Likewise.
13592         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
13593         [UNIX98] (pthread_barrierattr_init): Likewise.
13594         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
13595         [UNIX98] (pthread_getcpuclockid): Likewise.
13596         [UNIX98] (pthread_mutex_timedlock): Likewise.
13597         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
13598         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
13599         [UNIX98] (pthread_sigmask): Likewise.
13600         [UNIX98] (pthread_spin_destroy): Likewise.
13601         [UNIX98] (pthread_spin_init): Likewise.
13602         [UNIX98] (pthread_spin_lock): Likewise.
13603         [UNIX98] (pthread_spin_trylock): Likewise.
13604         [UNIX98] (pthread_spin_unlock): Likewise.
13605         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
13606         Do not expect.
13607         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
13608         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
13609         [XPG3 || XPG4] (pthread_cond_t): Likewise.
13610         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
13611         [XPG3 || XPG4] (pthread_key_t): Likewise.
13612         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
13613         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
13614         [XPG3 || XPG4] (pthread_once_t): Likewise.
13615         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
13616         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
13617         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
13618         [XPG3 || XPG4] (pthread_t): Likewise.
13620         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
13621         not expect.
13622         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
13624         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
13625         Change function return type to int.
13627         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
13628         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
13629         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
13630         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
13631         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
13632         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
13633         [!POSIX] (posix_madvise): Likewise.
13634         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
13635         && !UNIX98].
13636         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
13637         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
13638         (mode_t): Likewise.
13639         (posix_mem_offset): Likewise.
13640         (posix_typed_mem_get_info): Likewise.
13641         (posix_typed_mem_open): Likewise.
13643         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
13644         Change condition to [XOPEN2K8].
13646         * conform/conformtest.pl: Preprocess allow-header data with -x c
13647         instead of from stdin.
13648         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
13649         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
13650         [C99-based standards] (cerfc): Likewise.
13651         [C99-based standards] (cexp2): Likewise.
13652         [C99-based standards] (cexpm1): Likewise.
13653         [C99-based standards] (clog10): Likewise.
13654         [C99-based standards] (clog1p): Likewise.
13655         [C99-based standards] (clog2): Likewise.
13656         [C99-based standards] (clgamma): Likewise.
13657         [C99-based standards] (ctgamma): Likewise.
13658         [C99-based standards] (cerff): Likewise.
13659         [C99-based standards] (cerfcf): Likewise.
13660         [C99-based standards] (cexp2f): Likewise.
13661         [C99-based standards] (cexpm1f): Likewise.
13662         [C99-based standards] (clog10f): Likewise.
13663         [C99-based standards] (clog1pf): Likewise.
13664         [C99-based standards] (clog2f): Likewise.
13665         [C99-based standards] (clgammaf): Likewise.
13666         [C99-based standards] (ctgammaf): Likewise.
13667         [C99-based standards] (cerfl): Likewise.
13668         [C99-based standards] (cerfcl): Likewise.
13669         [C99-based standards] (cexp2l): Likewise.
13670         [C99-based standards] (cexpm1l): Likewise.
13671         [C99-based standards] (clog10l): Likewise.
13672         [C99-based standards] (clog1pl): Likewise.
13673         [C99-based standards] (clog2l): Likewise.
13674         [C99-based standards] (clgammal): Likewise.
13675         [C99-based standards] (ctgammal): Likewise.
13676         * conform/data/inttypes.h-data [C99-based standards]: Include
13677         stdint.h-data.  Remove all expectations for stdint.h contents.
13678         [C99-based standards] (PRI*): Do not allow.
13679         [C99-based standards] (SCN*): Likewise.
13680         [C99-based standards] (*_t): Likewise.
13681         [C99-based-standards] (PRId8): Expect macro.
13682         [C99-based-standards] (PRIi8): Likewise.
13683         [C99-based-standards] (PRIo8): Likewise.
13684         [C99-based-standards] (PRIu8): Likewise.
13685         [C99-based-standards] (PRIx8): Likewise.
13686         [C99-based-standards] (PRIX8): Likewise.
13687         [C99-based-standards] (SCNd8): Likewise.
13688         [C99-based-standards] (SCNi8): Likewise.
13689         [C99-based-standards] (SCNo8): Likewise.
13690         [C99-based-standards] (SCNu8): Likewise.
13691         [C99-based-standards] (SCNx8): Likewise.
13692         [C99-based-standards] (PRIdLEAST8): Likewise.
13693         [C99-based-standards] (PRIiLEAST8): Likewise.
13694         [C99-based-standards] (PRIoLEAST8): Likewise.
13695         [C99-based-standards] (PRIuLEAST8): Likewise.
13696         [C99-based-standards] (PRIxLEAST8): Likewise.
13697         [C99-based-standards] (PRIXLEAST8): Likewise.
13698         [C99-based-standards] (SCNdLEAST8): Likewise.
13699         [C99-based-standards] (SCNiLEAST8): Likewise.
13700         [C99-based-standards] (SCNoLEAST8): Likewise.
13701         [C99-based-standards] (SCNuLEAST8): Likewise.
13702         [C99-based-standards] (SCNxLEAST8): Likewise.
13703         [C99-based-standards] (PRIdFAST8): Likewise.
13704         [C99-based-standards] (PRIiFAST8): Likewise.
13705         [C99-based-standards] (PRIoFAST8): Likewise.
13706         [C99-based-standards] (PRIuFAST8): Likewise.
13707         [C99-based-standards] (PRIxFAST8): Likewise.
13708         [C99-based-standards] (PRIXFAST8): Likewise.
13709         [C99-based-standards] (SCNdFAST8): Likewise.
13710         [C99-based-standards] (SCNiFAST8): Likewise.
13711         [C99-based-standards] (SCNoFAST8): Likewise.
13712         [C99-based-standards] (SCNuFAST8): Likewise.
13713         [C99-based-standards] (SCNxFAST8): Likewise.
13714         [C99-based-standards] (PRId16): Likewise.
13715         [C99-based-standards] (PRIi16): Likewise.
13716         [C99-based-standards] (PRIo16): Likewise.
13717         [C99-based-standards] (PRIu16): Likewise.
13718         [C99-based-standards] (PRIx16): Likewise.
13719         [C99-based-standards] (PRIX16): Likewise.
13720         [C99-based-standards] (SCNd16): Likewise.
13721         [C99-based-standards] (SCNi16): Likewise.
13722         [C99-based-standards] (SCNo16): Likewise.
13723         [C99-based-standards] (SCNu16): Likewise.
13724         [C99-based-standards] (SCNx16): Likewise.
13725         [C99-based-standards] (PRIdLEAST16): Likewise.
13726         [C99-based-standards] (PRIiLEAST16): Likewise.
13727         [C99-based-standards] (PRIoLEAST16): Likewise.
13728         [C99-based-standards] (PRIuLEAST16): Likewise.
13729         [C99-based-standards] (PRIxLEAST16): Likewise.
13730         [C99-based-standards] (PRIXLEAST16): Likewise.
13731         [C99-based-standards] (SCNdLEAST16): Likewise.
13732         [C99-based-standards] (SCNiLEAST16): Likewise.
13733         [C99-based-standards] (SCNoLEAST16): Likewise.
13734         [C99-based-standards] (SCNuLEAST16): Likewise.
13735         [C99-based-standards] (SCNxLEAST16): Likewise.
13736         [C99-based-standards] (PRIdFAST16): Likewise.
13737         [C99-based-standards] (PRIiFAST16): Likewise.
13738         [C99-based-standards] (PRIoFAST16): Likewise.
13739         [C99-based-standards] (PRIuFAST16): Likewise.
13740         [C99-based-standards] (PRIxFAST16): Likewise.
13741         [C99-based-standards] (PRIXFAST16): Likewise.
13742         [C99-based-standards] (SCNdFAST16): Likewise.
13743         [C99-based-standards] (SCNiFAST16): Likewise.
13744         [C99-based-standards] (SCNoFAST16): Likewise.
13745         [C99-based-standards] (SCNuFAST16): Likewise.
13746         [C99-based-standards] (SCNxFAST16): Likewise.
13747         [C99-based-standards] (PRId32): Likewise.
13748         [C99-based-standards] (PRIi32): Likewise.
13749         [C99-based-standards] (PRIo32): Likewise.
13750         [C99-based-standards] (PRIu32): Likewise.
13751         [C99-based-standards] (PRIx32): Likewise.
13752         [C99-based-standards] (PRIX32): Likewise.
13753         [C99-based-standards] (SCNd32): Likewise.
13754         [C99-based-standards] (SCNi32): Likewise.
13755         [C99-based-standards] (SCNo32): Likewise.
13756         [C99-based-standards] (SCNu32): Likewise.
13757         [C99-based-standards] (SCNx32): Likewise.
13758         [C99-based-standards] (PRIdLEAST32): Likewise.
13759         [C99-based-standards] (PRIiLEAST32): Likewise.
13760         [C99-based-standards] (PRIoLEAST32): Likewise.
13761         [C99-based-standards] (PRIuLEAST32): Likewise.
13762         [C99-based-standards] (PRIxLEAST32): Likewise.
13763         [C99-based-standards] (PRIXLEAST32): Likewise.
13764         [C99-based-standards] (SCNdLEAST32): Likewise.
13765         [C99-based-standards] (SCNiLEAST32): Likewise.
13766         [C99-based-standards] (SCNoLEAST32): Likewise.
13767         [C99-based-standards] (SCNuLEAST32): Likewise.
13768         [C99-based-standards] (SCNxLEAST32): Likewise.
13769         [C99-based-standards] (PRIdFAST32): Likewise.
13770         [C99-based-standards] (PRIiFAST32): Likewise.
13771         [C99-based-standards] (PRIoFAST32): Likewise.
13772         [C99-based-standards] (PRIuFAST32): Likewise.
13773         [C99-based-standards] (PRIxFAST32): Likewise.
13774         [C99-based-standards] (PRIXFAST32): Likewise.
13775         [C99-based-standards] (SCNdFAST32): Likewise.
13776         [C99-based-standards] (SCNiFAST32): Likewise.
13777         [C99-based-standards] (SCNoFAST32): Likewise.
13778         [C99-based-standards] (SCNuFAST32): Likewise.
13779         [C99-based-standards] (SCNxFAST32): Likewise.
13780         [C99-based-standards] (PRId64): Likewise.
13781         [C99-based-standards] (PRIi64): Likewise.
13782         [C99-based-standards] (PRIo64): Likewise.
13783         [C99-based-standards] (PRIu64): Likewise.
13784         [C99-based-standards] (PRIx64): Likewise.
13785         [C99-based-standards] (PRIX64): Likewise.
13786         [C99-based-standards] (SCNd64): Likewise.
13787         [C99-based-standards] (SCNi64): Likewise.
13788         [C99-based-standards] (SCNo64): Likewise.
13789         [C99-based-standards] (SCNu64): Likewise.
13790         [C99-based-standards] (SCNx64): Likewise.
13791         [C99-based-standards] (PRIdLEAST64): Likewise.
13792         [C99-based-standards] (PRIiLEAST64): Likewise.
13793         [C99-based-standards] (PRIoLEAST64): Likewise.
13794         [C99-based-standards] (PRIuLEAST64): Likewise.
13795         [C99-based-standards] (PRIxLEAST64): Likewise.
13796         [C99-based-standards] (PRIXLEAST64): Likewise.
13797         [C99-based-standards] (SCNdLEAST64): Likewise.
13798         [C99-based-standards] (SCNiLEAST64): Likewise.
13799         [C99-based-standards] (SCNoLEAST64): Likewise.
13800         [C99-based-standards] (SCNuLEAST64): Likewise.
13801         [C99-based-standards] (SCNxLEAST64): Likewise.
13802         [C99-based-standards] (PRIdFAST64): Likewise.
13803         [C99-based-standards] (PRIiFAST64): Likewise.
13804         [C99-based-standards] (PRIoFAST64): Likewise.
13805         [C99-based-standards] (PRIuFAST64): Likewise.
13806         [C99-based-standards] (PRIxFAST64): Likewise.
13807         [C99-based-standards] (PRIXFAST64): Likewise.
13808         [C99-based-standards] (SCNdFAST64): Likewise.
13809         [C99-based-standards] (SCNiFAST64): Likewise.
13810         [C99-based-standards] (SCNoFAST64): Likewise.
13811         [C99-based-standards] (SCNuFAST64): Likewise.
13812         [C99-based-standards] (SCNxFAST64): Likewise.
13813         [C99-based-standards] (PRIdMAX): Likewise.
13814         [C99-based-standards] (PRIiMAX): Likewise.
13815         [C99-based-standards] (PRIoMAX): Likewise.
13816         [C99-based-standards] (PRIuMAX): Likewise.
13817         [C99-based-standards] (PRIxMAX): Likewise.
13818         [C99-based-standards] (PRIXMAX): Likewise.
13819         [C99-based-standards] (SCNdMAX): Likewise.
13820         [C99-based-standards] (SCNiMAX): Likewise.
13821         [C99-based-standards] (SCNoMAX): Likewise.
13822         [C99-based-standards] (SCNuMAX): Likewise.
13823         [C99-based-standards] (SCNxMAX): Likewise.
13824         [C99-based-standards] (PRIdPTR): Likewise.
13825         [C99-based-standards] (PRIiPTR): Likewise.
13826         [C99-based-standards] (PRIoPTR): Likewise.
13827         [C99-based-standards] (PRIuPTR): Likewise.
13828         [C99-based-standards] (PRIxPTR): Likewise.
13829         [C99-based-standards] (PRIXPTR): Likewise.
13830         [C99-based-standards] (SCNdPTR): Likewise.
13831         [C99-based-standards] (SCNiPTR): Likewise.
13832         [C99-based-standards] (SCNoPTR): Likewise.
13833         [C99-based-standards] (SCNuPTR): Likewise.
13834         [C99-based-standards] (SCNxPTR): Likewise.
13835         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
13836         allow.
13837         * conform/data/stdint.h-data: Update comments to clarify
13838         requirements.
13839         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
13840         type.
13841         [C99-based standards] (INT8_MAX): Likewise.
13842         [C99-based standards] (INT16_MIN): Likewise.
13843         [C99-based standards] (INT16_MAX): Likewise.
13844         [C99-based standards] (INT32_MIN): Likewise.
13845         [C99-based standards] (INT32_MAX): Likewise.
13846         [C99-based standards] (INT64_MIN): Likewise.
13847         [C99-based standards] (INT64_MAX): Likewise.
13848         [C99-based standards] (UINT8_MAX): Likewise.
13849         [C99-based standards] (UINT16_MAX): Likewise.
13850         [C99-based standards] (UINT32_MAX): Likewise.
13851         [C99-based standards] (UINT64_MAX): Likewise.
13852         [C99-based standards] (INT_LEAST8_MIN): Likewise.
13853         [C99-based standards] (INT_LEAST8_MAX): Likewise.
13854         [C99-based standards] (INT_LEAST16_MIN): Likewise.
13855         [C99-based standards] (INT_LEAST16_MAX): Likewise.
13856         [C99-based standards] (INT_LEAST32_MIN): Likewise.
13857         [C99-based standards] (INT_LEAST32_MAX): Likewise.
13858         [C99-based standards] (INT_LEAST64_MIN): Likewise.
13859         [C99-based standards] (INT_LEAST64_MAX): Likewise.
13860         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
13861         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
13862         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
13863         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
13864         [C99-based standards] (INT_FAST8_MIN): Likewise.
13865         [C99-based standards] (INT_FAST8_MAX): Likewise.
13866         [C99-based standards] (INT_FAST16_MIN): Likewise.
13867         [C99-based standards] (INT_FAST16_MAX): Likewise.
13868         [C99-based standards] (INT_FAST32_MIN): Likewise.
13869         [C99-based standards] (INT_FAST32_MAX): Likewise.
13870         [C99-based standards] (INT_FAST64_MIN): Likewise.
13871         [C99-based standards] (INT_FAST64_MAX): Likewise.
13872         [C99-based standards] (UINT_FAST8_MAX): Likewise.
13873         [C99-based standards] (UINT_FAST16_MAX): Likewise.
13874         [C99-based standards] (UINT_FAST32_MAX): Likewise.
13875         [C99-based standards] (UINT_FAST64_MAX): Likewise.
13876         [C99-based standards] (INTPTR_MIN): Likewise.
13877         [C99-based standards] (INTPTR_MAX): Likewise.
13878         [C99-based standards] (UINTPTR_MAX): Likewise.
13879         [C99-based standards] (INTMAX_MIN): Likewise.
13880         [C99-based standards] (INTMAX_MAX): Likewise.
13881         [C99-based standards] (UINTMAX_MAX): Likewise.
13882         [C99-based standards] (PTRDIFF_MIN): Likewise.
13883         [C99-based standards] (PTRDIFF_MAX): Likewise.
13884         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
13885         [C99-based standards] (SIZE_MAX): Likewise.
13886         [C99-based standards] (WCHAR_MAX): Likewise.
13887         [C99-based standards] (WINT_MAX): Likewise.
13888         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
13889         constraint on value.
13890         [C99-based standards] (WCHAR_MIN): Likewise.
13891         [C99-based standards] (WINT_MIN): Likewise.
13892         [C99-based standards] (*_t): Allow.
13893         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
13894         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
13895         Include math.h-data and complex.h-data.  Remove all expectations
13896         of math.h and complex.h contents.
13897         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
13898         at end of line.
13899         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
13900         (struct tm): Expect tag.
13901         [C99-based-standards] (wcstof): Expect function.
13902         [C99-based-standards] (wcstold): Likewise.
13903         [C99-based-standards] (wcstoll): Likewise.
13904         [C99-based-standards] (wcstoull): Likewise.
13905         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
13906         macro-int-constant.  Specify type.
13907         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
13908         constraint on value.
13909         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13910         Specify type.
13911         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
13912         Specify value.
13913         [ISO C standards]: Do not allow headers.
13914         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
13915         wcs[abcdefghijklmnopqrstuvwxyz]*.
13916         [ISO C standards] (*_t): Do not allow.
13917         * conform/data/wctype.h-data [C99-based standards] (iswblank):
13918         Expect function.
13919         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
13920         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13921         Specify type.
13922         [ISO C standards]: Do not allow headers.
13923         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
13924         is[abcdefghijklmnopqrstuvwxyz]*.
13925         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
13926         to[abcdefghijklmnopqrstuvwxyz]*.
13927         [ISO C standards] (*_t): Do not allow.
13928         * conform/data/stdalign.h-data: New file.
13929         * conform/data/stdbool.h-data: Likewise.
13930         * conform/data/stdnoreturn.h-data: Likewise.
13932 2012-11-07  Roland McGrath  <roland@hack.frob.com>
13934         [BZ #14815]
13935         * manual/filesys.texi (Directory Entries): Typo fix.
13936         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
13938 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13940         * elf/elf.h (EM_AARCH64): New macro.
13941         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
13942         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
13943         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
13944         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
13945         (R_AARCH64_TLSDESC): Likewise.
13946         (NT_ARM_TLS): Likewise.
13947         (NT_ARM_HW_BREAK): Likewise.
13948         (NT_ARM_HW_WATCH): Likewise.
13950 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
13952         [BZ #14811]
13953         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
13954         (__ieee754_powl): Saturate nonzero exponents with absolute value
13955         below 0x1p-79 to +/- 0x1p-79.
13956         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
13957         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
13958         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
13959         nonzero exponents with absolute value below 0x1p-32 to +/-
13960         0x1p-32.
13961         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
13962         (__ieee754_powl): Saturate nonzero exponents with absolute value
13963         below 0x1p-79 to +/- 0x1p-79.
13964         * math/libm-test.inc (pow_test): Add more tests.
13966 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13968         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
13969         _dl_s390_cap_flags with kernel. Increase string length.
13970         (_dl_s390_platforms): Add z196 and zEC12.
13972 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
13974         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
13975         Change XOPEN21K to XOPEN2K.
13977 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
13979         * string/memmove.c: Use memcpy when possible.
13981 2012-11-06  Andreas Jaeger  <aj@suse.de>
13983         * po/eo.po: Update from translation team.
13985 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
13987         [BZ #14793]
13988         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
13989         exponent and small x and y exponents, scale x or y up.  Increase
13990         by 2 the exponent used in scaling up.
13991         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13992         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13993         * math/libm-test.inc (fma_test): Add more tests.
13994         (fma_test_towardzero): Likewise.
13995         (fma_test_downward): Likewise.
13996         (fma_test_upward): Likewise.
13998 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
14000         [BZ #14805]
14001         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
14002         fenv_t *.
14004         [BZ #14801]
14005         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
14006         namespace for names of struct fields.
14007         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
14008         fenv_t fields.
14009         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
14010         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
14012 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14014         [BZ #3665]
14015         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
14017 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
14019         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
14020         PTR_DEMANGLE.
14022         [BZ #5246]
14023         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
14024         PTR_DEMANGLE.
14026 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
14028         [BZ #14797]
14029         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
14030         definitely overflow as x * y not x * y + z.
14031         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14032         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14033         * math/libm-test.inc (fma_test): Add more tests.
14034         (fma_test_towardzero): Likewise.
14035         (fma_test_downward): Likewise.
14036         (fma_test_upward): Likewise.
14038 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
14040         [BZ #157]
14042         * include/stub-tag.h: Remove file.
14043         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
14044         '#include' of it.
14045         * manual/maint.texi (Porting): Don't reference it.
14046         * Makerules ($(objpfx)stubs): Likewise.
14047         * dirent/closedir.c: Don't include <stub-tag.h>.
14048         * dirent/dirfd.c: Likewise.
14049         * dirent/fdopendir.c: Likewise.
14050         * dirent/getdents.c: Likewise.
14051         * dirent/getdents64.c: Likewise.
14052         * dirent/opendir.c: Likewise.
14053         * dirent/readdir.c: Likewise.
14054         * dirent/readdir64.c: Likewise.
14055         * dirent/readdir64_r.c: Likewise.
14056         * dirent/readdir_r.c: Likewise.
14057         * dirent/rewinddir.c: Likewise.
14058         * dirent/seekdir.c: Likewise.
14059         * dirent/telldir.c: Likewise.
14060         * gmon/profil.c: Likewise.
14061         * grp/setgroups.c: Likewise.
14062         * inet/if_index.c: Likewise.
14063         * io/access.c: Likewise.
14064         * io/chdir.c: Likewise.
14065         * io/chmod.c: Likewise.
14066         * io/chown.c: Likewise.
14067         * io/close.c: Likewise.
14068         * io/dup.c: Likewise.
14069         * io/dup2.c: Likewise.
14070         * io/dup3.c: Likewise.
14071         * io/euidaccess.c: Likewise.
14072         * io/faccessat.c: Likewise.
14073         * io/fchdir.c: Likewise.
14074         * io/fchmod.c: Likewise.
14075         * io/fchmodat.c: Likewise.
14076         * io/fchown.c: Likewise.
14077         * io/fchownat.c: Likewise.
14078         * io/fcntl.c: Likewise.
14079         * io/flock.c: Likewise.
14080         * io/fstatfs.c: Likewise.
14081         * io/fstatfs64.c: Likewise.
14082         * io/fstatvfs.c: Likewise.
14083         * io/fstatvfs64.c: Likewise.
14084         * io/futimens.c: Likewise.
14085         * io/fxstat.c: Likewise.
14086         * io/fxstat64.c: Likewise.
14087         * io/fxstatat.c: Likewise.
14088         * io/fxstatat64.c: Likewise.
14089         * io/getcwd.c: Likewise.
14090         * io/isatty.c: Likewise.
14091         * io/lchmod.c: Likewise.
14092         * io/lchown.c: Likewise.
14093         * io/link.c: Likewise.
14094         * io/linkat.c: Likewise.
14095         * io/lseek.c: Likewise.
14096         * io/lseek64.c: Likewise.
14097         * io/lxstat64.c: Likewise.
14098         * io/mkdir.c: Likewise.
14099         * io/mkdirat.c: Likewise.
14100         * io/mkfifo.c: Likewise.
14101         * io/mkfifoat.c: Likewise.
14102         * io/open.c: Likewise.
14103         * io/open64.c: Likewise.
14104         * io/openat.c: Likewise.
14105         * io/openat64.c: Likewise.
14106         * io/pipe.c: Likewise.
14107         * io/pipe2.c: Likewise.
14108         * io/poll.c: Likewise.
14109         * io/posix_fadvise.c: Likewise.
14110         * io/posix_fadvise64.c: Likewise.
14111         * io/posix_fallocate.c: Likewise.
14112         * io/posix_fallocate64.c: Likewise.
14113         * io/read.c: Likewise.
14114         * io/readlink.c: Likewise.
14115         * io/readlinkat.c: Likewise.
14116         * io/rmdir.c: Likewise.
14117         * io/sendfile.c: Likewise.
14118         * io/sendfile64.c: Likewise.
14119         * io/statfs.c: Likewise.
14120         * io/statfs64.c: Likewise.
14121         * io/statvfs.c: Likewise.
14122         * io/statvfs64.c: Likewise.
14123         * io/symlink.c: Likewise.
14124         * io/symlinkat.c: Likewise.
14125         * io/ttyname.c: Likewise.
14126         * io/ttyname_r.c: Likewise.
14127         * io/umask.c: Likewise.
14128         * io/unlink.c: Likewise.
14129         * io/unlinkat.c: Likewise.
14130         * io/utime.c: Likewise.
14131         * io/utimensat.c: Likewise.
14132         * io/write.c: Likewise.
14133         * io/xmknod.c: Likewise.
14134         * io/xmknodat.c: Likewise.
14135         * io/xstat.c: Likewise.
14136         * io/xstat64.c: Likewise.
14137         * login/getpt.c: Likewise.
14138         * login/grantpt.c: Likewise.
14139         * login/unlockpt.c: Likewise.
14140         * math/e_acoshl.c: Likewise.
14141         * math/e_acosl.c: Likewise.
14142         * math/e_asinl.c: Likewise.
14143         * math/e_atan2l.c: Likewise.
14144         * math/e_atanhl.c: Likewise.
14145         * math/e_coshl.c: Likewise.
14146         * math/e_expl.c: Likewise.
14147         * math/e_fmodl.c: Likewise.
14148         * math/e_gammal_r.c: Likewise.
14149         * math/e_hypotl.c: Likewise.
14150         * math/e_j0l.c: Likewise.
14151         * math/e_j1l.c: Likewise.
14152         * math/e_jnl.c: Likewise.
14153         * math/e_lgammal_r.c: Likewise.
14154         * math/e_log10l.c: Likewise.
14155         * math/e_log2l.c: Likewise.
14156         * math/e_logl.c: Likewise.
14157         * math/e_powl.c: Likewise.
14158         * math/e_rem_pio2l.c: Likewise.
14159         * math/e_sinhl.c: Likewise.
14160         * math/e_sqrtl.c: Likewise.
14161         * math/fclrexcpt.c: Likewise.
14162         * math/fedisblxcpt.c: Likewise.
14163         * math/feenablxcpt.c: Likewise.
14164         * math/fegetenv.c: Likewise.
14165         * math/fegetexcept.c: Likewise.
14166         * math/fegetround.c: Likewise.
14167         * math/feholdexcpt.c: Likewise.
14168         * math/fesetenv.c: Likewise.
14169         * math/fesetround.c: Likewise.
14170         * math/feupdateenv.c: Likewise.
14171         * math/fgetexcptflg.c: Likewise.
14172         * math/fraiseexcpt.c: Likewise.
14173         * math/fsetexcptflg.c: Likewise.
14174         * math/ftestexcept.c: Likewise.
14175         * math/k_cosl.c: Likewise.
14176         * math/k_rem_pio2l.c: Likewise.
14177         * math/k_sinl.c: Likewise.
14178         * math/k_tanl.c: Likewise.
14179         * math/s_asinhl.c: Likewise.
14180         * math/s_atanl.c: Likewise.
14181         * math/s_cbrtl.c: Likewise.
14182         * math/s_erfl.c: Likewise.
14183         * math/s_expm1l.c: Likewise.
14184         * math/s_log1pl.c: Likewise.
14185         * math/s_tanhl.c: Likewise.
14186         * misc/acct.c: Likewise.
14187         * misc/brk.c: Likewise.
14188         * misc/chflags.c: Likewise.
14189         * misc/chroot.c: Likewise.
14190         * misc/fchflags.c: Likewise.
14191         * misc/fgetxattr.c: Likewise.
14192         * misc/flistxattr.c: Likewise.
14193         * misc/fremovexattr.c: Likewise.
14194         * misc/fsetxattr.c: Likewise.
14195         * misc/fsync.c: Likewise.
14196         * misc/ftruncate.c: Likewise.
14197         * misc/futimes.c: Likewise.
14198         * misc/futimesat.c: Likewise.
14199         * misc/getdomain.c: Likewise.
14200         * misc/getdtsz.c: Likewise.
14201         * misc/gethostid.c: Likewise.
14202         * misc/gethostname.c: Likewise.
14203         * misc/getloadavg.c: Likewise.
14204         * misc/getpagesize.c: Likewise.
14205         * misc/getsysstats.c: Likewise.
14206         * misc/getxattr.c: Likewise.
14207         * misc/gtty.c: Likewise.
14208         * misc/ioctl.c: Likewise.
14209         * misc/lgetxattr.c: Likewise.
14210         * misc/listxattr.c: Likewise.
14211         * misc/llistxattr.c: Likewise.
14212         * misc/lremovexattr.c: Likewise.
14213         * misc/lsetxattr.c: Likewise.
14214         * misc/lutimes.c: Likewise.
14215         * misc/madvise.c: Likewise.
14216         * misc/mincore.c: Likewise.
14217         * misc/mlock.c: Likewise.
14218         * misc/mlockall.c: Likewise.
14219         * misc/mmap.c: Likewise.
14220         * misc/mprotect.c: Likewise.
14221         * misc/msync.c: Likewise.
14222         * misc/munlock.c: Likewise.
14223         * misc/munlockall.c: Likewise.
14224         * misc/munmap.c: Likewise.
14225         * misc/preadv.c: Likewise.
14226         * misc/preadv64.c: Likewise.
14227         * misc/ptrace.c: Likewise.
14228         * misc/pwritev.c: Likewise.
14229         * misc/pwritev64.c: Likewise.
14230         * misc/readv.c: Likewise.
14231         * misc/reboot.c: Likewise.
14232         * misc/remap_file_pages.c: Likewise.
14233         * misc/removexattr.c: Likewise.
14234         * misc/revoke.c: Likewise.
14235         * misc/select.c: Likewise.
14236         * misc/setdomain.c: Likewise.
14237         * misc/setegid.c: Likewise.
14238         * misc/seteuid.c: Likewise.
14239         * misc/sethostid.c: Likewise.
14240         * misc/sethostname.c: Likewise.
14241         * misc/setregid.c: Likewise.
14242         * misc/setreuid.c: Likewise.
14243         * misc/setxattr.c: Likewise.
14244         * misc/sstk.c: Likewise.
14245         * misc/stty.c: Likewise.
14246         * misc/swapoff.c: Likewise.
14247         * misc/swapon.c: Likewise.
14248         * misc/sync.c: Likewise.
14249         * misc/syncfs.c: Likewise.
14250         * misc/syscall.c: Likewise.
14251         * misc/truncate.c: Likewise.
14252         * misc/ualarm.c: Likewise.
14253         * misc/usleep.c: Likewise.
14254         * misc/ustat.c: Likewise.
14255         * misc/utimes.c: Likewise.
14256         * misc/vhangup.c: Likewise.
14257         * misc/writev.c: Likewise.
14258         * posix/_exit.c: Likewise.
14259         * posix/alarm.c: Likewise.
14260         * posix/execve.c: Likewise.
14261         * posix/fexecve.c: Likewise.
14262         * posix/fork.c: Likewise.
14263         * posix/fpathconf.c: Likewise.
14264         * posix/getaddrinfo.c: Likewise.
14265         * posix/getegid.c: Likewise.
14266         * posix/geteuid.c: Likewise.
14267         * posix/getgid.c: Likewise.
14268         * posix/getgroups.c: Likewise.
14269         * posix/getlogin.c: Likewise.
14270         * posix/getlogin_r.c: Likewise.
14271         * posix/getpgid.c: Likewise.
14272         * posix/getpid.c: Likewise.
14273         * posix/getppid.c: Likewise.
14274         * posix/getresgid.c: Likewise.
14275         * posix/getresuid.c: Likewise.
14276         * posix/getsid.c: Likewise.
14277         * posix/getuid.c: Likewise.
14278         * posix/glob64.c: Likewise.
14279         * posix/nanosleep.c: Likewise.
14280         * posix/pathconf.c: Likewise.
14281         * posix/pause.c: Likewise.
14282         * posix/posix_madvise.c: Likewise.
14283         * posix/pread.c: Likewise.
14284         * posix/pread64.c: Likewise.
14285         * posix/pwrite.c: Likewise.
14286         * posix/pwrite64.c: Likewise.
14287         * posix/sched_getaffinity.c: Likewise.
14288         * posix/sched_getp.c: Likewise.
14289         * posix/sched_gets.c: Likewise.
14290         * posix/sched_primax.c: Likewise.
14291         * posix/sched_primin.c: Likewise.
14292         * posix/sched_rr_gi.c: Likewise.
14293         * posix/sched_setaffinity.c: Likewise.
14294         * posix/sched_setp.c: Likewise.
14295         * posix/sched_sets.c: Likewise.
14296         * posix/sched_yield.c: Likewise.
14297         * posix/setgid.c: Likewise.
14298         * posix/setlogin.c: Likewise.
14299         * posix/setpgid.c: Likewise.
14300         * posix/setresgid.c: Likewise.
14301         * posix/setresuid.c: Likewise.
14302         * posix/setsid.c: Likewise.
14303         * posix/setuid.c: Likewise.
14304         * posix/sleep.c: Likewise.
14305         * posix/spawni.c: Likewise.
14306         * posix/sysconf.c: Likewise.
14307         * posix/times.c: Likewise.
14308         * posix/wait.c: Likewise.
14309         * posix/wait3.c: Likewise.
14310         * posix/wait4.c: Likewise.
14311         * posix/waitpid.c: Likewise.
14312         * resolv/gai_sigqueue.c: Likewise.
14313         * resource/getpriority.c: Likewise.
14314         * resource/getrlimit.c: Likewise.
14315         * resource/getrusage.c: Likewise.
14316         * resource/nice.c: Likewise.
14317         * resource/setpriority.c: Likewise.
14318         * resource/setrlimit.c: Likewise.
14319         * resource/ulimit.c: Likewise.
14320         * rt/aio_cancel.c: Likewise.
14321         * rt/aio_fsync.c: Likewise.
14322         * rt/aio_read.c: Likewise.
14323         * rt/aio_sigqueue.c: Likewise.
14324         * rt/aio_suspend.c: Likewise.
14325         * rt/aio_write.c: Likewise.
14326         * rt/clock_getres.c: Likewise.
14327         * rt/clock_gettime.c: Likewise.
14328         * rt/clock_nanosleep.c: Likewise.
14329         * rt/clock_settime.c: Likewise.
14330         * rt/lio_listio.c: Likewise.
14331         * rt/mq_close.c: Likewise.
14332         * rt/mq_getattr.c: Likewise.
14333         * rt/mq_notify.c: Likewise.
14334         * rt/mq_open.c: Likewise.
14335         * rt/mq_receive.c: Likewise.
14336         * rt/mq_send.c: Likewise.
14337         * rt/mq_setattr.c: Likewise.
14338         * rt/mq_timedreceive.c: Likewise.
14339         * rt/mq_timedsend.c: Likewise.
14340         * rt/mq_unlink.c: Likewise.
14341         * rt/shm_open.c: Likewise.
14342         * rt/shm_unlink.c: Likewise.
14343         * rt/timer_create.c: Likewise.
14344         * rt/timer_delete.c: Likewise.
14345         * rt/timer_getoverr.c: Likewise.
14346         * rt/timer_gettime.c: Likewise.
14347         * rt/timer_settime.c: Likewise.
14348         * setjmp/__longjmp.c: Likewise.
14349         * setjmp/setjmp.c: Likewise.
14350         * signal/kill.c: Likewise.
14351         * signal/killpg.c: Likewise.
14352         * signal/raise.c: Likewise.
14353         * signal/sigaction.c: Likewise.
14354         * signal/sigaltstack.c: Likewise.
14355         * signal/sigblock.c: Likewise.
14356         * signal/sigignore.c: Likewise.
14357         * signal/sigintr.c: Likewise.
14358         * signal/signal.c: Likewise.
14359         * signal/sigpause.c: Likewise.
14360         * signal/sigpending.c: Likewise.
14361         * signal/sigqueue.c: Likewise.
14362         * signal/sigreturn.c: Likewise.
14363         * signal/sigset.c: Likewise.
14364         * signal/sigsetmask.c: Likewise.
14365         * signal/sigstack.c: Likewise.
14366         * signal/sigsuspend.c: Likewise.
14367         * signal/sigtimedwait.c: Likewise.
14368         * signal/sigvec.c: Likewise.
14369         * signal/sigwait.c: Likewise.
14370         * signal/sigwaitinfo.c: Likewise.
14371         * signal/sysv_signal.c: Likewise.
14372         * socket/accept.c: Likewise.
14373         * socket/accept4.c: Likewise.
14374         * socket/bind.c: Likewise.
14375         * socket/connect.c: Likewise.
14376         * socket/getpeername.c: Likewise.
14377         * socket/getsockname.c: Likewise.
14378         * socket/getsockopt.c: Likewise.
14379         * socket/isfdtype.c: Likewise.
14380         * socket/listen.c: Likewise.
14381         * socket/recv.c: Likewise.
14382         * socket/recvfrom.c: Likewise.
14383         * socket/recvmsg.c: Likewise.
14384         * socket/send.c: Likewise.
14385         * socket/sendmsg.c: Likewise.
14386         * socket/sendto.c: Likewise.
14387         * socket/setsockopt.c: Likewise.
14388         * socket/shutdown.c: Likewise.
14389         * socket/sockatmark.c: Likewise.
14390         * socket/socket.c: Likewise.
14391         * socket/socketpair.c: Likewise.
14392         * stdio-common/ctermid.c: Likewise.
14393         * stdio-common/cuserid.c: Likewise.
14394         * stdio-common/remove.c: Likewise.
14395         * stdio-common/rename.c: Likewise.
14396         * stdio-common/renameat.c: Likewise.
14397         * stdio-common/tempname.c: Likewise.
14398         * stdlib/getcontext.c: Likewise.
14399         * stdlib/makecontext.c: Likewise.
14400         * stdlib/setcontext.c: Likewise.
14401         * stdlib/swapcontext.c: Likewise.
14402         * stdlib/system.c: Likewise.
14403         * streams/fattach.c: Likewise.
14404         * streams/fdetach.c: Likewise.
14405         * streams/getmsg.c: Likewise.
14406         * streams/getpmsg.c: Likewise.
14407         * streams/putmsg.c: Likewise.
14408         * streams/putpmsg.c: Likewise.
14409         * sysdeps/unix/bsd/getpt.c: Likewise.
14410         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
14411         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
14412         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14414         Likewise.
14415         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
14416         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14417         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14418         * sysvipc/msgctl.c: Likewise.
14419         * sysvipc/msgget.c: Likewise.
14420         * sysvipc/msgrcv.c: Likewise.
14421         * sysvipc/msgsnd.c: Likewise.
14422         * sysvipc/semctl.c: Likewise.
14423         * sysvipc/semget.c: Likewise.
14424         * sysvipc/semop.c: Likewise.
14425         * sysvipc/semtimedop.c: Likewise.
14426         * sysvipc/shmat.c: Likewise.
14427         * sysvipc/shmctl.c: Likewise.
14428         * sysvipc/shmdt.c: Likewise.
14429         * sysvipc/shmget.c: Likewise.
14430         * termios/tcdrain.c: Likewise.
14431         * termios/tcflow.c: Likewise.
14432         * termios/tcflush.c: Likewise.
14433         * termios/tcgetattr.c: Likewise.
14434         * termios/tcgetpgrp.c: Likewise.
14435         * termios/tcsendbrk.c: Likewise.
14436         * termios/tcsetattr.c: Likewise.
14437         * termios/tcsetpgrp.c: Likewise.
14438         * time/adjtime.c: Likewise.
14439         * time/clock.c: Likewise.
14440         * time/getitimer.c: Likewise.
14441         * time/gettimeofday.c: Likewise.
14442         * time/setitimer.c: Likewise.
14443         * time/settimeofday.c: Likewise.
14444         * time/stime.c: Likewise.
14445         * time/time.c: Likewise.
14447 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
14449         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
14450         /usr/old/bin.
14452         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
14453         instead of spaces.
14454         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
14456 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
14458         [BZ #14796]
14459         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
14460         FE_TONEAREST before applying Dekker multiplication and Knuth
14461         addition.  Clear inexact exceptions and check for exact zero
14462         results afterwards.
14463         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14464         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14465         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14466         * math/libm-test.inc (fma_test): Add more tests.
14467         (fma_test_towardzero): Likewise.
14468         (fma_test_downward): Likewise.
14469         (fma_test_upward): Likewise.
14470         * sysdeps/generic/math_private.h (default_libc_fesetround): New
14471         function.
14472         (libc_fesetround): New macro.
14473         (libc_fesetroundf): Likewise.
14474         (libc_fesetroundl): Likewise.
14475         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
14476         function.
14477         (libc_fesetround_387): Likewise.
14478         (libc_fesetroundf): New macro.
14479         (libc_fesetround): Likewise.
14480         (libc_fesetroundl): Likewise.
14481         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
14482         function.
14483         (libc_fesetroundf): New macro.
14484         (libc_fesetround): Likewise.
14485         (libc_fesetroundl): Likewise.
14486         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
14487         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
14488         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
14489         libm_hidden_ver.
14490         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
14491         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
14492         libm_hidden_def.
14493         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
14494         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
14495         libm_hidden_ver.
14496         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
14497         libm_hidden_def.
14499         [BZ #3439]
14500         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
14501         integer constant usable in #if and use that to give value to enum
14502         constant.
14503         (FE_DIVBYZERO): Likewise.
14504         (FE_UNDERFLOW): Likewise.
14505         (FE_OVERFLOW): Likewise.
14506         (FE_INVALID): Likewise.
14507         (FE_INVALID_SNAN): Likewise.
14508         (FE_INVALID_ISI): Likewise.
14509         (FE_INVALID_IDI): Likewise.
14510         (FE_INVALID_ZDZ): Likewise.
14511         (FE_INVALID_IMZ): Likewise.
14512         (FE_INVALID_COMPARE): Likewise.
14513         (FE_INVALID_SOFTWARE): Likewise.
14514         (FE_INVALID_SQRT): Likewise.
14515         (FE_INVALID_INTEGER_CONVERSION): Likewise.
14516         (FE_TONEAREST): Likewise.
14517         (FE_TOWARDZERO): Likewise.
14518         (FE_UPWARD): Likewise.
14519         (FE_DOWNWARD): Likewise.
14520         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
14521         (FE_DIVBYZERO): Likewise.
14522         (FE_OVERFLOW): Likewise.
14523         (FE_UNDERFLOW): Likewise.
14524         (FE_INEXACT): Likewise.
14525         (FE_TONEAREST): Likewise.
14526         (FE_DOWNWARD): Likewise.
14527         (FE_UPWARD): Likewise.
14528         (FE_TOWARDZERO): Likewise.
14529         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
14530         (FE_UNDERFLOW): Likewise.
14531         (FE_OVERFLOW): Likewise.
14532         (FE_DIVBYZERO): Likewise.
14533         (FE_INVALID): Likewise.
14534         (FE_TONEAREST): Likewise.
14535         (FE_TOWARDZERO): Likewise.
14536         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
14537         (FE_OVERFLOW): Likewise.
14538         (FE_UNDERFLOW): Likewise.
14539         (FE_DIVBYZERO): Likewise.
14540         (FE_INEXACT): Likewise.
14541         (FE_TONEAREST): Likewise.
14542         (FE_TOWARDZERO): Likewise.
14543         (FE_UPWARD): Likewise.
14544         (FE_DOWNWARD): Likewise.
14545         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
14546         (FE_DIVBYZERO): Likewise.
14547         (FE_OVERFLOW): Likewise.
14548         (FE_UNDERFLOW): Likewise.
14549         (FE_INEXACT): Likewise.
14550         (FE_TONEAREST): Likewise.
14551         (FE_DOWNWARD): Likewise.
14552         (FE_UPWARD): Likewise.
14553         (FE_TOWARDZERO): Likewise.
14555 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
14557         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
14559 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
14561         * scripts/cross-test-ssh.sh (command): Use newlines to separate
14562         commands.  Quote $PWD.
14563         (blacklist_exports): Don't use remove_newlines.  Replace "declare
14564         -x" by "export".
14565         (remove_newlines): Remove.
14567 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
14569         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
14570         * stdlib/stdlib.h (atof): Moved to ...
14571         * include/bits/stdlib-float.h: Here.  New file.
14572         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
14573         * stdlib/bits/stdlib-float.h: New file.
14574         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
14575         -mno-sse -mno-mmx.
14576         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
14577         <xmmintrin.h>.
14579 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
14581         * conform/conformtest.pl (@headers): Add fenv.h.
14582         * conform/data/fenv.h-data: New file.
14583         * include/fenv.h [_ISOMAC]: Disable all contents of file except
14584         include of <math/fenv.h>.
14586         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
14587         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
14588         && !UNIX98].  Enables tests for XOPEN2K8.
14589         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
14590         POSIX2008]: Likewise.
14592         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
14593         (struct rusage): Do not expect type or its members.
14595         [BZ #3439]
14596         * math/math.h (FP_NAN): Define macro to integer constant usable in
14597         #if and use that to give value to enum constant.
14598         (FP_INFINITE): Likewise.
14599         (FP_ZERO): Likewise.
14600         (FP_SUBNORMAL): Likewise.
14601         (FP_NORMAL): Likewise.
14603 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
14605         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
14606         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
14607         arguments.
14609 2012-11-02  Roland McGrath  <roland@hack.frob.com>
14611         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
14612         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
14613         autoconf-time if not.
14614         * configure.in: Remove AC_PREREQ.
14616 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14618         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
14619         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
14620         of the internal implementation.
14622 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
14624         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
14625         except include of <misc/sys/syslog.h>.
14627 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
14629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
14630         function returns with a NULL context exit with zero.
14632 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14634         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
14636 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
14638         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
14639         (run_program_cmd): This.
14640         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
14641         (tst_langinfo): New variable.  Use it.
14643 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
14645         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
14646         floating point opcodes.
14648 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
14650         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
14651         variable.
14653         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
14655         * sysdeps/mach/hurd/powerpc: Remove directory.
14656         * sysdeps/mach/powerpc: Likewise.
14658 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
14660         * scripts/check-local-headers.sh: Ignore c++ headers.
14662 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
14664         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
14665         __libc_cleanup_region_start argument.
14667 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
14669         [BZ #14784]
14670         [BZ #14785]
14671         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
14672         x * y using scaling, not as x * y + z.
14673         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14674         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14675         * math/libm-test.inc (fma_test): Add more tests.
14676         (fma_test_towardzero): Likewise.
14677         (fma_test_downward): Likewise.
14678         (fma_test_upward): Likewise.
14680 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
14682         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
14684 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
14686         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
14687         New variable.
14689 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
14691         * rt/tst-shm.c (worker): Correct checking for mmap failure.
14693 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
14695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14696         Fix sort order.
14697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14698         Likewise.
14700 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14703         Fix the order of the list for glibc 2.17.
14704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14705         Likewise.
14707 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
14709         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14711 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
14713         [BZ #14610]
14714         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
14715         for low part of x being zero before using __atanl (y).
14716         * math/libm-test.inc (atan2_test): Add another test.
14718         * manual/install.texi (Configuring and compiling): Document
14719         general use of test-wrapper and test-wrapper-env.
14720         * INSTALL: Regenerated.
14722         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
14723         (__fma): Do not extract and scale down low bits on after-rounding
14724         systems when result rounded to normal precision would have normal
14725         exponent.
14726         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
14727         (__fmal): Do not extract and scale down low bits on after-rounding
14728         systems when result rounded to normal precision would have normal
14729         exponent.
14730         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
14731         (__fmal): Do not extract and scale down low bits on after-rounding
14732         systems when result rounded to normal precision would have normal
14733         exponent.
14734         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
14735         macro.
14736         (fma_test): Add more tests.
14737         (fma_test_towardzero): Likewise.
14738         (fma_test_downward): Likewise.
14739         (fma_test_upward): Likewise.
14741 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
14743         * sysdeps/i386/tininess.h: Renamed to ...
14744         * sysdeps/x86/tininess.h: This.
14745         * sysdeps/x86_64/tininess.h: Removed.
14747 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
14749         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
14750         input.  Use $(build-program-cmd).
14751         ($(objpfx)tst-array1-static.out): Likewise.
14752         ($(objpfx)tst-array2.out): Likewise.
14753         ($(objpfx)tst-array3.out): Likewise.
14754         ($(objpfx)tst-array4.out): Likewise.
14755         ($(objpfx)tst-array5.out): Likewise.
14756         ($(objpfx)tst-array5-static.out): Likewise.
14758 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
14760         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
14761         if defined.
14763         * nss/nsswitch.h (nss_interface_function): Provide new
14764         macro for use with NSS functions.
14765         * grp/initgroups.c: Use new macro.
14766         * nss/getXXbyYY.c: Likewise.
14767         * nss/getXXbyYY_r.c: Likewise.
14768         * nss/getXXent.c: Likewise.
14769         * nss/getXXent_r.c: Likewise.
14770         * sysdeps/posix/getaddrinfo.c: Likewise.
14772 2012-10-30  Andreas Jaeger  <aj@suse.de>
14774         * po/ru.po: Update Russion translation from translation project.
14776 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
14778         [BZ #14152]
14779         [BZ #14783]
14780         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
14781         result and shift together with sticky bit instead of replicating
14782         round-to-nearest rounding.
14783         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14784         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14785         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
14786         missing underflow exceptions.
14787         (fma_test_towardzero): Add more tests.
14788         (fma_test_downward): Likewise.
14789         (fma_test_upward): Likewise.
14791         [BZ #14047]
14792         * sysdeps/generic/tininess.h: New file.
14793         * sysdeps/i386/tininess.h: Likewise.
14794         * sysdeps/sh/tininess.h: Likewise.
14795         * sysdeps/x86_64/tininess.h: Likewise.
14796         * stdlib/tst-strtod-underflow.c: Likewise.
14797         * stdlib/tst-tininess.c: Likewise.
14798         * stdlib/strtod_l.c: Include <tininess.h>.
14799         (round_and_return): Do not set errno for exact underflow cases.
14800         Force an underflow exception when setting errno for underflow.
14801         Determine underflow based on rounding to normal precision if
14802         TININESS_AFTER_ROUNDING.
14803         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
14804         ERANGE for exact underflow cases.
14805         * stdlib/Makefile (tests): Add tst-tininess and
14806         tst-strtod-underflow.
14807         ($(objpfx)tst-tininess): Use $(link-libm).
14808         ($(objpfx)tst-strtod-underflow): Likewise.
14810 2012-10-30  Andreas Jaeger  <aj@suse.de>
14812         [BZ#14767]
14813         * elf/Makefile (tests): Remove conditional for have-initfini-array
14814         since this is now always required and the variable does not exist
14815         anymore.
14816         (tests-static): Likewise.
14817         (modules-names): Likewise.
14819         * po/eo.po: Add Esperanto translation from translation project.
14821         * elf/tst-array1.c (fini_array): Make writeable so that it can be
14822         merged with constructor/destructor.
14823         (init_array): Likewise.
14824         * elf/tst-array2dep.c (fini_array): Likewise.
14825         (init_array): Likewise.
14827 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
14829         * manual/message.texi: Delete @cartouche tags.
14831 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
14833         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
14834         EOPNOTSUPP.
14835         * sysdeps/mach/hurd/fsync.c: Likewise.
14837         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
14838         [_POSIX_REALTIME_SIGNALS]: Change condition to
14839         [_POSIX_REALTIME_SIGNALS > 0].
14841 2012-10-27  Andreas Jaeger  <aj@suse.de>
14843         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
14844         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
14845         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
14846         [__WORDSIZE != 64]: Likewise.
14848 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
14850         *  iconvdata/tst-table.sh: Remove ${SHELL}.
14851         *  iconvdata/tst-tables.sh: Likewise.
14853 2012-10-25  David S. Miller  <davem@davemloft.net>
14855         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14856         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
14857         of strtoull.
14859         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
14860         ifunc-impl-list.c
14861         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14862         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
14863         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
14864         file.
14866 2012-10-25  Roland McGrath  <roland@hack.frob.com>
14868         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14869         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
14870         __getdirentries.
14872 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
14873             Jim Blandy  <jimb@codesourcery.com>
14875         * scripts/cross-test-ssh.sh: New file.
14876         * manual/install.texi (Configuring and compiling): Document use of
14877         cross-test-ssh.sh.
14878         * INSTALL: Regenerated.
14880 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
14882         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
14883         EOPNOTSUPP.
14885 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
14887         * Makeconfig (run-program-prefix): Fix comment.
14889 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
14890             Jim Blandy  <jimb@codesourcery.com>
14892         * Makeconfig (test-wrapper): New variable,
14893         (test-wrapper-env): Likewise.
14894         [$(cross-compiling) = yes && $(test-wrapper) != ""]
14895         (run-built-tests): Define to yes.
14896         (run-program-prefix): Use $(test-wrapper).
14897         (built-program-cmd): Likewise.
14898         * Rules (make-test-out): Use $(test-wrapper-env) and
14899         $(host-built-program-cmd).
14900         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
14901         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
14902         tst-pathopt.sh.
14903         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
14904         $(test-wrapper-env) to tst-rtld-load-self.sh.
14905         ($(objpfx)order2.out): Use $(test-wrapper).
14906         ($(objpfx)tst-initorder.out): Likewise.
14907         ($(objpfx)tst-initorder2.out): Likewise.
14908         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
14909         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
14910         (test_wrapper_env): New variable.  Use it to run ld.so.
14911         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
14912         Use it to run ld.so.
14913         (test_wrapper_env): Likewise.
14914         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
14915         $(test-wrapper) to run-iconv-test.sh.
14916         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
14917         (ICONV): Use $test_wrapper.
14918         * posix/Makefile ($(objpfx)globtest.out): Pass
14919         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
14920         globtest.sh, not $(run-program-prefix).
14921         * posix/globtest.sh (run_via_rtld_prefix): New variable.
14922         (test_wrapper): Likewise.
14923         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
14924         set together with run_via_rtld_prefix.
14925         (run_program_prefix): Define in terms of test_wrapper and
14926         run_via_rtld_prefix.
14928 2012-10-24  Roland McGrath  <roland@hack.frob.com>
14930         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
14931         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
14932         Targets removed.
14934         [BZ #14743]
14935         * include/time.h: Remove librt_hidden_proto (clock_gettime).
14936         Declare __clock_getres, __clock_gettime, __clock_settime,
14937         __clock_nanosleep, and __clock_getcpuclockid.
14938         * rt/clock_gettime.c: Define __clock_gettime as an alias.
14939         Remove librt_hidden_def (clock_gettime).
14940         * sysdeps/unix/clock_gettime.c: Likewise.
14941         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
14942         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14943         * rt/clock_getres.c: Define __clock_getres as an alias.
14944         * sysdeps/posix/clock_getres.c: Likewise.
14945         * rt/clock_settime.c: Define __clock_settime as an alias.
14946         * sysdeps/unix/clock_settime.c: Likewise.
14947         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
14948         * sysdeps/unix/clock_nanosleep.c: Likewise.
14949         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14950         * rt/clock-compat.c: New file.
14951         * rt/Makefile (librt-routines): Add clock-compat and move
14952         $(clock-routines) to ...
14953         (routines): ... here, new variable.
14954         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
14955         Don't add get_clockfreq here.
14956         * rt/Versions (libc: GLIBC_2.17): New version set.
14957         Add clock_* symbols here.
14958         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
14959         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
14960         (GLIBC_2.17): Add clock_* symbols.
14961         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14962         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14963         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14965         Likewise.
14966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14967         Likewise.
14968         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14969         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14970         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14971         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14972         * NEWS: Mention the move.
14974         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14975         Use __open, __read, __close rather than their public counterparts.
14976         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14977         (__get_clockfreq_via_cpuinfo): Likewise.
14978         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
14979         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
14981         * config.h.in (HAVE_IFUNC): New #undef.
14982         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
14983         was successful.
14984         * configure: Regenerated.
14986 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
14988         * configure.in: Move READELF check to start of file.
14989         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
14990         libc_cv_asm_gnu_indirect_function in the process.
14991         * configure: Regenerated.
14993 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
14995         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
14996         send the output to /dev/null.
14997         (libc_cv_cc_with_libunwind): Likewise.
14998         (libc_cv_as_noexecstack): Likewise.
14999         * configure: Regenerate.
15001 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
15003         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
15005         * posix/globtest.sh (TMPDIR): Do not set.
15006         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
15007         (testout): Likewise.
15009 2012-10-24  Andreas Jaeger  <aj@suse.de>
15011         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
15012         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
15013         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
15014         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
15015         posix_fadvise64, posix_fallocate64.
15017         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
15018         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
15019         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
15020         Likewise.
15021         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
15022         Likewise.
15023         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
15025         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
15026         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
15027         <bits/fcntl-linux.h>.
15028         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
15030         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
15031         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
15032         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
15033         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
15034         [__WORDSIZE != 64]: Likewise.
15036 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
15038         * Makeconfig (run-built-tests): New variable.
15039         * Rules [$(cross-compiling) = yes]: Change condition to
15040         [$(run-built-tests) = no].
15041         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
15042         to [$(run-built-tests) = yes].
15043         * elf/Makefile [$(cross-compiling) = no]: Likewise
15044         * grp/Makefile [$(cross-compiling) = no]: Likewise.
15045         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
15046         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
15047         * intl/Makefile [$(cross-compiling) = no]: Likewise.
15048         * io/Makefile [$(cross-compiling) = no]: Likewise.
15049         * libio/Makefile [$(cross-compiling) = no]: Likewise.
15050         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
15051         * misc/Makefile [$(cross-compiling) = no]: Likewise.
15052         * posix/Makefile [$(cross-compiling) = no]: Likewise.
15053         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
15054         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
15055         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
15056         * string/Makefile [$(cross-compiling) = no]: Likewise.
15058         * posix/Makefile ($(objpfx)globtest.out): Pass
15059         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
15060         $(rtld-installed-name).
15061         * posix/globtest.sh (elf_objpfx): Remove variable.
15062         (rtld_installed_name): Likewise.
15063         (library_path): Likewise.
15064         (run_program_prefix): New variable.  Use for running globtest
15065         binary.
15067 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
15068             Joseph Myers  <joseph@codesourcery.com>
15070         * Makeconfig (host-built-program-cmd): New variable.
15071         * elf/Makefile (tst-stackguard1-ARGS): Use
15072         $(host-built-program-cmd).
15073         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
15074         (tst-spawn-ARGS): Likewise.
15075         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
15077 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
15078             Jim Blandy  <jimb@codesourcery.com>
15080         * Makeconfig (run-via-rtld-prefix): New variable.
15081         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
15082         (built-program-cmd): Likewise.
15084 2012-10-22  Andreas Jaeger  <aj@suse.de>
15086         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
15087         __O_RSYNC if it exists, otherwise to O_SYNC.
15089 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
15090             Joseph Myers  <joseph@codesourcery.com>
15092         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
15093         /dev/null.
15094         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
15095         from /dev/null
15096         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
15097         /dev/null.
15099 2012-10-22  Andreas Jaeger  <aj@suse.de>
15101         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
15102         Define always.
15103         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
15105         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15106         bits/fcntl-linux.h.
15108         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
15109         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
15111         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
15112         to __O_LARGEFILE.
15113         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
15114         to __O_LARGEFILE.
15116 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
15117             Joseph Myers  <joseph@codesourcery.com>
15119         * config.make.in (NM): New variable.
15121 2012-10-21  Andreas Jaeger  <aj@suse.de>
15123         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
15124         definitions and declarations that are provided by
15125         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15127 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
15129         [BZ #14683]
15130         * elf/Makefile (tests-static): Add tst-leaks1-static.
15131         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
15132         ($(objpfx)tst-leaks1-static): New rule.
15133         ($(objpfx)tst-leaks1-static-mem): Likewise.
15134         (tst-leaks1-static-ENV): New macro.
15135         * elf/dl-open.c (dl_open_worker): Check the main application
15136         only if SHARED is defined.
15137         * elf/tst-leaks1-static.c: New file.
15139 2012-10-20  Andreas Jaeger  <aj@suse.de>
15141         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
15142         generic values for Linux.
15143         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
15144         and declarations that are provided by <bits/fcntl-linux.h> and
15145         include <bits/fcntl-linux.h>.
15146         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15147         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15149 2012-10-20  Roland McGrath  <roland@hack.frob.com>
15151         * io/fcntl.h: Move include of <bits/types.h> to the top and
15152         include it unconditionally.
15154 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
15156         * wcsmbs/Makefile (tests-ifunc): New variable.
15157         (tests): Add $(tests-ifunc).
15158         * wcsmbs/test-wcschr-ifunc.c: New file.
15159         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
15160         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
15161         * wcsmbs/test-wcslen-ifunc.c: Likewise.
15162         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
15163         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
15165         * string/Makefile (tests-ifunc): New variable.
15166         (tests): Add $(tests-ifunc).
15167         * string/test-memccpy.c (TEST_NAME): New macro.
15168         * string/test-memchr.c (TEST_NAME): Likewise.
15169         * string/test-memcmp.c (TEST_NAME): Likewise.
15170         * string/test-memcpy.c (TEST_NAME): Likewise.
15171         * string/test-memmem.c (TEST_NAME): Likewise.
15172         * string/test-memmove.c (TEST_NAME): Likewise.
15173         * string/test-memset.c (TEST_NAME): Likewise.
15174         * string/test-rawmemchr.c (TEST_NAME): Likewise.
15175         * string/test-stpcpy.c (TEST_NAME): Likewise.
15176         * string/test-stpncpy.c (TEST_NAME): Likewise.
15177         * string/test-strcasecmp.c (TEST_NAME): Likewise.
15178         * string/test-strcasestr.c (TEST_NAME): Likewise.
15179         * string/test-strcat.c (TEST_NAME): Likewise.
15180         * string/test-strchr.c (TEST_NAME): Likewise.
15181         * string/test-strcmp.c(TEST_NAME): Likewise.
15182         * string/test-strcpy.c (TEST_NAME): Likewise.
15183         * string/test-strcspn.c (TEST_NAME): Likewise.
15184         * string/test-strlen.c (TEST_NAME): Likewise.
15185         * string/test-strncasecmp.c (TEST_NAME): Likewise.
15186         * string/test-strncmp.c (TEST_NAME): Likewise.
15187         * string/test-strncpy.c (TEST_NAME): Likewise.
15188         * string/test-strnlen.c (TEST_NAME): Likewise.
15189         * string/test-strpbrk.c (TEST_NAME): Likewise.
15190         * string/test-strrchr.c (TEST_NAME): Likewise.
15191         * string/test-strspn.c (TEST_NAME): Likewise.
15192         * string/test-strstr.c (TEST_NAME): Likewise.
15193         * string/test-bcopy-ifunc.c: New file.
15194         * string/test-bzero-ifunc.c: Likewise.
15195         * string/test-memccpy-ifunc.c: Likewise.
15196         * string/test-memchr-ifunc.c: Likewise.
15197         * string/test-memcmp-ifunc.c: Likewise.
15198         * string/test-memcpy-ifunc.c: Likewise.
15199         * string/test-memmem-ifunc.c: Likewise.
15200         * string/test-memmove-ifunc.c: Likewise.
15201         * string/test-mempcpy-ifunc.c: Likewise.
15202         * string/test-memset-ifunc.c: Likewise.
15203         * string/test-rawmemchr-ifunc.c: Likewise.
15204         * string/test-stpcpy-ifunc.c: Likewise.
15205         * string/test-stpncpy-ifunc.c: Likewise.
15206         * string/test-strcasecmp-ifunc.c: Likewise.
15207         * string/test-strcasestr-ifunc.c: Likewise.
15208         * string/test-strcat-ifunc.c: Likewise.
15209         * string/test-strchr-ifunc.c: Likewise.
15210         * string/test-strchrnul-ifunc.c: Likewise.
15211         * string/test-strcmp-ifunc.c: Likewise.
15212         * string/test-strcpy-ifunc.c: Likewise.
15213         * string/test-strcspn-ifunc.c: Likewise.
15214         * string/test-strlen-ifunc.c: Likewise.
15215         * string/test-strncasecmp-ifunc.c: Likewise.
15216         * string/test-strncat-ifunc.c: Likewise.
15217         * string/test-strncmp-ifunc.c: Likewise.
15218         * string/test-strncpy-ifunc.c: Likewise.
15219         * string/test-strnlen-ifunc.c: Likewise.
15220         * string/test-strpbrk-ifunc.c: Likewise.
15221         * string/test-strrchr-ifunc.c: Likewise.
15222         * string/test-strspn-ifunc.c: Likewise.
15223         * string/test-strstr-ifunc.c: Likewise.
15225         * debug/Makefile (tests-ifunc): New variable.
15226         (tests): Add $(tests-ifunc).
15227         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
15228         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
15229         * debug/test-stpcpy_chk-ifunc.c: New file.
15230         * debug/test-strcpy_chk-ifunc.c: Likewise.
15232 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
15234         [BZ #13601]
15235         * elf/dl-load.c (open_verify): Retry read if the entire ELF
15236         header is not read in.
15238 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
15240         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
15241         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
15242         directly.  Pass built executable to script as
15243         $(built-program-cmd).
15244         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
15245         $testprogram without using LD_LIBRARY_PATH and $ldso.
15247         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
15248         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
15249         $(rtld-installed-name).
15250         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
15251         (rtld_installed_name): Likewise.
15252         (library_path): Likewise.
15253         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
15254         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
15255         $(run-program-prefix) to tst-tables.sh.
15256         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
15257         it to run tst-table-from and tst-table-to.
15258         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
15259         Pass it to tst-table.sh.
15260         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
15261         $(run-program-prefix) to tst-gettext.sh.
15262         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
15263         tst-translit.sh.
15264         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
15265         tst-gettext2.sh.
15266         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
15267         to run tst-gettext.
15268         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
15269         to run tst-gettext2.
15270         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
15271         to run tst-translit.
15272         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
15273         $(run-program-prefix) to tst-mtrace.sh.
15274         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
15275         to run tst-mtrace.
15276         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
15277         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
15278         $(rtld-installed-name).
15279         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
15280         (rtld_installed_name): Likewise.
15281         (run_program_prefix): New variable.  Use it to run wordexp-test.
15283         * Makeconfig (ARCH): Remove all definitions.
15284         (machine): Likewise.
15285         [ARCH]: Remove conditional code.
15286         [!objdir]: Give error.
15287         [!objdir] (objpfx): Remove.
15288         [!objdir] (common-objpfx): Likewise.
15289         [!objdir] (common-objdir): Likewise.
15290         * configure.in (config_makefile): Remove.  Hardcode Makefile in
15291         AC_CONFIG_FILES call.
15292         * configure: Regenerated.
15294         [BZ #13888]
15295         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
15296         or TMPDIR.
15297         (testout): Likewise.
15299         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
15300         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
15301         $(rtld-installed-name).
15302         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
15303         (rtld_installed_name): Likwise.
15304         (runit): Remove function.
15305         (run_getconf): New variable,  Use it for running getconf binary.
15307 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
15309         [BZ #14716]
15310         * string/test-memmem.c (check_result): New function.
15311         (do_one_test): Use it.
15312         (check1): New function.
15313         (test_main): Use it.
15315 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
15317         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
15319 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
15321         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
15322         (_G_LSEEK64): Likewise.
15323         (_G_MMAP64): Likewise.
15324         (_G_FSTAT64): Likewise.
15325         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
15326         (_G_LSEEK64): Likewise.
15327         (_G_MMAP64): Likewise.
15328         (_G_FSTAT64): Likewise.
15329         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
15330         unconditional.  Call __mmap64 directly.
15331         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
15332         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
15333         __lseek64 directly.
15334         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
15335         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
15336         __mmap64 directly.
15337         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
15338         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
15339         __lseek64 directly.
15340         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
15341         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
15342         __lseek64 directly.
15343         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
15344         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
15345         __lseek64 directly.
15346         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
15347         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
15348         __fxstat64 directly.
15349         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
15350         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
15351         unconditional.
15352         (freopen64) [!_G_OPEN64]: Remove conditional code.
15353         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
15354         unconditional.
15355         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
15356         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
15357         unconditional.
15358         (ftello64) [!_G_LSEEK64]: Remove conditional code.
15359         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
15360         unconditional.
15361         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15362         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
15363         unconditional.
15364         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
15365         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
15366         unconditional.
15367         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15368         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
15369         unconditional.
15370         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15371         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
15372         unconditional.
15373         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15375 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15377         [BZ #12140]
15378         * manual/memory.texi (Malloc Tunable Parameters): Add note
15379         about free list pointers overwriting some perturb bytes.
15380         Wording suggested by Roland McGrath.
15382 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
15384         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
15385         (lgamma_test): Likewise.
15386         (tgamma_test): Likewise.
15388 2012-10-16  Florian Weimer  <fweimer@redhat.com>
15390         [BZ #14700]
15391         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
15392         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
15394 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
15396         * NEWS: Mention BZ #14716.
15397         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
15398         when removing AVAILABLE1_USES_J macro.
15400 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
15402         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
15403         (__bswap_64): __uint64_t for unsigned 64-bit int.
15405 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
15407         * include/string.h (memmem): Declare libc hidden alias.
15408         * string/memmem.c (memmem): Define libc hidden alias.
15409         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
15410         __read, __close instead of open, read, close.
15412 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
15414         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
15415         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
15416         global and hidden.
15417         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
15418         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
15419         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
15420         Likewise.
15421         (__rawmemchr_sse2): Likewise.
15422         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
15423         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
15424         (__strchr_sse2): Likewise.
15425         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
15426         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
15427         (__strcasecmp_sse2): Likewise.
15428         (__strncasecmp_sse2): Likewise.
15429         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
15430         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
15431         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
15432         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
15433         (__strrchr_sse2): Likewise.
15434         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
15435         ifunc-impl-list.c.
15436         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15437         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15438         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15439         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15440         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15441         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15442         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15443         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15444         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
15445         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
15446         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
15447         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
15448         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
15449         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
15450         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
15451         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15452         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
15453         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
15454         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
15455         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
15456         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
15457         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
15458         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
15459         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15460         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
15461         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15462         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15463         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15464         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
15465         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
15467         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
15468         global and hidden.
15469         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
15470         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
15471         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
15472         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
15473         Likewise.
15474         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
15475         Likewise.
15476         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
15477         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
15478         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
15479         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
15480         ifunc-impl-list.c.
15481         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15482         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15483         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15484         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15485         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15486         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15487         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15488         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15489         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15490         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15491         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15492         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15493         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15494         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
15495         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
15496         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15497         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
15498         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
15499         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15500         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15501         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15502         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15503         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15504         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15505         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15506         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
15507         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
15508         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
15509         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
15510         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15511         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
15512         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15513         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15514         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
15515         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15516         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15517         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15518         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15519         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15520         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15521         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
15523         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
15524         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
15525         * include/ifunc-impl-list.h: New file.
15526         * misc/ifunc-impl-list.c: Likewise.
15527         * misc/Makefile (routines): Add ifunc-impl-list.
15528         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
15529         * string/test-string.h: Include <ifunc-impl-list.h>.
15530         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
15531         impl_array): New variables.
15532         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
15533         are defined.
15534         (test_init): Call __libc_ifunc_impl_list to initialize
15535         func_list if TEST_IFUNC and TEST_NAME are defined.
15537         * string/Makefile (strop-tests): Add bcopy and bzero.
15538         * string/test-bcopy.c: New file.
15539         * string/test-bzero.c: Likewise.
15540         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
15541         defined.
15542         * string/test-memset.c: Support bzero test if TEST_BZERO is
15543         defined.
15544         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
15545         __libc_memmove.
15546         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
15547         __libc_memset.
15548         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
15549         of memset.
15551 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
15553         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
15554         * configure: Regenerated.
15556         * Makeconfig (+link-static-before-libc): Don't include
15557         $(link-static-libc).
15559         * libio/libio.h (_IO_pos_t): Remove.
15561 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
15563         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
15564         McGrath.
15566 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
15568         * crypt/crypt-entry.c: Include fips-private.h.
15569         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
15570         * crypt/md5c-test.c (main): Tolerate disabled MD5.
15571         * sysdeps/unix/sysv/linux/fips-private.h: New file.
15572         * sysdeps/generic/fips-private.h: New file, dummy fallback.
15574 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
15576         * crypt/crypt-private.h: Include stdbool.h.
15577         (_ufc_setup_salt_r): Return bool.
15578         * crypt/crypt-entry.c: Include errno.h.
15579         (__crypt_r): Return NULL with EINVAL for bad salt.
15580         * crypt/crypt_util.c (bad_for_salt): New.
15581         (_ufc_setup_salt_r): Check that salt is long enough and within
15582         the specified alphabet.
15583         * crypt/badsalttest.c: New file.
15584         * crypt/Makefile (tests): Add it.
15585         ($(objpfx)badsalttest): New.
15587 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
15589         * NEWS: Add entry for BZ #14602.
15591 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
15593         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
15594         type-generic.
15595         * math/libm-test.inc: Update comment listing what functions and
15596         macros are tested.
15597         (isgreater_test): New function.
15598         (isgreaterequal_test): Likewise.
15599         (isless_test): Likewise.
15600         (islessequal_test): Likewise.
15601         (islessgreater_test): Likewise.
15602         (isunordered_test): Likewise.
15603         (main): Call the new functions.
15605 2012-10-09  Roland McGrath  <roland@hack.frob.com>
15607         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
15608         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
15609         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
15610         * sysdeps/i386/configure: Regenerated.
15611         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
15612         * sysdeps/mach/configure: Regenerated.
15613         * sysdeps/mach/hurd/configure: Regenerated.
15614         * sysdeps/powerpc/configure: Regenerated.
15615         * sysdeps/powerpc/powerpc32/configure: Regenerated.
15616         * sysdeps/powerpc/powerpc64/configure: Regenerated.
15617         * sysdeps/s390/s390-32/configure: Regenerated.
15618         * sysdeps/s390/s390-64/configure: Regenerated.
15619         * sysdeps/sh/configure: Regenerated.
15620         * sysdeps/sparc/configure: Regenerated.
15621         * sysdeps/unix/sysv/linux/configure: Regenerated.
15622         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15623         * sysdeps/x86_64/configure: Regenerated.
15625         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
15626         defined.  Don't check if MAP is NULL.
15628 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
15630         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
15631         (_G_stat64): Likewise.
15632         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
15633         (_G_stat64): Likewise.
15634         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
15635         instead of struct _G_stat64.
15636         * libio/fileops.c (mmap_remap_check): Likewise.
15637         (decide_maybe_mmap): Likewise.
15638         (_IO_new_file_seekoff): Likewise.
15639         (_IO_file_stat): Likewise.
15640         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
15641         _G_off64_t.
15642         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
15643         instead of struct _G_stat64.
15644         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15646 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
15648         [BZ #14602]
15649         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15650         Replace with ...
15651         (CHECK_EOL): New macro.
15652         (two_way_short_needle): Check beginning of haystack for EOL.  Use
15653         CHECK_EOL.
15654         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15655         Replace with CHECK_EOL.
15656         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15657         Replace with CHECK_EOL.
15659 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
15661         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
15662         type-generic.
15663         * math/libm-test.inc: Update comment listing what functions and
15664         macros are tested.
15665         (finite_test): New function.
15666         (isinf_test): Likewise.
15667         (isnan_test): Likewise.
15668         (fpclassify_test): Test subnormal input.
15669         (isfinite_test): Likewise.
15670         (isnormal_test): Likewise.
15671         (main): Call the new functions.
15673 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
15675         [BZ #14660]
15676         * Makerules (%.dynsym): Force C locale when running
15677         $(OBJDUMP) --dynamic-syms.
15679 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
15681         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
15682         <stdint.h>.
15684 2012-10-06  David S. Miller  <davem@davemloft.net>
15686         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
15687         upper 32-bits of the length value in %o2 since we use branch-on-register
15688         tests which consider the entire 64-bit register.
15690 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
15692         * string/test-strstr.c (check2): Add a test for page boundary.
15694 2012-10-05  David S. Miller  <davem@davemloft.net>
15696         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
15697         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
15698         file.
15699         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15700         sysdep_routines.
15701         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15702         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
15703         and bzero when HWCAP_SPARC_CRYPTO is present.
15705 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
15707         [BZ #14602]
15708         * string/test-strstr.c (check2): New function.
15709         (test_main): Call check2.
15711         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
15712         and bug-strchr1.
15713         * string/bug-strcasestr1.c (do_test): Moved to ...
15714         * string/test-strcasestr.c (check1): Here.  New function.
15715         (do_one_test): Break out result checking code into ...
15716         (check_result): This.  New function.
15717         (do_one_test): Call check_result.
15718         (test_main): Call check1.
15719         * string/bug-strchr1.c (do_test): Moved to ...
15720         * string/test-strchr.c (check1): Here.  New function.
15721         (do_one_test): Break out result checking code into ...
15722         (check_result): This.  New function.
15723         (do_one_test): Call check_result.
15724         (test_main): Call check1.
15725         * string/bug-strstr1.c (main): Moved to ...
15726         * string/test-strstr.c (check1): Here.  New function.
15727         (do_one_test): Break out result checking code into ...
15728         (check_result): This.  New function.
15729         (do_one_test): Call check_result.
15730         (test_main): Call check1.
15731         * string/bug-strcasestr1.c: Removed.
15732         * string/bug-strchr1.c: Likewise.
15733         * string/bug-strstr1.c: Likewise.
15735         * elf/Makefile (dl-routines): Add hwcaps.
15736         * elf/dl-support.c (_dl_important_hwcaps): Removed.
15737         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
15738         (_dl_important_hwcaps): Moved to ...
15739         * elf/dl-hwcaps.c: Here.  New file.
15740         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
15742         [BZ #14557]
15743         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
15744         if IS_IN_rtld isn't defined.
15746         * elf/dl-support.c (_dl_sysinfo_map): New.
15747         Include "get-dynamic-info.h" and "setup-vdso.h".
15748         (_dl_non_dynamic_init): Call setup_vdso.
15749         * elf/dynamic-link.h: Don't include <assert.h>.
15750         (elf_get_dynamic_info): Moved to ...
15751         * elf/get-dynamic-info.h: Here.  New file.
15752         * elf/dynamic-link.h: Include "get-dynamic-info.h".
15753         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
15754         * elf/setup-vdso.h: Here.  New file.
15755         * elf/rtld.c: Include "setup-vdso.h".
15756         (dl_main): Call setup_vdso.
15758 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
15760         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
15761         creal in comment listing functions tested.  List finite, isinf,
15762         isnan, isless, islessequal, isgreater, isgreaterequal,
15763         islessgreater, isunordered, lgamma_r and pow10 as functions and
15764         macros not tested.  Mention which functions not tested are aliases
15765         for other functions.  Fix typo.  Note that signs of NaNs are not
15766         tested.
15768         * scripts/config.guess: Update from config.git.
15769         * scripts/config.sub: Likewise.
15771 2012-10-04  Roland McGrath  <roland@hack.frob.com>
15773         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
15774         * misc/madvise.c (madvise): Renamed to __madvise.
15775         Make madvise a weak alias.
15776         * include/sys/mman.h: Declare __madvise.
15777         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
15778         * sysdeps/unix/syscalls.list
15779         (madvise): Make __madvise the strong name, and madvise a weak alias.
15780         * sysdeps/unix/sysv/linux/syscalls.list
15781         (madvise, mmap): Remove redundant entries.
15782         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
15783         * malloc/malloc.c (mtrim): Likewise.
15784         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
15786 2012-10-03  Roland McGrath  <roland@hack.frob.com>
15788         * sysdeps/mach/hurd/dl-cache.c: File removed.
15789         * config.h.in (USE_LDCONFIG): New #undef.
15790         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
15791         * configure: Regenerated.
15792         * elf/Makefile (dl-routines): Add dl-cache only under
15793         [$(use-ldconfig) = yes].
15794         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
15795         cache on [USE_LDCONFIG].
15796         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
15797         [USE_LDCONFIG].
15798         * elf/rtld.c (dl_main): Likewise.
15800 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
15802         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
15803         _SC_LEVEL4_CACHE_LINESIZE.
15805 2012-10-03  Roland McGrath  <roland@hack.frob.com>
15807         * sysdeps/unix/bsd/confstr.h: File removed.
15809 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
15811         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
15812         sys/sdt-config.h.
15814 2012-10-02  Roland McGrath  <roland@hack.frob.com>
15816         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
15817         Make 'mapoff' field ElfW(Off) rather than off_t.
15819 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
15821         * nscd/Makefile: Remove nscd-cflags and all its users.
15822         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
15823         (CFLAGS-nonlib): Add compiler flags for nscd modules.
15825         [BZ #10631]
15826         * malloc.c (malloc_printerr): Clarify error message.
15828 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
15830         [BZ #14648]
15831         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15832         Set bit_FMA_Usable if FMA is supported.
15833         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
15834         macro.
15835         (bit_FMA4_Usable): Updated.
15836         (index_FMA_Usable): New macro.
15837         (CPUID_FMA): Likewise
15838         (HAS_FMA): Defined with bit_FMA_Usable.
15840 2012-10-01  Roland McGrath  <roland@hack.frob.com>
15842         * bits/types.h (__swblk_t): Type removed.
15843         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
15844         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
15845         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15846         (__SWBLK_T_TYPE): Likewise.
15847         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15848         (__SWBLK_T_TYPE): Likewise.
15849         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15850         (__SWBLK_T_TYPE): Likewise.
15851         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15852         (__SWBLK_T_TYPE): Likewise.
15854 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
15855             Honza Horak <hhorak@redhat.com>
15857         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
15858         (xdr_mapname): Use YPMAXMAP as maxsize.
15859         (xdr_peername): Use YPMAXPEER as maxsize.
15860         (xdr_keydat): Use YPAXRECORD as maxsize.
15861         (xdr_valdat): Use YPMAXRECORD as maxsize.
15863 2012-10-01  Roland McGrath  <roland@hack.frob.com>
15865         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
15867         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
15868         * csu/init-first.c: ... here.
15869         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
15870         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15871         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15872         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15873         * sysdeps/i386/init-first.c: File removed.
15874         * sysdeps/sh/init-first.c: File removed.
15876 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
15878         [BZ #14645]
15879         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
15880         if x * y might underflow to zero and z is zero.
15881         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15882         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15883         * math/libm-test.inc (min_subnorm_value): New variable.
15884         (fma_test): Add more tests.
15885         (fma_test_towardzero): Likewise.
15886         (fma_test_downward): Likewise
15887         (fma_test_upward): Likewise.
15888         (initialize): Set min_subnorm_value.
15890 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
15892         [BZ #14638]
15893         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
15894         0 + 0.
15895         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
15896         mode for addition resulting in exact zero.
15897         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
15898         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
15899         exact 0 + 0.
15900         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15901         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15902         * math/libm-test.inc (fma_test): Add more tests.
15903         (fma_test_towardzero): New function.
15904         (fma_test_downward): Likewise.
15905         (fma_test_upward): Likewise.
15906         (main): Call the new functions.
15908 2012-09-28  David S. Miller  <davem@davemloft.net>
15910         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
15912 2012-09-28  Roland McGrath  <roland@hack.frob.com>
15914         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
15915         instead of SIGALRM.
15917         * sysdeps/gnu/_G_config.h: Moved to ...
15918         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
15919         * sysdeps/mach/hurd/_G_config.h: Moved to ...
15920         * sysdeps/generic/_G_config.h: ... here.
15922         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
15924         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
15926         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
15927         Conditionalize target on [libnss_test1.so-version].
15929         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
15931         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
15932         (elfobjdir): Move out of conditionals.
15934         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
15935         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
15936         (__nss_lookup_function): Conditionalize label remove_from_tree on
15937         [!DO_STATIC_NSS || SHARED], matching its only use.
15939 2012-09-28  David S. Miller  <davem@davemloft.net>
15941         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
15942         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
15943         file.
15944         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15945         sysdep_routines.
15946         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15947         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
15948         when HWCAP_SPARC_CRYPTO is present.
15950 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
15952         * io/tst-mknodat.c: Create a FIFO instead of a socket.
15954 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
15956         [BZ #6530]
15957         * stdio-common/vfprintf.c (process_string_arg): Revert
15958         2000-07-22 change.
15960 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
15962         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
15963         for testcase.
15964         * stdio-common/tst-sprintf.c: Include <locale.h>
15965         (main): Test sprintf's handling of incomplete multibyte
15966         characters.
15968 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
15970         * elf/dl-runtime.c (VERSYMIDX): Removed.
15971         * elf/dl-version.c (VERSYMIDX): Likewise.
15972         * elf/do-rel.h (VERSYMIDX): Likewise.
15973         (VALIDX): Likewise.
15974         * elf/dynamic-link.h (VERSYMIDX): Likewise.
15975         * elf/rtld.c (VALIDX): Likewise.
15976         (ADDRIDX): Likewise.
15977         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
15978         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
15979         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
15980         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
15981         (VALIDX): Likewise.
15982         (ADDRIDX): Likewise.
15984 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
15986         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
15988 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
15990         [BZ #11438]
15991         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
15992         to global scope.
15993         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
15994         addresses are in the same scope as 192.0.2/24.
15995         * posix/gai.conf: Document new scope table defaults.
15997 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15999         [BZ #5298]
16000         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
16001         for ftell.  Compute offsets from write pointers instead.
16002         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16004 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16006         [BZ #14543]
16007         * libio/Makefile (tests): New test case tst-fseek.
16008         * libio/tst-fseek.c: New test case to verify that fseek/ftell
16009         combination works in wide mode.
16010         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
16011         state when the external buffer state changes.
16013 2012-09-27  David S. Miller  <davem@davemloft.net>
16015         [BZ #14376]
16016         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
16017         pass reloc->r_addend in as the 'high' argument to
16018         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
16020         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16022 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
16024         * rt/tst-aio2.c: Include <pthread.h>.
16025         * rt/tst-aio3.c: Likewise.
16027 2012-09-27  Steve Ellcey  <sellcey@mips.com>
16029         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
16031 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
16033         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
16034         contents on [SHARED].
16036 2012-09-26  Marek Polacek  <polacek@redhat.com>
16038         [BZ #14530]
16039         [BZ #13741]
16040         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
16041         for C++ and GCC <4.3 as well as for non GCC compilers.
16043 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
16045         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16047 2012-09-25  Roland McGrath  <roland@hack.frob.com>
16049         * Makefile.in (all, install): Declare with .PHONY.
16050         Reported by Michael Hope <michael.hope@linaro.org>.
16052 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16054         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
16055         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
16056         system header.
16057         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
16058         Likewise.
16059         (sydep_routines): Add the new and the internal functions.
16060         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
16061         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
16062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
16063         (GLIBC_2.17): Add the new function.
16064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16065         (GLIBC_2.17): Likewise.
16066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
16067         (GLIBC_2.17): Likewise.
16068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
16069         (GLIBC_2.17): Likewise.
16070         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
16072 2012-09-25  Alan Modra  <amodra@gmail.com>
16074         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
16075         Add release barrier before setting once_control to say
16076         initialisation is done.  Add hints on lwarx.  Use macro in
16077         place of isync.
16078         (clear_once_control): Add release barrier.
16080 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
16082         [BZ #13629]
16083         * math/s_clog.c (__clog): Handle more values close to |z| = 1
16084         specially.
16085         * math/s_clog10.c (__clog10): Likewise.
16086         * math/s_clog10f.c (__clog10f): Likewise.
16087         * math/s_clog10l.c (__clog10l): Likewise.
16088         * math/s_clogf.c (__clogf): Likewise.
16089         * math/s_clogl.c (__clogl): Likewise.
16090         * math/Makefile (libm-calls): Add x2y2m1.
16091         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
16092         (__x2y2m1): Likewise.
16093         (__x2y2m1l): Likewise.
16094         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
16095         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
16096         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16097         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16098         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
16099         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
16100         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
16101         * sysdeps/i386/fpu/libm-test-ulps: Update.
16102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16104         [BZ #14621]
16105         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
16106         int as type of variable DEPTH.
16107         (glob): Use size_t instead of int as type of variables NEWCOUNT
16108         and OLD_PATHC.
16110 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16112         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16113         Add s_sincosf-sse2.
16114         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
16115         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
16116         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
16117         macros for using routine as __sincosf_ia32.
16118         Use macro for function declaration and weak_alias.
16119         * sysdeps/i386/fpu/libm-test-ulps: Update.
16121         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
16122         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16124         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
16125         subnormal argument.
16126         * math/s_cexpf.c (__cexpf): Likewise.
16127         * math/s_csinf.c (__csinf): Likewise.
16128         * math/s_csinhf.c (__csinhf): Likewise.
16129         * math/s_ctanf.c (__ctanf): Likewise.
16130         * math/s_ctanhf.c (__ctanhf): Likewise.
16131         * math/s_ccosh.c (__ccoshf): Likewise.
16132         * math/s_cexp.c (__cexpl): Likewise.
16133         * math/s_csin.c (__csin): Likewise.
16134         * math/s_csinh.c (__csinh): Likewise.
16135         * math/s_ctan.c (__ctan): Likewise.
16136         * math/s_ctanh.c (ctanh): Likewise.
16137         * math/s_ccoshl.c (__ccoshl): Likewise.
16138         * math/s_cexpl.c (__cexpl): Likewise.
16139         * math/s_csinl.c (__csinl): Likewise.
16140         * math/s_csinhl.c (__csinhl): Likewise.
16141         * math/s_ctanl.c (__ctanl): Likewise.
16142         * math/s_ctanhl.c (__ctanhl): Likewise.
16144 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
16146         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
16147         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
16148         (_IO_off_t): Define to __off_t, not _G_off_t.
16149         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
16150         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
16151         (_IO_wint_t): Define to wint_t, not _G_wint_t.
16152         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
16153         type of __dummy and __dummy2 fields.
16154         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
16155         (_G_ssize_t): Likewise.
16156         (_G_off_t): Likewise.
16157         (_G_pid_t): Likewise.
16158         (_G_uid_t): Likewise.
16159         (_G_wchar_t): Likewise.
16160         (_G_wint_t): Likewise.
16161         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
16162         (_G_ssize_t): Likewise.
16163         (_G_off_t): Likewise.
16164         (_G_pid_t): Likewise.
16165         (_G_uid_t): Likewise.
16166         (_G_wchar_t): Likewise.
16167         (_G_wint_t): Likewise.
16168         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
16169         (_G_ssize_t): Likewise.
16170         (_G_off_t): Likewise.
16171         (_G_pid_t): Likewise.
16172         (_G_uid_t): Likewise.
16173         (_G_wchar_t): Likewise.
16174         (_G_wint_t): Likewise.
16176 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16178         * malloc/arena.c: Include malloc-sysdep.h.
16179         (shrink_heap): Use check_may_shrink_heap to decide if madvise
16180         is sufficient to shrink the heap or an unmap is needed.
16181         * sysdeps/generic/malloc-sysdep.h: New file.  Define
16182         new function check_may_shrink_heap.
16183         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
16184         new function check_may_shrink_heap.
16186 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16188         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
16189         comments.
16191 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
16193         * catgets/test-gencat.sh: Add "set -e".
16194         * elf/tst-pathopt.sh: Likewise.
16195         * grp/tst_fgetgrent.sh: Likewise.
16196         * iconvdata/run-iconv-test.sh: Likewise.
16197         * intl/tst-gettext.sh: Likewise.
16198         * intl/tst-gettext2.sh: Likewise.
16199         * intl/tst-gettext4.sh: Likewise.
16200         * intl/tst-gettext6.sh: Likewise.
16201         * intl/tst-translit.sh: Likewise.
16202         * io/ftwtest-sh: Likewise.
16203         * libio/test-freopen.sh: Likewise.
16204         * malloc/tst-mtrace.sh: Likewise.
16205         * posix/globtest.sh: Likewise.
16206         * posix/tst-getconf.sh: Likewise.
16207         * posix/wordexp-tst.sh: Likewise.
16208         * stdio-common/tst-printf.sh: Likewise.
16209         * stdio-common/tst-unbputc.sh: Likewise.
16210         * stdlib/tst-fmtmsg.sh: Likewise.
16211         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16212         * catgets/Makefile: Do not specify -e option when running
16213         testsuite shell scripts.
16214         * elf/Makefile: Likewise.
16215         * grp/Makefile: Likewise.
16216         * iconvdata/Makefile: Likewise.
16217         * intl/Makefile: Likewise.
16218         * io/Makefile: Likewise.
16219         * libio/Makefile: Likewise.
16220         * malloc/Makefile: Likewise.
16221         * posix/Makefile: Likewise.
16222         * stdio-common/Makefile: Likewise.
16223         * stdlib/Makefile: Likewise.
16224         * sysdeps/x86_64/Makefile: Likewise.
16226         * io/ftwtest-sh: Add copyright header.
16227         * posix/globtest.sh: Likewise.
16228         * posix/tst-getconf.sh: Likewise.
16229         * posix/wordexp-tst.sh: Likewise.
16230         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16232 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
16234         [BZ #13679]
16235         * Makeconfig (+link): Defined as $(+link-static) if
16236         $(build-shared) isn't yes.
16237         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
16238         isn't yes.
16239         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
16241         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
16243         [BZ #14562]
16244         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
16245         new chunk size with MALLOC_ALIGN_MASK.
16247 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
16249         [BZ #5044]
16250         * stdio-common/printf_fphex.c: Include <stdbool.h> and
16251         <rounding-mode.h>.
16252         (__printf_fphex): Determine rounding using get_rounding_mode and
16253         round_away.
16254         * stdio-common/tst-printf-round.c (struct hex_test): New
16255         structure.
16256         (hex_tests): New variable.
16257         (test_hex_in_one_mode): New function.
16258         (do_test): Also run tests for hex float output.
16260 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
16262         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16263         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16264         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
16265         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16266         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16267         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
16268         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16269         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16271 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
16273         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
16274         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
16275         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
16276         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
16278 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
16280         [BZ #14579]
16281         * elf/rtld.c (dl_main): Limit the check for self loading to normal
16282         mode only.
16283         * elf/tst-rtld-load-self.sh: New test.
16284         * elf/Makefile: Run it.
16286 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
16288         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
16289         (tst-writev-ENV): Remove.
16290         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
16292 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
16294         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
16296 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
16298         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
16299         unconditional.
16300         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
16301         Likewise.
16302         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
16303         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
16304         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
16305         Likewise.
16307 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
16309         [BZ #14587]
16310         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
16311         * config.make.in (have-cpp-asm-debuginfo): Removed.
16312         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
16313         * configure: Regenerated.
16315 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
16317         [BZ #5044]
16318         * stdio-common/printf_fp.c: Include <stdbool.h> and
16319         <rounding-mode.h>.
16320         (___printf_fp): Determine rounding using get_rounding_mode and
16321         round_away.
16322         * stdio-common/tst-printf-round.c: New file.
16323         * stdio-common/Makefile (tests): Add tst-printf-round.
16324         (link-libm): New variable.
16325         ($(objpfx)tst-printf-round): Depend in $(link-libm).
16327 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
16329         [BZ #14576]
16330         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
16331         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
16332         Likewise.
16333         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
16334         Likewise.
16336 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
16338         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
16339         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16340         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16341         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16343 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
16345         [BZ #14518]
16346         * include/rounding-mode.h: New file.
16347         * sysdeps/generic/get-rounding-mode.h: Likewise.
16348         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
16349         * stdlib/strtod_l.c: Include <rounding-mode.h>.
16350         (MAX_VALUE): New macro.
16351         (MIN_VALUE): Likewise.
16352         (overflow_value): New function.
16353         (underflow_value): Likewise.
16354         (round_and_return): Use overflow_value and underflow_value to
16355         determine return values in overflow and underflow cases.  Use
16356         round_away to determine rounding depending on rounding mode.
16357         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
16358         determine return values in overflow and underflow cases.
16359         * stdlib/tst-strtod-round.c: Include <fenv.h>.
16360         (struct test_results): New structure.
16361         (struct test): Use struct test_results to store expected results
16362         for all rounding modes.
16363         (TEST): Include expected results for all rounding modes.
16364         (test_in_one_mode): New function.
16365         (do_test): Use test_in_one_mode to compute and check results.
16366         Check results for all rounding modes.
16367         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
16368         $(link-libm).
16370 2012-12-09  Allan McRae  <allan@archlinux.org>
16372         * sysdeps/i386/fpu/libm-test-ulps: Update
16374 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
16376         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
16377         (_G_int32_t): Likewise.
16378         (_G_uint16_t): Likewise.
16379         (_G_uint32_t): Likewise.
16380         (_G_HAVE_BOOL): Likewise.
16381         (_G_HAVE_ATEXIT): Likewise.
16382         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16383         (_G_HAVE_IO_FILE_OPEN): Likewise.
16384         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
16385         (_G_int32_t): Likewise.
16386         (_G_uint16_t): Likewise.
16387         (_G_uint32_t): Likewise.
16388         (_G_HAVE_BOOL): Likewise.
16389         (_G_HAVE_ATEXIT): Likewise.
16390         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16391         (_G_HAVE_IO_FILE_OPEN): Likewise.
16392         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
16393         (_G_int32_t): Likewise.
16394         (_G_uint16_t): Likewise.
16395         (_G_uint32_t): Likewise.
16396         (_G_HAVE_BOOL): Likewise.
16397         (_G_HAVE_ATEXIT): Likewise.
16398         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16399         (_G_HAVE_IO_FILE_OPEN): Likewise.
16401 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
16403         * csu/libc-tls.c: Update copyright years.
16405 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
16407         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
16408         [!_G_USING_THUNKS]: Remove conditional code.
16409         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
16410         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
16412         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
16413         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
16414         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16415         (_G_VTABLE_LABEL_PREFIX): Likewise.
16416         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16417         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16418         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16419         (_G_VTABLE_LABEL_PREFIX): Likewise.
16420         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16421         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16422         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16423         (_G_VTABLE_LABEL_PREFIX): Likewise.
16424         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16426 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
16428         * libio/Makefile: Include ../Makeconfig before tests.
16429         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
16430         only if $(build-shared) is yes.
16432         * iconv/gconv_db.c: Update copyright years.
16434 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16436         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
16437         unwind info if defined PIC. Fix special cases description.
16438         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
16440         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
16441         DP_HI_MASK entry.
16442         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
16444 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
16446         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
16448         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
16449         is NULL.
16451         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
16452         (LDLIBS-tst-chk4): This.
16453         (LDFLAGS-tst-chk5): Renamed to ...
16454         (LDLIBS-tst-chk5): This.
16455         (LDFLAGS-tst-chk6): Renamed to ...
16456         (LDLIBS-tst-chk6): This.
16457         (LDFLAGS-tst-lfschk4): Renamed to ...
16458         (LDLIBS-tst-lfschk4): This.
16459         (LDFLAGS-tst-lfschk5): Renamed to ...
16460         (LDLIBS-tst-lfschk5): This.
16461         (LDFLAGS-tst-lfschk6): Renamed to ...
16462         (LDLIBS-tst-lfschk6): This.
16464         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
16465         on $(common-objpfx)soversions.mk.
16467 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
16469         [BZ #10014]
16470         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
16471         example host name.
16473 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
16475         * malloc/arena.c (arena_get_retry): New function that gets
16476         another arena for the caller to try its request on.
16477         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
16478         current arena cannot fulfill the request.
16479         (__libc_memalign): Likewise.
16480         (__libc_memalign): Likewise.
16481         (__libc_pvalloc): Likewise.
16482         (__libc_calloc): Likewise.
16484 2012-09-05  John Tobey  <john.tobey@gmail.com>
16486         [BZ #13542]
16487         * manual/arith.texi (Operations on Complex): Fix description
16488         of carg branch cut.
16490 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
16492         [BZ #10014]
16493         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
16494         host name.
16496         [BZ #10038]
16497         * manual/memory.texi (Memory): Make order of menu items match
16498         order of sections.
16500 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
16502         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
16503         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
16504         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
16506 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
16508         * csu/libc-tls.c (static_dtv): Renamed to ...
16509         (_dl_static_dtv): This.  Make it global.
16510         (_dl_initial_dtv): Removed.
16511         (__libc_setup_tls): Updated.
16512         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
16513         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
16514         DL_INITIAL_DTV.
16516 2012-09-06  Petr Machata  <pmachata@redhat.com>
16518         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
16519         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
16520         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
16521         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
16523 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
16525         [BZ #14545]
16526         * csu/libc-tls.c (_dl_initial_dtv): New variable.
16527         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
16528         freeing dtv[-1].
16530 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
16532         [BZ #14544]
16533         * Makeconfig (link-static-before-libc): Replace $(+prector)
16534         with $(+prectorT).
16535         (link-static-after-libc): Replace $(+postctor) with
16536         $(+postctorT).
16537         (link-bounded): Replace $(+prector)/$(+postctor) with
16538         $(+prectorT)/$(+postctorT).
16539         (+prectorT): New macro.
16540         (+postctorT): Likewise.
16542 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
16544         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
16545         (round_str): Handle values above the maximum for IBM long double
16546         as inexact.
16547         * stdlib/tst-strtod-round.c (tests): Regenerated.
16549 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16551         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
16552         assembler flag.
16553         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
16554         zarch_nohighgprs around the zarch optimized routines.
16555         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
16556         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
16557         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
16558         for zarch.
16560 2012-09-05  David S. Miller  <davem@davemloft.net>
16562         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16564         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
16565         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
16566         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
16567         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16568         entries.
16570 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
16572         * malloc/arena.c: Fold copyright years.
16573         * malloc/mcheck.c, malloc/memusage.c: Likewise.
16575 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
16577         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
16579 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
16581         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
16583 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
16585         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
16586         change internal state upon failure.
16588 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
16590         * malloc/mcheck.c (mcheck_check_all): Fix typo.
16591         * malloc/memusage.c (mmap): Likewise.
16592         (mmap64, mremap): Likewise.  Adjust name in comment.
16594 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16596         * libio/fileops.c: Fix typos in comments.
16597         * libio/oldfileops.c: Likewise.
16598         * libio/wfileops.c: Likewise.
16600 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16602         [BZ #1349]
16603         * malloc/Makefile (tests): Add tst-malloc-usable test case.
16604         (tst-malloc-usable-ENV): Set environment for test case.
16605         * malloc/hooks.c (malloc_check_get_size): New function to get
16606         requested size.
16607         * malloc/malloc.c (musable): Use malloc_check_get_size.
16608         * malloc/tst-malloc-usable.c: New test case.
16610 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
16612         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
16614 2012-09-05  Allan McRae  <allan@archlinux.org>
16616         [BZ #13966]
16617         * configure.in (CXX_SYSINCLUDES): Use compiler output to
16618         determine header location.
16619         * configure: Regenerated.
16621 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
16623         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
16624         float format.
16625         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
16626         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
16627         format.
16628         (test): Regenerate.
16630 2012-09-04  David S. Miller  <davem@davemloft.net>
16632         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
16633         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
16634         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
16636 2012-09-04  Florian Weimer  <fweimer@redhat.com>
16638         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
16639         failures.
16641         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
16643 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
16645         [BZ #9914]
16646         * libio/iogetdelim.c: Include <limits.h>.
16647         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
16648         + len + 1 would overflow.
16650 2012-09-03  Andreas Jaeger  <aj@suse.de>
16652         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16653         * sysdeps/i386/fpu/libm-test-ulps: Update.
16655 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16657         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16658         Add s_sinf-sse2, s_conf-sse2.
16660         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
16661         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
16662         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
16663         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
16665         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
16666         for using routine as __sinf_ia32.
16667         Use macro for function declaration and weak_alias.
16668         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
16669         for using routine as __cosf_ia32.
16670         Use macro for function declaration and weak_alias.
16672         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
16673         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
16675         * sysdeps/x86_64/fpu/s_sinf.S: New file.
16676         * sysdeps/x86_64/fpu/s_cosf.S: New file.
16677         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16679         * math/libm-test.inc (cos_test): Add more test cases.
16680         (sin_test): Likewise.
16681         (sincos_test): Likewise.
16683 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16685         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
16686         (IFUNC_RESOLVE): Make pointers to the specialized implementations
16687         hidden.
16688         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16690 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
16692         [BZ #14538]
16693         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
16694         first element of the GOT.
16695         (elf_machine_load_address): Return the difference between
16696         the runtime address of _DYNAMIC and elf_machine_dynamic ().
16698 2012-09-01  Allan McRae  <allan@archlinux.org>
16700         [BZ #13412]
16701         * configure.in (AWK): Require gawk version 3.0 or later.
16702         * configure: Regenerated.
16704 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
16706         * sysdeps/unix/sysv/linux/kernel-features.h
16707         (__ASSUME_POSIX_CPU_TIMERS): Remove.
16708         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16709         [__NR_clock_getres]: Make code unconditional.
16710         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
16711         (clock_getcpuclockid): Remove code left unreachable by removal of
16712         conditionals.
16713         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
16714         code unconditional.
16715         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16716         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16717         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
16718         Make code unconditional.
16719         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16720         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16721         * sysdeps/unix/sysv/linux/clock_settime.c
16722         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
16723         conditional code.
16724         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
16725         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16727 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
16729         [BZ #14476]
16730         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
16731         scripts/test-installation.pl.
16733         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
16734         and $ld_so_version if it is set.
16736 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16738         [BZ #14516]
16739         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
16740         failure if reading from procfs failed.
16741         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
16743 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
16745         * sysdeps/unix/sysv/linux/kernel-features.h
16746         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
16747         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16748         Remove conditional code.
16749         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16750         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
16751         Remove conditional code.
16752         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16753         * sysdeps/unix/sysv/linux/i386/fxstat.c
16754         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16755         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16756         * sysdeps/unix/sysv/linux/i386/fxstatat.c
16757         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16758         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16759         * sysdeps/unix/sysv/linux/i386/lxstat.c
16760         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16761         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16762         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
16763         Remove conditional code.
16764         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16765         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16766         Remove conditional code.
16767         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16768         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
16769         <kernel-features.h>.
16770         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
16771         Remove.
16772         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
16773         Remove conditional code.
16774         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16775         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
16776         Remove conditional.
16778 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
16780         [BZ #5400]
16781         * NEWS: Add fixed bug number.
16783 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
16785         [BZ #14519]
16786         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
16787         underflowing exponent in case of negative sign.
16788         * stdlib/tst-strtod-round-data: Add more tests.
16789         * stdlib/tst-strtod-round.c (tests): Regenerated.
16791         [BZ #3479]
16792         * stdlib/strtod_l.c (NDIG): Remove.
16793         (HEXNDIG): Likewise.
16794         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
16795         smallest representable value.
16796         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
16797         lie within an exact representation of 1/2 ulp of the result.
16798         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
16799         unconditionally.
16800         (TENS_P9_IDX): Define unconditionally.
16801         (TENS_P9_SIZE): Likewise.
16802         (TENS_P10_IDX): Likewise.
16803         (TENS_P10_SIZE): Likewise.
16804         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
16805         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
16806         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
16807         entries for 10^2^13 and 10^2^14.
16808         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
16809         (TENS_P13_IDX): Define.
16810         (TENS_P13_SIZE): Likewise.
16811         (TENS_P14_IDX): Likewise.
16812         (TENS_P14_SIZE): Likewise.
16813         (_fpioconst_pow10): Change array size to
16814         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
16815         unconditional.
16816         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
16817         1024]: Add entries for 10^2^13 and 10^2^14.
16818         [LAST_POW10 > _LAST_POW10]: Remove #error.
16819         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
16820         (_fpioconst_pow10): Change array size to
16821         FPIOCONST_POW10_ARRAY_SIZE.
16822         * stdlib/gen-fpioconst.c: New file.
16823         * stdlib/gen-tst-strtod-round.c: Likewise.
16824         * stdlib/tst-strtod-round-data: Likewise.
16825         * stdlib/tst-strtod-round.c: Likewise.
16826         * stdlib/Makefile (tests): Add tst-strtod-round.
16828         [BZ #14459]
16829         * stdlib/strtod_l.c: Include <stdint.h>.
16830         (NDEBUG): Do not define.
16831         (round_and_return): Change EXPONENT parameter to type intmax_t.
16832         Rearrange calculations to avoid internal overflow possibilities.
16833         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
16834         Rearrange calculations to avoid internal overflow possibilities.
16835         Assert that number fits inside MPNSIZE limbs.
16836         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
16837         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
16838         calculations and add assertions to avoid internal overflow
16839         possibilities.  Add casts to avoid signed/unsigned operations.
16840         * stdlib/tst-strtod-overflow.c: New file.
16841         * stdlib/Makefile (tests): Add tst-strtod-overflow.
16843 2012-08-25  Marek Polacek  <polacek@redhat.com>
16845         * time/time.h: Fix some typos in comments.
16847 2012-08-23  Roland McGrath  <roland@hack.frob.com>
16849         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
16850         * posix/tst-rfc3484-2.c: Likewise.
16851         * posix/tst-rfc3484-3.c: Likewise.
16853 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
16855         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
16856         (EF_ARM_ABI_FLOAT_HARD): Likewise.
16858 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
16860         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
16861         #include of fxstatat64.c.
16863 2012-08-22  Roland McGrath  <roland@hack.frob.com>
16865         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
16866         * shadow/getspent_r.c: Likewise.
16867         * shadow/getspnam.c: Likewise.
16868         * shadow/getspnam_r.c: Likewise.
16869         * gshadow/getsgent.c: Likewise.
16870         * gshadow/getsgent_r.c: Likewise.
16871         * gshadow/getsgnam.c: Likewise.
16872         * gshadow/getsgnam_r.c: Likewise.
16873         * inet/getnetbyad.c: Likewise.
16874         * inet/getnetbyad_r.c: Likewise.
16875         * inet/getnetbynm.c: Likewise.
16876         * inet/getnetbynm_r.c: Likewise.
16877         * inet/getnetent.c: Likewise.
16878         * inet/getnetent_r.c: Likewise.
16879         * inet/getproto.c: Likewise.
16880         * inet/getproto_r.c: Likewise.
16881         * inet/getprtent.c: Likewise.
16882         * inet/getprtent_r.c: Likewise.
16883         * inet/getprtname.c: Likewise.
16884         * inet/getprtname_r.c: Likewise.
16885         * inet/getrpcbyname.c: Likewise.
16886         * inet/getrpcbyname_r.c: Likewise.
16887         * inet/getrpcbynumber.c: Likewise.
16888         * inet/getrpcbynumber_r.c: Likewise.
16889         * inet/getrpcent.c: Likewise.
16890         * inet/getrpcent_r.c: Likewise.
16891         * inet/getaliasent.c: Likewise.
16892         * inet/getaliasent_r.c: Likewise.
16893         * inet/getaliasname.c: Likewise.
16894         * inet/getaliasname_r.c: Likewise.
16895         * nscd/getgrgid_r.c: Likewise.
16896         * nscd/getgrnam_r.c: Likewise.
16897         * nscd/gethstbyad_r.c: Likewise.
16898         * nscd/gethstbynm3_r.c: Likewise.
16899         * nscd/getpwnam_r.c: Likewise.
16900         * nscd/getpwuid_r.c: Likewise.
16901         * nscd/getsrvbynm_r.c: Likewise.
16902         * nscd/getsrvbypt_r.c: Likewise.
16903         * nscd/gai.c: Likewise.
16905         * configure.in (build_nscd): New substituted variable, set
16906         by --disable-build-nscd and defaults to $use_nscd.
16907         * configure: Regenerated.
16908         * config.make.in (build-nscd): New substituted variable.
16909         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
16910         Change conditional to require [$(build-nscd) = yes] as well.
16911         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
16913         [BZ# 13696]
16914         * configure.in (use_nscd): New substituted variable, set by
16915         --disable-nscd.  If enabled, define USE_NSCD.
16916         * configure: Regenerated.
16917         * config.h.in: Add USE_NSCD.
16918         * config.make.in (use-nscd): New substituted variable.
16919         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
16920         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
16921         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
16922         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
16923         (CFLAGS-getgrnam_r.c): Likewise.
16924         (CFLAGS-initgroups.c): Likewise.
16925         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
16926         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
16927         Variables removed.
16928         * inet/getnetgrent_r.c
16929         (nscd_setnetgrent): New function, broken out of ...
16930         (setnetgrent): ... here.  Call it.
16931         (innetgr): Conditionalize nscd bits on [USE_NSCD].
16932         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
16933         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
16934         * nscd/Makefile (routines, aux): Move definitions after include of
16935         Makeconfig.  Conditionalize on [$(use-nscd) != no].
16936         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
16937         Conditionalize on [USE_NSCD].
16938         (is_nscd, nscd_init_cb): Likewise.
16939         (nss_load_library): Conditionalize init callback on [USE_NSCD].
16940         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
16941         * nss/nss_db/db-init.c: Likewise.
16942         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
16943         [USE_NSCD].
16944         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
16945         (make_request): Use it.
16946         (cache_valid_p): New function.
16947         (__check_pf): Use it.
16948         * NEWS: Add item for --disable-nscd.
16950 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
16952         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
16953         to support sed >= 4.2.1-20-ga9bf076.
16954         * configure: Regenerated.
16956 2012-08-22  Roland McGrath  <roland@hack.frob.com>
16958         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
16959         Conditionalize whole body on [IREL].
16961 2012-08-22  Jeff Law <law@redhat.com>
16963         [BZ #14505]
16964         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
16965         if the family is PF_UNSPEC.
16967 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
16969         * Makerules (lib-version): Rename from V.
16970         (install-lib-nosubdir): Change V to lib-version.
16972 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
16974         [BZ #14252]
16975         * powerpc32/power6/wcschr.c: New file.
16976         * powerpc32/power6/wcscpy.c: New file.
16977         * powerpc32/power6/wcsrchr.c: New file.
16978         * powerpc64/power6/wcschr.c: New file.
16979         * powerpc64/power6/wcscpy.c: New file.
16980         * powerpc64/power6/wcsrchr.c: New file.
16982 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
16984         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
16985         (two_way_short_needle): Use it.
16986         * string/strstr.c (AVAILABLE1_USES_J): Define.
16987         * string/strcasestr.c: Likewise.
16989         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
16990         array references.
16991         * string/strcasestr.c (TOLOWER): Make side-effect safe.
16993         [BZ #11607]
16994         * NEWS: Add an entry.
16995         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
16996         define their defaults.
16997         (two_way_short_needle): Detect end-of-string on-the-fly.
16998         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
16999         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
17000         * string/bug-strcasestr1.c: New test.
17001         * string/Makefile: Run it.
17003 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
17005         [BZ #11607]
17006         * string/str-two-way.h (two_way_short_needle): Optimize matching of
17007         the first character.
17009 2012-08-21  Roland McGrath  <roland@hack.frob.com>
17011         * csu/elf-init.c (__libc_csu_irel): Function removed.
17012         * csu/libc-start.c (apply_irel): New function.
17013         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
17015 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
17017         * sysdeps/unix/sysv/linux/kernel-features.h
17018         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
17019         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17020         <kernel-features.h>.
17021         [__NR_fadvise64_64]: Make code unconditional.
17022         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
17023         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17024         !__NR_fadvise64_64)]: Likewise.
17025         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17026         !__NR_fadvise64_64))]: Likewise.
17027         [__NR_fadvise64]: Make code unconditional.
17028         [!__NR_fadvise64]: Remove conditional code.
17029         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
17030         <kernel-features.h>.
17031         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17032         unconditional.
17033         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17034         conditional code.
17035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
17036         not include <kernel-features.h>.
17037         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17038         unconditional.
17039         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17040         conditional code.
17041         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
17042         include <kernel-features.h>.
17043         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17044         unconditional.
17045         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17046         conditional code.
17048 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
17050         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
17051         slight instruction rearrangements per scrollpipe analysis.
17052         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
17054 2012-08-20  Roland McGrath  <roland@hack.frob.com>
17056         * manual/syslog.texi (syslog; vsyslog, closelog):
17057         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
17058         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
17060         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
17061         DSOCAPS to match condition on defining it.
17063 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
17065         * sysdeps/unix/sysv/linux/kernel-features.h
17066         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
17067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
17068         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17069         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
17071         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17072         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
17074         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17075         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17077         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
17078         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
17080         * sysdeps/unix/sysv/linux/kernel-features.h
17081         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
17082         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
17083         unconditional.
17084         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17085         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
17086         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17087         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17088         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
17089         Make code unconditional.
17090         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17091         (__mmap64) [!__NR_mmap2]: Likewise.
17092         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
17093         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17094         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17095         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
17096         [__NR_mmap2]: Make code unconditional.
17097         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17098         (__mmap64) [!__NR_mmap2]: Likewise.
17100 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17102         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
17104 2012-08-18  Andreas Jaeger  <aj@suse.de>
17106         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
17108 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
17110         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
17111         * include/unistd.h (__have_sock_cloexec): Likewise.
17112         (__have_pipe2): Likewise.
17113         (__have_dup3): Likewise.
17115 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
17117         [BZ #9685]
17118         * include/unistd.h (__have_pipe2): Change define into an extern int.
17119         (__have_dup3): Likewise.
17120         * socket/have_sock_cloexec.c: Include fcntl.h.
17121         (__have_pipe2): New variable.
17122         (__have_dup3): Likewise.
17124 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
17126         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
17128 2012-08-17  Marek Polacek  <polacek@redhat.com>
17130         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
17131         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
17133 2012-08-17  Roland McGrath  <roland@hack.frob.com>
17135         * configure.in: Add AC_SUBST for sysheaders.
17136         * configure: Regenerated.
17137         * config.make.in (sysheaders): New substituted variable.
17139         * sysdeps/unix/mkfifo.c: Moved ...
17140         * sysdeps/posix/mkfifo.c: ... here.
17141         * sysdeps/unix/mkfifoat.c: Moved ...
17142         * sysdeps/posix/mkfifoat.c: ... here.
17144         * sysdeps/unix/utime.c: Moved ...
17145         * sysdeps/posix/utime.c: ... here.
17147         * sysdeps/unix/time.c: Moved ...
17148         * sysdeps/posix/time.c: ... here.
17149         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
17150         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
17152         * sysdeps/unix/nice.c: Moved ...
17153         * sysdeps/posix/nice.c: ... here.
17155         * sysdeps/unix/alarm.c: Moved ...
17156         * sysdeps/posix/alarm.c: ... here.
17158         * intl/Makefile ($(codeset_mo)): Depend on the input file.
17160 2012-08-17  Jeff Law <law@redhat.com>
17162         * intl/Makefile (codeset_mo): New variable.
17163         ($(codeset_mo)): New target.
17164         (tst-codeset.out): Depend on that.  Remove explicit rule.
17165         (tst-gettext3.out, tst-gettext5.out): Likewise.
17166         (LOCPATH-ENV, tst-codeset-ENV): New variables.
17167         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
17168         * intl/tst-codeset.sh: Remove.
17169         * intl/tst-gettext3.sh: Likewise.
17170         * intl/tst-gettext5.sh: Likewise.
17172 2012-08-17  Roland McGrath  <roland@hack.frob.com>
17174         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
17175         * sysdeps/unix/syscalls.list: ... here.
17177         * sysdeps/posix/getaddrinfo.c
17178         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
17179         (gaiconf_init, gaiconf_reload): Use them.
17180         [!_STATBUF_ST_NSEC]
17181         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
17182         Define using time_t rather than struct timespec.
17184         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
17185         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
17186         Macros removed.
17187         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
17188         [!NO_THREADS].
17189         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
17190         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
17191         Likewise.
17193         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
17194         __libc_cleanup_push argument.
17196         * bits/param.h: New file.
17197         * misc/sys/param.h: New file.
17198         * include/sys/param.h: New file.
17199         * misc/Makefile (headers): Add bits/param.h.
17200         * sysdeps/generic/sys/param.h: File removed.
17201         * sysdeps/unix/sysv/linux/bits/param.h: New file.
17202         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
17203         * sysdeps/mach/hurd/bits/param.h: New file.
17204         * sysdeps/mach/hurd/sys/param.h: File removed.
17206         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
17207         last change.
17209         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
17210         [_IO_MTSAFE_IO].
17211         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
17212         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
17213         New macros.
17215         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
17216         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
17217         rather than -D_IO_MTSAFE_IO conditionally.
17218         * stdio-common/Makefile (CPPFLAGS): Likewise.
17219         * wcsmbs/Makefile (CPPFLAGS): Likewise.
17220         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
17221         Use $(libio-mtsafe).
17222         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
17223         of -D_IO_MTSAFE_IO.
17224         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
17225         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
17226         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
17227         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
17228         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
17229         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
17230         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
17231         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
17232         (CFLAGS-fread_u_chk.c): Likewise.
17233         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
17234         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
17235         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
17236         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
17237         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
17238         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
17239         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
17240         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
17241         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
17243         * libio/Makefile: Test [$(libc-reentrant) = yes]
17244         instead of [$(filter %REENTRANT, $(defines)) nonempty].
17246         * Makeconfig
17247         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
17248         * sysdeps/pthread/configure: File removed.
17249         * sysdeps/pthread/Makeconfig: New file.
17250         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
17251         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
17253 2012-08-16  Gary Benson  <gbenson@redhat.com>
17255         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
17256         unmapping the first object in a namespace.
17258 2012-08-16  Roland McGrath  <roland@hack.frob.com>
17260         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
17261         (__internal_setnetgrent): ... this.  Add internal_function to
17262         definition.  Add libc_hidden_def.
17263         (setnetgrent): Update caller.
17264         (internal_endnetgrent): Renamed to ...
17265         (__internal_endnetgrent): ... this.  Add internal_function to
17266         definition.  Add libc_hidden_def.
17267         (endnetgrent): Update caller.
17268         (internal_getnetgrent_r): Renamed to ...
17269         (__internal_getnetgrent_r): ... this.  Add internal_function to
17270         definition.  Add libc_hidden_def.
17271         (__getnetgrent_r): Update caller.
17272         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
17274 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
17276         * stdlib/longlong.h: Update from GCC.
17278 2012-08-16  Roland McGrath  <roland@hack.frob.com>
17280         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
17281         on _QL, which is set by umul_ppmm but never used.
17282         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
17283         variables, which are set by GMP macros but never used.
17284         * stdio-common/_itowa.c (_itowa): Likewise.
17285         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
17286         * stdlib/mod_1.c (mpn_mod_1): Likewise.
17288 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
17290         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
17291         struct La_sh_regs is not constant.
17292         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
17293         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
17294         and struct La_sparc64_regs are not constant.
17296 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
17298         * sysdeps/unix/sysv/linux/kernel-features.h
17299         (__ASSUME_POSIX_TIMERS): Remove.
17300         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17301         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17302         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
17303         Make code unconditional.
17304         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17305         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
17306         Make code unconditional.
17307         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17308         * sysdeps/unix/sysv/linux/clock_nanosleep.c
17309         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
17310         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17311         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
17312         Make code unconditional.
17313         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17314         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
17315         (__libc_missing_posix_timers): Remove.
17317 2012-08-15  Roland McGrath  <roland@hack.frob.com>
17319         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
17320         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
17322         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
17324         * elf/dl-sym.c: Include <stdlib.h>.
17326         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
17327         constants, which avoids warnings in 32-bit builds.
17329         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
17330         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
17332         * misc/lseek.c: File moved to ...
17333         * io/lseek.c: ... here.
17335         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
17337         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
17338         shifting LEN more than 31 bits at once.
17340 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17342         [BZ #14195]
17343         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
17344         segmentation fault for a case of two empty input strings.
17345         * string/test-strncasecmp.c (check1): Renamed to...
17346         (bz12205): ...this.
17347         (bz14195): Add new testcase for two empty input strings and N > 0.
17348         (test_main): Call new testcase, adapt for renamed function.
17350 2012-08-15  Andreas Jaeger  <aj@suse.de>
17352         [BZ #14090]
17353         * crypt/md5test2.c: New test, based on test supplied by Serge
17354         Belyshev <belyshev@depni.sinp.msu.ru>.
17355         * crypt/Makefile (xtests): Add md5test-giant..
17356         * crypt/Makefile ($(objpfx)md5test-giant): Add.
17358 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
17360         [BZ #14090]
17361         * crypt/md5.c (md5_process_block): Don't assume the buffer
17362         length is less than 2**32.
17363         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
17364         length is less than 2**64.
17366 2012-08-15  Roland McGrath  <roland@hack.frob.com>
17368         * string/str-two-way.h: Include <sys/param.h>.
17369         (MAX): Macro removed.
17371         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
17372         Move #define and #undef of memmove to just before and after
17373         including <string.h>.
17375         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
17376         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
17377         and after including <string.h>.  Move declarations of
17378         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
17379         to before #include "string/memmove.c".
17381         * include/dirent.h: Declare __getdirentries.
17383         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
17384         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
17386 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
17388         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
17389         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
17390         * sysdeps/i386/configure: Regenerated.
17391         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
17392         STABS_CURRENT_FILE, and STABS_FUN.
17393         (END): Remove call to STABS_FUN_END.
17394         (STABS_CURRENT_FILE1): Delete.
17395         (STABS_CURRENT_FILE): Likewise.
17396         (STABS_FUN): Likewise.
17397         (STABS_FUN_END): Likewise.
17398         (STABS_FUN2): Likewise.
17399         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
17400         * sysdeps/x86_64/configure: Regenerated.
17402 2012-08-14  Roland McGrath  <roland@hack.frob.com>
17404         * elf/dl-open.c: Include <atomic.h>.
17405         * elf/dl-lookup.c: Likewise.
17407 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
17409         * sysdeps/unix/sysv/linux/kernel-features.h
17410         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
17411         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
17412         unconditionally.
17413         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
17414         unconditionally.
17415         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
17416         condition on __ASSUME_CLONE_THREAD_FLAGS.
17418 2012-08-14  Andreas Jaeger  <aj@suse.de>
17420         * sysdeps/i386/fpu/libm-test-ulps: Update.
17422 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
17424         * include/atomic.h (atomic_exchange_and_add): Split into ...
17425         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
17426         New atomic macros.
17428 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
17430         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17432 2012-08-13  Jeff Law <law@redhat.com>
17434         * manual/stdio.texi (snprintf): Clarify handling of the trailing
17435         null byte in the output string.
17437 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
17439         * sysdeps/unix/sysv/linux/kernel-features.h
17440         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
17441         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
17442         (__ASSUME_ARG_MAX_STACK_BASED): Define.
17443         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17444         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
17445         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
17446         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
17448 2012-08-09  Jeff Law <law@redhat.com>
17450         [BZ #13939]
17451         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
17452         When avoid_arena is set, don't retry in the that arena.  Pick the
17453         next one, whatever it might be.
17454         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
17455         (arena_lock): Pass in new parameter to arena_get2.
17456         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
17457         arena_get2.
17458         (__libc_malloc): Unify retrying after main arena failure with
17459         __libc_memalign version.
17460         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
17462 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
17464         [BZ #14166]
17465         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
17466         to __redirect_strstr.
17467         (__strstr_sse42): Use typeof __redirect_strstr.
17468         (__strstr_ia32): Likewise.
17469         (__libc_strstr): New prototype.
17470         (strstr): Renamed to ...
17471         (__libc_strstr): This.
17472         (strstr): New strong alias of __libc_strstr.
17473         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17474         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
17475         __redirect_time.
17476         Include <time.h>.
17477         (__libc_time): New prototype.
17478         (time_ifunc): Replace time with __libc_time.
17479         (time): New strong alias and hidden definition of __libc_time.
17480         (__GI_time): Remove strong alias.
17481         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
17482         Include <stddef.h>.
17483         (memmove): Redefined to __redirect_memmove.
17484         (__memmove_sse2): Use typeof __redirect_memmove.
17485         (__memmove_ssse3): Likewise.
17486         (__memmove_ssse3_back): Likewise.
17487         (__libc_memmove): New prototype.
17488         (memmove): Renamed to ...
17489         (__libc_memmove): This.
17490         (memmove): New strong alias of __libc_memmove.
17492 2012-08-08  Mark Salter  <msalter@redhat.com>
17494         * elf/elf.h
17495         (R_MN10300_TLS_GD): Define.
17496         (R_MN10300_TLS_LD): Likewise.
17497         (R_MN10300_TLS_LDO): Likewise.
17498         (R_MN10300_TLS_GOTIE): Likewise.
17499         (R_MN10300_TLS_IE): Likewise.
17500         (R_MN10300_TLS_LE): Likewise.
17501         (R_MN10300_TLS_DTPMOD): Likewise.
17502         (R_MN10300_TLS_DTPOFF): Likewise.
17503         (R_MN10300_TLS_TPOFF): Likewise.
17504         (R_MN10300_SYM_DIFF): Likewise.
17505         (R_MN10300_ALIGN): Likewise.
17506         (R_MN10300_NUM): Update.
17508 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
17510         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
17511         Remove.
17513 2012-08-08  Roland McGrath  <roland@hack.frob.com>
17515         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
17517         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
17518         sysdeps/unix -> sysdeps/posix move.
17519         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17521 2012-08-07      Allan McRae     <allan@archlinux.org>
17523         [BZ #14303]
17524         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
17525         (SUNOS_CPP): Likewise.
17526         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
17527         not found.
17528         (open_input): Call CPP using execvp.
17530 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
17532         * sysdeps/unix/sysv/linux/kernel-features.h
17533         (__ASSUME_PROT_GROWSUPDOWN): Remove.
17534         (__ASSUME_NO_CLONE_DETACHED): Likewise.
17535         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17536         (__ASSUME_WAITID_SYSCALL): Likewise.
17537         * sysdeps/unix/sysv/linux/dl-execstack.c
17538         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
17539         code unconditional.
17540         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
17541         conditional code.
17542         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
17543         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
17544         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
17545         code.
17546         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
17547         unconditional.
17548         [__ASSUME_WAITID_SYSCALL]: Likewise.
17549         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
17551 2012-08-07  Roland McGrath  <roland@hack.frob.com>
17553         * sysdeps/unix/closedir.c: Renamed to ...
17554         * sysdeps/posix/closedir.c: ... here.
17555         * sysdeps/unix/dirfd.c: Renamed to ...
17556         * sysdeps/posix/dirfd.c: ... here.
17557         * sysdeps/unix/dirstream.h: Renamed to ...
17558         * sysdeps/posix/dirstream.h: ... here.
17559         * sysdeps/unix/fdopendir.c: Renamed to ...
17560         * sysdeps/posix/fdopendir.c: ... here.
17561         * sysdeps/unix/opendir.c: Renamed to ...
17562         * sysdeps/posix/opendir.c: ... here.
17563         * sysdeps/unix/readdir.c: Renamed to ...
17564         * sysdeps/posix/readdir.c: ... here.
17565         * sysdeps/unix/readdir_r.c: Renamed to ...
17566         * sysdeps/posix/readdir_r.c: ... here.
17567         * sysdeps/unix/rewinddir.c: Renamed to ...
17568         * sysdeps/posix/rewinddir.c: ... here.
17569         * sysdeps/unix/seekdir.c: Renamed to ...
17570         * sysdeps/posix/seekdir.c: ... here.
17571         * sysdeps/unix/telldir.c: Renamed to ...
17572         * sysdeps/posix/telldir.c: ... here.
17573         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
17574         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
17575         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
17576         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
17578         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
17579         * bits/fcntl.h: ... here.
17581         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
17582         not 0.
17583         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
17584         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
17585         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
17586         (struct flock): Move l_start, l_len to the beginning.
17587         Use __pid_t for l_pid.
17588         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
17589         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
17590         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
17591         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
17592         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
17593         [__USE_LARGEFILE64] (struct flock64): New type.
17594         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
17596         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
17597         * bits/dirent.h: ... here.
17599         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
17600         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
17602 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
17604         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17605         Change from 2.6.0 to 2.6.16.
17606         * sysdeps/unix/sysv/linux/configure: Regenerated.
17607         * sysdeps/unix/sysv/linux/kernel-features.h
17608         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
17609         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
17610         version.
17611         (__ASSUME_UTIMES): Likewise.
17612         (__ASSUME_CLONE_STOPPED): Remove.
17613         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
17614         architectures, not kernel version.
17615         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
17616         (__ASSUME_NO_CLONE_DETACHED): Likewise.
17617         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17618         (__ASSUME_WAITID_SYSCALL): Likewise.
17619         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
17620         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
17621         * README: State 2.6.16 as minimum Linux kernel version.  Do not
17622         refer to older versions.
17624 2012-08-06  Roland McGrath  <roland@hack.frob.com>
17626         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
17627         Define alphasort64 as an alias.
17628         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
17629         Define versionsort64 as an alias.
17630         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
17631         Define scandir64 as an alias.
17632         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
17633         Define scandirat64 as an alias.
17634         * dirent/alphasort64.c (alphasort64):
17635         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
17636         * dirent/versionsort64.c: Likewise.
17637         * dirent/scandir64.c: Likewise.
17638         * dirent/scandirat64.c: Likewise.
17639         * sysdeps/wordsize-64/alphasort.c: File removed.
17640         * sysdeps/wordsize-64/alphasort64.c: File removed.
17641         * sysdeps/wordsize-64/scandir.c: File removed.
17642         * sysdeps/wordsize-64/scandir64.c: File removed.
17643         * sysdeps/wordsize-64/scandirat.c: File removed.
17644         * sysdeps/wordsize-64/scandirat64.c: File removed.
17645         * sysdeps/wordsize-64/versionsort.c: File removed.
17646         * sysdeps/wordsize-64/versionsort64.c: File removed.
17647         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
17648         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
17649         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
17650         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
17651         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
17652         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
17653         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
17654         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
17656         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
17657         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17658         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
17659         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17660         [defined __arch64__ || defined __sparcv9]
17661         (__INO_T_MATCHES_INO64_T): New macro.
17662         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17663         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
17664         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
17665         * sysdeps/unix/sysv/linux/bits/dirent.h
17666         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
17667         (_DIRENT_MATCHES_DIRENT64): New macro.
17669         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
17670         Define lockf64 as an alias.
17671         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
17672         Define fseeko64 as an alias.
17673         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
17674         Define ftello64 as an alias.
17675         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
17676         Define _IO_fgetpos64 and fgetpos64 as aliases.
17677         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
17678         Define _IO_fsetpos64 and fsetpos64 as aliases.
17679         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
17680         Conditionalize body on this.
17681         * libio/fseeko64.c: Likewise.
17682         * libio/ftello64.c: Likewise.
17683         * libio/iofgetpos64.c: Likewise.
17684         * libio/iofsetpos64.c: Likewise.
17685         * sysdeps/wordsize-64/lockf.c: File removed.
17686         * sysdeps/wordsize-64/lockf64.c: File removed.
17687         * sysdeps/wordsize-64/fseeko.c: File removed.
17688         * sysdeps/wordsize-64/fseeko64.c: File removed.
17689         * sysdeps/wordsize-64/ftello.c: File removed.
17690         * sysdeps/wordsize-64/ftello64.c: File removed.
17691         * sysdeps/wordsize-64/iofgetpos.c: File removed.
17692         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
17693         * sysdeps/wordsize-64/iofsetpos.c: File removed.
17694         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
17695         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
17696         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
17697         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
17698         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
17699         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
17700         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
17701         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
17702         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
17703         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
17704         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
17706         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17707         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17708         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
17709         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17710         [defined __arch64__ || defined __sparcv9]
17711         (__OFF_T_MATCHES_OFF64_T): New macro.
17712         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17713         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17714         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17715         (__OFF_T_MATCHES_OFF64_T): New macro.
17717 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
17719         * stdlib/secure-getenv.c (__secure_getenv): Replace
17720         GLIBC_2_16 with GLIBC_2_17.
17722 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
17724         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
17725         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17727 2012-08-03  David S. Miller  <davem@davemloft.net>
17729         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17731 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
17733         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
17734         Remove.
17735         (__ASSUME_CORRECT_SI_PID): Likewise.
17736         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
17737         (__ASSUME_TMPFS_NAME): Likewise.
17738         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
17739         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
17740         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
17741         (HAVE_AUX_SECURE): Make definition unconditional.
17742         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
17743         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
17745 2012-08-03  Roland McGrath  <roland@hack.frob.com>
17747         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
17748         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
17749         * sysdeps/mach/hurd/eloop-threshold.h: New file.
17750         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17751         __eloop_threshold instead of SYMLOOP_MAX.
17753         * sysdeps/generic/eloop-threshold.h: New file.
17754         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
17755         of MAXSYMLINKS.
17756         * elf/chroot_canon.c (chroot_canon): Likewise.
17758 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
17760         [BZ #13717]
17761         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17762         Change to 2.6.0 everywhere.
17763         * sysdeps/unix/sysv/linux/configure: Regenerated.
17764         * sysdeps/unix/sysv/linux/kernel-features.h
17765         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
17766         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
17767         kernel versions.
17768         (__ASSUME_POSIX_TIMERS): Define unconditionally.
17769         (__ASSUME_FUTEX_REQUEUE): Remove.
17770         (__ASSUME_STATFS64): Define unconditionally.
17771         (__ASSUME_AT_SECURE): Likewise.
17772         (__ASSUME_CORRECT_SI_PID): Likewise.
17773         (__ASSUME_TGKILL): Define without depending on kernel version for
17774         i386.
17775         (__ASSUME_UTIMES): Likewise.
17776         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
17777         kernel version.
17778         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
17779         (__ASSUME_TMPFS_NAME): Likewise.
17780         * README: Update reference to Linux kernel versions.
17782 2012-08-02  Marek Polacek  <polacek@redhat.com>
17784         [BZ# 14150]
17785         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
17786         libc_cv_asm_type_prefix with %.
17787         * configure: Regenerated.
17788         * include/libc-symbols.h: Remove comment about
17789         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17790         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
17791         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
17792         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
17793         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
17794         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17795         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
17796         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
17797         * elf/tst-unique2mod1.c: Likewise.
17798         * elf/tst-unique1mod2.c: Likewise.
17799         * elf/tst-unique1mod1.c: Likewise.
17800         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
17801         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
17802         Replace ASM_TYPE_DIRECTIVE with .type.
17803         * sysdeps/s390/s390-64/sysdep.h: Likewise.
17804         * sysdeps/i386/sysdep.h: Likewise.
17805         * sysdeps/x86_64/sysdep.h: Likewise.
17806         * sysdeps/sh/sysdep.h: Likewise.
17807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17808         Do not define ASM_TYPE_DIRECTIVE.
17809         * sysdeps/powerpc/sysdep.h: Likewise.
17810         * sysdeps/powerpc/powerpc32/sysdep.h:
17811         Replace ASM_TYPE_DIRECTIVE with .type.
17812         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17813         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17814         * sysdeps/i386/fpu/e_powf.S: Likewise.
17815         * sysdeps/i386/fpu/e_expl.S: Likewise.
17816         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17817         * sysdeps/i386/fpu/e_acosh.S: Likewise.
17818         * sysdeps/i386/fpu/e_pow.S: Likewise.
17819         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17820         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17821         * sysdeps/i386/fpu/s_expm1.S: Likewise.
17822         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17823         * sysdeps/i386/fpu/e_log2.S: Likewise.
17824         * sysdeps/i386/fpu/e_log2l.S: Likewise.
17825         * sysdeps/i386/fpu/e_scalb.S: Likewise.
17826         * sysdeps/i386/fpu/e_powl.S: Likewise.
17827         * sysdeps/i386/fpu/e_log10f.S: Likewise.
17828         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17829         * sysdeps/i386/fpu/e_logl.S: Likewise.
17830         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17831         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17832         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17833         * sysdeps/i386/fpu/e_log2f.S: Likewise.
17834         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17835         * sysdeps/i386/fpu/e_log.S: Likewise.
17836         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17837         * sysdeps/i386/fpu/e_logf.S: Likewise.
17838         * sysdeps/i386/fpu/e_log10l.S: Likewise.
17839         * sysdeps/i386/fpu/e_atanh.S: Likewise.
17840         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17841         * sysdeps/i386/fpu/e_log10.S: Likewise.
17842         * sysdeps/i386/fpu/s_frexp.S: Likewise.
17843         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17844         * sysdeps/i386/fpu/s_asinh.S: Likewise.
17845         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17846         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17847         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
17848         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17849         * sysdeps/i386/i686/strtok.S: Likewise.
17850         * sysdeps/i386/i386-mcount.S: Likewise.
17851         * sysdeps/i386/strtok.S: Likewise.
17852         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
17853         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17854         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17855         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17856         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17857         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17858         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17859         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17860         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17861         * sysdeps/x86_64/_mcount.S: Likewise.
17862         * sysdeps/x86_64/strtok.S: Likewise.
17863         * sysdeps/sh/_mcount.S: Likewise.
17865 2012-08-01  Roland McGrath  <roland@hack.frob.com>
17867         * libio/iofopen.c: Include <fcntl.h>.
17868         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
17869         (_IO_fopen64, fopen64): Define as aliases.
17870         * libio/iofopen64.c: Include <fcntl.h>.
17871         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
17872         Conditionalize body on this.
17873         * sysdeps/wordsize-64/iofopen.c: File removed.
17874         * sysdeps/wordsize-64/iofopen64.c: File removed.
17876 2012-08-01  Marek Polacek  <polacek@redhat.com>
17878         * libc/Makeconfig: Use elf in place of binfmt-subdir.
17879         Use dlfcn directly instead of a variable.
17880         (binfmt-subdir): Do not define.
17881         (dlfcn): Likewise.
17883 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
17885         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
17886         Remove all definitions.
17887         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
17888         <kernel-features.h>.
17889         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17890         (miss_F_GETOWN_EX): Remove all definitions.
17891         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
17892         macro definition.
17893         [!__ASSUME_FCNTL64]: Remove conditional code.
17894         [__ASSUME_FCNTL64]: Make code unconditional.
17895         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
17896         <kernel-features.h>.
17897         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17898         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
17899         (lockf64) [__NR_fcntl64]: Make code unconditional.
17900         (lockf64) [__ASSUME_FCNTL64]: Likewise.
17902         * sysdeps/unix/sysv/linux/kernel-features.h
17903         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
17904         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
17905         Make code unconditional.
17906         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17907         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
17909         [__NR_vfork]: Make code unconditional.
17910         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17911         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
17913         [__NR_vfork]: Make code unconditional.
17914         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17915         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17917 2012-08-01  Roland McGrath  <roland@hack.frob.com>
17919         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
17920         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
17922         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17923         Define mkstemp64 as an alias.
17924         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17925         Define mkstemps64 as an alias.
17926         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17927         Define mkostemp64 as an alias.
17928         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17929         Define mkostemps64 as an alias.
17930         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
17931         Conditionalize body on this.
17932         * misc/mkostemp64.c: Likewise.
17933         * misc/mkostemps64.c: Likewise.
17934         * misc/mkstemps64.c: Likewise.
17935         * sysdeps/wordsize-64/mkstemp64.c: File removed.
17936         * sysdeps/wordsize-64/mkostemp64.c: File removed.
17937         * sysdeps/wordsize-64/mkostemp.c: File removed.
17938         * sysdeps/wordsize-64/mkstemp.c: File removed.
17939         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
17940         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
17941         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
17942         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
17944         [BZ #14138]
17945         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
17946         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
17947         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
17948         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
17950         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
17951         compat_symbol macros from <shlib-compat.h> rather than the underlying
17952         default_symbol_version and symbol_version macros, so that DEFAULT
17953         lines in shlib-versions are respected.
17954         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
17956 2012-08-01  Florian Weimer  <fweimer@redhat.com>
17958         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
17959         Declare with warn_unused_result.
17960         (setgid, setregid, setegid, setresgid): Likewise.
17961         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
17962         Likewise.
17963         * WUR-REPORT: Remove set*id functions.
17965 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
17967         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
17969 2012-07-31  Roland McGrath  <roland@hack.frob.com>
17971         [BZ #10191]
17972         * include/sys/socket.h (__libc_accept, __libc_accept4):
17973         Add attribute_hidden.
17974         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
17976         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
17977         use of PTR_MANGLE.
17978         * inet/getnetgrent_r.c (setup): Likewise.
17980         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
17982 2012-07-31  David S. Miller  <davem@davemloft.net>
17984         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17986 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
17988         [BZ #13629]
17989         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
17990         value between 1.0 and 2.0 and smaller part has absolute value less
17991         than 1.0.
17992         * math/s_clog10.c (__clog10): Likewise.
17993         * math/s_clog10f.c (__clog10f): Likewise.
17994         * math/s_clog10l.c (__clog10l): Likewise.
17995         * math/s_clogf.c (__clogf): Likewise.
17996         * math/s_clogl.c (__clogl): Likewise.
17997         * math/libm-test.inc (clog_test): Add more tests.
17998         (clog10_test): Likewise.
17999         * sysdeps/i386/fpu/libm-test-ulps: Update.
18000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18002 2012-07-31  Florian Weimer  <fweimer@redhat.com>
18004         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
18005         Exit with zero in case no suitable GID is found, and write a
18006         message to standard error.
18008 2012-07-30  Roland McGrath  <roland@hack.frob.com>
18010         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
18011         rather than to 1.
18012         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
18013         (MAXPATHLEN): Removed.
18014         (NOGROUP, NODEV): New macros.
18015         (setbit, clrbit, isset, isclr): New macros.
18016         (howmany, roundup, powerof2): New macros.
18017         (DEV_BSIZE): New macro.
18019         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
18020         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
18022         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
18023         definition on [!__NO_LONG_DOUBLE_MATH].
18025         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
18026         PTR_MANGLE and PTR_DEMANGLE.
18028         * socket/accept4.c (accept4): Rename to __libc_accept4.
18029         Define accept4 as a weak alias.
18031         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
18032         on [_DIRENT_HAVE_D_TYPE].
18033         * io/ftw.c (ftw_dir): Likewise.
18035         * io/xmknod.c (__xmknod): Don't check PATH for being null.
18037         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
18039         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
18040         Use the BSD numbers rather than the arbitrary ones we had.
18041         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
18042         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
18043         (SIGXCPU, SIGXFSZ): New macros.
18044         (_NSIG): Now 32.
18046         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
18047         initializer on [_LIBC_REENTRANT].
18049         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
18050         definitions inside [_POSIX_MAPPED_FILES].
18052         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
18054         * dirent/opendir.c: Include <fcntl.h>.
18056         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
18057         (__libc_getspecific): Likewise.
18058         (__libc_key_create): Likewise.
18060         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
18061         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
18062         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
18063         (tmpfile64): Define as alias.
18064         * sysdeps/wordsize-64/tmpfile.c: File removed.
18065         * sysdeps/wordsize-64/tmpfile64.c: File removed.
18066         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
18067         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
18069         * stdio-common/vfscanf.c: Include <stdbool.h>.
18070         * nss/makedb.c: Likewise.
18071         * stdio-common/_i18n_number.h: Likewise.
18072         * argp/argp-help.c: Likewise.
18073         * posix/wordexp.c: Likewise.
18074         * sysdeps/posix/spawni.c: Likewise.
18075         * nss/nss_files/files-initgroups.c: Likewise.
18076         * stdio-common/reg-modifier.c: Include <stdlib.h>.
18077         * nss/nss_files/files-initgroups.c: Likewise.
18078         * nss/nss_db/db-netgrp.c: Likewise.
18079         * nss/nss_db/db-initgroups.c: Likewise.
18080         * io/fchmodat.c: Include <sys/stat.h>.
18082         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
18083         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
18085         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
18086         [HAVE_MMAP].
18088         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
18089         Add multiple inclusion protection.
18091 2012-07-27  David S. Miller  <davem@davemloft.net>
18093         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18095 2012-07-27  Gary Benson  <gbenson@redhat.com>
18097         [BZ #14298]
18098         * elf/rtld.c: Include <stap-probe.h>.
18099         (dl_main): Added static probes "init_start" and "init_complete".
18100         * elf/dl-load.c: Include <stap-probe.h>.
18101         (lose): Take new parameter "nsid".
18102         Added static probe "map_failed".
18103         (_dl_map_object_from_fd): Pass namespace id to lose.
18104         Added static probe "map_start".
18105         (open_verify): Pass namespace id to lose.
18106         * elf/dl-open.c: Include <stap-probe.h>.
18107         (dl_open_worker) Added static probes "map_complete", "reloc_start"
18108         and "reloc_complete".
18109         * elf/dl-close.c: Include <stap-probe.h>.
18110         (_dl_close_worker): Added static probes "unmap_start" and
18111         "unmap_complete".
18112         * elf/rtld-debugger-interface.txt: New file documenting the above.
18114 2012-07-26  Roland McGrath  <roland@hack.frob.com>
18116         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
18117         rather than a string variable.
18118         * sunrpc/rpc_main.c (h_output): Likewise.
18119         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
18121 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
18123         * inet/check_native.c: New file.
18125 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
18127         [BZ #13629]
18128         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
18129         if larger part has absolute value 1.0.
18130         * math/s_clog10.c (__clog10): Likewise.
18131         * math/s_clog10f.c (__clog10f): Likewise.
18132         * math/s_clog10l.c (__clog10l): Likewise.
18133         * math/s_clogf.c (__clogf): Likewise.
18134         * math/s_clogl.c (__clogl): Likewise.
18135         * math/libm-test.inc (clog_test): Add more tests.
18136         (clog10_test): Likewise.
18137         * sysdeps/i386/fpu/libm-test-ulps: Update.
18138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18140         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
18141         (pltexit): Likewise.
18142         (La_regs): Likewise.
18143         (La_retval): Likewise.
18144         (int_retval): Likewise.
18145         Update #error for removed macros to refer only to definitions in
18146         tst-audit.h.
18147         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
18148         macro.
18149         (pltexit): Likewise.
18150         (La_regs): Likewise.
18151         (La_retval): Likewise.
18152         (int_retval): Likewise.
18153         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
18154         macro.
18155         (pltexit): Likewise.
18156         (La_regs): Likewise.
18157         (La_retval): Likewise.
18158         (int_retval): Likewise.
18159         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
18160         macro.
18161         (pltexit): Likewise.
18162         (La_regs): Likewise.
18163         (La_retval): Likewise.
18164         (int_retval): Likewise.
18165         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
18166         macro.
18167         (pltexit): Likewise.
18168         (La_regs): Likewise.
18169         (La_retval): Likewise.
18170         (int_retval): Likewise.
18171         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
18172         macro.
18173         (pltexit): Likewise.
18174         (La_regs): Likewise.
18175         (La_retval): Likewise.
18176         (int_retval): Likewise.
18177         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
18178         macro.
18179         (pltexit): Likewise.
18180         (La_regs): Likewise.
18181         (La_retval): Likewise.
18182         (int_retval): Likewise.
18183         * sysdeps/generic/tst-audit.h: Update comment to refer only to
18184         macro definitions in tst-audit.h.
18185         * sysdeps/i386/tst-audit.h: New file.
18186         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
18187         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
18188         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
18189         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
18190         * sysdeps/sh/tst-audit.h: Likewise.
18191         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
18192         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
18193         * sysdeps/x86_64/tst-audit.h: Likewise.
18195 2012-07-26  Andreas Jaeger  <aj@suse.de>
18197         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
18198         ptrace.
18200         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
18201         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
18202         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
18203         PTRACE_O_MASK.
18204         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
18205         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
18206         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
18208         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
18209         value.
18211         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
18212         _sigsys.
18213         (si_call_addr, si_syscall, si_arch): Define new macro.
18214         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
18215         _sigsys.
18216         (si_call_addr, si_syscall, si_arch): Define new marcro.
18217         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
18218         _sigsys.
18219         (si_call_addr, si_syscall, si_arch): Define new macro.
18220         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
18221         _sigsys.
18222         (si_call_addr, si_syscall, si_arch): Define new macro.
18224 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
18226         [BZ #13717]
18227         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18228         Change to 2.4.21 where previously 2.4.1.
18229         * sysdeps/unix/sysv/linux/configure: Regenerated.
18230         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
18231         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
18232         Linux kernel version.
18233         (__ASSUME_STD_AUXV): Remove.
18234         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
18235         kernel version.
18236         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
18237         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
18238         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
18239         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
18240         (__ASSUME_NETLINK_SUPPORT): Likewise.
18241         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
18242         (__no_netlink_support): Remove conditional definition.
18243         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
18244         Remove.
18245         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18246         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
18247         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
18248         (if_nameindex_ioctl): Remove.
18249         (if_nameindex_netlink): Do not handle __no_netlink_support.
18250         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18251         code.
18252         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
18253         Remove conditional code.
18254         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18255         code.
18256         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
18257         unconditional.
18258         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18259         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
18260         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
18261         Remove.
18262         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
18263         [!__ASSUME_STD_AUXV]: Remove conditional code.
18264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
18265         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
18266         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
18267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
18268         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
18269         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18270         code.
18271         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18273         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
18274         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18275         conditional code.
18276         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18278         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18279         code.
18280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18281         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18282         conditional code.
18283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
18284         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18285         code unconditional.
18286         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18287         conditional code.
18288         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18289         unconditional.
18290         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18291         conditional code.
18292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18293         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18294         unconditional.
18295         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18296         conditional code.
18297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
18298         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18299         code unconditional.
18300         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18301         conditional code.
18302         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18303         unconditional.
18304         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18305         conditional code.
18306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
18307         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18308         code unconditional.
18309         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18310         conditional code.
18311         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18312         unconditional.
18313         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18314         conditional code.
18316 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
18318         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
18319         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
18320         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18321         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
18322         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
18323         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
18324         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18325         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
18326         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
18327         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
18328         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
18329         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
18330         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
18331         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
18332         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
18333         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
18334         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
18335         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
18336         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
18337         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
18338         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
18339         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
18340         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18342 2012-07-25  Florian Weimer  <fweimer@redhat.com>
18344         * Versions.def: Add GLIBC_2.17.
18345         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
18346         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
18347         Introduce __libc_secure_getenv.
18348         * stdlib/Versions (2.17): Add secure_getenv
18349         (GLIBC_PRIVATE): Add __libc_secure_getenv.
18350         * stdlib/secure-getenv.c: Rename __secure_getenv to
18351         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
18352         symbol __secure_getenv for GLIBC_2.0.
18353         * stdlib/tst-secure-getenv.c: New.
18354         * stdlib/Makefile (tests): Add testcase.
18355         * manual/startup.texi (Environment Access): Document
18356         secure_getenv.
18357         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
18358         __libc_secure_getenv.
18359         * inet/ruserpass.c (ruserpass): Likewise.
18360         * malloc/mtrace.c (mtrace): Likewise.
18361         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
18362         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
18363         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
18364         * sysdeps/posix/tempname.c: Likewise.  Evaluate
18365         HAVE_SECURE_GETENV.
18366         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
18367         __secure_getenv to __libc_secure_getenv.
18368         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
18369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18370         Likewise.
18371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18372         Likewise.
18373         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18374         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18375         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18376         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18377         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18378         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18379         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18381 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
18383         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
18384         (struct La_i86_retval): Likewise.
18385         (struct La_x86_64_regs): Likewise.
18386         (struct La_x86_64_retval): Likewise.
18387         (struct La_x32_regs): Likewise.
18388         (struct La_x32_retval): Likewise.
18389         (struct La_ppc32_regs): Likewise.
18390         (struct La_ppc32_retval): Likewise.
18391         (struct La_ppc64_regs): Likewise.
18392         (struct La_ppc64_retval): Likewise.
18393         (struct La_sh_regs): Likewise.
18394         (struct La_sh_retval): Likewise.
18395         (struct La_s390_32_regs): Likewise.
18396         (struct La_s390_32_retval): Likewise.
18397         (struct La_s390_64_regs): Likewise.
18398         (struct La_s390_64_retval): Likewise.
18399         (struct La_sparc32_regs): Likewise.
18400         (struct La_sparc32_retval): Likewise.
18401         (struct La_sparc64_regs): Likewise.
18402         (struct La_sparc64_retval): Likewise.
18403         (struct audit_ifaces): Remove architecture-specific pltenter and
18404         pltexit members.
18405         * sysdeps/i386/ldsodefs.h: New file.
18406         * sysdeps/powerpc/ldsodefs.h: Likewise.
18407         * sysdeps/s390/ldsodefs.h: Likewise.
18408         * sysdeps/sh/ldsodefs.h: Likewise.
18409         * sysdeps/sparc/ldsodefs.h: Likewise.
18410         * sysdeps/x86_64/ldsodefs.h: Likewise.
18412 2012-07-25  Marek Polacek  <polacek@redhat.com>
18414         [BZ #6808]
18415         * math/libm-test.inc (yn_test): Add another test.
18416         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
18417         to ERANGE when the result is +-Inf.
18418         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18419         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
18420         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
18421         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
18423 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
18425         * conform/data/time.h-data (NULL): Use macro-constant.  Require
18426         equal to 0.
18427         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
18428         clock_t.
18429         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
18431 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
18433         * configure.in <sysdeps resolving>: Correct printing
18434         Implies_before.
18435         * configure: Regenerate.
18437 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
18439         * math/w_ilogb.c: Include <limits.h>.
18440         * math/w_ilogbl.c: Likewise.
18442 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
18444         * manual/lang.texi (__va_copy): Document primarily as ISO C99
18445         va_copy.  Document allowing for unavailable va_copy only as
18446         pre-C99 compatibility.
18447         * manual/string.texi (Copying and Concatenation): Use va_copy
18448         instead of __va_copy in concat example.
18450 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
18452         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
18453         (__sendto): Use create_address_port.  Initialize APORT and deallocate
18454         it if not null.
18456         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
18457         with O_NOLINK passed to __file_name_lookup.
18459         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
18460         with O_NOLINK passed to __file_name_lookup.
18462         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
18463         negative N or less than NGIDS.
18465         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
18466         type to string_t.  Set ERANGE as errno and return it if NAME is not big
18467         enough.  Use memcpy instead of strncpy.
18469 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
18471         * elf/Makefile (check-data): Remove.
18472         (localplt.data): New vpath directive.
18473         ($(objpfx)check-localplt.out): Use localplt.data from vpath
18474         instead of $(check-data).
18475         * scripts/data/localplt-generic.data: Move to ...
18476         * sysdeps/generic/localplt.data: ... here.
18477         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
18478         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
18479         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
18480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
18481         ... here.
18482         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
18483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
18484         ... here.
18485         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
18486         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
18487         ... here.
18488         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
18489         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
18490         ... here.
18491         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
18492         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
18493         ... here.
18494         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
18495         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
18496         ... here.
18498 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18500         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
18501         PPC32 and PPC64 files.
18502         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
18503         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
18505 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18507         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
18508         __makecontext_ret to ...
18509         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18510         ... here and call exit if uc_link is NULL.  New file.
18511         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
18512         __makecontext_ret.S.
18513         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
18514         __makecontext_ret to ...
18515         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18516         ... here and call exit if uc_link is NULL.  New file.
18517         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
18518         __makecontext_ret.S.
18520 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18522         * elf/elf.h (R_390_IRELATIVE): New definition.
18523         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
18524         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
18525         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
18526         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18527         (elf_machine_lazy_rel): Likewise.
18528         * sysdeps/s390/dl-irel.h: New file.
18529         * sysdeps/s390/s390-64/memcpy.S: New asm code.
18530         * sysdeps/s390/s390-64/memset.S: New asm code.
18531         * sysdeps/s390/s390-64/memcmp.S: New asm code.
18532         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
18533         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
18534         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
18535         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
18536         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
18537         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
18538         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
18539         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
18540         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
18541         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
18542         * sysdeps/s390/s390-32/memcpy.S: New asm code.
18543         * sysdeps/s390/s390-32/memset.S: New asm code.
18544         * sysdeps/s390/s390-32/memcmp.S: New asm code.
18546 2012-07-17  Marek Polacek  <polacek@redhat.com>
18548         [BZ #14349]
18549         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
18550         * sysdeps/s390/s390-64/configure.in: Likewise.
18551         * sysdeps/sparc/configure.in: Likewise.
18552         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
18553         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
18554         * sysdeps/i386/configure.in: Likewise.
18555         * sysdeps/x86_64/configure.in: Likewise.
18556         * sysdeps/sh/configure.in: Likewise.
18557         * sysdeps/s390/s390-32/configure: Regenerated.
18558         * sysdeps/s390/s390-64/configure: Likewise.
18559         * sysdeps/x86_64/configure: Likewise.
18560         * sysdeps/sh/configure: Likewise.
18561         * sysdeps/powerpc/powerpc64/configure: Likewise.
18562         * sysdeps/powerpc/powerpc32/configure: Likewise.
18563         * sysdeps/sparc/configure: Likwise.
18564         * sysdeps/i386/configure: Likewise.
18566         * elf/dl-open.c: Comment fixes.
18568 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
18570         * Makefile [CXX] (check-data): Remove.
18571         [CXX] (c++-types.data): New vpath directive.
18572         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
18573         vpath.  Do not allow for C++ type data being missing.
18574         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
18575         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
18576         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
18577         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
18578         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
18579         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
18580         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
18581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
18582         ... here.
18583         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
18584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18585         ... here.
18586         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
18587         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
18588         ... here.
18589         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
18590         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
18591         ... here.
18592         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
18593         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
18594         ... here.
18595         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
18596         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
18597         ... here.
18598         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
18599         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
18600         ... here.
18601         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
18602         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
18604         * elf/tls-macros.h (TLS_LE): Move architecture-specific
18605         definitions to architecture-specific files.
18606         (TLS_IE): Likewise.
18607         (TLS_LD): Likewise.
18608         (TLS_GD): Likewise.
18609         * sysdeps/i386/tls-macros.h: New file.
18610         * sysdeps/powerpc/tls-macros.h: Likewise.
18611         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
18612         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
18613         * sysdeps/sh/tls-macros.h: Likewise.
18614         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
18615         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
18616         * sysdeps/x86_64/tls-macros.h: Likewise.
18618 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
18620         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
18621         zero value for regular exit case.
18623         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18624         (__start_context): Preserve zero value for regular exit case.
18626 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
18627             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18629         * manual/setjmp.texi (setcontext): Clarify normal process
18630         termination when uc_link is the null pointer.
18631         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
18632         exit call.
18634 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
18636         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
18637         preprocessor.  Test for each exception mask separately.
18639 2012-07-16  Andreas Jaeger  <aj@suse.de>
18641         * po/ru.po: Update from translation team.
18643 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
18645         * conform/data/string.h-data (NULL): Use macro-constant.  Require
18646         equal to 0.
18647         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18648         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18649         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
18650         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
18651         [ISO || ISO99 || ISO11] (*_t): Do not allow.
18653 2012-07-13  Andreas Jaeger  <aj@suse.de>
18655         * po/fr.po: Update from translation team.
18657 2012-07-12  Marek Polacek  <polacek@redhat.com>
18659         [BZ #14173]
18660         * math/libm-test.inc (yn_test): Add test for BZ #14173.
18661         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
18662         loop condition.
18664 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
18666         [BZ #13717]
18667         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18668         Change to 2.4.1 where previously 2.4.0.
18669         * sysdeps/unix/sysv/linux/configure: Regenerated.
18670         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
18671         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
18672         version.
18673         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
18674         (__ASSUME_AT_CLKTCK): Remove.
18675         (__ASSUME_AT_PAGESIZE): Likewise.
18676         (__ASSUME_AT_XID): Likewise.
18677         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
18678         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
18679         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
18680         unconditionally.
18681         (HAVE_AUX_PAGESIZE): Likewise.
18682         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
18683         [__ASSUME_AT_CLKTCK]: Make code unconditional.
18684         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
18686 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
18688         [BZ #14307]
18689         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
18690         the temporary buffer used to invoke __gethostbyname2_r,
18691         __gethostbyaddr_r and gethostbyname4_r to make room for struct
18692         host_data / struct gaih_addrtuple.
18693         * resolv/nss_dns/dns-host.c (global scope): Move definition of
18694         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
18695         header file nss/nsswitch.h.
18696         * nss/nsswitch.h (global scope): Add definition of implementation
18697         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
18698         resolv/nss_dns/dns-host.c).
18700 2012-07-11  Andreas Jaeger  <aj@suse.de>
18702         * po/fr.po: Update from translation team.
18704         * po/sv.po: Update from translation team
18705         * po/fr.po: Another update from translation team.
18707 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18709         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
18710         for subnormals or multiply small sinh result by itself.
18711         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18712         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18714 2012-07-11  David S. Miller  <davem@davemloft.net>
18716         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18718 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
18720         [BZ #14347]
18721         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
18722         (INTERNAL_MARK): Shift it here.
18724 2012-07-10  Marek Polacek  <polacek@redhat.com>
18726         [BZ #14151]
18727         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
18728         libc_cv_asm_global_directive with .globl.
18729         * configure: Regenerated.
18730         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
18731         with .globl.
18732         * sysdeps/i386/configure: Regenerated.
18733         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
18734         with .globl.
18735         * sysdeps/x86_64/configure: Regenerated.
18736         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
18737         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
18738         * elf/tst-unique2mod2.c: Likewise.
18739         * elf/tst-unique2mod1.c: Likewise.
18740         * elf/tst-unique1mod2.c: Likewise.
18741         * elf/tst-unique1mod1.c: Likewise.
18742         * sysdeps/s390/s390-32/sysdep.h: Likewise.
18743         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18744         * sysdeps/s390/s390-64/sysdep.h: Likewise.
18745         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18746         * sysdeps/mach/sysdep.h: Likewise.
18747         * sysdeps/i386/sysdep.h: Likewise.
18748         * sysdeps/i386/i386-mcount.S: Likewise.
18749         * sysdeps/x86_64/_mcount.S: Likewise.
18750         * sysdeps/x86_64/sysdep.h: Likewise.
18751         * sysdeps/sh/_mcount.S: Likewise.
18752         * sysdeps/sh/sysdep.h: Likewise.
18753         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
18754         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
18755         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
18756         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18757         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
18758         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
18759         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
18760         * locale/localeinfo.h: Likewise.
18761         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
18762         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
18764 2012-07-09  Roland McGrath  <roland@hack.frob.com>
18766         [BZ #14336]
18767         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
18768         system".
18769         * manual/message.texi (The Uniforum approach): Likewise.
18770         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
18771         (glibc iconv Implementation): Likewise.
18773 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
18775         [BZ #14337]
18776         * math/s_clog.c (__clog): Avoid scaling a value down where that
18777         could result in underflow.
18778         * math/s_clog10.c (__clog10): Likewise.
18779         * math/s_clog10f.c (__clog10f): Likewise.
18780         * math/s_clog10l.c (__clog10l): Likewise.
18781         * math/s_clogf.c (__clogf): Likewise.
18782         * math/s_clogl.c (__clogl): Likewise.
18783         * math/libm-test.inc (clog_test): Add more tests.
18784         (clog10_test): Likewise.
18785         * sysdeps/i386/fpu/libm-test-ulps: Update.
18786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18788 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
18790         [BZ #14283]
18791         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
18792         by 7 not 8 to examine high bit of fractional part.
18794         [BZ #14042]
18795         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
18796         for call to __mcount_internal.
18797         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
18798         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
18799         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
18801 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
18803         [BZ #14154]
18804         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
18805         approximation for values within 0x1p-13f of an odd multiple of
18806         pi/4.
18807         * math/libm-test.inc (tan_test): Do not allow spurious underflow
18808         exception.  Add more tests.
18809         * sysdeps/i386/fpu/libm-test-ulps: Update.
18811         [BZ #6778]
18812         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
18813         inputs and return -1 for them.  Do not check for +Inf in case not
18814         reachable for +Inf.
18815         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18816         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
18817         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18818         and return -1 for them.  Do not check for +Inf in case not
18819         reachable for +Inf.
18820         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
18821         define.
18822         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18823         and return -1 for them.  Do not check for +Inf in case not
18824         reachable for +Inf.
18825         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
18826         spurious underflow.
18827         * sysdeps/i386/fpu/libm-test-ulps: Update.
18828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18830 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
18832         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
18834 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
18836         [BZ #14157]
18837         [BZ #14331]
18838         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
18839         could result in spurious underflow.  Scale down values above
18840         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
18841         * math/s_csqrtf.c (__csqrtf): Likewise.
18842         * math/s_csqrtl.c (__csqrtl): Likewise.
18843         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
18844         spurious underflow.
18845         * sysdeps/i386/fpu/libm-test-ulps: Update.
18846         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18848 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
18850         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
18851         xopen-msg.sed.
18852         * catgets/xopen-msg.awk: New file.
18853         * catgets/xopen-msg.sed: Removed.
18855         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
18856         po2text.sed.
18857         * intl/po2test.awk: New file.
18858         * intl/po2test.sed: Removed.
18860 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
18862         [BZ #14328]
18863         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
18864         or multiply small sinh result by itself.
18865         * math/s_ctanf.c (__ctanf): Likewise.
18866         * math/s_ctanh.c (__ctanh): Likewise.
18867         * math/s_ctanhf.c (__ctanhf): Likewise.
18868         * math/s_ctanhl.c (__ctanhl): Likewise.
18869         * math/s_ctanl.c (__ctanl): Likewise.
18870         * math/libm-test.inc (ctan_test_tonearest): New function.
18871         (ctan_test_towardzero): Likewise.
18872         (ctan_test_downward): Likewise.
18873         (ctan_test_upward): Likewise.
18874         (ctanh_test_tonearest): Likewise.
18875         (ctanh_test_towardzero): Likewise.
18876         (ctanh_test_downward): Likewise.
18877         (ctanh_test_upward): Likewise.
18878         (main): Call these new functions.
18879         * sysdeps/i386/fpu/libm-test-ulps: Update.
18880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18882 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
18884         * .gitignore: Delete /ports entry.
18886 2012-07-03  Andreas Jaeger  <aj@suse.de>
18888         * po/bg.po: Update from translation team.
18889         * po/cs.po: Likewise.
18890         * po/de.po: Likewise.
18891         * po/hr.po: Likewise.
18892         * po/nl.pl: Likewise.
18893         * po/pl.po: Likewise.
18894         * po/vi.po: Likewise.
18896 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
18898         * Makeconfig [!+link] (+link-before-libc): New variable.
18899         [!+link] (+link-after-libc): Likewise.
18900         [!+link] (+link-tests): Likewise.
18901         [!+link] (+link): Define in terms of $(+link-before-libc) and
18902         $(+link-after-libc).
18903         [!+link-static] (+link-static-before-libc): New variable.
18904         [!+link-static] (+link-static-after-libc): Likewise.
18905         [!+link-static] (+link-static-tests): Likewise.
18906         [!+link-static] (+link-static): Define in terms of
18907         $(+link-static-before-libc) and $(+link-static-after-libc).
18908         [build-shared] (link-libc-before-gnulib): New variable.
18909         [build-shared] (link-libc-tests): Likewise.
18910         [build-shared] (link-libc): Define in terms of
18911         $(link-libc-before-gnulib).
18912         [!build-shared] (link-libc-tests): New variable.
18913         (link-libc-static-tests): New variable.
18914         [!gnulib] (gnulib-arch): New variable.
18915         [!gnulib] (gnulib-tests): Likewise.
18916         [!gnulib] (static-gnulib-arch): Likewise.
18917         [!gnulib] (static-gnulib-tests): Likewise.
18918         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
18919         Define with "=" instead of ":=".
18920         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
18921         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
18922         * Rules (binaries-all-notests): New variable.
18923         (binaries-all-tests): Likewise.
18924         (binaries-static-notests): Likewise.
18925         (binaries-static-tests): Likewise.
18926         (binaries-all): Define using $(binaries-all-notests) and
18927         $(binaries-all-tests).
18928         (binaries-static): Define using $(binaries-static-notests) and
18929         $(binaries-static-tests).
18930         (binaries-shared-tests): New variable.
18931         (binaries-shared-notests): Likewise.
18932         (binaries-shared): Remove variable.
18933         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
18934         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
18935         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
18936         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
18937         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
18938         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
18939         * elf/Makefile (sln-modules): New variable.
18940         (extra-objs): Add $(sln-modules:=.o).
18941         (ldconfig-modules): Add static-stubs.
18942         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
18943         * elf/static-stubs.c: New file.
18945         [BZ #14283]
18946         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
18947         by 7 not 8 to examine high bit of fractional part.  Use volatile
18948         variables when splitting into final array of floats if
18949         __FLT_EVAL_METHOD__ != 0.
18950         * math/libm-test.inc (cos_test): Add another test.
18951         (sin_test): Likewise.
18952         * sysdeps/i386/fpu/libm-test-ulps: Update.
18954         [BZ #14273]
18955         * math/libm-test.inc (cosh_test): Add more tests.
18957         * version.h (RELEASE): Set to "development".
18958         (VERSION): Set to "2.16.90".
18960 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
18962         * NEWS: Update copyright. Remove last-updated date.
18963         Mention math library bug fixes and timezone data changes.
18964         * README: Mention GNU/Hurd, x32, and HPPA support status.
18966 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
18968         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
18970 2012-06-27  Andreas Jaeger  <aj@suse.de>
18972         * manual/contrib.texi (Contributors): Add Samuel Thibault.
18974 2012-06-25  Andreas Jaeger  <aj@suse.de>
18976         * sysdeps/s390/fpu/libm-test-ulps: Update.
18978 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
18979             Thomas Schwinge  <thomas@codesourcery.com>
18981         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
18982         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
18983         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
18984         fanotify_mark.
18986 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
18988         * sysdeps/mach/start.c: Remove file.
18989         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
18990         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
18991         * sysdeps/sh/init-first.c: Likewise.
18993         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
18994         registers for frame unwinding purposes, add CFI directives.
18995         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18996         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
18997         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
18998         Likewise.
19000         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
19001         __fortify_fail returning.
19002         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19004         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
19005         sysdeps/sh/____longjmp_chk.S.
19006         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
19007         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
19008         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
19009         (gen-as-const-headers): Append sigaltstack-offsets.sym.
19011         * sysdeps/sh/abort-instr.h: New file.
19012         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
19013         process in case exit returns.
19015         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
19016         initialize the GOT register before use.
19018         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
19019         calculation of ARGC > 4.
19021         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
19022         meaningful names to some local labels.
19024 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
19025             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19027         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
19028         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
19029         (__arch_compare_and_exchange_val_16_acq): Likewise.
19030         (__arch_compare_and_exchange_val_32_acq): Likewise.
19031         (atomic_exchange_and_add): Fix gUSA sequence.
19032         (atomic_add): Likewise.
19033         (atomic_add_negative): Likewise.
19034         (atomic_add_zero): Likewise.
19035         (atomic_bit_test_set): Likewise.
19037 2012-06-22  Andreas Schwab  <schwab@redhat.com>
19039         [BZ #13579]
19040         * include/link.h (struct link_map): Add l_free_initfini.
19041         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
19042         l_initfini.
19043         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
19044         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
19045         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
19046         set.
19048 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
19050         * configure.in: Use AC_LANG_SOURCE.
19051         * configure: Regenerate.
19053 2012-06-22  Roland McGrath  <roland@hack.frob.com>
19055         * configure.in (libc_cv_localstatedir): New substituted variable.
19056         * configure: Regenerated.
19057         * config.make.in (localstatedir): New variable, substituted from
19058         libc_cv_localstatedir.
19059         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
19060         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
19061         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
19062         * sysdeps/gnu/configure: Regenerated.
19064 2012-06-21  Jeff Law  <law@redhat.com>
19066         [BZ #14277]
19067         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
19068         free.  Simplify list management for _LIBC case.
19070 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
19072         [BZ #14273]
19073         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
19074         Clear sign bit of 64-bit integer value before comparing against
19075         overflow value.
19077         * sysdeps/mach/configure: Regenerated.
19079 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
19081         [BZ #14278]
19082         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
19084 2012-06-21  Jeff Law  <law@redhat.com>
19086         [BZ #13882]
19087         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
19088         uint16_t for elements in the "seen" array to avoid char overflows.
19089         * elf/dl-fini.c (_dl_sort_fini): Likewise.
19090         * elf/dl-open.c (dl_open_worker): Likewise.
19092 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
19094         * scripts/list-sources.sh: Scan PORTS for translations.
19095         * po/libc.pot: Regenerated.
19097 2012-06-21  Andreas Jaeger  <aj@suse.de>
19099         [BZ #12194]
19100         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
19101         warning.
19102         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
19103         * bits/byteswap-16.h (__bswap_16): Likewise.
19104         * bits/byteswap.h (__bswap_constant_16): Likewise.
19106 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
19108         [BZ #14117]
19109         * sysdeps/i386/fpu_control.h: Removed.
19110         * sysdeps/x86_64/fpu_control.h: Moved to ...
19111         * sysdeps/x86/fpu_control.h: Here.
19113         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
19114         (_FPU_SETCW): Likewise.
19116 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
19118         [BZ #14117]
19119         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
19120         * sysdeps/x86/fpu/bits/mathinline.h: This.
19121         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
19123         [BZ #14050]
19124         [BZ #14117]
19125         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
19126         functions if __x86_64__ is defined.
19128 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
19130         * string/endian.h: Add !__ASSEMBLER__ condition for including
19131         conversion interfaces.
19133 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
19135         [BZ #14241]
19136         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
19137         of ABS(x) in calculating zero to negative powers other than odd
19138         integers.
19139         * math/libm-test.inc (pow_test): Add more tests.
19141 2012-06-15  Andreas Jaeger  <aj@suse.de>
19143         * manual/contrib.texi (Contributors): Update entry of Liubov
19144         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
19145         Machado Filho.
19147 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
19149         * string/string.h: Add __wur to GNU version of strerror_r.
19151 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
19153         [BZ #14229]
19154         * string/Makefile (tests): Add tst-strtok_r.
19155         * string/tst-strtok_r.c: New file.
19156         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
19157         RAX_LP/RDX_LP on SAVE_PTR.
19159 2012-06-14  Roland McGrath  <roland@hack.frob.com>
19161         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
19163 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
19165         * libm_test.inc (csqrt_test): Allow more spurious underflow
19166         exceptions.
19167         (j0_test): Likewise.
19168         (j1_test): Likewise.
19169         (y0_test): Likewise.
19170         (y1_test): Likewise.
19172 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
19174         * po/Makefile (libc.pot): Use UTF-8 charset.
19176 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
19178         [BZ #14210]
19179         Suppress sign-conversion warning from FD_SET.
19180         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
19181         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
19182         not unsigned long int.
19183         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
19185 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
19187         [BZ #14050]
19188         [BZ #14117]
19189         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
19190         __extern_always_inline instead of __extern_inline.
19191         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
19192         (__signbit): Likewise.
19193         (__signbitl): Support C++ namespace.
19194         (lrintf): New inline function.
19195         (lrint): Likewise.
19196         (llrintf): Likewise.
19197         (llrint): Likewise.
19198         (fmaxf): Likewise.
19199         (fmax): Likewise.
19200         (fminf): Likewise.
19201         (fmin): Likewise.
19202         (rint): Likewise.
19203         (rintf): Likewise.
19204         (ceil): Likewise.
19205         (ceilf): Likewise.
19206         (floor): Likewise.
19207         (floorf): Likewise.
19208         (nearbyint): Likewise.
19209         (nearbyintf): Likewise.
19211 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
19213         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
19214         non-default versions.
19216 2012-06-11  Roland McGrath  <roland@hack.frob.com>
19218         [BZ #14218]
19219         * manual/argp.texi (Argp): Reword argp_parse description slightly.
19221 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
19223         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
19224         (FE_UPWARD, FE_DOWNWARD): Don't define.
19225         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
19226         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19228         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
19229         reading it.
19230         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19231         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19233 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19235         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19236         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
19237         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
19238         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
19240 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
19242         [BZ #14117]
19243         * sysdeps/i386/fpu/bits/fenv.h: Removed.
19244         * sysdeps/i386/fpu/Implies: New file.
19245         * sysdeps/x86_64/fpu/Implies: Likewise.
19246         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
19247         * sysdeps/x86/fpu/bits/fenv.h: This.
19249         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
19250         __SSE_MATH__.
19252 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
19254         [BZ #14134]
19255         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
19256         character 0xffff that matches the last element of the
19257         conversion table.
19259 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19261         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
19262         fmodl commit.
19264 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19266         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
19267         values higher than 25.6283.
19269 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19271         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
19272         subnormal exponent extraction and add some __builtin_expect.
19273         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
19274         Fix for subnormal mantissa calculation.
19276 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
19278         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
19279         cpu2 is -1 and errno is not ENOSYS.
19281 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
19283         [BZ #14117]
19284         * sysdeps/i386/i486/bits/string.h: Renamed to ...
19285         * sysdeps/x86/bits/string.h: This.
19286         * sysdeps/x86_64/bits/string.h: Removed.
19288         * sysdeps/i386/i486/bits/string.h: Define inline functions only
19289         if not compiling for x86-64, but compiling for >= i486.
19291         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
19292         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
19294         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
19295         New macro from Linux kernel 3.4.0.
19296         (FP_XSTATE_MAGIC2): Likewise.
19297         (FP_XSTATE_MAGIC2_SIZE): Likewise.
19298         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
19299         (struct _fpx_sw_bytes): New struct.
19300         (struct _xsave_hdr): Likewise.
19301         (struct _ymmh_state): Likewise.
19302         (struct _xstate): Likewise.
19304         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
19305         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
19306         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
19307         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
19308         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
19309         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
19311         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
19312         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
19313         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
19314         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
19315         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
19316         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
19318 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19320         [BZ #13743]
19321         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
19322         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
19323         (sysdep_headers): Include sys/platform/ppc.h.
19324         * sysdeps/powerpc/test-gettimebase.c: Test for
19325         __ppc_get_timebase() to catch future ISA opcode/insn changes.
19326         * manual/Makefile (appendices): Include platform.texi.
19327         * manual/contrib.texi (Contributors): Update @node pointers.
19328         * manual/maint.texi (Maintenance): Likewise.
19329         (Platform): New node.
19330         * manual/platform.texi: New file.  Document the new features.
19332 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19333             Jakub Jelinek  <jakub@redhat.com>
19335         [BZ #14188]
19336         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
19337         where __builtin_expect is unavailable.
19339 2012-06-03  David S. Miller  <davem@davemloft.net>
19341         * stdlib/longlong.h: Updated from GCC.
19343 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
19345         [BZ #14042]
19346         * sysdeps/powerpc/powerpc32/mcount.c: New file.
19347         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
19348         __mcount_internal.
19349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19350         (GLIBC_2.16): Likewise.
19352 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
19354         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
19356 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
19358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
19359         (default-abi): New variable.
19360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
19361         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
19362         variable.
19363         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
19364         Likewise.
19365         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
19366         Likewise.
19367         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
19368         Likewise.
19370         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
19371         definition.  Document in comment.
19373 2012-06-01  David S. Miller  <davem@davemloft.net>
19375         * stdlib/longlong.h: Updated from GCC.
19377 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
19379         [BZ #14117]
19380         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
19381         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
19382         sys/debugreg.h sys/io.h here.
19383         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
19384         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
19385         sys/io.h.
19386         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
19387         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
19388         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
19389         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
19390         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
19391         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
19393         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
19394         Define only if __x86_64__ is defined.
19396 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
19398         [BZ #14048]
19399         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
19400         Use int64_t for variable i.
19401         * math/libm-test.inc (fmod_test): Add more tests.
19403         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
19404         z computation is not scheduled after fetestexcept.
19405         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
19406         Use math_force_eval instead of asm to ensure calculation scheduled
19407         before exception test.
19408         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
19409         Ensure a1 + u.d computation is not scheduled after fetestexcept.
19411 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
19413         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
19414         computation is not scheduled after fetestexcept.
19416 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
19418         [BZ #14117]
19419         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
19420         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
19422 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19424         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
19425         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19427 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
19429         [BZ #14117]
19430         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
19431         <bits/wordsize.h>.
19432         (__WCHAR_MIN): Support __WORDSIZE == 64.
19433         (__WCHAR_MAX): Likewise.
19435         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
19436         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
19438         [BZ #14183]
19439         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
19440         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
19442         [BZ #14117]
19443         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
19444         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
19446         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
19447         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
19449         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
19450         Defined to 1 if __x86_64__ isn't defined.
19451         (_STAT_VER_LINUX_OLD): New.
19452         (st_atime): Remove duplicate.
19453         (st_mtime): Likewise.
19454         (st_ctime): Likewise.
19456 2012-05-31  David S. Miller  <davem@davemloft.net>
19458         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
19459         entries.
19461 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
19463         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
19464         gen-libm-test.pl.
19466         [BZ #14132]
19467         * elf/dl-reloc.c: Include <_itoa.h>.
19468         (_dl_reloc_bad_type): Remove use of INTUSE.
19469         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
19470         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
19471         * stdio-common/psiginfo.c (psiginfo): Likewise.
19472         * stdio-common/psignal.c (psignal): Likewise.
19473         * string/strsignal.c (strsignal): Likewise.
19474         * include/signal.h (_sys_siglist): Declare hidden proto.
19475         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
19476         INTVARDEF with libc_hidden_data_def.
19477         * stdio-common/itoa-udigits.c: Likewise.
19478         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
19479         (_itoa_lower_digits_internal): Remove declaration.
19480         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
19481         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
19482         (_sys_sigabbrev_internal): Remove aliases.
19483         (_sys_siglist): Define hidden alias.
19485 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
19487         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19488         bits/sysctl.h.
19490 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
19492         [BZ #14117]
19493         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
19494         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
19496         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
19497         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
19498         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
19499         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
19500         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
19501         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
19503         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
19504         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
19505         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
19507         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
19508         with __addr.
19509         (insw): Likewise.
19510         (insl): Likewise.
19511         (outsb): Likewise.
19512         (outsw): Likewise.
19513         (outsl): Likewise.
19515         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
19516         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
19517         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
19519         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
19520         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
19521         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
19522         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
19523         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
19524         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
19526         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
19527         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
19529         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
19530         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
19532         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
19533         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
19534         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
19536         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
19537         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
19538         to ...
19539         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
19541         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
19542         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
19543         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
19545         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
19546         for x86-64.
19547         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
19549 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
19551         * math/math.h (M_El): Use two more decimal places.
19552         (M_LOG2El): Likewise.
19553         (M_LOG10El): Likewise.
19554         (M_LN2l): Likewise.
19555         (M_LN10l): Likewise.
19556         (M_PIl): Likewise.
19557         (M_PI_2l): Likewise.
19558         (M_PI_4l): Likewise.
19559         (M_1_PIl): Likewise.
19560         (M_2_PIl): Likewise.
19561         (M_2_SQRTPIl): Likewise.
19562         (M_SQRT2l): Likewise.
19563         (M_SQRT1_2l): Likewise.
19565 2012-05-31  David S. Miller  <davem@davemloft.net>
19567         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
19568         values between float registers.
19569         * sysdeps/sparc/sparc64/memset.S: Likewise.
19570         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19572 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
19574         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
19575         -D_FORTIFY_SOURCE=1.
19576         (CPPFLAGS-tst-longjmp_chk.c): Define.
19577         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
19578         (CPPFLAGS-tst-longjmp_chk2.c): Define.
19579         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
19580         CFLAGS-tst-wchar-h.c.
19582 2012-05-31  Marek Polacek  <polacek@redhat.com>
19584         [BZ #14132]
19585         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
19586         __endmntent_internal): Remove declaration.
19587         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
19588         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
19589         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
19591 2012-05-30  David S. Miller  <davem@davemloft.net>
19593         * sysdeps/sparc/sparc32/soft-fp/q_util.c
19594         (___Q_simulate_exceptions): Use real FP ops rather than writing
19595         into the %fsr.
19596         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
19597         Likewise.
19599 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
19601         [BZ #14117]
19602         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
19603         * sysdeps/x86/bits/xtitypes.h: This.
19605         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
19606         * sysdeps/x86/bits/wordsize.h: This.
19608         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
19609         * sysdeps/x86/bits/huge_vall.h: This.
19611         * sysdeps/i386/bits/select.h: Removed.
19612         * sysdeps/x86_64/bits/select.h: Renamed to ...
19613         * sysdeps/x86/bits/select.h: This.
19615         * sysdeps/i386/bits/setjmp.h: Removed.
19616         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
19617         * sysdeps/x86/bits/setjmp.h: This.
19619         * sysdeps/i386/bits/mathdef.h: Removed.
19620         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
19621         * sysdeps/x86/bits/mathdef.h: This.
19623 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
19625         [BZ #14132]
19626         * include/sys/socket.h (__connect_internal)
19627         (__libc_sa_len_internal): Remove declaration.
19628         (__connect, __libc_sa_len): Declare hidden_proto.
19629         (SA_LEN): Remove use of INTUSE.
19630         * socket/connect.c: Add libc_hidden_def.
19631         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
19632         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
19633         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
19634         alias.
19635         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
19636         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
19637         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
19638         of adding _internal alias.
19640 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
19642         [BZ #14117]
19643         * sysdeps/i386/bits/link.h: Removed.
19644         * sysdeps/i386/bits/linkmap.h: Likewise.
19645         * sysdeps/x86_64/bits/link.h: Renamed to ...
19646         * sysdeps/x86/bits/link.h: This.
19647         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
19648         * sysdeps/x86/bits/linkmap.h: This.
19650         * sysdeps/i386/bits/endian.h: Removed.
19651         * sysdeps/x86_64/bits/endian.h: Renamed to ...
19652         * sysdeps/x86/bits/endian.h: This.
19654         * sysdeps/i386/bits/byteswap.h: Removed.
19655         * sysdeps/i386/bits/byteswap-16.h: Likewise.
19656         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
19657         * sysdeps/x86/bits/byteswap.h: This.
19658         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
19659         * sysdeps/x86/bits/byteswap-16.h: This.
19660         * sysdeps/i386/Implies: Add x86.
19661         * sysdeps/x86_64/Implies: Likewise.
19663 2012-05-30  David S. Miller  <davem@davemloft.net>
19665         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
19666         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
19667         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
19668         (FP_TRAPPING_EXCEPTIONS): Define.
19669         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
19670         (FP_TRAPPING_EXCEPTIONS): Define.
19671         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
19672         subnormals only when inexact has been signalled or underflow
19673         exceptions are enabled.
19674         (_FP_PACK_CANONICAL): Likewise.
19676 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
19678         [BZ #14183]
19679         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
19680         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
19682 2012-05-30  Richard Henderson  <rth@twiddle.net>
19684         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
19685         with #ifndef NOT_IN_libc.
19687         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
19688         marked to avoid plt entry.
19690 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
19692         [BZ #14112]
19693         * Makeconfig (default-abi): New macro.
19694         (abi-includes): Likewise.
19695         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
19696         $(abi-$(default-abi)-lib-soname) for soname if defined.
19697         ($(common-objpfx)gnu/lib-names.stmp): Generate from
19698         abi-variants.
19699         * Makefile (installed-stubs): Likewise.
19700         * include/stubs-biarch.h: Removed.
19701         * scripts/lib-names.awk: Only handle one library at a time.
19702         * scripts/soversions.awk: Remove WORDSIZE support.
19703         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
19704         entries.
19705         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
19706         Removed.
19707         (syscall-list-default-condition): Likewise.
19708         (syscall-list-default-condition): Likewise.
19709         (syscall-list-includes): Likewise.
19710         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
19711         syscall-list-* with abi-*.  Handle undefined abi-variants.
19712         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
19713         * sysdeps/unix/sysv/linux/i386/Implies: New file.
19714         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
19715         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
19716         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
19717         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
19718         Removed.
19719         (syscall-list-32-options): Likewise.
19720         (syscall-list-32-condition): Likewise.
19721         (syscall-list-64-options): Likewise.
19722         (syscall-list-64-condition): Likewise.
19723         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
19724         macro.
19725         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
19726         Renamed to ...
19727         (abi-*): This.
19728         (abi-64-ld-soname): New macro.
19729         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
19730         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
19731         Renamed to ...
19732         (abi-*): This.
19733         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
19734         * sysdeps/x86_64/x32/shlib-versions: Likewise.
19736 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
19738         * sysdeps/unix/sysv/linux/kernel-features.h
19739         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
19740         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
19741         include <kernel-features.h>.
19742         [!__NR_ftruncate64]: Remove conditional code.
19743         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19744         [__NR_ftruncate64]: Make code unconditional.
19745         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19746         * sysdeps/unix/sysv/linux/truncate64.c: Do not
19747         include <kernel-features.h>.
19748         [!__NR_ftruncate64]: Remove conditional code.
19749         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19750         [__NR_ftruncate64]: Make code unconditional.
19751         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
19753         include <kernel-features.h>.
19754         [!__NR_ftruncate64]: Remove conditional code.
19755         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19756         [__NR_ftruncate64]: Make code unconditional.
19757         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19759         include <kernel-features.h>.
19760         [!__NR_ftruncate64]: Remove conditional code.
19761         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19762         [__NR_ftruncate64]: Make code unconditional.
19763         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19765         * configure.in (libc_cv_fpie): Weaken to a compile test using
19766         LIBC_TRY_CC_OPTION.
19767         * configure: Regenerated.
19769 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19771         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
19772         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
19773         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
19774         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19775         Refreshed.
19776         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
19777         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
19778         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
19779         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
19780         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
19781         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19782         Refreshed.
19784 2012-05-27  David S. Miller  <davem@davemloft.net>
19786         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
19787         (___Q_zero): New.
19788         (__Q_simulate_exceptions): Return void.  Change to simulate
19789         exceptions by writing into the %fsr.
19790         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
19791         (__Qp_handle_exceptions): Likewise.
19792         (numbers): Delete.
19793         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
19794         __Qp_handle_exceptions.
19795         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
19796         __Qp_handle_exceptions.
19797         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19798         as unused and give dummy FP_RND_NEAREST initializer.
19799         (FP_INHIBIT_RESULTS): Define.
19800         (___Q_simulate_exceptions): Update declaration.
19801         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
19802         formatting.
19803         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19804         as unused and give dummy FP_RND_NEAREST initializer.
19805         (__Qp_handle_exceptions): Update declaration.
19806         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
19807         formatting.
19809 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
19811         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
19812         the temporary FPU control word.
19813         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19814         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
19815         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
19816         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19817         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19818         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
19819         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
19820         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19821         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19822         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19823         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19825 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19827         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
19828         fields.
19830 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
19832         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
19833         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
19834         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
19835         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
19836         Likewise.
19837         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
19838         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
19839         Likewise.
19841 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
19843         * po/h.po: Update from translation team.
19845 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
19847         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
19849         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
19850         handling of denormals.
19851         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19852         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19853         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19854         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19855         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19856         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
19857         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
19858         Likewise.
19860 2012-05-26  Marek Polacek  <polacek@redhat.com>
19862         [BZ #14152]
19863         * math/libm-test.inc (fma_test): Don't always expect underflow
19864         exception.
19866 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19868         [BZ #12416]
19869         * elf/tst-execstack.c: Include stackinfo.h.
19870         (do_test): Adjust test case to ensure that pthread_getattr_np
19871         behaviour remains the same after marking stack executable.
19873 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
19875         * sysdeps/unix/sysv/linux/kernel-features.h
19876         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
19877         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
19878         kernel-features.h.
19879         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19880         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19881         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
19882         kernel-features.h.
19883         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19884         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19886 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
19888         * configure.in: Define the default includes to being none.
19889         * configure: Regenerated.
19891 2012-05-25  Roland McGrath  <roland@hack.frob.com>
19893         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
19894         * sysdeps/x86_64/setjmp.S: Likewise.
19895         * sysdeps/i386/bsd-setjmp.S: Likewise.
19896         * sysdeps/i386/bsd-_setjmp.S: Likewise.
19897         * sysdeps/i386/setjmp.S: Likewise.
19898         * sysdeps/i386/__longjmp.S: Likewise.
19899         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19900         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
19902         * include/stap-probe.h: New file.
19903         * configure.in: Handle --enable-systemtap.
19904         * configure: Regenerated.
19905         * config.h.in (USE_STAP_PROBE): New #undef.
19906         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
19907         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
19908         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19910 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
19912         [BZ #13717]
19913         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19914         to 2.4.0 where earlier.
19915         * sysdeps/unix/sysv/linux/configure: Regenerated.
19916         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19917         <kernel-features.h>.
19918         [__ASSUME_32BITUIDS]: Make code unconditional.
19919         [!__ASSUME_32BITUIDS]: Remove conditional code.
19920         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
19921         <kernel-features.h>.
19922         [__ASSUME_32BITUIDS]: Make code unconditional.
19923         [!__ASSUME_32BITUIDS]: Remove conditional code.
19924         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
19925         [__ASSUME_32BITUIDS]: Make code unconditional.
19926         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
19927         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
19928         <kernel-features.h>.
19929         [__ASSUME_32BITUIDS]: Make code unconditional.
19930         [!__ASSUME_32BITUIDS]: Remove conditional code.
19931         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
19932         <kernel-features.h>.
19933         [__ASSUME_32BITUIDS]: Make code unconditional.
19934         [!__ASSUME_32BITUIDS]: Remove conditional code.
19935         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
19936         <kernel-features.h>.
19937         [__ASSUME_32BITUIDS]: Make code unconditional.
19938         [!__ASSUME_32BITUIDS]: Remove conditional code.
19939         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
19940         <kernel-features.h>.
19941         [__ASSUME_32BITUIDS]: Make code unconditional.
19942         [!__ASSUME_32BITUIDS]: Remove conditional code.
19943         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19944         <kernel-features.h>.
19945         [__ASSUME_32BITUIDS]: Make code unconditional.
19946         [!__ASSUME_32BITUIDS]: Remove conditional code.
19947         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19948         <kernel-features.h>.
19949         [__ASSUME_32BITUIDS]: Make code unconditional.
19950         [!__ASSUME_32BITUIDS]: Remove conditional code.
19951         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
19952         <kernel-features.h>.
19953         [__ASSUME_32BITUIDS]: Make code unconditional.
19954         [!__ASSUME_32BITUIDS]: Remove conditional code.
19955         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19956         <kernel-features.h>.
19957         [__ASSUME_32BITUIDS]: Make code unconditional.
19958         [!__ASSUME_32BITUIDS]: Remove conditional code.
19959         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19960         <kernel-features.h>.
19961         [__ASSUME_32BITUIDS]: Make code unconditional.
19962         [!__ASSUME_32BITUIDS]: Remove conditional code.
19963         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
19964         <kernel-features.h>.
19965         [__ASSUME_32BITUIDS]: Make code unconditional.
19966         [!__ASSUME_32BITUIDS]: Remove conditional code.
19967         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
19968         <kernel-features.h>.
19969         [__NR_setresgid] (__setresgid): Do not declare.
19970         [__ASSUME_32BITUIDS]: Make code unconditional.
19971         [!__ASSUME_32BITUIDS]: Remove conditional code.
19972         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
19973         <kernel-features.h>.
19974         [__NR_setresuid] (__setresuid): Do not declare.
19975         [__ASSUME_32BITUIDS]: Make code unconditional.
19976         [!__ASSUME_32BITUIDS]: Remove conditional code.
19977         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
19978         <kernel-features.h>.
19979         [__ASSUME_32BITUIDS]: Make code unconditional.
19980         [!__ASSUME_32BITUIDS]: Remove conditional code.
19981         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
19982         <kernel-features.h>.
19983         [__ASSUME_32BITUIDS]: Make code unconditional.
19984         [!__ASSUME_32BITUIDS]: Remove conditional code.
19985         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
19986         <kernel-features.h>.
19987         [__ASSUME_32BITUIDS]: Make code unconditional.
19988         [!__ASSUME_32BITUIDS]: Remove conditional code.
19989         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
19990         <kernel-features.h>.
19991         [__ASSUME_32BITUIDS]: Make code unconditional.
19992         [!__ASSUME_32BITUIDS]: Remove conditional code.
19993         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
19994         <kernel-features.h>.
19995         [__ASSUME_32BITUIDS]: Make code unconditional.
19996         [!__ASSUME_32BITUIDS]: Remove conditional code.
19997         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
19998         <kernel-features.h>.
19999         [__ASSUME_32BITUIDS]: Make code unconditional.
20000         [!__ASSUME_32BITUIDS]: Remove conditional code.
20001         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
20002         <kernel-features.h>.
20003         [__ASSUME_32BITUIDS]: Make code unconditional.
20004         [!__ASSUME_32BITUIDS]: Remove conditional code.
20005         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
20006         <kernel-features.h>.
20007         [__ASSUME_32BITUIDS]: Make code unconditional.
20008         [!__ASSUME_32BITUIDS]: Remove conditional code.
20009         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
20010         <kernel-features.h>.
20011         [__ASSUME_32BITUIDS]: Make code unconditional.
20012         [!__ASSUME_32BITUIDS]: Remove conditional code.
20013         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20014         <kernel-features.h>.
20015         [__ASSUME_32BITUIDS]: Make code unconditional.
20016         [!__ASSUME_32BITUIDS]: Remove conditional code.
20017         * sysdeps/unix/sysv/linux/kernel-features.h
20018         (__ASSUME_SETRESUID_SYSCALL): Remove.
20019         (__ASSUME_SETRESGID_SYSCALL): Likewise.
20020         (__ASSUME_32BITUIDS): Likewise.
20021         (__ASSUME_LDT_WORKS): Likewise.
20022         (__ASSUME_O_DIRECTORY): Likewise.
20023         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
20024         architecture but not kernel version.
20025         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
20026         (__ASSUME_MMAP2_SYSCALL): Likewise.
20027         (__ASSUME_STAT64_SYSCALL): Likewise.
20028         (__ASSUME_IPC64): Likewise.
20029         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
20030         <kernel-features.h>.
20031         [__ASSUME_32BITUIDS]: Make code unconditional.
20032         [!__ASSUME_32BITUIDS]: Remove conditional code.
20033         * sysdeps/unix/sysv/linux/opendir.c: Do not include
20034         <kernel-features.h>.
20035         [__ASSUME_O_DIRECTORY]: Make code unconditional.
20036         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
20037         132096]: Remove conditional code.
20038         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
20039         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20040         <kernel-features.h>.
20041         [__ASSUME_32BITUIDS]: Make code unconditional.
20042         [!__ASSUME_32BITUIDS]: Remove conditional code.
20043         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20044         <kernel-features.h>.
20045         [__ASSUME_32BITUIDS]: Make code unconditional.
20046         [!__ASSUME_32BITUIDS]: Remove conditional code.
20047         * sysdeps/unix/sysv/linux/setegid.c: Do not include
20048         <kernel-features.h>.
20049         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
20050         unconditional.
20051         (__setresgid): Do not declare.
20052         [__ASSUME_32BITUIDS]: Make code unconditional.
20053         [!__ASSUME_32BITUIDS]: Remove conditional code.
20054         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
20055         <kernel-features.h>.
20056         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
20057         unconditional.
20058         (__setresuid): Do not declare.
20059         [__ASSUME_32BITUIDS]: Make code unconditional.
20060         [!__ASSUME_32BITUIDS]: Remove conditional code.
20061         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20062         <kernel-features.h>.
20063         [__ASSUME_32BITUIDS]: Make code unconditional.
20064         [!__ASSUME_32BITUIDS]: Remove conditional code.
20065         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
20066         <kernel-features.h>.
20067         [__ASSUME_32BITUIDS]: Make code unconditional.
20068         [!__ASSUME_32BITUIDS]: Remove conditional code.
20070 2012-05-25  Richard Henderson  <rth@twiddle.net>
20072         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
20073         dl_hwcap to ifunc resolver.
20074         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
20075         elf_ifunc_invoke.
20076         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
20077         dl_hwcap to ifunc resolver.
20078         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
20080 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
20082         [BZ #14153]
20083         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
20084         for |x| <= 2**-26, not 2**-57.
20085         * math/libm-test.inc (acos_test): Do not allow spurious underflow
20086         exception.
20088 2012-05-24  Jeff Law  <law@redhat.com>
20090         * stdio-common/Makefile (tests): Add bug25.
20091         * stdio-common/bug25.c: New test.
20093 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
20095         [BZ #13576]
20096         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
20097         multiple of MALLOC_ALIGNMENT in size.
20098         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
20100 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
20102         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
20103         Require >= 256.
20104         (FILENAME_MAX): Use macro-int-constant.
20105         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
20106         (_IOFBF): Use macro-int-constant.
20107         (_IOLBF): Likewise.
20108         (_IONBF): Likewise.
20109         (SEEK_CUR): Likewise.
20110         (SEEK_END): Likewise.
20111         (SEEK_SET): Likewise.
20112         (TMP_MAX): Likewise.
20113         (EOF): Use macro-int-constant.  Require < 0.
20114         (NULL): Use macro-constant.  Require == 0.
20115         (stdin): Require type to be FILE *.
20116         (stdout): Likewise.
20117         (stderr): Likewise.
20118         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
20119         macro-int-constant.
20120         (EXIT_SUCCESS): Likewise.
20121         (NULL): Use macro-constant.  Require == 0.
20122         (RAND_MAX): Use macro-int-constant.
20123         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
20124         [C99-based standards] (strtof): Require function.
20125         [C99-based standards] (strtold): Likewise.
20126         [C99-based standards] (strtoll): Likewise.
20127         [C99-based standards] (strtoull): Likewise.
20128         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20129         [ISO || ISO99 || ISO11] (limits.h): Likewise.
20130         [ISO || ISO99 || ISO11] (math.h): Likewise.
20131         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
20132         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20133         [ISO || ISO99 || ISO11] (*_t): Do not allow.
20135 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
20137         [BZ #14132]
20138         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
20139         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
20140         * intl/dgettext.c (DCGETTEXT): Likewise.
20141         * intl/gettext.c (DCGETTEXT): Likewise.
20142         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
20143         * posix/regex_internal.h (gettext): Likewise.
20144         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
20145         Remove declaration.
20146         * include/argz.h (__argz_count_internal)
20147         (__argz_stringify_internal): Remove declaration.
20148         (__argz_count, __argz_stringify): Declare hidden proto.
20149         * intl/dcgettext.c: Remove use of INTDEF.
20150         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
20151         * string/argz-stringify.c: Likewise.
20152         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20153         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20154         Declare hidden proto.
20155         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20156         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20157         Declare hidden proto.
20158         * include/stdio.h (__asprintf_internal): Don't declare.
20159         (__asprintf): Don't define as macro.  Declare hidden proto.
20160         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
20161         (__fsetlocking): Declare hidden proto.
20162         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
20163         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
20164         hidden proto.
20165         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
20166         (_IO_setlinebuf): Remove use of INTUSE.
20167         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
20168         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
20169         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
20170         Remove declaration.
20171         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
20172         (_IO_do_flush): Remove use of INTUSE.
20173         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
20174         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
20175         (_IO_adjust_column, _IO_least_wmarker)
20176         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
20177         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
20178         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
20179         (_IO_default_doallocate, _IO_wdefault_doallocate)
20180         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
20181         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
20182         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
20183         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
20184         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
20185         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
20186         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
20187         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
20188         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
20189         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
20190         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
20191         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
20192         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
20193         proto.
20194         (_IO_flush_all_internal, _IO_adjust_column_internal)
20195         (_IO_default_uflow_internal, _IO_default_finish_internal)
20196         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
20197         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
20198         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
20199         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
20200         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
20201         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
20202         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
20203         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
20204         (_IO_file_close_internal, _IO_file_close_it_internal)
20205         (_IO_file_underflow_internal, _IO_file_overflow_internal)
20206         (_IO_file_init_internal, _IO_file_attach_internal)
20207         (_IO_file_fopen_internal, _IO_file_read_internal)
20208         (_IO_file_sync_internal, _IO_file_seek_internal)
20209         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
20210         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
20211         (_IO_str_underflow_internal, _IO_str_overflow_internal)
20212         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
20213         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
20214         (_IO_list_all_internal, _IO_link_in_internal)
20215         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
20216         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
20217         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
20218         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
20219         (_IO_do_write_internal, _IO_padn_internal)
20220         (_IO_getline_info_internal, _IO_getline_internal)
20221         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
20222         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
20223         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
20224         (_IO_vfscanf_internal, _IO_vfprintf_internal)
20225         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
20226         (_IO_init_internal, _IO_un_link_internal): Don't declare.
20227         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
20228         with libc_hidden_ver, remove use of INTUSE.
20229         * libio/genops.c: Likewise.
20230         * libio/freopen.c: Likewise.
20231         * libio/freopen64.c: Likewise.
20232         * libio/iofclose.c: Likewise.
20233         * libio/iofdopen.c: Likewise.
20234         * libio/iofflush.c: Likewise.
20235         * libio/iofflush_u.c: Likewise.
20236         * libio/iofgets.c: Likewise.
20237         * libio/iofgets_u.c: Likewise.
20238         * libio/iofopen.c: Likewise.
20239         * libio/iofopncook.c: Likewise.
20240         * libio/iofread.c: Likewise.
20241         * libio/iofread_u.c: Likewise.
20242         * libio/ioftell.c: Likewise.
20243         * libio/iofwrite.c: Likewise.
20244         * libio/iogetline.c: Likewise.
20245         * libio/iogets.c: Likewise.
20246         * libio/iogetwline.c: Likewise.
20247         * libio/iopadn.c: Likewise.
20248         * libio/iopopen.c: Likewise.
20249         * libio/ioseekoff.c: Likewise.
20250         * libio/ioseekpos.c: Likewise.
20251         * libio/iosetbuffer.c: Likewise.
20252         * libio/iosetvbuf.c: Likewise.
20253         * libio/ioungetc.c: Likewise.
20254         * libio/ioungetwc.c: Likewise.
20255         * libio/iovdprintf.c: Likewise.
20256         * libio/iovsprintf.c: Likewise.
20257         * libio/iovsscanf.c: Likewise.
20258         * libio/memstream.c: Likewise.
20259         * libio/obprintf.c: Likewise.
20260         * libio/oldfileops.c: Likewise.
20261         * libio/oldiofclose.c: Likewise.
20262         * libio/oldiofdopen.c: Likewise.
20263         * libio/oldiofopen.c: Likewise.
20264         * libio/oldiopopen.c: Likewise.
20265         * libio/oldstdfiles.c: Likewise.
20266         * libio/putc.c: Likewise.
20267         * libio/setbuf.c: Likewise.
20268         * libio/setlinebuf.c: Likewise.
20269         * libio/stdfiles.c: Likewise.
20270         * libio/strops.c: Likewise.
20271         * libio/vasprintf.c: Likewise.
20272         * libio/vscanf.c: Likewise.
20273         * libio/vsnprintf.c: Likewise.
20274         * libio/vswprintf.c: Likewise.
20275         * libio/wfiledoalloc.c: Likewise.
20276         * libio/wfileops.c: Likewise.
20277         * libio/wgenops.c: Likewise.
20278         * libio/wmemstream.c: Likewise.
20279         * libio/wstrops.c: Likewise.
20280         * libio/__fpurge.c: Likewise.
20281         * libio/__fsetlocking.c: Likewise.
20282         * assert/assert.c: Likewise.
20283         * debug/fgets_chk.c: Likewise.
20284         * debug/fgets_u_chk.c: Likewise.
20285         * debug/fread_chk.c: Likewise.
20286         * debug/fread_u_chk.c: Likewise.
20287         * debug/gets_chk.c: Likewise.
20288         * debug/obprintf_chk.c: Likewise.
20289         * debug/vasprintf_chk.c: Likewise.
20290         * debug/vdprintf_chk.c: Likewise.
20291         * debug/vsnprintf_chk.c: Likewise.
20292         * debug/vsprintf_chk.c: Likewise.
20293         * malloc/mtrace.c: Likewise.
20294         * misc/error.c: Likewise.
20295         * misc/syslog.c: Likewise.
20296         * stdio-common/asprintf.c: Likewise.
20297         * stdio-common/fxprintf.c: Likewise.
20298         * stdio-common/getw.c: Likewise.
20299         * stdio-common/isoc99_fscanf.c: Likewise.
20300         * stdio-common/isoc99_scanf.c: Likewise.
20301         * stdio-common/isoc99_vfscanf.c: Likewise.
20302         * stdio-common/isoc99_vscanf.c: Likewise.
20303         * stdio-common/isoc99_vsscanf.c: Likewise.
20304         * stdio-common/printf-prs.c: Likewise.
20305         * stdio-common/printf_fp.c: Likewise.
20306         * stdio-common/printf_fphex.c: Likewise.
20307         * stdio-common/printf_size.c: Likewise.
20308         * stdio-common/putw.c: Likewise.
20309         * stdio-common/scanf.c: Likewise.
20310         * stdio-common/sprintf.c: Likewise.
20311         * stdio-common/tmpfile.c: Likewise.
20312         * stdio-common/vfprintf.c: Likewise.
20313         * stdio-common/vfscanf.c: Likewise.
20314         * stdlib/strfmon_l.c: Likewise.
20315         * sunrpc/openchild.c: Likewise.
20316         * sunrpc/xdr_stdio.c: Likewise.
20317         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
20318         * sysdeps/mach/hurd/tmpfile.c: Likewise.
20320 2012-05-24  Roland McGrath  <roland@hack.frob.com>
20322         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20324         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
20325         in the third column, to generate for the shared library an IFUNC
20326         that uses _dl_vdso_vsym.
20327         * Makerules (COMPILE.c, compile-stdin.c): New variables.
20328         * Makeconfig (object-suffixes-noshared): New variable.
20330         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
20331         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
20332         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
20333         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
20335         [BZ #14132]
20336         * include/sys/time.h (__gettimeofday): Remove macro.
20337         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
20338         * time/gettimeofday.c (__gettimeofday): Remove #undef.
20339         Remove INTDEF.
20340         (__gettimeofday): Add libc_hidden_def.
20341         (gettimeofday): Add libc_hidden_weak.
20342         * sysdeps/mach/gettimeofday.c: Likewise.
20343         * sysdeps/posix/gettimeofday.c: Likewise.
20344         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
20345         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20346         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
20347         (__gettimeofday_internal): Remove strong_alias.
20348         (__gettimeofday): Add libc_hidden_def.
20349         (gettimeofday): Add libc_hidden_weak.
20350         * sysdeps/unix/syscalls.list (gettimeofday):
20351         Remove __gettimeofday_internal alias.
20353 2012-05-24  Daniel Jacobowitz  <drow@false.org>
20354             H.J. Lu  <hongjiu.lu@intel.com>
20356         [BZ #12495]
20357         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
20358         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
20359         (largebin_index_32_big): New.
20360         (largebin_index): Use it for 16-byte alignment.
20361         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
20362         correction with front_misalign.
20364 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
20366         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
20367         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20368         Likewise.
20369         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
20370         Likewise.
20371         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20372         Likewise.
20373         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
20374         Likewise.
20375         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
20376         Likewise.
20377         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
20378         Likewise.
20379         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
20380         Likewise.
20381         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20382         Likewise.
20383         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
20384         Likewise.
20385         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
20386         Likewise.
20387         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20388         Likewise.
20389         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
20390         Likewise.
20392         * scripts/data/c++-types-x32-linux-gnu.data: New file.
20393         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
20395 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
20397         [BZ #10846]
20398         [BZ #14036]
20399         * math/libm-test.inc (exp_test): Add test from bug 14036.
20400         (pow_test): Add test from bug 10846.
20402         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
20403         and other flags.
20404         (special_function): Do not include flags in test name.
20405         (parse_args): Likewise.
20406         * sysdeps/i386/fpu/libm-test-ulps: Update.
20407         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20408         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20409         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20412         * math/gen-libm-test.pl (%beautify): Add entries for underflow
20413         exceptions.
20414         * math/libm-test.inc ("Philosophy"): Update comment about
20415         exception testing.
20416         (UNDERFLOW_EXCEPTION): New macro.
20417         (UNDERFLOW_EXCEPTION_OK): Likewise.
20418         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
20419         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
20420         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
20421         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
20422         (INVALID_EXCEPTION_OK): Update value.
20423         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20424         (OVERFLOW_EXCEPTION_OK): Likewise.
20425         (IGNORE_ZERO_INF_SIGN): Likewise.
20426         (test_exceptions): Handle underflow exceptions.
20427         (acos_test): Update for underflow exception expectations.
20428         (cexp_test): Likewise.
20429         (clog_test): Likewise.
20430         (clog10_test): Likewise.
20431         (csqrt_test): Likewise.
20432         (ctan_test): Likewise.
20433         (ctanh_test): Likewise.
20434         (exp_test): Likewise.
20435         (exp10_test): Likewise.
20436         (exp2_test): Likewise.
20437         (expm1_test): Likewise.
20438         (fma_test): Likewise.
20439         (j0_test): Likewise.
20440         (jn_test): Likewise.
20441         (nexttoward_test): Likewise.
20442         (pow_test): Likewise.
20443         (scalbn_test): Likewise.
20444         (scalbln_test): Likewise.
20445         (tan_test): Likewise.
20446         (y1_test): Likewise.
20447         * sysdeps/i386/fpu/libm-test-ulps: Update.
20448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20450 2012-05-23  David S. Miller  <davem@davemloft.net>
20452         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20453         (__libc_sigaction): Remove unused local variables.
20455 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
20457         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
20459 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
20461         mktime: avoid signed integer overflow
20462         * time/mktime.c (__mktime_internal): Do not mishandle the case
20463         where diff == INT_MIN.
20465         mktime: simplify computation of average
20466         * time/mktime.c (ranged_convert): Use new time_t_avg function
20467         instead of rolling our own (probably-slower) code.
20469         mktime: do not assume signed right shift propagates sign bit
20470         * time/mktime.c (isdst_differ): New static function.
20471         (__mktime_internal): No need to normalize tm_isdst now.
20472         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
20473         tm_isdst values.
20475         mktime: merge another wrapv change from gnulib
20476         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
20477         from some compilers.
20479         mktime: remove incorrect attempt at unusual arithmetics
20480         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
20481         The code didn't really work on such machines anyway.
20482         (TYPE_MINIMUM): Assume two's complement.
20483         (twos_complement_arithmetic): Verify that long_int and time_t
20484         are two's complement (or unsigned, in the latter case).
20486         mktime: check signed shifts on long_int and time_t, too
20487         * time/mktime.c (SHR): Check that shifts work as desired
20488         on the types long_int and time_t too, as SHR is used on
20489         such types.
20491         mktime: do not assume 'long' is wide enough
20492         * time/mktime.c (verify): Move decl up.
20493         (long_int): New type.
20494         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
20495         to remove assumption in the code that 'long' is wide enough to
20496         store year values.  This assumption is not true on x32 and on
20497         some non-glibc platforms.
20499         mktime: merge wrapv change from gnulib
20500         * time/mktime.c (WRAPV): New macro.
20501         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
20502         (guess_time_tm, __mktime_internal): Do not assume that signed
20503         integer overflow wraps around; modern compilers generate code
20504         where this assumption is no longer valid.
20506 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
20508         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20509         Replace "jmp L(pseudo_end)" with "ret".
20510         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
20511         Likewise.
20513 2012-05-23  Andreas Jaeger  <aj@suse.de>
20515         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
20516         * sysdeps/unix/sysv/linux/poll.c: Remove file.
20518 2012-05-23  Andreas Jaeger  <aj@suse.de>
20519             Maximilian Attems  <max@stro.at>
20521         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
20522         New macros.
20524 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
20526         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
20527         code so that pseudo_end is just ret and the stack pointer is
20528         correct also for static library in error case.
20530 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
20532         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
20533         move to syscalls.list.
20534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
20535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20539         * manual/install.texi (Running make install): Do not mention Linux
20540         kernel version for which pt_chown is not needed.
20541         (Linux): Do not mention problems with nscd with 2.0 kernels.
20542         * INSTALL: Regenerated.
20544 2012-05-23  Andreas Jaeger  <aj@suse.de>
20546         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
20547         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
20548         macro.
20549         * sysdeps/unix/sysv/linux/s390/bits/mman.h
20550         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20551         * sysdeps/unix/sysv/linux/sh/bits/mman.h
20552         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20553         * sysdeps/unix/sysv/linux/i386/bits/mman.h
20554         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20555         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
20556         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20557         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
20558         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20559         * sysdeps/unix/sysv/linux/bits/in.h
20560         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
20562 2012-05-22  Roland McGrath  <roland@hack.frob.com>
20564         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
20565         (PREPARE_VERSION): Just use assert instead, it will be elided
20566         under [NDEBUG] anyway.
20568 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20570         * sysdeps/unix/sysv/linux/Makefile: Include
20571         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
20572         (sysdep_routines): Remove sysctl.
20573         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
20574         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
20575         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
20576         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
20577         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
20579 2012-05-22  Andreas Jaeger  <aj@suse.de>
20581         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
20582         that pseudo_end is just ret and the stack pointer is correct also
20583         for static library in error case.
20585 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
20587         [BZ #14122]
20588         * nss/nsswitch.c (defconfig_entries): New variable.
20589         (__nss_database_lookup): Don't leak defconfig entries.
20590         (nss_parse_service_list): Don't leak on error paths.
20591         (free_database_entries): New function.
20592         (free_defconfig): New function.
20593         (free_mem): Move common code to free_database_entries.
20595 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20597         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
20598         Add arch_prctl.
20599         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
20601         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20602         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
20603         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
20604         New macro.
20605         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
20606         (INTERNAL_SYSCALL_TYPES): Likewise.
20607         (LOAD_ARGS_TYPES_[1-6]): Likewise.
20608         (LOAD_REGS_TYPES_[1-6]): Likewise.
20609         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
20610         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
20612 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20614         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
20615         copysignl for GLIBC_2_0.
20616         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
20617         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
20618         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
20619         logbl for GLIBC_2_0.
20620         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
20621         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
20623 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20625         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
20626         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
20628         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20629         Use "neg %eax".
20631         * time/mktime.c: Update copyright years.
20633 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
20635         mktime: merge comment-quoting-style change from gnulib
20636         * time/mktime.c: Quote 'like this' in comments.
20637         The GNU coding standards suggest that we no longer quote `like this',
20638         as "`" and "'" are typically rendered asymmetrically nowadays.
20639         The typical gnulib style is to quote 'like this' when quoting
20640         code, and "like this" when quoting English.
20642         * time/mktime.c (compile-command): Add "-I.".
20644         mktime: merge mktime-internal.h change from gnulib
20645         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
20647         mktime: merge time_r change from gnulib
20648         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
20650         mktime: merge DEBUG change from gnulib
20651         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
20652         case system <time.h> has a #define.
20654         mktime: merge <sys/types.h> change from gnulib
20655         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
20656         since <time.t> is now guaranteed to define time_t.
20658         mktime: merge HAVE_CONFIG_H change from gnulib
20659         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
20661 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20663         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20664         Use "neg %eax".
20666         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
20667         __rlim_t cast.
20668         (struct rusage): Use anonymous union to pad each field to
20669         __syscall_slong_t.
20671 2012-05-21  David S. Miller  <davem@davemloft.net>
20673         * Makefules (o-iterator): Remove .s cases.
20674         (compile-command.s): Delete.
20675         (COMPILE.s): Delete.
20676         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
20678 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
20680         * configure.in (libc_cv_predef_stack_protector): Only consider
20681         "foobar" and "__stack_chk_fail" lines in libc_undefs.
20682         * configure: Regenerated.
20684 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
20686         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20687         New macro.  Use R*LP on int and pointer.
20688         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
20689         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
20690         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
20691         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
20693         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
20694         [__WORDSIZE_TIME64_COMPAT32] instead of
20695         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
20696         (struct utmp): Likewise.
20697         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
20698         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
20699         Renamed to ...
20700         (__WORDSIZE_TIME64_COMPAT32): This.
20701         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
20702         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
20703         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
20704         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
20705         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
20706         (__WORDSIZE_TIME64_COMPAT32): New macro.
20708 2012-05-21  Andreas Jaeger  <aj@suse.de>
20710         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
20711         only if [SHARED]. Add prototype for __wcschr_ia32.
20713 2012-05-21  Roland McGrath  <roland@hack.frob.com>
20715         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
20716         of %rbp unmolested in the jmp_buf while mangling the low bits.
20717         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
20718         unmolested high bits of %rbp while demangling the low bits.
20719         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20721 2012-05-21  Andreas Jaeger  <aj@suse.de>
20723         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
20724         * sunrpc/svc_simple.c: Use it for registerrpc.
20725         * sunrpc/xcrypt.c: Use it for passwd2des.
20727         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
20729 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
20731         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
20732         Don't define if [__SYSCALL_WORDSIZE != 32].
20733         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
20734         New macro.
20736 2012-05-21  Bruno Haible  <bruno@clisp.org>
20737             Andreas Jaeger  <aj@suse.de>
20739         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
20740         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
20741         inptr and inend for must_buffer_ch.
20742         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
20743         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
20744         * stdio-common/Makefile (tests): Remove bug15.
20745         (bug15-ENV): Remove macro.
20746         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
20747         anymore.
20749 2012-05-19  Andreas Jaeger  <aj@suse.de>
20750             Roland McGrath  <roland@hack.frob.com>
20752         * manual/contrib.texi: Completely rewritten. It contains now an
20753         alphabetical list of contributors and their contributions.
20755 2012-05-21  Richard Henderson  <rth@twiddle.net>
20757         * misc/getauxval.c (__getauxval): Use unsigned long int.
20758         * misc/sys/auxv.h: Include <sys/cdefs.h>.
20759         (getauxval): Use unsigned long int.
20761 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
20763         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20765 2012-05-21  Roland McGrath  <roland@hack.frob.com>
20767         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
20768         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
20769         __alignof__ (long double).
20771 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20773         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20775 2012-05-20  Richard Henderson  <rth@twiddle.net>
20777         * misc/getauxval.c: New file.
20778         * misc/sys/auxv.h: New file.
20779         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
20780         (routines): Add getauxval.
20781         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
20782         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
20783         * elf/dl-sysdep.c (_dl_auxv): Remove.
20784         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
20785         * elf/dl-support.c (_dl_auxv): New variable.
20786         (_dl_aux_init): Initialize it.
20787         * manual/startup.texi (Auxiliary Vector): New node.
20788         * sysdeps/generic/bits/hwcap.h: New file.
20789         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
20790         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
20791         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
20792         * sysdeps/sparc/sysdep.h: ... here.  Include it.
20793         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
20794         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
20795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20796         Update.
20797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
20798         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
20799         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
20800         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
20801         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20802         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20803         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
20804         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
20806 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20808         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20810 2012-05-19  David S. Miller  <davem@davemloft.net>
20812         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20814 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
20816         [BZ #14123]
20817         * math/s_ccosh.c: Include <float.h>
20818         (__ccosh): Avoid internal overflow calculating sinh and cosh
20819         values before multiplying by sin and cos values.
20820         * math/s_ccoshf.c: Likewise.
20821         * math/s_ccoshl.c: Likewise.
20822         * math/s_csin.c: Likewise.
20823         * math/s_csinf.c: Likewise.
20824         * math/s_csinl.c: Likewise.
20825         * math/s_csinh.c: Likewise.
20826         * math/s_csinhf.c: Likewise.
20827         * math/s_csinhl.c: Likewise.
20828         * math/libm-test.inc (ccos_test): Add more tests.
20829         (ccosh_test): Likewise.
20830         (csin_test): Likewise.
20831         (csinh_test): Likewise.
20832         * sysdeps/i386/fpu/libm-test-ulps: Update.
20833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20835 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
20837         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
20838         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20840         * sysdeps/x86_64/x32/_itoa.h: Add comment.
20842 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
20844         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
20845         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
20846         * sysdeps/powerpc/soft-fp/Versions: Likewise.
20847         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
20848         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
20849         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
20850         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
20851         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
20852         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
20853         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
20854         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
20855         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
20856         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
20857         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
20858         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
20859         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
20860         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
20861         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
20862         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
20863         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
20864         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
20865         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
20866         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
20867         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
20868         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
20869         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
20870         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
20871         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
20872         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
20873         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
20874         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
20876 2012-05-18  Andreas Jaeger  <aj@suse.de>
20878         * csu/.gitignore: Delete.
20880 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20882         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
20883         (timex): Use __syscall_slong_t.
20885 2012-05-18  Andreas Jaeger  <aj@suse.de>
20886             Carlos O'Donell  <carlos_odonell@mentor.com>
20888         * manual/install.texi (Configuring and compiling): Update
20889         description about files modified in the source directory.
20890         * INSTALL: Regenerated.
20892 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20894         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
20895         value.  Use "or" to set return value to -1.
20896         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
20897         negate return value.
20899 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20901         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
20902         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
20903         failure if the compiler has Graphite support disabled.
20904         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
20905         Likewise.
20906         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
20907         CFLAGS-memmove.c): Likewise.
20908         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
20909         Likewise.
20911 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20913         * sysdeps/x86_64/x32/_itoa.h: New file.
20915         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
20916         getdents system call only if kernel and user dirents have the
20917         same d_ino and d_off.
20919         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20920         LLONG_MAX != LONG_MAX.
20921         (_itoa_word): Use _ITOA_WORD_TYPE on value.
20922         (_fitoa_word): Likewise.
20924         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
20925         years.
20926         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
20927         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
20928         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
20930         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
20931         include <bits/wordsize.h>.  Check __x86_64__ instead of
20932         __WORDSIZE.
20933         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
20934         if __x86_64__ is defined.  Use anonymous union on fpstate.
20936         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
20937         anonymous union.
20939 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
20941         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
20942         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
20943         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
20944         Refer to _rtld_local_ro instead of _rtld_global_ro.
20945         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
20946         Likewise.
20947         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
20948         Likewise.
20949         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
20950         Likewise.
20951         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
20952         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
20953         of _rtld_global, and rtld_progname instead of _dl_argv[0].
20955         * sysdeps/powerpc/powerpc32/dl-machine.c
20956         (__elf_machine_runtime_setup) [PROF]: Don't reference
20957         _dl_prof_resolve.
20959 2012-05-18  Andreas Jaeger  <aj@suse.de>
20961         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
20962         function only available for GCCs before 3.4 since GCC 3.4
20963         introduced a builtin.
20964         (lrint): Likewise.
20965         (llrintf): Likewise.
20966         (llrint): Likewise.
20967         (fmaxf): Likewise.
20968         (fmax): Likewise.
20969         (fminf): Likewise.
20970         (fmin): Likewise.
20971         (rint): Likewise.
20972         (rintf): Likewise.
20973         (nearbyint): Likewise.
20974         (nearbyintf): Likewise.
20975         (ceil): Likewise.
20976         (ceilf): Likewise.
20977         (floor): Likewise.
20978         (floorf): Likewise.
20980 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
20982         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
20983         on both fields and cast pointer to __syscall_ulong_t.
20985         * bits/types.h (__fsword_t): New type.
20986         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
20987         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
20988         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20989         (__FSWORD_T_TYPE): Likewise.
20990         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20991         (__FSWORD_T_TYPE): Likewise.
20992         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20993         (__FSWORD_T_TYPE): Likewise.
20994         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
20995         (__FSWORD_T_TYPE): Likewise.
20996         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
20997         __SWORD_TYPE with __fsword_t.
20998         (statfs64): Likewise.
21000 2012-05-17  David S. Miller  <davem@davemloft.net>
21002         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
21004 2012-05-17  Andreas Jaeger  <aj@suse.de>
21006         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
21007         warning.
21009 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
21011         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
21013 2012-05-17  Andreas Jaeger  <aj@suse.de>
21015         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
21016         when it is used.
21018 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
21020         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
21022 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
21024         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
21025         * sysdeps/x86_64/tst-mallocalign1.c: New file.
21027 2012-05-17  Andreas Jaeger  <aj@suse.de>
21028             Carlos O'Donell  <carlos_odonell@mentor.com>
21030         [BZ #14059]
21031         * sysdeps/x86_64/multiarch/init-arch.h
21032         (bit_YMM_Usable): Rename to...
21033         (bit_AVX_Usable): ... this.
21034         (bit_FMA4_Usable): New macro.
21035         (bit_XMM_state): New macro.
21036         (bit_YMM_state): New macro.
21037         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
21038         [__ASSEMBLER__] (index_AVX_Usable): ... this.
21039         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
21040         (CPUID_OSXSAVE): New macro.
21041         (CPUID_AVX): New macro.
21042         (CPUID_FMA4): New macro.
21043         (index_YMM_Usable): Rename to...
21044         (index_AVX_Usable): ... this.
21045         (HAS_AVX): Use HAS_ARCH_FEATURE.
21046         (HAS_FMA4): Likewise.
21047         (HAS_YMM_USABLE): Remove.
21048         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21049         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
21050         are present.
21051         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
21052         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
21053         * sysdeps/x86_64/multiarch/Makefile: Likewise.
21054         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
21055         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
21057 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
21059         * math/libm-test.c: Support platforms without multiple rounding modes.
21060         * math/bug-nextafter.c: Support platforms without FP exceptions.
21061         * math/bug-nexttoward.c: Likewise.
21062         * math/test-fenv.c: Likewise.
21063         * math/test-misc.c: Likewise.
21064         * stdlib/bug-getcontext.c: Likewise.
21066 2012-05-17  Andreas Jaeger  <aj@suse.de>
21068         * manual/examples/search.c (critter_cmp): Change signature to
21069         avoid warnings.
21070         * manual/string.texi (Collation Functions): Likewise.
21072 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
21074         * bits/types.h: Fold copyright years.
21075         * bits/typesizes.h: Likewise.
21076         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
21077         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
21078         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
21079         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
21080         * time/time.h: Likewise.
21082 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
21084         [BZ #208]
21085         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
21086         in instead of returning them.  Return void.
21087         (__libc_mallinfo): Accumulate over all arenas.
21088         (__malloc_stats): Adjust for change in int_mallinfo interface.
21090 2012-05-16  Roland McGrath  <roland@hack.frob.com>
21092         [BZ #10375]
21093         * configure.in (NM): Add AC_CHECK_TOOL for it.
21094         (libc_extra_cflags): New substituted variable.
21095         Check for -fstack-protector being used implicitly.
21096         * configure: Regenerated.
21097         * config.make.in (config-extra-cflags): New variable,
21098         gets @libc_extra_cflags@.
21099         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
21101         [BZ #10375]
21102         * configure.in: Check for _FORTIFY_SOURCE being predefined.
21103         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
21104         * configure: Regenerated.
21105         * config.make.in (CPPUNDEFS): New substituted variable.
21106         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
21107         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
21108         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
21110 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
21112         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
21113         (mq_attr): Use __syscall_slong_t.
21115 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
21117         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
21118         Check __x86_64__ instead of __WORDSIZE.
21119         (_STAT_VER_LINUX): Likewise.
21120         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
21121         __syscall_ulong_t and __syscall_slong_t.
21122         (stat64): Likewise.
21124 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
21126         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
21128 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
21130         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
21132 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
21134         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
21135         __syscall_ulong_t.
21137         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
21138         include <bits/wordsize.h>.  Check __x86_64__ instead of
21139         __WORDSIZE.
21140         (greg_t): Use "__extension__ long long int" if __x86_64__ is
21141         defined.
21142         (mcontext_t): Replace "unsigned long" with "unsigned long long".
21144         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
21145         include <bits/wordsize.h>.  Check __x86_64__ instead of
21146         __WORDSIZE.
21147         (user_regs_struct): Use "__extension__ unsigned long long"
21148         instead of "unsigned long" if __x86_64__ is defined.
21149         (user): Likewise.  Pad after pointer field if __ILP32__ is
21150         defined.
21152 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
21154         * configure.in (makeinfo): Require version 4.5 or later.  Allow
21155         versions 5 to 9.
21156         * configure: Regenerated.
21157         * manual/install.texi (texinfo): Increase version requirement to
21158         4.5 or later.
21159         * INSTALL: Regenerated.
21161         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
21163 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
21165         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
21167         * sysdeps/x86_64/x32/ffs.c: New file.
21169         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
21170         __syscall_ulong_t.
21171         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
21172         defined.  Use __syscall_ulong_t.
21173         (shminfo): Use __syscall_ulong_t.
21174         (shm_info): Likewise.
21176         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
21177         __syscall_ulong_t.
21179         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
21180         <bits/wordsize.h>.
21181         (msgqnum_t): Use __syscall_ulong_t.
21182         (msglen_t): Likewise.
21183         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
21184         __syscall_ulong_t.
21186         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
21187         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
21189         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
21191         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
21192         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
21194         * sysvipc/sys/msg.h (msgbuf): Replace long int with
21195         __syscall_slong_t.
21197         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
21198         include <bits/wordsize.h>.  Check __x86_64__ instead of
21199         __WORDSIZE.
21201         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
21202         "unsigned long long int" if __x86_64__ is defined.
21203         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
21205         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
21206         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
21207         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
21209         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
21210         <stdint.h>.
21211         (GET_PC): Cast to uintptr_t first.
21212         (GET_FRAME): Likewise.
21213         (GET_STACK): Likewise.
21215         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
21216         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
21217         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
21218         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
21219         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
21220         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
21221         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
21222         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
21223         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
21224         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
21225         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
21226         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
21227         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21228         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
21229         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
21230         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
21231         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
21232         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
21233         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
21234         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
21235         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
21236         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
21237         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
21238         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
21239         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
21240         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
21241         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
21242         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
21243         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
21245 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
21247         * Makerules (+depfiles): Also collect depfiles from .oS in
21248         $(extra-objs).
21249         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
21250         .oS, $(libnldbl-routines)).
21252         * Makerules (native-compile-mkdep-flags): Define.
21253         * sunrpc/Makefile (extra-objs): Add $(addprefix
21254         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
21255         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
21256         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
21257         calling $(make-target-directory).
21259 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21261         * bits/types.h (__snseconds_t): Removed.
21262         * time/time.h (struct timespec): Replace __snseconds_t with
21263         __syscall_slong_t.
21264         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
21265         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
21266         Likewise.
21267         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21268         (__SNSECONDS_T_TYPE): Likewise.
21269         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21270         (__SNSECONDS_T_TYPE): Likewise.
21271         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21272         (__SNSECONDS_T_TYPE): Likewise.
21274 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21276         * sysdeps/mach/hurd/bits/typesizes.h
21277         (__SYSCALL_SLONG_TYPE): New macro.
21278         (__SYSCALL_ULONG_TYPE): Likewise.
21280 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21282         * bits/types.h (__syscall_slong_t): New type.
21283         (__syscall_ulong_t): Likewise.
21285         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
21286         (__SYSCALL_ULONG_TYPE): Likewise.
21287         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21288         (__SYSCALL_SLONG_TYPE): Likewise.
21289         (__SYSCALL_ULONG_TYPE): Likewise.
21290         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21291         (__SYSCALL_SLONG_TYPE): Likewise.
21292         (__SYSCALL_ULONG_TYPE): Likewise.
21293         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21294         (__SYSCALL_SLONG_TYPE): Likewise.
21295         (__SYSCALL_ULONG_TYPE): Likewise.
21297 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21299         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
21300         Add sigaltstack-offsets.sym.
21301         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
21302         <sigaltstack-offsets.h>.
21303         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
21304         longjmp_msg pointer.
21305         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
21306         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
21307         signal stack.
21308         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
21310 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
21312         * elf/stackguard-macros.h: Remove file.
21313         * sysdeps/generic/stackguard-macros.h: New file.
21314         * sysdeps/i386/stackguard-macros.h: Likewise.
21315         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21316         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21317         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21318         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21319         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21320         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21321         * sysdeps/x86_64/stackguard-macros.h: Likewise.
21322         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
21323         <elf/stackguard-macros.h>.
21325         [BZ #14109]
21326         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
21327         __aligned__ in attribute.
21328         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
21329         (gregset_t): Likewise.
21331 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21333         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
21334         * sysdeps/x86_64/64/Implies-after: Here.  New file.
21335         * sysdeps/x86_64/x32/Implies-after: New file.
21337 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21339         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
21340         and access return value for _dl_profile_fixup.  Use R10_LP to
21341         load frame size.
21343 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21345         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
21347 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21349         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
21350         * sysdeps/x86_64/x32/sysdep.h: New file.
21352 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21354         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
21355         * sysdeps/x86_64/setjmp.S: Likewise.
21357 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21359         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
21360         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
21361         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
21362         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
21363         remove unused global constant.
21365 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
21367         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
21368         include of <not-cancel.h>.
21370 2012-05-15  Roland McGrath  <roland@hack.frob.com>
21372         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
21374 2012-05-15  Jeff Law  <law@redhat.com>
21375             Andreas Jaeger  <aj@suse.de>
21377         [BZ #13594]
21378         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
21379         out from...
21380         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
21381         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
21382         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
21383         code changing __hst_map_handle.map.
21385 2012-05-15  Roland McGrath  <roland@hack.frob.com>
21387         * configure.in (sysnames): Look for Implies-before and Implies-after
21388         files.
21389         * configure: Regenerated.
21391 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21393         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
21394         8-byte data alignment with LP_SIZE alignment.
21396 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21398         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
21399         into R10_LP.
21401 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21403         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
21405 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21407         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
21408         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
21409         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
21410         Likewise.
21411         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21413 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21415         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
21416         (stackinfo_sub_sp): Likewise.
21418 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21420         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
21421         RAX_LP.
21423 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21425         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
21426         into R*_LP.
21428 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21430         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
21431         sizes into R*_LP.
21433 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21435         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
21437 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21439         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
21440         into R11_LP and load __x86_64_shared_cache_size_half into
21441         R8_LP.
21443 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21445         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
21446         R8_LP.
21448 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21450         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
21451         logb for POWER7.
21452         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
21453         logbf for POWER7.
21454         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
21455         logbl for POWER7.
21456         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
21457         powerpc32/power7/fpu/s_logb.c via #include.
21458         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
21459         powerpc32/power7/fpu/s_logbf.c via #include.
21460         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
21461         powerpc32/power7/fpu/s_logbl.c via #include.
21463 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
21465         * README.libm: Remove file.
21467 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21469         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
21470         count for x32.  Use R*_LP and omit operand-size suffix.
21472 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21474         * shlib-versions: Move x86_64-.*-linux.* entries to ...
21475         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
21476         * sysdeps/x86_64/x32/shlib-versions: New file.
21478 2012-05-14  Roland McGrath  <roland@hack.frob.com>
21480         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
21481         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
21482         Use _dl_fatal_printf instead.
21484 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
21486         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
21487         set if not set by the user.  Do not allow for being unset.
21488         * sysdeps/unix/sysv/linux/configure: Regenerated.
21490 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21492         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
21493         the `q' suffix from lea and replace .quad with ASM_ADDR.
21495 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21497         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
21498         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
21499         instead of $17.
21500         (PTR_DEMANGLE): Likewise.
21502 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21504         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
21505         (LP_OP): Likewise.
21506         (ASM_ADDR): Likewise.
21507         (RAX_LP): Likewise.
21508         (RBP_LP): Likewise.
21509         (RBX_LP): Likewise.
21510         (RCX_LP): Likewise.
21511         (RDI_LP): Likewise.
21512         (RSI_LP): Likewise.
21513         (RSP_LP): Likewise.
21514         (R8_LP): Likewise.
21515         (R9_LP): Likewise.
21516         (R10_LP): Likewise.
21517         (R10_LP): Likewise.
21518         (R11_LP): Likewise.
21519         (R12_LP): Likewise.
21520         (R13_LP): Likewise.
21521         (R14_LP): Likewise.
21522         (R15_LP): Likewise.
21524 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21526         * sysdeps/x86_64/x32/dl-machine.h: New file.
21528 2012-05-14  Andreas Jaeger  <aj@suse.de>
21530         * manual/Makefile (subdir): Remove export of subdir.
21531         (all): Remove target.
21532         (.PHONY): Remove all from list.
21533         (mkinstalldirs): Remove.
21534         (.PHONY): Remove installdirs from list.
21535         ($(inst_infodir)/libc.info): Use make-target-directory.
21536         (installdirs): Remove.
21537         (subdir_%): Remove.
21538         (glibc-targets): Remove.
21539         (lib): Remove.
21540         (stubs): Remove.
21541         ($(objpfx)stubs ../po/manual.pot): Remove.
21542         ($(objpfx)stamp%): Remove.
21543         (make-target-directory): Remove.
21544         (subdir_install): Remove.
21545         (routines): Remove.
21546         (aux): Remove.
21547         (sources): Remove.
21548         (objects): Remove.
21549         (headers): Remove.
21551         [BZ #13750]
21552         * manual/.gitignore: Remove, it's not needed anymore.
21553         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
21554         all files in it.
21555         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
21556         directory.
21557         (texis): Renamed to $(objpfx)texis.
21558         (texis-path): New, contains path to generated files.
21559         (chapters.%): Use texis-path for complete path, add extra argument
21560         libc-texinfo.sh.
21561         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
21562         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
21563         (summary,texi, stamp-summary): Use complete path of
21564         files. Generate files in build dir.
21565         (dir-add.texi): Build in build dir.
21566         (libm-err.texi,stamp-libm-err): Likewise.
21567         (version.texi, stamp-version): Likewise.
21568         (.%c.texi): Likewise.
21569         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
21570         (mostlyclean): Remove target.
21571         (realclean): Remove target.
21572         (generated): Add new variable with contents from mostlyclean and
21573         realclean, remove entries duplicated in common-mostlyclean, add
21574         stamp-libm-err and stamp-version.
21575         (generated-dirs): Add libc directory.
21576         ($(inst_infodir)/libc.info): Install files from build dir.
21578         * manual/install.texi (Configuring and compiling): Adjust since
21579         the info files are not part of the tar ball anymore.
21581 2012-05-14  Andreas Jaeger  <aj@suse.de>
21583         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
21584         variable.
21586 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
21588         [BZ #13717]
21589         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21590         to 2.2.0 where earlier.
21591         * sysdeps/unix/sysv/linux/configure: Regenerated.
21592         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
21593         Remove conditional code.
21594         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
21595         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
21596         Remove conditional code.
21597         [!__NR_lchown]: Likewise.
21598         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21599         [__NR_lchown]: Likewise.
21600         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
21601         comment referencing __ASSUME_LCHOWN_SYSCALL.
21602         * sysdeps/unix/sysv/linux/i386/sigaction.c
21603         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21604         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21605         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
21606         Remove conditional code.
21607         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
21608         (__protocol_available): Remove #if 0 code.
21609         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
21610         conditional code.
21611         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
21612         * sysdeps/unix/sysv/linux/kernel-features.h
21613         (__ASSUME_GETCWD_SYSCALL): Don't define.
21614         (__ASSUME_REALTIME_SIGNALS): Likewise.
21615         (__ASSUME_PREAD_SYSCALL): Likewise.
21616         (__ASSUME_PWRITE_SYSCALL): Likewise.
21617         (__ASSUME_POLL_SYSCALL): Likewise.
21618         (__ASSUME_LCHOWN_SYSCALL): Likewise.
21619         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
21620         non-SPARC.
21621         (__ASSUME_SIOCGIFNAME): Don't define.
21622         (__ASSUME_MSG_NOSIGNAL): Likewise.
21623         (__ASSUME_SENDFILE): Define unconditionally.
21624         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
21625         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
21626         conditional code.
21627         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
21628         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
21629         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21630         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21631         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
21632         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21633         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
21635         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21636         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21638         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21639         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
21641         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21642         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
21644         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21645         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
21647         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21648         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
21650         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21651         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
21653         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21654         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
21656         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21657         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21658         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
21659         Remove conditional code.
21660         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21661         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21662         Remove conditional code.
21663         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21664         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
21665         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
21666         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21667         Remove conditional code.
21668         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21669         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
21670         Remove conditional code.
21671         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21672         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
21673         Remove conditional code.
21674         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21675         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21676         Remove conditional code.
21677         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21678         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21679         Remove conditional code.
21680         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21681         * sysdeps/unix/sysv/linux/sh/pwrite64.c
21682         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21683         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21684         * sysdeps/unix/sysv/linux/sigaction.c
21685         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21686         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21687         * sysdeps/unix/sysv/linux/sigpending.c
21688         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21689         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21690         * sysdeps/unix/sysv/linux/sigprocmask.c
21691         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21692         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21693         * sysdeps/unix/sysv/linux/sigsuspend.c
21694         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21695         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21696         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21697         (__libc_missing_rt_sigs): Remove.
21698         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
21699         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
21700         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
21701         Remove conditional code.
21702         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
21703         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
21704         return 1.
21705         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
21706         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
21707         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
21708         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
21710 2012-05-14  Andreas Jaeger  <aj@suse.de>
21712         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
21713         it's not used in glibc.
21714         (__coshm1): Likewise.
21715         (__acosh1p): Likewise.
21716         (__sgn): Likewise.
21718         * manual/string.texi (Copying and Concatenation): Add missing
21719         variable in concat example.
21720         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21722 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21724         [BZ #14103]
21725         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
21726         __builtin_clzl with __builtin_clzll.
21728 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21730         [BZ #14104]
21731         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
21732         libc_freeres_ptr.
21734 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21736         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
21737         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
21738         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
21739         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
21741 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
21743         * NEWS: Update ia64 info.
21745 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
21747         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
21748         used as bcopy.
21750 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
21752         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
21753         * sysdeps/unix/syscalls.list (dup3): Likewise.
21754         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
21755         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
21757 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
21759         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
21760         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
21762 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
21764         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
21765         thread pointer.
21766         (TLS_IE): Use mov/add instead of movq/addq to load thread
21767         pointer.
21768         (TLS_GD_PREFIX): New.
21769         (TLS_GD): Use it.
21771 2012-05-11  David S. Miller  <davem@davemloft.net>
21773         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
21774         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
21775         (_FPU_SETCW): Likewise.
21777 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
21779         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
21780         is 32-byte aligned.
21782 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
21784         [BZ #11837]
21785         * iconvdata/gb18030.c: Update tables.
21786         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
21787         characters specially.
21788         (BODY for TO_LOOP): Add encoding of missing ranges.
21790 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
21792         [BZ #13673]
21793         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
21794         * sysdeps/mach/hurd/dup3.c: Likewise.
21795         * sysdeps/mach/hurd/readlinkat.c: Likewise.
21796         * sysdeps/powerpc/memmove.c:: Likewise.
21798 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
21800         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
21801         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
21803 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
21805         * elf/elf.h (R_X86_64_RELATIVE64): New.
21806         (R_X86_64_NUM): Updated.
21807         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21808         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
21809         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
21810         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
21811         tst-quad1pie tst-quad2pie
21812         (modules-names): Add tst-quadmod1 tst-quadmod2.
21813         ($(objpfx)tst-quad1): New dependency.
21814         ($(objpfx)tst-quad2): Likewise.
21815         ($(objpfx)tst-quad1pie): Likewise.
21816         ($(objpfx)tst-quad2pie): Likewise.
21817         * sysdeps/x86_64/tst-quad1.c: New file.
21818         * sysdeps/x86_64/tst-quad1pie.c: New file.
21819         * sysdeps/x86_64/tst-quad2.c: Likewise.
21820         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
21821         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
21822         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
21823         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
21824         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
21826 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21828         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
21829         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
21830         * streams/stropts.h (t_scalar_t): Define type.
21832         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
21833         (_PATH_PRESERVE): Set to "/var/lib".
21834         (_PATH_RWHODIR): Set to "/var/spool/rwho".
21836         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
21837         instead of int.
21839         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
21840         if __dir_mkfile succeeded.
21842         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
21843         checking for _hurd_dtablesize.  Unlock it right after having
21844         finished _hurd_dtable allocation.
21846 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21848         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
21849         * sysdeps/mach/hurd/configure: Regenerated.
21850         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
21851         special-casing to...
21852         * sysdeps/gnu/configure.in: ... this new file.
21853         * sysdeps/unix/sysv/linux/configure: Regenerated.
21854         * sysdeps/gnu/configure: New generated file.
21856         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
21857         for Linux: use nsec instead of usec, as well as:
21858         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
21859         members of type struct timespec.
21860         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
21861         New macros.
21862         (struct stat64): Likewise.
21863         (_STATBUF_ST_NSEC): New macro.
21864         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
21866         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21867         __strtoul_internal rather than strtoul.
21869 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21871         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
21872         and reject them.
21874 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21876         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
21877         which preserves existing values.
21878         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
21880 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21882         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
21883         TIMEOUT values.  Return EINVAL for NFDS values either negative or
21884         greater than FD_SETSIZE.
21886 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21888         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
21889         allocated, call __vm_protect to finish enabling the existing space, and
21890         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
21891         allocate the remainder.
21893 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21895         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
21896         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
21898 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21900         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
21901         sysdeps/mach/hurd/readlink.c.
21903         * posix/tst-sysconf.c (posix_options): Only use
21904         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
21905         _POSIX_SYNCHRONIZED_IO when they are defined
21906         * sysdeps/mach/hurd/bits/posix_opt.h:
21907         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
21908         (_XOPEN_REALTIME): Undefine macro.
21909         (_XOPEN_REALTIME_THREADS): Undefine macro.
21910         (_XOPEN_SHM): Undefine macro.
21911         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
21912         macro to -1.
21913         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
21914         macro to -1.
21915         (_POSIX_ASYNC_IO): Undefine macro.
21916         (_POSIX_PRIORITIZED_IO): Undefine macro.
21917         (_POSIX_SPIN_LOCKS): Define macro to -1.
21919         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
21920         SA_NODEFER, SA_RESETHAND.
21921         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
21922         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
21923         F_DUPFD_CLOEXEC.
21925 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21927         * elf/Makefile (pldd-modules): Define unconditionally.
21929 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21931         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
21933 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21935         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
21936         Return ENOENT when name is empty.
21937         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
21939 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21941         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
21943         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
21945 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21947         Fix mlock in all cases except non-readable pages.
21948         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
21949         instead of VM_PROT_ALL as parameter to __vm_wire function.
21951         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
21952         (__mkdir): When path is `/', just fail with EEXIST.
21953         * sysdeps/mach/hurd/mkdirat.c: Likewise.
21955 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21957         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
21958         <sys/uio.h> (for writev).
21959         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
21960         and <sys/param.h> (for MIN).
21962 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21964         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
21965         REQUESTED_TIME.  Properly set the remaining time and return EINTR
21966         if interrupted.
21968 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21970         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
21971         Depend on against $(link-rpcuserlibs).
21973 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21975         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
21976         (__libc_stack_end): Do not use attribute_relro.
21977         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
21978         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
21979         to libthread-provided value.
21980         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
21981         attribute_relro.
21983 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21985         [BZ #3748]
21986         * bits/libc-lock.h (__libc_once_get): New macro.
21987         * sysdeps/mach/bits/libc-lock.h: Likewise.
21988         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
21989         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
21990         instead of using implementation details.
21992         * libio/fileops.c: Unconditionally include <kernel-features.h>.
21993         * libio/freopen.c: Likewise.
21994         * libio/freopen64.c: Likewise.
21995         * misc/syslog.c: Likewise.
21996         * nscd/connections.c: Likewise.
21997         * nscd/netgroupcache.c: Likewise.
21998         * sysdeps/posix/getcwd.c: Likewise.
22000 2012-05-10  Roland McGrath  <roland@hack.frob.com>
22002         * math/w_ilogbf.c: Add #include <limits.h>.
22004 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22006         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
22007         path instead of returning without unlocking.
22009         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
22010         immediate-write ioctls.
22011         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
22013 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
22015         * sysdeps/mach/hurd/i386/init-first.c (init): Use
22016         __builtin_frame_address instead of making assumptions about the
22017         location of the return address relative to DATA.  Force early load of
22018         the return address.
22019         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
22020         __builtin_frame_address.
22022         dup3 for GNU Hurd.
22023         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
22024         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
22025         implement dup3 and do some further code clean-ups.
22026         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
22027         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
22029 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22031         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
22033         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
22034         HURD_CRITICAL_END around holding _hurd_dtable_lock.
22035         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
22036         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
22037         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
22038         d->port.lock.
22040         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
22041         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
22042         when handler == SIG_ERR, not when handler != SIG_ERR.
22044 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
22046         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
22047         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
22048         definitions.
22050         accept4 for GNU Hurd.
22051         * include/sys/socket.h (__libc_accept4): New prototype.
22052         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
22053         to implement __libc_accept4.
22054         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
22055         __libc_accept4.
22056         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
22058         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
22059         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
22060         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
22061         signal-defines.sym.
22063 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22065         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
22067 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
22069         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
22070         assertion on O_CLOEXEC flag.
22071         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
22072         * hurd/intern-fd.c: Likewise.
22073         * hurd/port2fd.c: Likewise.
22075 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22077         [BZ #3906]
22078         * bits/in.h (IPV6_PKTINFO): Define new macro.
22079         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
22081 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22083         [BZ #13954]
22084         [BZ #13955]
22085         [BZ #13956]
22086         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
22087         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22088         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
22089         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22090         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22091         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22092         * math/libm-test.inc (logb_test) : Additional logb tests.
22094 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
22095             Andreas Jaeger  <aj@suse.de>
22097         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
22098         * configure: Regenerated.
22099         * config.h.in (LINK_OBSOLETE_RPC): New macro.
22100         * config.make.in (link-obsolete-rpc): New substituted variable.
22101         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
22102         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
22103         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22104         (shared-only-routines): Don't set it under [link-obsolete-rpc],
22105         so that libc.a contains the symbols.
22106         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22107         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
22108         * sunrpc/auth_none.c: Likewise.
22109         * sunrpc/auth_unix.c: Likewise.
22110         * sunrpc/authdes_prot.c: Likewise.
22111         * sunrpc/authuxprot.c: Likewise.
22112         * sunrpc/clnt_gen.c: Likewise.
22113         * sunrpc/clnt_perr.c: Likewise.
22114         * sunrpc/clnt_raw.c: Likewise.
22115         * sunrpc/clnt_simp.c: Likewise.
22116         * sunrpc/clnt_tcp.c: Likewise.
22117         * sunrpc/clnt_udp.c: Likewise.
22118         * sunrpc/clnt_unix.c: Likewise.
22119         * sunrpc/des_crypt.c: Likewise.
22120         * sunrpc/des_soft.c: Likewise.
22121         * sunrpc/get_myaddr.c: Likewise.
22122         * sunrpc/key_call.c: Likewise.
22123         * sunrpc/key_prot.c: Likewise.
22124         * sunrpc/netname.c: Likewise.
22125         * sunrpc/pm_getmaps.c: Likewise.
22126         * sunrpc/pm_getport.c: Likewise.
22127         * sunrpc/pmap_clnt.c: Likewise.
22128         * sunrpc/pmap_prot.c: Likewise.
22129         * sunrpc/pmap_prot2.c: Likewise.
22130         * sunrpc/pmap_rmt.c: Likewise.
22131         * sunrpc/publickey.c: Likewise.
22132         * sunrpc/rpc_cmsg.c: Likewise.
22133         * sunrpc/rpc_common.c: Likewise.
22134         * sunrpc/rpc_dtable.c: Likewise.
22135         * sunrpc/rpc_prot.c: Likewise.
22136         * sunrpc/rpc_thread.c: Likewise.
22137         * sunrpc/rtime.c: Likewise.
22138         * sunrpc/svc.c: Likewise.
22139         * sunrpc/svc_auth.c: Likewise.
22140         * sunrpc/svc_raw.c: Likewise.
22141         * sunrpc/svc_run.c: Likewise.
22142         * sunrpc/svc_tcp.c: Likewise.
22143         * sunrpc/svc_udp.c: Likewise.
22144         * sunrpc/svc_unix.c: Likewise.
22145         * sunrpc/svcauth_des.c: Likewise.
22146         * sunrpc/xcrypt.c: Likewise.
22147         * sunrpc/xdr.c: Likewise.
22148         * sunrpc/xdr_array.c: Likewise.
22149         * sunrpc/xdr_float.c: Likewise.
22150         * sunrpc/xdr_intXX_t.c: Likewise.
22151         * sunrpc/xdr_mem.c: Likewise.
22152         * sunrpc/xdr_rec.c: Likewise.
22153         * sunrpc/xdr_ref.c: Likewise.
22154         * sunrpc/xdr_sizeof.c: Likewise.
22155         * sunrpc/xdr_stdio.c: Likewise.
22157 2012-05-10  Roland McGrath  <roland@hack.frob.com>
22159         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
22160         change.  Update copyright years.
22162 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
22164         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
22166 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
22167             Joseph Myers  <joseph@codesourcery.com>
22168             Paul Pluzhnikov  <ppluzhnikov@google.com>
22170         [BZ #14012]
22171         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
22172         requiring rpcgen.
22173         [cross-compiling] (extra-libs): Likewise.
22174         [cross-compiling] (extra-libs-others): Likewise.
22175         [cross-compiling] (librpcsvc-routines): Likewise.
22176         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
22177         [cross-compiling] (omit-deps): Likewise.
22178         (sunrpc-CPPFLAGS): New variable.
22179         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
22180         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
22181         (cross-rpcgen-objs): New variable.
22182         (extra-objs): Append $(cross-rpcgen-objs).
22183         ($(cross-rpcgen-objs)): New rule.
22184         ($(objpfx)cross-rpcgen): Likewise.
22185         (rpcgen-cmd): Define to use $(built-program-file).  Expand
22186         comment.
22187         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
22188         ($(objpfx)x%.stmp): Likewise.
22189         * sunrpc/proto.h [IS_IN_build] (_): Define.
22190         [IS_IN_build] (_libc_intl_domainname): Likewise.
22192 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
22194         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
22195         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
22196         and R_X86_64_TPOFF64.
22198 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
22200         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
22201         sysdeps/unix/sysv/syscalls.list.
22202         (stime): Likewise.
22203         (utime): Likewise.
22204         * sysdeps/unix/sysv/syscalls.list: Remove file.
22206 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
22208         [BZ #3440]
22209         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
22210         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
22211         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
22212         (__LC_IDENTIFICATION): Make these macros useful in #if
22213         expressions, as required by C99.
22215 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
22217         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
22218         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
22219         after this.
22221 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
22223         * stdlib/longlong.h: Updated from GCC.
22225 2012-05-09  Andreas Jaeger  <aj@suse.de>
22227         * nscd/nscd.c (run_modes): Make named enum, reorder so that
22228         default is first entry.
22229         (run_mode): Set type.
22230         (main): Remove informal message about syslog.
22231         (options): Fix typo.
22233         [BZ #14053]
22234         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
22235         to asm.
22236         (lrint): Likewise.
22237         (llrintf): Likewise.
22238         (llrint): Likewise.
22239         (rint): Likewise.
22240         (rintf): Likewise.
22241         (nearbyint): Likewise.
22242         (nearbyintf): Likewise.
22244 2012-05-09  Andreas Jaeger  <aj@suse.de>
22245             Pedro Alves  <palves@redhat.com>
22247         * nscd/nscd.c (run_mode): Use enum.
22248         (main): Cleanup coding style issue.
22250 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
22251             Andreas Jaeger  <aj@suse.de>
22253         * nscd/nscd.c (go_background): Replaced with...
22254         (run_mode): ... this.
22255         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
22256         (options): Add -F --foreground.
22257         (main): Implement it.
22258         (parse_opt): Parse it.
22260 2012-05-09  Andreas Jaeger  <aj@suse.de>
22262         [BZ #14083]
22263         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
22264         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
22265         -Wconversion warning.
22266         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
22267         Likewise.
22269 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
22271         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
22272         == 0.
22273         (LC_ALL): Use macro-int-constant.
22274         (LC_COLLATE): Likewise.
22275         (LC_CTYPE): Likewise.
22276         (LC_MESSAGES): Likewise.
22277         (LC_MONETARY): Likewise.
22278         (LC_NUMERIC): Likewise.
22279         (LC_TIME): Likewise.
22280         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
22281         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22282         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22283         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
22284         Specify type.
22285         [C99-based standards] (float_t): Expect type.
22286         [C99-based standards] (double_t): Expect type.
22287         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
22288         type.
22289         [C99-based standards] (HUGE_VALL): Likewise.
22290         [C99-based standards] (INFINITY): Likewise.
22291         [C99-based standards] (NAN): Likewise.
22292         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
22293         [C99-based standards] (FP_NAN): Likewise.
22294         [C99-based standards] (FP_NORMAL): Likewise.
22295         [C99-based standards] (FP_SUBNORMAL): Likewise.
22296         [C99-based standards] (FP_ZERO): Likewise.
22297         [C99-based standards] (FP_FAST_FMA): Use
22298         optional-macro-int-constant.  Specify type.  Require == 1.
22299         [C99-based standards] (FP_FAST_FMAF): Likewise.
22300         [C99-based standards] (FP_FAST_FMAL): Likewise.
22301         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
22302         [C99-based standards] (FP_ILOGBNAN): Likewise.
22303         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
22304         Specify type.
22305         [C99-based standards] (MATH_ERREXCEPT): Likewise.
22306         [C99-based standards] (math_errhandling): Specify type.
22307         [ISO99 || ISO11] (signgam): Do not allow.
22308         [non-C99-based standards] (copysignf): Do not allow.
22309         [non-C99-based standards] (exp2f): Likewise.
22310         [non-C99-based standards] (log2f): Likewise.
22311         [non-C99-based standards] (modff): Allow.
22312         [non-C99-based standards] (erff): Do not allow.
22313         [non-C99-based standards] (erfcf): Likewise.
22314         [non-C99-based standards] (gammaf): Likewise.
22315         [non-C99-based standards] (hypotf): Likewise.
22316         [non-C99-based standards] (j0f): Likewise.
22317         [non-C99-based standards] (j1f): Likewise.
22318         [non-C99-based standards] (jnf): Likewise.
22319         [non-C99-based standards] (lgammaf): Likewise.
22320         [non-C99-based standards] (tgammaf): Likewise.
22321         [non-C99-based standards] (y0f): Likewise.
22322         [non-C99-based standards] (y1f): Likewise.
22323         [non-C99-based standards] (ynf): Likewise.
22324         [non-C99-based standards] (isnanf): Likewise.
22325         [non-C99-based standards] (acoshf): Likewise.
22326         [non-C99-based standards] (asinhf): Likewise.
22327         [non-C99-based standards] (atanhf): Likewise.
22328         [non-C99-based standards] (cbrtf): Likewise.
22329         [non-C99-based standards] (expm1f): Likewise.
22330         [non-C99-based standards] (ilogbf): Likewise.
22331         [non-C99-based standards] (log1pf): Likewise.
22332         [non-C99-based standards] (logbf): Likewise.
22333         [non-C99-based standards] (nextafterf): Likewise.
22334         [non-C99-based standards] (remainderf): Likewise.
22335         [non-C99-based standards] (rintf): Likewise.
22336         [non-C99-based standards] (scalbf): Likewise.
22337         [non-C99-based standards] (copysignl): Likewise.
22338         [non-C99-based standards] (exp2l): Likewise.
22339         [non-C99-based standards] (log2l): Likewise.
22340         [non-C99-based standards] (modfl): Allow.
22341         [non-C99-based standards] (erfl): Do not allow.
22342         [non-C99-based standards] (erfcl): Likewise.
22343         [non-C99-based standards] (gammal): Likewise.
22344         [non-C99-based standards] (hypotl): Likewise.
22345         [non-C99-based standards] (j0l): Likewise.
22346         [non-C99-based standards] (j1l): Likewise.
22347         [non-C99-based standards] (jnl): Likewise.
22348         [non-C99-based standards] (lgammal): Likewise.
22349         [non-C99-based standards] (tgammal): Likewise.
22350         [non-C99-based standards] (y0l): Likewise.
22351         [non-C99-based standards] (y1l): Likewise.
22352         [non-C99-based standards] (ynl): Likewise.
22353         [non-C99-based standards] (isnanl): Likewise.
22354         [non-C99-based standards] (acoshl): Likewise.
22355         [non-C99-based standards] (asinhl): Likewise.
22356         [non-C99-based standards] (atanhl): Likewise.
22357         [non-C99-based standards] (cbrtl): Likewise.
22358         [non-C99-based standards] (expm1l): Likewise.
22359         [non-C99-based standards] (ilogbl): Likewise.
22360         [non-C99-based standards] (log1pl): Likewise.
22361         [non-C99-based standards] (logbl): Likewise.
22362         [non-C99-based standards] (nextafterl): Likewise.
22363         [non-C99-based standards] (remainderl): Likewise.
22364         [non-C99-based standards] (rintl): Likewise.
22365         [non-C99-based standards] (scalbl): Likewise.
22366         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22367         [non-C99-based standards] (FP_*): Do not allow.
22368         [C99-based standards] (FP_*): Change to
22369         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22370         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22371         allow.
22372         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
22373         (SIG_ERR): Likewise.
22374         [X/Open-based standards] (SIG_HOLD): Likewise.
22375         (SIG_IGN): Likewise.
22376         (SIGABRT): Use macro-int-constant.  Specify type.  Require
22377         positive value.
22378         (SIGFPE): Likewise.
22379         (SIGILL): Likewise.
22380         (SIGINT): Likewise.
22381         (SIGSEGV): Likewise.
22382         (SIGTER): Likewise.
22383         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
22384         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
22385         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
22386         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
22387         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
22388         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
22389         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
22390         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
22391         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
22392         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
22393         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
22394         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
22395         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
22396         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
22397         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
22398         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
22399         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
22400         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
22401         [X/Open-based standards] (SIGTRAP): Likewise.
22402         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
22403         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
22404         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
22405         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
22406         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22407         allow.
22409 2012-05-08  Ian Wienand  <ianw@vmware.com>
22411         [BZ #14080]
22412         * time/tzset.c (__tzset_parse_tz): Update default rules for
22413         daylight time changes in the Energy Policy Act of 2005.
22415 2012-05-09  Andreas Jaeger  <aj@suse.de>
22417         [BZ #13983]
22418         * elf/ldconfig.c (parse_conf): Change string to make clear that
22419         ldconfig only issued a warning if ld.so.conf does not exist.
22421 2012-05-08  David S. Miller  <davem@davemloft.net>
22423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
22424         movxtod instead of popping the value on the stack.
22426         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22428 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
22430         * config.h.in: Add HAVE_ARM_PCS_VFP.
22432 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
22434         [BZ #13979]
22435         * include/features.h: Warn if user requests __FORTIFY_SOURCE
22436         checking but the checks are disabled for any reason.
22438 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
22440         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
22441         and ELF64_R_TYPE with ELFW(R_TYPE).
22443 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
22445         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
22446         (ulimit): Likewise.
22448         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
22449         (settimeofday): Likewise.
22451 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
22453         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
22454         a struct th_u2 inside the union, and move tu_block/tu_code into
22455         a new th_u3 union of tu_block/tu_code inside of that.  Move
22456         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
22457         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
22458         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
22459         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
22460         (th_stuff): Change to th_u1.tu_stuff.
22461         (th_data): Define.
22462         (th_msg): Change to th_u1.th_u2.tu_data.
22464 2012-05-07  David S. Miller  <davem@davemloft.net>
22466         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22468         [BZ #14074]
22469         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
22470         (SETUP_PIC_REG): Use it.
22471         (SETUP_PIC_REG_LEAF): Use it.
22473 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
22475         [BZ #13885]
22476         [BZ #13923]
22477         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22478         USE_AS_EXPM1L.
22479         (EXPL_FINITE): Likewise.
22480         (FLDLOG): Likewise.
22481         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22482         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22483         e_expl.S.
22484         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22485         USE_AS_EXPM1L.
22486         (EXPL_FINITE): Likewise.
22487         (FLDLOG): Likewise.
22488         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22489         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22490         e_expl.S.
22491         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
22492         test of -max_value argument for long double.
22493         * sysdeps/i386/fpu/libm-test-ulps: Update.
22494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22496 2012-05-06  David S. Miller  <davem@davemloft.net>
22498         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
22499         quad soft-float symbols whose references which are compiler
22500         generated.
22501         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22503 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
22505         [BZ #13884]
22506         [BZ #13914]
22507         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22508         USE_AS_EXP10L.
22509         (EXPL_FINITE): Likewise.
22510         (FLDLOG): Likewise.
22511         (c0): Likewise.
22512         (c1): Likewise.
22513         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
22514         Adjust comments for base varying.
22515         (__expl_finite): Change alias to EXPL_FINITE.
22516         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
22517         e_expl.S.
22518         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
22519         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
22520         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22521         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
22522         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22523         USE_AS_EXP10L.
22524         (EXPL_FINITE): Likewise.
22525         (FLDLOG): Likewise.
22526         (c0): Likewise.
22527         (c1): Likewise.
22528         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
22529         Adjust comments for base varying.
22530         (__expl_finite): Change alias to EXPL_FINITE.
22531         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
22532         tests for bugs.
22533         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22535         [BZ #14064]
22536         * math/libm-test.inc (check_float_internal): Correct ulp
22537         calculation for subnormal expected results.
22539 2012-05-06  Andreas Jaeger  <aj@suse.de>
22541         * Makeconfig (+math-flags): New, set to -frounding-math.
22542         (+cflags): Add +math-flags so that all of glibc gets compiled with
22543         it.
22545         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
22547 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
22549         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
22550         Disable one test.
22552         [BZ #13787]
22553         [BZ #13922]
22554         [BZ #14036]
22555         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
22556         (__ieee754_expl): Allow for and saturate large arguments.
22557         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
22558         (u_threshold): Likewise.
22559         (__exp): Call __ieee754_exp before checking for overflow and
22560         underflow.
22561         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
22562         (u_threshold): Likewise.
22563         (__expf): Call __ieee754_expf before checking for overflow and
22564         underflow.
22565         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
22566         (u_threshold): Likewise.
22567         (__expl): Call __ieee754_expl before checking for overflow and
22568         underflow.
22569         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
22570         (__ieee754_expl): Allow for and saturate large arguments.
22571         * math/libm-test.inc (exp_test): Add another test.  Do not allow
22572         missing overflow exception on overflow.
22573         (expm1_test): Do not allow missing overflow exception on overflow.
22575         * sysdeps/i386/fpu/e_expl.c: Move to ...
22576         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
22577         rather than using inline asm.
22578         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
22579         * sysdeps/x86_64/fpu/e_expl.S: Copy from
22580         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
22582         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
22583         (nice): Likewise.
22584         (poll): Likewise.
22585         (signal): Likewise.
22586         (time): Likewise.
22587         (times): Likewise.
22589 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
22591         * sysdeps/unix/syscalls.list (adjtime): Add entry from
22592         sysdeps/unix/common/syscalls.list.
22593         (fchmod): Likewise.
22594         (fchown): Likewise.
22595         (ftruncate): Likewise.
22596         (getrusage): Likewise.
22597         (gettimeofday): Likewise.
22598         (setpgid): Likewise.
22599         (setregid): Likewise.
22600         (setreuid): Likewise.
22601         (sigaction): Likewise.
22602         (truncate): Likewise.
22603         (vhangup): Likewise.
22604         * sysdeps/unix/common/syscalls.list: Remove file.
22605         * sysdeps/unix/bsd/Implies: Don't include unix/common.
22606         * sysdeps/unix/sysv/linux/Implies: Likewise.
22608 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
22610         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
22611         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
22612         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
22613         Moved to ...
22614         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
22615         Here.
22616         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
22617         to ...
22618         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
22619         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
22620         to ...
22621         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
22622         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
22623         to ...
22624         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
22625         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
22626         to ...
22627         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
22628         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
22629         to ...
22630         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
22631         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
22632         to ...
22633         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
22634         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
22635         to ...
22636         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22637         Here.
22638         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
22639         to ...
22640         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
22641         Here.
22642         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
22643         to ...
22644         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
22645         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
22646         Moved to ...
22647         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
22648         Here.
22649         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
22650         to ...
22651         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
22653 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
22655         * sysdeps/unix/common/bits/dirent.h: Remove file.
22656         * sysdeps/unix/common/bits/fcntl.h: Likewise.
22658         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
22659         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
22660         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
22661         * sysdeps/unix/bsd/isatty.c: Likewise.
22662         * sysdeps/unix/bsd/tcdrain.c: Likewise.
22663         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
22664         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
22666 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22668         [BZ #13563]
22669         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
22670         long double comparison inaccuracies.
22671         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22672         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22674 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
22676         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
22677         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
22679 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
22681         [BZ #14049]
22682         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
22683         nonzero digits before rounding a hex value.
22684         * stdlib/tst-strtod.c (tests): Add another test.
22686 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22688         * sysdeps/s390/fpu/libm-test-ulps: Update.
22690 2012-05-03  Andreas Jaeger  <aj@suse.de>
22692         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
22693         does not get optimized out.
22694         (malloc_opt_barrier): New.
22696 2012-05-03  Andreas Jaeger  <aj@suse.de>
22697             Roland McGrath  <roland@hack.frob.com>
22699         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
22700         intermediate file deletion.
22701         (generated): Add .symlist files.
22703 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
22705         [BZ #13775]
22706         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
22707         Redirect under this condition.
22708         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22709         [__USE_GNU] (__dprintf_chk): Not under this condition.
22710         [__USE_GNU] (__vdprintf_chk): Likewise.
22711         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
22712         under this condition.
22713         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22714         [__USE_XOPEN2K8] (dprintf): Define under this condition.
22715         [__USE_XOPEN2K8] (vdprintf): Likewise.
22716         [__USE_GNU] (__dprintf_chk): Not under this condition.
22717         [__USE_GNU] (__vdprintf_chk): Likewise.
22718         [__USE_GNU] (dprintf): Likewise.
22719         [__USE_GNU] (vdprintf): Likewise.
22721 2012-05-03  Roland McGrath  <roland@hack.frob.com>
22723         * elf/Makefile (common-generated): Set this instead of generated for
22724         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
22725         $(all-built-dso)-derived lists.
22727 2012-05-03  Andreas Jaeger  <aj@suse.de>
22729         * sysdeps/i386/fpu/libm-test-ulps: Update.
22731         * FAQ: Removed.
22732         * FAQ.in: Likewise.
22733         * scripts/gen-FAQ.pl: Likewise.
22734         * manual/install.texi (Installation): Point to online location of
22735         FAQ.
22736         * Makefile (files-for-dist): Remove FAQ.
22737         (FAQ): Remove.
22739 2012-05-02  Allan McRae  <allan@archlinux.org>
22741         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
22742         (LDFLAGS-reldepmod5.so): Likewise.
22743         (LDFLAGS-reldep6mod1.so): Likewise.
22744         (LDFLAGS-reldep6mod4.so): Likewise.
22745         (LDFLAGS-reldep8mod3.so): Likewise.
22746         (LDFLAGS-unload4mod1.so): Likewise.
22747         (LDFLAGS-unload4mod2.so): Likewise.
22748         (LDFLAGS-tst-initorder): Likewise.
22749         (LDFLAGS-tst-initordera2.so): Likewise.
22750         (LDFLAGS-tst-initordera3.so): Likewise.
22751         (LDFLAGS-tst-initordera4.so): Likewise.
22752         (LDFLAGS-tst-initorderb2.so): Likewise.
22753         (LDFLAGS-noload): Likewise.
22754         (LDFLAGS-next): Likewise.
22755         (LDFLAGS-order2mod1.so): Likewise.
22756         (LDFLAGS-order2mod2.so): Likewise.
22757         (LDFLAGS-tst-initorder2): Likewise.
22758         (LDFLAGS-tst-initorder2a.so): Likewise.
22759         (LDFLAGS-tst-initorder2b.so): Likewise.
22760         (LDFLAGS-tst-initorder2c.so): Likewise.
22761         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
22763 2012-05-02  David S. Miller  <davem@davemloft.net>
22765         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22767 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
22769         [BZ #14055]
22770         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
22772 2012-05-02  Andreas Jaeger  <aj@suse.de>
22774         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
22775         since we manipulate rounding mode.
22776         (CPPFLAGS-test-idouble.c): Likewise.
22777         (CPPFLAGS-test-ifloat.c): Likewise.
22778         (CFLAGS-test-ldouble.c): Likewise.
22779         (CFLAGS-test-double.c): Likewise.
22780         (CFLAGS-test-float.c): Likewise.
22781         (CFLAGS-test-misc.c): Likewise.
22782         (CFLAGS-test-test-fenv.c): Likewise.
22784 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22786         [BZ #2550]
22787         [BZ #2570]
22788         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
22789         comparisons to determine direction to adjust input.
22791 2012-05-01  Roland McGrath  <roland@hack.frob.com>
22793         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
22794         output to the target.
22796         * scripts/localplt.awk: New file.
22797         * elf/Makefile ($(objpfx)check-localplt): Target removed.
22798         (check-localplt-CFLAGS): Variable removed.
22799         ($(all-built-dso:=.jmprel)): New static pattern rule.
22800         (generated): Add those targets.
22801         (localplt-built-dso): New variable.
22802         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
22804         * elf/check-localplt.c: File removed.
22806         * scripts/check-execstack.awk: New file.
22807         * elf/Makefile ($(objpfx)check-execstack): Target removed.
22808         (check-execstack-CFLAGS): Variable removed.
22809         ($(objpfx)check-execstack.h): Target removed.
22810         ($(objpfx)execstack-default): New target.
22811         (generated): Add that instead of check-execstack.h.
22812         ($(all-built-dso:=.phdr)): New static pattern rule.
22813         (generated): Add those targets.
22814         * elf/check-execstack.c: File removed.
22816         * scripts/check-textrel.awk: New file.
22817         * elf/Makefile ($(objpfx)check-textrel): Target removed.
22818         (check-textrel-CFLAGS): Variable removed.
22819         (all-built-dso): Use := to define.o
22820         ($(all-built-dso:=.dyn)): New static pattern rule.
22821         (generated): Add those targets.
22822         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
22823         * config.make.in (READELF): New substituted variable.
22824         * elf/check-textrel.c: File removed.
22826 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
22828         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22829         allow.
22830         * conform/data/ctype.h-data [C99-based standards] (isblank):
22831         Expect function.
22832         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
22833         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
22834         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22835         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
22836         Specify type.  Require positive value.
22837         (EILSEQ): Likewise.
22838         (ERANGE): Likewise.
22839         [ISO || POSIX] (EILSEQ): Do not expect.
22840         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
22841         Specify type.  Require positive value.
22842         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
22843         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
22844         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
22845         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
22846         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
22847         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
22848         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
22849         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
22850         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
22851         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
22852         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
22853         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
22854         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
22855         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
22856         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
22857         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
22858         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
22859         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
22860         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
22861         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
22862         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
22863         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
22864         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
22865         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
22866         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
22867         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
22868         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
22869         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
22870         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
22871         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
22872         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
22873         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
22874         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
22875         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
22876         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
22877         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
22878         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
22879         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
22880         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
22881         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
22882         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
22883         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
22884         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
22885         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
22886         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
22887         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
22888         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
22889         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
22890         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
22891         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
22892         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
22893         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
22894         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
22895         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
22896         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
22897         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
22898         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
22899         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
22900         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
22901         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
22902         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
22903         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
22904         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
22905         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
22906         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
22907         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
22908         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
22909         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
22910         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
22911         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
22912         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
22913         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
22914         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
22915         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
22916         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
22917         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
22918         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
22919         Require >= 2.
22920         (FLT_ROUNDS): Expect as macro, not constant.
22921         (FLT_MANT_DIG): Use macro-int-constant.
22922         (DBL_MANT_DIG): Likewise.
22923         (LDBL_MANT_DIG): Likewise.
22924         (FLT_DIG): Likewise.
22925         (DBL_DIG): Likewise.
22926         (LDBL_DIG): Likewise.
22927         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
22928         (DBL_MIN_EXP): Likewise.
22929         (LDBL_MIN_EXP): Likewise.
22930         (FLT_MAX_EXP): Use macro-int-constant.
22931         (DBL_MAX_EXP): Likewise.
22932         (LDBL_MAX_EXP): Likewise.
22933         (FLT_MAX_10_EXP): Likewise.
22934         (DBL_MAX_10_EXP): Likewise.
22935         (LDBL_MAX_10_EXP): Likewise.
22936         (FLT_MAX): Use macro-constant.
22937         (DBL_MAX): Likewise.
22938         (LDBL_MAX): Likewise.
22939         (FLT_EPSILON): Use macro-constant.  Give upper bound.
22940         (DBL_EPSILON): Likewise.
22941         (LDBL_EPSILON): Likewise.
22942         (FLT_MIN): Likewise.
22943         (DBL_MIN): Likewise.
22944         (LDBL_MIN): Likewise.
22945         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
22946         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
22947         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
22948         [ISO11] (FLT_HAS_SUBNORM): Likewise.
22949         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
22950         [ISO11] (DBL_DECIMAL_DIG): Likewise.
22951         [ISO11] (FLT_DECIMAL_DIG): Likewise.
22952         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
22953         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
22954         [ISO11] (FLT_TRUE_MIN): Likewise.
22955         [ISO11] (LDBL_TRUE_MIN): Likewise.
22956         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22957         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
22958         (SCHAR_MIN): Use macro-int-constant.  Specify type.
22959         (SCHAR_MAX): Likewise.
22960         (UCHAR_MAX): Likewise.
22961         (CHAR_MIN): Likewise.
22962         (CHAR_MAX): Likewise.
22963         (MB_LEN_MAX): Use macro-int-constant.
22964         (SHRT_MIN): Use macro-int-constant.  Specify type.
22965         (SHRT_MAX): Likewise.
22966         (USHRT_MAX): Likewise.
22967         (INT_MAX): Likewise.
22968         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
22969         bound negative.
22970         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
22971         bound with "U".
22972         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
22973         bound with "L".
22974         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
22975         bound negative.  Suffix upper bound with "L".
22976         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
22977         bound with "UL".
22978         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
22979         Specify type.
22980         [C99-based standards] (LLONG_MAX): Likewise.
22981         [C99-based standards] (ULLONG_MAX): Likewise.
22982         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
22983         == 0.
22984         [ISO11] (max_align_t): Require type.
22985         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22987         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
22988         from $CFLAGS, without defining away __attribute__ calls.
22989         (checknamespace): Use $CFLAGS_namespace.
22991         * conform/conformtest.pl (@keywords): Only include C99 keywords
22992         for standards based on C99 or C11.
22994         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
22995         Disable tests.
22996         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
22997         UNIX98]: Likewise.
22999         * conform/conformtest.pl: Handle "macro-int-constant" and test for
23000         usability of symbols in #if.
23002         * conform/conformtest.pl: If macro or constant types start
23003         "promoted:", expect the symbol to be of the following type
23004         promoted by the integer promotions.
23006         * conform/conformtest.pl: Parse all "constant" and "macro" lines
23007         in one place.  Also handle "macro-constant".
23009         * conform/conformtest.pl: Only accept expected macro values with
23010         "==".  Parse all "macro" lines in one place.
23011         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
23013         * conform/conformtest.pl: Handle braced types on "constant" lines
23014         instead of handling "typed-constant".
23015         * conform/data/signal.h-data: Use "constant" instead of
23016         "typed-constant".
23018         * conform/conformtest.pl: Handle "optional-" at start of lines in
23019         one place rather than duplicating several cases.  Handle each
23020         format of "macro" line with initial "optional-".
23022         * conform/conformtest.pl: Only accept expected constant or
23023         optional-constant values with "==".  Parse all "constant" lines in
23024         one place.  Parse all "optional-constant" lines in one place.
23025         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
23026         * conform/data/fmtmsg.h-data: Likewise.
23027         * conform/data/netinet/in.h-data: Likewise.
23028         * conform/data/tar.h-data: Likewise.
23029         * conform/data/limits.h-data: Use "==" form on "constant" and
23030         "optional-constant" lines.
23032         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
23033         Use -std=c99 for XOPEN2K.
23034         (@knownproblems): Remove.
23035         (newtoken): Don't check %isknown.
23037         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
23038         Do not expect macro.
23039         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
23040         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
23041         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
23042         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
23043         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
23044         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
23045         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
23046         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
23047         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
23048         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
23049         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
23050         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
23051         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
23052         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
23053         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
23054         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
23055         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
23056         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
23057         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
23058         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
23059         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
23060         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
23061         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
23062         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
23063         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
23064         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
23065         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
23066         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
23067         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
23068         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
23069         [XPG3] (acosh): Likewise.
23070         [XPG3] (asinh): Likewise.
23071         [XPG3] (atanh): Likewise.
23072         [XPG3] (cbrt): Likewise.
23073         [XPG3] (expm1): Likewise.
23074         [XPG3] (ilogb): Likewise.
23075         [XPG3] (log1p): Likewise.
23076         [XPG3] (logb): Likewise.
23077         [XPG3] (nextafter): Likewise.
23078         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
23079         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
23080         [XPG3] (remainder): Likewise.
23081         [XPG3] (rint): Likewise.
23082         [XPG3 || XPG4 || UNIX98] (round): Likewise.
23083         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
23084         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
23085         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
23086         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
23087         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
23088         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
23089         [UNIX98 || XOPEN2K] (scalb): Expect.
23090         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
23091         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
23092         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
23093         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
23094         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
23095         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
23096         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
23097         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
23098         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
23099         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
23100         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
23101         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
23102         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
23103         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
23104         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
23105         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
23106         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
23107         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
23108         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
23109         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
23110         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
23111         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
23112         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
23113         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
23114         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
23115         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
23116         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
23117         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
23118         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
23119         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
23120         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
23121         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
23122         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
23123         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
23124         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
23125         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
23126         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
23127         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
23128         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
23129         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
23130         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
23131         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
23132         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
23133         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
23134         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
23135         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
23136         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
23137         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
23138         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
23139         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
23140         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
23141         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
23142         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
23143         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
23144         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
23145         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
23146         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
23147         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
23148         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
23149         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
23150         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
23151         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
23152         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
23153         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
23154         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
23155         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
23156         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
23157         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
23158         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
23159         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
23160         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
23161         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
23162         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
23163         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
23164         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
23165         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
23166         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
23167         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
23168         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
23169         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
23170         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
23171         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
23172         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
23173         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
23174         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
23175         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
23176         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
23177         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
23178         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
23179         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
23180         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
23181         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
23182         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
23183         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
23184         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
23185         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
23186         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
23187         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
23188         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
23189         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
23190         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
23191         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
23192         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
23193         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
23194         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
23195         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
23196         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
23197         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
23198         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
23199         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
23200         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
23201         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
23202         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
23203         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
23204         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
23205         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
23206         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
23207         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
23208         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
23209         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
23210         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
23211         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
23212         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
23213         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
23214         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
23215         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
23216         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
23217         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
23218         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
23219         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
23220         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
23221         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
23222         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
23223         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
23224         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
23225         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
23226         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
23228         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
23229         _XOPEN_SOURCE_EXTENDED for XPG4.
23231         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
23233         * Makeconfig (localtime): Remove variable.
23234         (inst_localtime-file): Likewise.
23236 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
23238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
23239         Update.
23240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23241         Update.
23242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
23243         Update.
23244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23245         Update.
23246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
23247         Update.
23248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
23249         Update.
23250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23251         Update.
23252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
23253         Update.
23254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23255         Update.
23257 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
23259         [BZ #2550]
23260         [BZ #2570]
23261         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
23262         comparisons to determine direction to adjust input.
23263         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
23264         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
23265         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
23266         Likewise.
23267         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
23268         Likewise.
23269         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23270         Likewise.
23271         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
23272         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
23273         Likewise.
23274         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
23275         Likewise.
23276         * math/libm-test.inc (nexttoward_test): Add more tests.
23278 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
23280         [BZ #14040]
23281         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
23282         in version GLIBC_2.1, not GLIBC_2.0.
23283         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
23284         Likewise.
23286 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
23288         [BZ #13942]
23289         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
23290         (1 - x) * (1 + x).
23291         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23292         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
23293         * math/libm-test.inc (acos_test): Add more tests.
23294         (asin_test): Likewise.
23295         * sysdeps/i386/fpu/libm-test-ulps: Update.
23296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23298         [BZ #14034]
23299         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
23300         of square root.
23301         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
23302         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23303         * math/libm-test.inc (acos_test_tonearest): New function.
23304         (acos_test_towardzero): Likewise.
23305         (acos_test_downward): Likewise.
23306         (acos_test_upward): Likewise.
23307         (asin_test_tonearest): Likewise.
23308         (asin_test_towardzero): Likewise.
23309         (asin_test_downward): Likewise.
23310         (asin_test_upward): Likewise.
23311         (main): Call the new functions.
23312         * sysdeps/i386/fpu/libm-test-ulps: Update.
23313         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23315         [BZ #13884]
23316         [BZ #13924]
23317         * math/e_exp10.c: Include <float.h>.
23318         (__ieee754_exp10): Handle underflow here rather than multiplying
23319         large negative argument by M_LN10.
23320         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
23321         of __ieee754_expf.
23322         * math/e_exp10l.c: Include <float.h>.
23323         (__ieee754_exp10l): Handle underflow here rather than multiplying
23324         large negative argument by M_LN10l.
23325         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
23326         spurious overflow exception on underflow.
23328 2012-04-29  Marek Polacek  <polacek@redhat.com>
23330         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
23331         (__fortify_function): New macro.
23332         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
23333         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
23334         __extern_always_inline.
23335         * libio/bits/stdio2.h: Likewise.
23336         * libio/bits/stdio.h: Likewise.
23337         * string/string.h: Likewise.
23338         * string/bits/string3.h: Likewise.
23339         * include/stdio.h: Likewise.
23340         * stdlib/bits/stdlib.h: Likewise.
23341         * stdlib/stdlib.h: Likewise.
23342         * rt/bits/mqueue2.h: Likewise.
23343         * rt/mqueue.h: Likewise.
23344         * posix/bits/unistd.h: Likewise.
23345         * posix/unistd.h: Likewise.
23346         * io/bits/poll2.h: Likewise.
23347         * io/bits/fcntl2.h: Likewise.
23348         * io/fcntl.h: Likewise.
23349         * io/sys/poll.h: Likewise.
23350         * misc/bits/syslog.h: Likewise.
23351         * misc/bits/syslog-ldbl.h: Likewise.
23352         * misc/sys/syslog.h: Likewise.
23353         * socket/bits/socket2.h: Likewise.
23354         * socket/sys/socket.h: Likewise.
23355         * debug/tst-chk1.c: Likewise.
23356         * wcsmbs/bits/wchar2.h: Likewise.
23357         * wcsmbs/bits/wchar-ldbl.h: Likewise.
23358         * wcsmbs/wchar.h: Likewise.
23360 2012-04-29  Andreas Jaeger  <aj@suse.de>
23362         * Makerules (tests): Remove enable-check-abi protection.
23363         (check-abi-warn): Remove.
23364         (check-abi-%): Remove check-abi-warn usage.
23366         * configure.in: Remove check-abi configure option.
23367         * configure: Regenerated.
23368         * config.make.in (enable-check-abi): Remove.
23370 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
23372         [BZ #14033]
23373         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
23374         double functions to double *_finite functions.
23376         [BZ #13941]
23377         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
23378         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
23379         LDBL_MIN_EXP.
23380         * stdio-common/Makefile (tests): Add tst-sprintf3.
23381         * stdio-common/tst-sprintf3.c: New file.
23383         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
23384         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
23386 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
23388         * conform/conformtest.pl: Remove duplicate typed-constant
23389         handling.
23391 2012-04-28  David S. Miller  <davem@davemloft.net>
23393         * Makerules (%.abilist): Add vpath on sysdep_dirs.
23394         (check-abi-%): Remove AWK script prerequisite and explicit
23395         abilist directory.
23396         (check-abi): Rewrite to just diff the symlist with the abilist.
23397         (config-tls, config-abi-config): Delete, no longer used.
23398         (update-abi-%): Remove AWK script and explicit abilist directory.
23399         (update-abi): Rewrite to simply compare and conditionally copy the
23400         symlist and the sysdep abilist file.  Remove update-abi-config
23401         checks.
23402         * abilist/ld.abilist: Remove.
23403         * abilist/libBrokenLocale.abilist: Remove.
23404         * abilist/libanl.abilist: Remove.
23405         * abilist/libcrypt.abilist: Remove.
23406         * abilist/libdl.abilist: Remove.
23407         * abilist/librt.abilist: Remove.
23408         * abilist/libthread_db.abilist: Remove.
23409         * abilist/libutil.abilist: Remove.
23410         * scripts/extract-abilist.awk: Remove.
23411         * scripts/merge-abilist.awk: Remove.
23412         * sysdeps/generic/libcidn.abilist: New file.
23413         * sysdeps/generic/libnss_compat.abilist: New file.
23414         * sysdeps/generic/libnss_db.abilist: New file.
23415         * sysdeps/generic/libnss_dns.abilist: New file.
23416         * sysdeps/generic/libnss_files.abilist: New file.
23417         * sysdeps/generic/libnss_hesiod.abilist: New file.
23418         * sysdeps/generic/libnss_nis.abilist: New file.
23419         * sysdeps/generic/libnss_nisplus.abilist: New file.
23420         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
23421         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
23422         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
23423         file.
23424         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
23425         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
23426         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
23427         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
23428         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
23429         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
23430         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
23431         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
23432         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
23433         file.
23434         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
23435         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
23436         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
23437         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
23438         file.
23439         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
23440         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
23441         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
23442         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
23443         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
23444         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
23445         file.
23446         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
23447         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
23448         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
23449         file.
23450         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
23451         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
23452         New file.
23453         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
23454         New file.
23455         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
23456         New file.
23457         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
23458         New file.
23459         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
23460         New file.
23461         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
23462         New file.
23463         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
23464         New file.
23465         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
23466         New file.
23467         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
23468         New file.
23469         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
23470         New file.
23471         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
23472         New file.
23473         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
23474         New file.
23475         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
23476         New file.
23477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
23478         file.
23479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
23480         New file.
23481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
23482         New file.
23483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
23484         file.
23485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
23486         New file.
23487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
23488         New file.
23489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
23490         file.
23491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
23492         New file.
23493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23494         New file.
23495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
23496         New file.
23497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
23498         New file.
23499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
23500         New file.
23501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
23502         New file.
23503         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
23504         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
23505         file.
23506         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
23507         New file.
23508         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
23509         file.
23510         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
23511         file.
23512         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
23513         file.
23514         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
23515         file.
23516         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
23517         file.
23518         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23519         New file.
23520         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
23521         file.
23522         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
23523         file.
23524         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
23525         New file.
23526         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
23527         file.
23528         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
23529         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
23530         file.
23531         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
23532         New file.
23533         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
23534         file.
23535         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
23536         file.
23537         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
23538         file.
23539         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
23540         file.
23541         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
23542         file.
23543         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23544         New file.
23545         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
23546         file.
23547         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
23548         file.
23549         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
23550         New file.
23551         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
23552         file.
23553         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23554         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
23555         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
23556         file.
23557         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
23558         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
23559         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
23560         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
23561         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
23562         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
23563         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
23564         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
23565         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
23566         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
23567         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
23568         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
23569         file.
23570         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
23571         New file.
23572         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
23573         file.
23574         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
23575         file.
23576         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
23577         file.
23578         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
23579         file.
23580         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
23581         file.
23582         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23583         New file.
23584         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
23585         New file.
23586         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
23587         file.
23588         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
23589         New file.
23590         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
23591         file.
23592         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
23593         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
23594         file.
23595         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
23596         New file.
23597         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
23598         file.
23599         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
23600         file.
23601         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
23602         file.
23603         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
23604         file.
23605         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
23606         file.
23607         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23608         New file.
23609         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
23610         New file.
23611         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
23612         file.
23613         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
23614         New file.
23615         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
23616         file.
23618 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
23620         * conform/conformtest.pl: Fix typo in handling typed-constant from
23621         allow-header.
23623 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
23625         * README: Cut down references to pre-2.6 Linux kernels and
23626         Linuxthreads.  Update lists of configurations in libc and ports
23627         and sort alphabetically.  Say "or newer" with Linux kernel version
23628         requirements.
23630         * config.h.in [IS_IN_build]: Allow compiling without optimization.
23632 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23634         [BZ #887]
23635         * math/libm-test.inc (logb_test_downward): New test to expose
23636         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
23637         rounding mode.
23639 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
23641         [BZ #14027]
23642         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
23643         to be done.
23644         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
23645         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
23647 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
23649         * sysdeps/unix/i386/brk.S: Remove file.
23650         * sysdeps/unix/i386/dl-brk.S: Likewise.
23651         * sysdeps/unix/i386/pipe.S: Likewise.
23652         * sysdeps/unix/i386/sigreturn.S: Likewise.
23653         * sysdeps/unix/i386/syscall.S: Likewise.
23654         * sysdeps/unix/i386/vfork.S: Likewise.
23655         * sysdeps/unix/i386/wait.S: Likewise.
23657         * sysdeps/unix/common/tcsendbrk.c: Move to ...
23658         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
23660         * configure.in (arm*-none*): Do not allow without
23661         --enable-hacker-mode.
23662         (netbsd*): Remove case setting base_os.
23663         (386bsd*): Likewise.
23664         (freebsd*): Likewise.
23665         (bsdi*): Likewise.
23666         (osf*): Likewise.
23667         (sunos*): Likewise.
23668         (ultrix*): Likewise.
23669         (newsos*): Likewise.
23670         (dynix*): Likewise.
23671         (*bsd*): Likewise.
23672         (sysv*): Likewise.
23673         (isc*): Likewise.
23674         (esix*): Likewise.
23675         (sco*): Likewise.
23676         (minix*): Likewise.
23677         (irix4*): Likewise.
23678         (irix6*): Likewise.
23679         (solaris[2-9]*): Likewise.
23680         (none): Likewise.
23681         * configure: Regenerated.
23683 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23685         [BZ #11521]
23686         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
23687         overflow or cancellation in calculating denominator.
23688         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
23689         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
23690         down expression to avoid unexpected rounding in newer GCCs.
23691         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
23693 2012-04-26  David S. Miller  <davem@davemloft.net>
23695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
23696         long-double compat symbols.
23697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
23701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23702         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
23703         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
23704         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
23705         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
23706         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
23707         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
23708         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
23709         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23711 2012-04-25  David S. Miller  <davem@davemloft.net>
23713         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
23714         HWCAP_* values only after the memory barriers have been defined.
23715         (atomic_full_barrier): Define.
23716         (atomic_read_barrier): Define.
23717         (atomic_write_barrier): Define.
23719 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23721         * shlib-versions: Add libgcc_s version information.
23722         * sysdeps/generic/libgcc_s.h: Remove.
23723         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
23724         libgcc_s.h.
23725         * sysdeps/gnu/unwind-resume.c: Likewise.
23726         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
23728 2012-04-25  David S. Miller  <davem@davemloft.net>
23730         * sysdeps/unix/sparc/brk.S: Delete.
23731         * sysdeps/unix/sparc/dl-brk.S: Delete.
23732         * sysdeps/unix/sparc/pipe.S: Delete.
23733         * sysdeps/unix/sparc/sysdep.S: Delete.
23734         * sysdeps/unix/sparc/sysdep.h: Delete.
23735         * sysdeps/unix/sparc/vfork.S: Delete.
23736         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
23737         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
23738         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
23739         ret_ERRVAL, r0, r1, MOVE): Define.
23740         (JUMPTARGET): Remove.
23741         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
23742         sysdeps/unix/sparc/sysdep.h
23743         (ENTRY, END): Remove.
23744         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23746 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
23748         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
23749         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
23750         -DIS_IN_build.
23752         * timezone/README: Update upstream location and email address for
23753         tzcode and tzdata.
23754         * timezone/zdump.c: Update from tzcode 2012b.
23755         * timezone/zic.c: Likewise.
23757         * configure.in (libc_cv_as_needed): Remove test.
23758         * configure: Regenerated.
23759         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
23760         conditional definition.
23761         [$(have-as-needed) != yes] (no-as-needed): Likewise.
23762         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
23763         * config.make.in (have-as-needed): Remove variable.
23765 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23766             Paul Pluzhnikov  <ppluzhnikov@google.com>
23768         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
23769         strings correctly.
23771 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
23773         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
23774         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
23775         * sysdeps/sh/strlen.S: Likewise.
23777 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
23779         * sysdeps/unix/fork.S: Remove file.
23780         * sysdeps/unix/i386/fork.S: Likewise.
23781         * sysdeps/unix/sparc/fork.S: Likewise.
23783         * sysdeps/unix/system.c: Remove file.
23784         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
23786         * sysdeps/unix/getegid.S: Remove file.
23787         * sysdeps/unix/geteuid.S: Likewise.
23789 2012-04-24  Roland McGrath  <roland@hack.frob.com>
23791         * scripts/check-localplt.awk: New file.
23792         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
23793         of diff.
23794         * scripts/data/localplt-generic.data: Add a comment.
23796         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
23797         NODE when __dir_mkfile failed.
23798         * sysdeps/mach/hurd/symlinkat.c: Likewise.
23799         Reported by Ludovic Courtès <ludo@gnu.org>.
23801 2012-04-24  Andreas Jaeger  <aj@suse.de>
23803         * Makerules (common-clean): Also remove gen-as-const-headers
23804         files.
23806 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
23808         * Makerules (native-compile): Do not change working directory for
23809         build.  Use $(OUTPUT_OPTION) in command.
23810         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
23812 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23814         [BZ #13886]
23815         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
23816         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
23817         * math/libm-test.inc (floor_test): Add more tests.
23818         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
23820 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
23822         * sysdeps/unix/getdents.c: Remove file.
23823         * sysdeps/unix/sysv/getdents.c: Likewise.
23824         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
23826         * sysdeps/unix/syscalls.list (madvise): Add syscall from
23827         sysdeps/unix/mman/syscalls.list.
23828         (mmap): Likewise.
23829         (mprotect): Likewise.
23830         (msync): Likewise.
23831         (munmap): Likewise.
23832         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
23833         * sysdeps/unix/mman/syscalls.list: Remove.
23834         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
23836         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
23837         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
23838         * configure: Regenerated.
23839         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
23840         $(libgcc_s_suffix).
23841         * config.make.in (libgcc_s_suffix): Remove variable.
23843 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
23845         * sysdeps/unix/sysv/gethostname.c: Move to ...
23846         * sysdeps/posix/gethostname.c: ... here.
23848         * sysdeps/unix/execve.S: Remove file.
23850         * sysdeps/unix/_exit.S: Remove file.
23852 2012-04-23  Andreas Jaeger  <aj@suse.de>
23854         [BZ #13739]
23855         * manual/Makefile: Remove make dist support, there's no
23856         need for a stand-alone documentation tar ball.
23857         (TEXI2DVI): Define always, it's not in Makeconfig.
23858         (dist): Removed.
23859         (tar-it): Removed.
23860         (edition): Removed.
23861         (glibc-doc-$(edition).tar): Removed
23862         (%.Z): Removed.
23863         (%.gz): Removed.
23864         (%.uu): Removed.
23865         (ETAGS): Remove, it's in Makeconfig.
23866         (move-if-change): Remove, it's in Makeconfig.
23868 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
23870         [BZ #13970]
23871         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
23872         (strtod, strtof, strtold, strtol, strtoul, strtoq)
23873         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
23874         (strtod_l, strtof_l, strtold_l): Remove __wur.
23875         It is not necessarily an error to ignore strtol's return value.
23876         One can reliably look at the stored endptr to decide whether
23877         the number had valid syntax.
23879 2012-04-21  Andreas Jaeger  <aj@suse.de>
23881         [BZ #13739]
23882         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
23884 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
23886         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
23887         * sysdeps/unix/sysv/Versions: Remove file.
23889 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
23891         [BZ #13927]
23892         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23894 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
23896         [BZ #7064]
23897         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
23898         version from __vm86.
23900 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
23902         * sysdeps/unix/common/lxstat.c: Remove file.
23903         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
23905         * sysdeps/unix/sysv/Makefile: Remove file.
23907         * sysdeps/unix/sysv/direct.h: Remove file.
23909         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
23910         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
23911         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
23912         * sysdeps/unix/sysv/bits/signum.h: Likewise.
23913         * sysdeps/unix/sysv/bits/stat.h: Likewise.
23914         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
23915         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
23917         * sysdeps/unix/sysv/setrlimit.c: Remove file.
23919         * sysdeps/unix/xmknod.c: Remove file.
23920         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
23922         * sysdeps/unix/sysv/settimeofday.c: Remove file.
23924         * sysdeps/unix/sysv/i386/time.S: Remove file.
23926         * sysdeps/unix/fxstat.c: Remove file.
23927         * sysdeps/unix/xstat.c: Likewise.
23928         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
23930         * sysdeps/unix/sysv/sigaction.c: Remove file.
23932         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
23933         (sysdep_headers): Remove variable.
23934         [termio.h not in sysdep_headers] (generated): Likewise.
23935         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
23936         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
23937         * sysdeps/unix/sysv/tcdrain.c: Likewise.
23938         * sysdeps/unix/sysv/tcflow.c: Likewise.
23939         * sysdeps/unix/sysv/tcflush.c: Likewise.
23940         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
23941         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
23942         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
23943         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
23944         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
23946         * sysdeps/unix/siglist.c: Remove file.
23948         * sysdeps/unix/getppid.S: Remove file.
23950         * sysdeps/unix/mkdir.c: Remove file.
23951         * sysdeps/unix/rmdir.c: Likewise.
23953 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
23955         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
23956         ERR_MAX value.
23957         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
23958         errlist-compat value.
23960 2012-04-18  David S. Miller  <davem@davemloft.net>
23962         * sysdeps/generic/memcopy.h (reg_char): Delete.
23963         * debug/strcat_chk.c: Use char, not reg_char.
23964         * debug/strcpy_chk.c: Likewise.
23965         * debug/strncat_chk.c: Likewise.
23966         * debug/strncpy_chk.c: Likewise.
23967         * string/memchr.c: Likewise.
23968         * string/memrchr.c: Likewise.
23969         * string/rawmemchr.c: Likewise.
23970         * string/strcat.c: Likewise.
23971         * string/strchr.c: Likewise.
23972         * string/strchrnul.c: Likewise.
23973         * string/strcmp.c: Likewise.
23974         * string/strcpy.c: Likewise.
23975         * string/strncat.c: Likewise.
23976         * string/strncmp.c: Likewise.
23977         * string/strncpy.c: Likewise.
23979 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
23981         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
23982         __builtin_memcopy is called when src and dest ranges are known to not
23983         overlap.
23985 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
23987         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
23988         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
23989         fwd_align_merge macro call.
23990         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
23991         bwd_align_merge macro call.
23992         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23994 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
23996         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
23997         bwd_align_merge macros.
23998         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
23999         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
24000         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24002 2012-04-18  David S. Miller  <davem@davemloft.net>
24004         * sysdeps/sparc/sparc64/memcopy.h: Delete.
24006 2012-04-18  Andreas Jaeger  <aj@suse.de>
24008         [BZ# 6794]
24009         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
24010         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
24011         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24013         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
24014         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
24015         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24017         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
24018         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
24019         Adjust for changed ldbl-128 files.
24021         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
24022         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
24023         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24025 2012-04-17  David S. Miller  <davem@davemloft.net>
24027         * sysdeps/sparc/sparc32/memcopy.h: Delete.
24029 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
24031         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
24032         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
24033         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
24034         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
24035         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
24036         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
24038 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24040         [BZ #6794]
24041         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
24042         * math/libm-test.inc: Add ilogb errno and exception tests.
24043         * math/w_ilogb.c: New file: ilogb wrapper.
24044         * math/w_ilogbf.c: New file: ilogbf wrapper.
24045         * math/w_ilogbl.c: New file: ilogbl wrapper.
24046         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
24047         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
24048         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
24049         exception being thrown with 0.0 as argument.
24050         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
24051         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
24052         exception being thrown with 0.0 as argument.
24053         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
24054         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24055         exception being thrown with 0.0 as argument.
24056         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
24057         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24058         exception being thrown with 0.0 as argument.
24059         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
24060         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
24061         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
24062         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
24063         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
24064         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
24065         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
24066         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
24067         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
24069 2012-04-17  Petr Baudis  <pasky@ucw.cz>
24071         * include/sys/uio.h: Change __vector to __iovec to avoid clash
24072         with altivec.
24074 2012-04-16  Marek Polacek  <polacek@redhat.com>
24076         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
24078 2012-04-16  Marek Polacek  <polacek@redhat.com>
24080         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
24081         operands of fdivp instruction.
24083 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
24085         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
24086         * elf/tst-auditmod3b.c: Likewise.
24087         * elf/tst-auditmod4b.c: Likewise.
24088         * elf/tst-auditmod5b.c: Likewise.
24089         * elf/tst-auditmod6b.c: Likewise.
24090         * elf/tst-auditmod6c.c: Likewise.
24091         * elf/tst-auditmod7b.c: Likewise.
24092         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
24093         * sysdeps/x86_64/preconfigure.in: Likewise.
24094         * sysdeps/x86_64/preconfigure: Regenerated.
24096 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
24098         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
24099         __ILP32__.
24101 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
24103         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24104         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
24106 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
24108         [BZ #13973]
24109         * locale/iso-639.def: Fix gl language name. Spotted by
24110         Yaron Shahrabani.
24112 2012-04-12  Roland McGrath  <roland@hack.frob.com>
24114         [BZ #2074]
24115         * libio/libio.h (__io_write_fn): Update comment.
24117 2012-04-12  Petr Baudis  <pasky@ucw.cz>
24119         [BZ #2074]
24120         * stdio.texi (Hook Functions): The user provided writer function
24121         is not allowed to return -1.
24123 2012-04-11  David S. Miller  <davem@davemloft.net>
24125         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24127 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
24129         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
24130         Add a leading slash to rtkaio.
24132 2012-04-11  Jim Meyering  <meyering@redhat.com>
24134         [BZ #11959]
24135         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
24136         It is not necessarily an error to ignore fwrite's return
24137         value.  One can reliably use ferror to test for errors after
24138         the fact.
24140 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
24142         * bits/types.h (__snseconds_t): New type.
24143         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
24145         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
24146         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24147         (__SNSECONDS_T_TYPE): Likewise.
24148         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24149         (__SNSECONDS_T_TYPE): Likewise.
24150         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24151         (__SNSECONDS_T_TYPE): Likewise.
24153 2012-04-10  Andreas Jaeger  <aj@suse.de>
24155         [BZ #2636]
24156         * manual/time.texi (Processor Time): Return type of times is
24157         elapsed real time since an arbitrary point in the past.
24158         (CPU Time): Move CLK_TCK from here...
24159         (Processor Time): ...to here.  Correct description.
24160         * manual/conf.texi (Constants for Sysconf): Correct description of
24161         _SC_CLK_TCK.
24163 2012-04-10  David S. Miller  <davem@davemloft.net>
24165         [BZ #13967]
24166         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
24167         where the is a gap between DT_REL(A) and DT_JMPREL.
24169 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
24171         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
24172         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24173         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24175 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24177         * elf/dl-support.c (_dl_inhibit_cache): New variable.
24178         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
24179         (dl_main): Handle --inhibit-cache.
24180         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
24181         _dl_inhibit_cache.
24182         * elf/dl-load.c (_dl_map_object): Use it.
24183         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
24185 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
24187         [BZ #13872]
24188         * sysdeps/i386/fpu/e_powl.S (p78): New object.
24189         (__ieee754_powl): Saturate large exponents rather than testing for
24190         overflow of y*log2(x).
24191         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24192         * math/libm-test.inc (pow_test): Do not permit spurious overflow
24193         exceptions.
24195         [BZ #11521]
24196         * math/s_ctan.c: Include <float.h>.
24197         (__ctan): Avoid internal overflow or cancellation in calculating
24198         denominator.
24199         * math/s_ctanf.c: Likewise.
24200         * math/s_ctanl.c: Likewise.
24201         * math/s_ctanh.c: Likewise.
24202         * math/s_ctanhf.c: Likewise.
24203         * math/s_ctanhl.c: Likewise.
24204         * math/libm-test.inc (ctan_test): Add more tests.
24205         (ctanh_test): Likewise.
24206         * sysdeps/i386/fpu/libm-test-ulps: Update.
24207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24209 2012-04-09  Andreas Jaeger  <aj@suse.de>
24211         [BZ #6894]
24212         * manual/filesys.texi (Directory Entries): Mention that d_namlen
24213         is an optional BSD extension.
24215         [BZ #10254]
24216         * manual/stdio.texi (Opening Streams): Document additional fopen
24217         parameters.
24219 2012-04-09  Roland McGrath  <roland@hack.frob.com>
24221         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
24222         %eax without telling the compiler.
24224 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
24226         [BZ # 13963]
24227         * manual/install.texi: Use sourceware.org.
24229 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
24231         [BZ #13873]
24232         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
24233         (__ieee754_pow): Generate overflow and underflow using huge*huge
24234         and tiny*tiny rather than just returning constant infinity or zero
24235         for large exponents.
24236         * math/libm-test.inc (pow_test): Require overflow exceptions for
24237         applicable cases of large exponents.
24239         [BZ #706]
24240         * sysdeps/i386/fpu/e_pow.S (p10): New object.
24241         (__ieee754_pow): Use iterative multiplication algorithm only for
24242         integer exponents with absolute value below 1024.  Check for odd
24243         integer exponents when using algorithm for real exponents.
24244         * math/libm-test.inc (pow_test): Add more tests.
24245         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24247 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
24249         [BZ #13705]
24250         * math/libm-test.inc (exp_test): Do not allow overflow exception
24251         on underflow test.
24253 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
24255         [BZ #13705]
24256         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
24257         instead of __kernel_standard_f.
24259 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
24261         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
24262         * sysdeps/x86_64/memset_chk.S: Likewise.
24264 2012-04-08  Andreas Jaeger  <aj@suse.de>
24266         [BZ #10153]
24267         * manual/startup.texi (Environment Access): Describe return value
24268         for putenv and setenv.
24270         [BZ #6895]
24271         * manual/filesys.texi (Directory Entries): Add description for
24272         DT_LNK.
24274         [BZ #6890]
24275         * manual/filesys.texi (Directory Entries): Clarify that it's file
24276         system not operating system in the description of DT_UNKNOWN.
24278         [BZ #6578]
24279         * manual/syslog.texi (closelog): Fix reference, it's openlog.
24281 2012-04-08  Stephen Compall  <s11@member.fsf.org>
24283         [BZ #6649]
24284         * manual/llio.texi (Opening and Closing Files): Add cross
24285         reference to explain mode argument.
24287 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
24289         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
24290         * sysdeps/x86_64/memset_chk.S: Likewise.
24292 2012-04-07  David S. Miller  <davem@davemloft.net>
24294         * elf/elf.h (R_SPARC_WDISP10): Define.
24295         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
24296         R_SPARC_SIZE32.
24297         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
24298         R_SPARC_SIZE64 and R_SPARC_H34.
24300 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
24302         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
24303         conditions and remove no longer applicable assertion.
24305 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
24307         * bits/byteswap.h: Include <features.h>.
24308         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24309         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24311 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
24313         * bits/byteswap.h (__bswap_16): Removed.
24314         Include <bits/byteswap-16.h> to get __bswap_16.
24315         * sysdeps/i386/bits/byteswap.h: Likewise.
24316         * sysdeps/s390/bits/byteswap.h: Likewise.
24317         * sysdeps/x86_64/bits/byteswap.h: Likewise.
24318         * bits/byteswap-16.h: New file.
24319         * sysdeps/i386/bits/byteswap-16.h: Likewise.
24320         * sysdeps/s390/bits/byteswap-16.h: Likewise.
24321         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
24322         * string/Makefile (headers): Add bits/byteswap-16.h.
24324 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
24326         [BZ #13895]
24327         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
24328         extra indirection.
24329         * nss/Makefile (tests-static, tests): Add tst-nss-static.
24330         * nss/tst-nss-static.c: New.
24332 2012-04-06  Robert Millan  <rmh@gnu.org>
24334         [BZ #6486]
24335         * manual/llio.texi (File Position Primitive): lseek
24336         refers to WHENCE when it really means OFFSET.
24338 2012-04-06  Andreas Jaeger  <aj@suse.de>
24340         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
24341         strncmp declarations.
24343         * abilist/libc.abilist: Add __poll and __ppoll.
24345 2012-04-05  David S. Miller  <davem@davemloft.net>
24347         * scripts/check-local-headers.sh: Accept a host triplet in the
24348         path matched by the exclude regexp.
24350         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
24351         definition.
24352         * sysdeps/powerpc/powerpc32/dl-machine.h
24353         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
24354         * sysdeps/s390/s390-32/dl-machine.h
24355         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24356         * sysdeps/sparc/sparc32/dl-machine.h
24357         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24358         * sysdeps/sparc/sparc64/dl-machine.h
24359         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24361         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
24362         lazy binding.
24363         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
24364         undefined symbol errors.
24366         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
24367         DT_NEEDED entries.
24369 2012-04-05  Michael Matz  <matz@suse.de>
24371         [BZ #13592]
24372         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
24374 2012-04-05  Andreas Jaeger  <aj@suse.de>
24376         [BZ #13908]
24377         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
24378         comment.
24380 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
24382         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
24383         which ROUND is no valid rounding mode.
24385 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
24387         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
24388         read again.
24389         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
24391 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
24393         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
24394         an exception using FPU order intentionally.
24396 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
24398         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
24399         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
24400         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
24401         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
24403 2012-04-05  Simon Josefsson  <simon@josefsson.org>
24405         [BZ #12340]
24406         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
24407         EINVAL when BUFLEN is too smal.
24409 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
24411         [BZ #13553]
24412         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
24413         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
24415 2012-04-03  Andreas Jaeger  <aj@suse.de>
24417         [BZ #13938]
24418         * manual/setjmp.texi (System V contexts): Fix sentence.
24420         [BZ #13926]
24421         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
24422         New macro for this case.
24423         [!__GNUC__] (__bswap_64): New inline function for this case.
24424         * sysdeps/x86_64/bits/byteswap.h: Likewise.
24425         * bits/byteswap.h: Likewise.
24426         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
24427         ull, guard with __GLIBC_HAVE_LONG_LONG.
24429         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
24430         __GLIBC_HAVE_LONG_LONG.
24432         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
24433         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
24435 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24437         [BZ #13691]
24438         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
24439         inptr and inend, rather than using last_ch.
24441 2012-04-02  David S. Miller  <davem@davemloft.net>
24443         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
24444         * stdio-common/printf-parse.h (read_int): Change return type to
24445         'int', return -1 on INT_MAX overflow.
24446         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
24447         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
24448         overflows INT_MAX.  Check for overflow of in-format-string precision
24449         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
24450         SIZE_MAX not INT_MAX for integer overflow test.
24451         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
24452         skip the construct in the format string but do not record anything.
24453         * stdio-common/bug22.c: Adjust to test both width/prevision
24454         INT_MAX overflow as well as total length INT_MAX overflow.  Check
24455         explicitly for proper errno values.
24457 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
24459         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
24460         CHAR_MAX.
24461         * string/test-strcmp.c [! WIDE]: Likewise.
24462         * time/tst-mktime2.c: Likewise for INT_MAX.
24463         * string/test-string.h: #include <sys/param.h> for MIN.
24465         * csu/init-first.c (__libc_init_first): Call __ctype_init.
24466         * sysdeps/i386/init-first.c (init): Likewise.
24467         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
24468         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
24469         * sysdeps/sh/init-first.c (init): Likewise.
24471 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
24473         * po/ru.po: Update from translation team.
24474         * po/vi.po: Likewise.
24476 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24478         * resolv/nss_dns/dns-host.c: Merge copyright years.
24480 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24482         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24483         Optimize memcpy with prefetch if
24484         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
24485         src, dst pointers have unequal 16 byte alignments.
24487 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
24489         [BZ #13928]
24490         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
24491         from a CNAME entry and return the minimum ttl for the query.
24492         (gaih_getanswer_slice): Likewise.
24494 2012-03-30  Jeff Law  <law@redhat.com>
24496         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
24497         due to long keys.
24498         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
24499         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
24501         * resolv/nss_dns/dns-host.c: Update copyright year.
24503 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
24505         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
24506         requests to save a system call.  Fix check that all bytes are sent.
24508         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
24509         comments for sendmmsg.
24511 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24513         [BZ #13691]
24514         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
24515         with only 1 character between 0x0041 and 0x01b0.
24516         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
24517         * wcsmbs/tst-mbsnrtowcs.c: New file.
24519 2012-03-29  David S. Miller  <davem@davemloft.net>
24521         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
24522         small copies by hand.
24524 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24526         [BZ #13761]
24527         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
24528         _nss_compat_initgroups_dyn): Fall back to malloc/free
24529         for large group memberships.
24531 2012-03-28  David S. Miller  <davem@davemloft.net>
24533         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
24534         that branches into memcpy.
24535         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24536         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24537         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24538         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24539         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
24540         bits.
24541         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
24542         implementation too.
24543         * sysdeps/sparc/mempcpy.S: New file.
24545         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
24546         the IFUNC routine in the libc case.
24547         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24549         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
24550         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
24551         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
24552         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
24553         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
24554         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
24555         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
24556         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
24558         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
24559         loop to 256 bytes instead of 64 bytes and fix test signedness.
24561         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
24562         * sysdeps/sparc/sparc32/Makefile: rather than here...
24563         * sysdeps/sparc/sparc64/Makefile: and here.
24565 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
24567         * malloc/mallocbug.c: Avoid warnings about unused variables.
24569 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
24571         [BZ #13760]
24572         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
24573         in the right place. Discard and retry query if response is
24574         larger than input buffer size.
24576 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
24578         [BZ #369]
24579         [BZ #2678]
24580         [BZ #3866]
24581         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
24582         x for large integer exponent.
24583         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24584         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
24585         sign of result as needed afterwards.
24586         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
24587         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
24588         result for underflowing pow the same as for overflow.
24589         (__kernel_standard_l): Handle powl overflow and underflow here
24590         rather than calling __kernel_standard.
24591         * math/libm-test.inc (pow_test): Add more tests.
24593         [BZ #3868]
24594         [BZ #13879]
24595         [BZ #13910]
24596         [BZ #13911]
24597         [BZ #13912]
24598         [BZ #13913]
24599         [BZ #13915]
24600         [BZ #13916]
24601         [BZ #13917]
24602         [BZ #13918]
24603         [BZ #13919]
24604         [BZ #13920]
24605         [BZ #13921]
24606         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
24607         * sysdeps/ieee754/k_standard.c: Include <float.h>.
24608         (__kernel_standard_l): New function.
24609         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
24610         __kernel_standard.
24611         * math/w_acosl.c (__acosl): Likewise.
24612         * math/w_asinl.c (__asinl): Likewise.
24613         * math/w_atan2l.c (__atan2l): Likewise.
24614         * math/w_atanhl.c (__atanhl): Likewise.
24615         * math/w_coshl.c (__coshl): Likewise.
24616         * math/w_exp10l.c (__exp10l): Likewise.
24617         * math/w_exp2l.c (__exp2l): Likewise.
24618         * math/w_fmodl.c (__fmodl): Likewise.
24619         * math/w_hypotl.c (__hypotl): Likewise.
24620         * math/w_j0l.c (__j0l, __y0l): Likewise.
24621         * math/w_j1l.c (__j1l, __y1l): Likewise.
24622         * math/w_jnl.c (__jnl, __ynl): Likewise.
24623         * math/w_lgammal.c (__lgammal): Likewise.
24624         * math/w_log10l.c (__log10l): Likewise.
24625         * math/w_log2l.c (__log2l): Likewise.
24626         * math/w_logl.c (__logl): Likewise.
24627         * math/w_powl.c (__powl): Likewise.
24628         * math/w_remainderl.c (__remainderl): Likewise.
24629         * math/w_scalbl.c (sysv_scalbl): Likewise.
24630         * math/w_sinhl.c (__sinhl): Likewise.
24631         * math/w_sqrtl.c (__sqrtl): Likewise.
24632         * math/w_tgammal.c (__tgammal): Likewise.
24633         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
24634         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
24635         * math/libm-test.inc (acos_test): Add more tests.
24636         (acosh_test): Likewise.
24637         (asin_test): Likewise.
24638         (atanh_test): Likewise.
24639         (exp_test): Likewise.
24640         (exp10_test): Likewise.
24641         (exp2_test): Likewise.
24642         (expm1_test): Likewise.
24643         (lgamma_test): Likewise.
24644         (log_test): Likewise.
24645         (log10_test): Likewise.
24646         (log1p_test): Likewise.
24647         (log2_test): Likewise.
24648         (pow_test): Do not allow some spurious overflow exceptions.
24649         (sqrt_test): Add more tests.
24650         (tgamma_test): Likewise.
24651         (y0_test): Likewise.
24652         (y1_test): Likewise.
24653         (yn_test): Likewise.
24655 2012-03-27  Anton Blanchard  <anton@samba.org>
24657         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
24658         MAP_HUGETLB.
24659         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24660         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24661         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24663 2012-03-27  David S. Miller  <davem@davemloft.net>
24665         * conform/Makefile: Run run-conformtest.sh using $(BASH).
24667         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
24668         have-as-vis3 check.
24670 2012-03-27  Andreas Jaeger  <aj@suse.de>
24672         * sysdeps/x86_64/elf/configure.in: Moved to ...
24673         * sysdeps/x86_64/configure.in: ... here.
24674         * sysdeps/x86_64/elf/start.S: Moved to ...
24675         * sysdeps/x86_64/start.S: ... here.
24676         * sysdeps/x86_64/elf/configure: Delete.
24678         * sysdeps/x86_64/configure.in: Merge contents from
24679         sysdeps/i386/configure.in (without i686 check).
24681         * sysdeps/i386/elf/Versions: Merge into ...
24682         * sysdeps/i386/Versions: ... this.
24683         * sysdeps/i386/elf/Versions: Delete file.
24684         * sysdeps/i386/elf/start.S: Moved to ...
24685         * sysdeps/i386/start.S: ...here.
24686         * sysdeps/i386/elf/configure.in: Merge into...
24687         * sysdeps/i386/configure.in: ...here.
24688         * sysdeps/i386/elf/configure.in: Delete file.
24689         * sysdeps/i386/elf/configure: Delete file.
24691         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
24692         * debug/backtracesyms.c: ... here.
24693         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
24694         * debug/backtracesymsfd.c: ... here.
24695         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
24696         * sysdeps/generic/ifunc-sel.h: ... here.
24698         * sysdeps/unix/i386/start.c: Delete file.
24699         * sysdeps/unix/sparc/start.c: Delete file.
24700         * sysdeps/unix/start.c: Delete file.
24702         * sysdeps/sh/elf/configure.in: Moved to ...
24703         * sysdeps/sh/configure.in: ... here.
24704         * sysdeps/sh/elf/start.S: Moved to ...
24705         * sysdeps/sh/start.S: ... here.
24706         * sysdeps/sh/elf/configure: Delete file.
24708         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
24709         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
24710         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
24711         * sysdeps/powerpc/powerpc64/entry.h: ... here.
24712         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
24713         * sysdeps/powerpc/powerpc64/start.S: here.
24714         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
24715         * sysdeps/powerpc/powerpc64/Makefile: ... this.
24716         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
24717         * sysdeps/powerpc/powerpc64/configure.in: ... this.
24718         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
24720         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
24721         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
24722         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
24723         * sysdeps/powerpc/powerpc32/start.S: ... here.
24724         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
24725         * sysdeps/powerpc/powerpc32/configure.in: ... this.
24726         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
24728         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
24729         * sysdeps/powerpc/ifunc-sel.h: ... here.
24730         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
24731         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
24733         * sysdeps/sparc/elf/configure.in: Moved to ...
24734         * sysdeps/sparc/configure.in: ... here.
24735         * sysdeps/sparc/elf/configure: Delete file.
24736         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
24737         * sysdeps/sparc/sparc32/start.S: ... here.
24738         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
24739         * sysdeps/sparc/sparc64/start.S: ... here.
24740         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
24741         * sysdeps/sparc/sparc32/Makefile: ... this.
24742         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
24743         * sysdeps/sparc/sparc64/Makefile: ... this.
24745         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
24746         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
24747         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
24748         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
24749         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
24750         * sysdeps/s390/s390-32/setjmp.S: ... here.
24751         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
24752         * sysdeps/s390/s390-32/configure.in: ... here.
24753         * sysdeps/s390/s390-32/elf/configure: Delete file.
24754         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
24755         * sysdeps/s390/s390-32/start.S: ... here.
24757         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
24758         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
24759         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
24760         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
24761         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
24762         * sysdeps/s390/s390-64/setjmp.S: ... here.
24763         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
24764         * sysdeps/s390/s390-64/configure.in: ... here
24765         * sysdeps/s390/s390-64/elf/configure: Delete file.
24766         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
24767         * sysdeps/s390/s390-64/start.S: ... here.
24768         * sysdeps/s390/s390-64/elf/configure: Delete.
24770         * configure.in: Remove support for elf directories in sysdeps.
24772         * configure: Regenerated.
24773         * sysdeps/i386/configure: Regenerated.
24774         * sysdeps/powerpc/powerpc32/configure: Regenerated.
24775         * sysdeps/powerpc/powerpc64/configure: Regenerated.
24776         * sysdeps/s390/s390-32/configure: Regenerated.
24777         * sysdeps/s390/s390-64/configure: Regenerated.
24778         * sysdeps/sh/configure: Regenerated.
24779         * sysdeps/sparc/configure: Regenerated.
24780         * sysdeps/x86_64/configure: Regenerated.
24782 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
24784         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24786         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
24787         denormal result into account.
24789 2012-03-25  Roland McGrath  <roland@hack.frob.com>
24791         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
24792         Reported by Allan McRae <allan@archlinux.org>.
24794 2012-03-23  Jeff Law  <law@redhat.com>
24796         * nss/getnssent.c (__nss_getent): Fix typo.
24798 2012-03-23  David S. Miller  <davem@davemloft.net>
24800         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24802 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
24804         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
24805         to pad to uint64_t for each field.
24806         (dl_tls_index): Replace unsigned long with uint64_t.
24808 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
24809         Paul Pluzhnikov  <ppluzhnikov@google.com>
24811         [BZ #6528]
24812         * grp/Makefile (otherlibs): Don't set it.
24813         * inet/Makefile (otherlibs): Likewise.
24814         * login/Makefile (otherlibs): Likewise.
24815         * nscd/Makefile (otherlibs): Likewise.
24816         * posix/Makefile (otherlibs): Likewise.
24817         * pwd/Makefile (otherlibs): Likewise.
24818         * rt/Makefile (otherlibs): Likewise.
24819         * sunrpc/Makefile (otherlibs): Likewise.
24820         * nss/Makefile (otherlibs): Likewise.
24821         Add libnss_files to routines and static-only-routines.
24822         ($(objpfx)getent): Remove rule.
24823         * resolv/Makefile: Add libnss_dns and libresolv to routines and
24824         static-only-routines.
24826 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
24828         [BZ #13892]
24829         * math/s_cexp.c: Include <float.h>.
24830         (__cexp): Handle exp result overflowing not necessarily
24831         overflowing both real and imaginary parts of result.
24832         * math/s_cexpf.c: Likewise.
24833         * math/s_cexpl.c: Likewise.
24834         * math/libm-test.inc (cexp_test): Add more tests.
24835         * sysdeps/i386/fpu/libm-test-ulps: Update.
24836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24838 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24840         * include/link.h (ELFW): New macro.
24841         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
24842         Replace ELF64_R_TYPE with ELFW(R_TYPE).
24844 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24846         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
24847         with uint64_t.
24849 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24851         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
24852         declaration.
24853         (struct La_x32_retval): Likewise.
24855 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24857         * sysdeps/x86_64/preconfigure.in: New file.
24858         * sysdeps/x86_64/preconfigure: New generated file.
24860 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
24862         [BZ #13824]
24863         * math/e_exp2l.c: Include <float.h>.
24864         (__ieee754_exp2l): Handle overflow and underflow cases
24865         separately.  Only pass fractional part of argument to
24866         __ieee754_expl.
24867         * math/libm-test.inc (exp2_test): Add more tests.
24869         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
24870         negating x to take absolute value.
24871         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24872         Likewise.
24873         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24874         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24875         Likewise.
24876         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
24877         computing low part if x was negated.
24878         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24880 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
24882         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
24883         la_x32_gnu_pltexit.
24884         (pltexit): Cast int_retval to ptrdiff_t.
24885         * elf/tst-auditmod3b.c: Likewise.
24886         * elf/tst-auditmod4b.c: Likewise.
24887         * elf/tst-auditmod5b.c: Likewise.
24888         * elf/tst-auditmod6b.c: Likewise.
24889         * elf/tst-auditmod6c.c: Likewise.
24890         * elf/tst-auditmod7b.c: Likewise.
24892         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
24893         and x32_gnu_pltexit.
24895         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
24896         __ELF_NATIVE_CLASS.
24897         (La_x32_regs): New macro.
24898         (La_x32_retval): Likewise.
24899         (la_x32_gnu_pltenter): New function prototype.
24900         (la_x32_gnu_pltexit): Likewise.
24902 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
24904         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
24905         exponent.
24907         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24909         * configure.in (libc_cv_cc_nofma): Check for option to disable
24910         generation of FMA instructions.
24911         * configure: Regenerate.
24912         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
24913         * sysdeps/ieee754/dbl-64/Makefile: New file.
24914         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24915         Remove brandred-fma4.
24916         (CFLAGS-brandred-fma4.c): Remove.
24917         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
24918         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
24919         define.
24920         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
24921         define.
24923 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
24925         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24926         LLONG_MAX != LONG_MAX.
24927         (_itoa_word): Use _ITOA_WORD_TYPE on value.
24928         (_fitoa_word): Likewise.
24929         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
24930         LLONG_MAX != LONG_MAX.
24931         * stdio-common/_itowa.h: Include <_itoa.h>.
24932         (_itowa_word): Use _ITOA_WORD_TYPE on value.
24933         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
24934         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
24935         only if not defined.
24936         (_ITOA_WORD_TYPE): Likewise.
24937         (_itoa_word): Use _ITOA_WORD_TYPE on value.
24938         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
24940 2012-03-21  David S. Miller  <davem@davemloft.net>
24942         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24944 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
24946         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
24947         of x86_64 when setting libc_cv_slibdir, libdir and
24948         libc_cv_localedir.
24949         * sysdeps/unix/sysv/linux/configure: Regenerated.
24951 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
24953         * manual/lang.texi (Old Varargs): Remove section.
24954         (How Variadic): Update menu.
24955         (va_start): Do not mention varargs.h.
24957 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
24958             Joseph Myers  <joseph@codesourcery.com>
24960         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
24961         link test.
24962         * configure: Regenerated.
24964 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
24966         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
24967         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
24968         conformtest.pl
24970 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
24972         * NOTES: Remove.
24973         * Makefile (files-for-dist): Remove NOTES.
24974         (NOTES): Remove rule.
24975         * README: Don't refer to NOTES.
24976         * manual/creature.texi: Don't include macros.texi.
24977         * manual/intro.texi (creature.texi): Remove comment referring to
24978         NOTES.
24980         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
24981         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
24982         * configure: Regenerated.
24983         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
24984         LIBC_TRY_CC_OPTION.
24985         (libc_cv_as_i686): Likewise.
24986         (libc_cv_cc_avx): Likewise.
24987         (libc_cv_cc_sse2avx): Likewise.
24988         (libc_cv_cc_fma4): Likewise.
24989         (libc_cv_cc_novzeroupper): Likewise.
24990         * sysdeps/i386/configure: Regenerated.
24992         [BZ #13883]
24993         * sysdeps/i386/fpu/s_cexp.S: Remove.
24994         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24995         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24996         * math/libm-test.inc (cexp_test): Add more tests.
24997         * sysdeps/i386/fpu/libm-test-ulps: Update.
24998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25000 2012-03-21  Allan McRae  <allan@archlinux.org>
25002         * timezone/Makefile: Do not install iso3166.tab and zone.tab
25004 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
25006         [BZ #13871]
25007         * math/w_exp2.c: Do not include <float.h>.
25008         (o_threshold, u_threshold): Remove.
25009         (__exp2): Calculate result before checking finiteness and calling
25010         __kernel_standard.
25011         * math/w_exp2f.c: Likewise.
25012         * math/w_exp2l.c: Likewise.
25013         * math/libm-test.inc (exp2_test): Require overflow exception for
25014         1e6 input.
25016         [BZ #3866]
25017         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
25018         range of signed 64-bit integers before using fistpll.  Remove
25019         checks for whether integers fit in mantissa bits.
25020         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
25021         the range of signed 32-bit integers before using fistpl.  Remove
25022         checks for whether integers fit in mantissa bits.
25023         * sysdeps/i386/fpu/e_powl.S (p64): New object.
25024         (__ieee754_powl): Test for y outside the range of signed 64-bit
25025         integers before using fistpll.  Reduce 64-bit values to 63-bit
25026         ones as needed.
25027         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
25028         divide-by-zero is raised for zero to large negative powers.
25029         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
25030         (__ieee754_powl): Test for y outside the range of signed 64-bit
25031         integers before using fistpll.  Reduce 64-bit values to 63-bit
25032         ones as needed.
25033         * math/libm-test.inc (pow_test): Add more tests.
25035 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
25037         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
25038         <stdio-common/_itoa.h>.
25039         * debug/segfault.c: Likewise.
25040         * elf/dl-cache.c: Likewise.
25041         * elf/dl-minimal.c: Likewise.
25042         * elf/dl-misc.c: Likewise.
25043         * elf/dl-sysdep.c: Likewise.
25044         * elf/dl-version.c: Likewise.
25045         * elf/rtld.c: Likewise.
25046         * hurd/hurdsock.c: Likewise.
25047         * hurd/lookup-retry.c: Likewise.
25048         * malloc/malloc.c: Likewise.
25049         * malloc/mtrace.c: Likewise.
25050         * nscd/nscd_getgr_r.c: Likewise.
25051         * nscd/nscd_getpw_r.c: Likewise.
25052         * nscd/nscd_getserv_r.c: Likewise.
25053         * posix/getopt_init.c: Likewise.
25054         * posix/wordexp.c: Likewise.
25055         * stdio-common/_itoa.c: Likewise.
25056         * stdio-common/printf_fphex.c: Likewise.
25057         * stdio-common/vfprintf.c: Likewise.
25058         * string/_strerror.c: Likewise.
25059         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
25060         * sysdeps/i386/i686/hp-timing.h: Likewise.
25061         * sysdeps/mach/_strerror.c: Likewise.
25062         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
25063         * sysdeps/mach/hurd/sethostid.c: Likewise.
25064         * sysdeps/mach/hurd/xmknodat.c: Likewise.
25065         * sysdeps/mach/xpg-strerror.c: Likewise.
25066         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25067         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25068         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
25069         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
25070         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25071         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
25072         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
25073         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
25074         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
25075         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
25076         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
25077         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25078         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
25079         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25080         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25081         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
25082         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
25083         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
25084         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
25085         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
25086         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
25088         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
25090         * stdio-common/_itoa.h: Moved to ...
25091         * sysdeps/generic/_itoa.h: Here.
25093         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
25095         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
25096         instead of "_itoa.h" and "_itowa.h".
25097         * stdio-common/vfprintf.: Likewise.
25099 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
25101         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
25102         <bits/wordsize.h>.
25103         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
25104         (__signbit): Likwise.
25105         (llrintf): Likwise.
25106         (llrint): Likwise.
25108 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
25110         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
25111         __WORDSIZE != 64.
25113 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
25115         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
25116         OVERFLOW_EXCEPTION_OK.
25117         * math/libm-test.inc ("Philosophy"): Update comment about
25118         exception testing.
25119         (OVERFLOW_EXCEPTION): Define.
25120         (OVERFLOW_EXCEPTION_OK): Likewise.
25121         (INVALID_EXCEPTION_OK): Renumber.
25122         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25123         (IGNORE_ZERO_INF_SIGN): Likewise.
25124         (test_exceptions): Handle FE_OVERFLOW.
25125         (exp10_test): Expect overflow exceptions.
25126         (exp2_test): Likewise.
25127         (expm1_test): Likewise.
25128         (nextafter_test): Likewise.
25129         (pow_test): Likewise.
25130         (scalbn_test): Likewise.
25131         (scalbln_test): Likewise.
25133 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
25135         * sysdeps/x86_64/bits/atomic.h
25136         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
25137         64bit integer.
25138         (atomic_exchange_acq): Likewise.
25139         (__arch_exchange_and_add_body): Likewise.
25140         (__arch_add_body): Likewise.
25141         (atomic_add_negative): Likewise.
25142         (atomic_add_zero): Likewise.
25144 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
25146         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
25147         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
25149 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
25151         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
25152         Check __x86_64__ instead of __WORDSIZE.
25154 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
25156         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
25158 2012-03-19  David S. Miller  <davem@davemloft.net>
25160         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25162         * sysdeps/sparc/fpu/fenv_private.h: New file.
25163         * sysdeps/sparc/fpu/math_private.h: Use it.
25164         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
25165         Remove.
25166         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
25167         (libc_feholdexcept_setroundl): Remove.
25168         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
25169         Remove.
25170         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
25171         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
25173 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
25175         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
25176         int64_t instead of long int.
25177         (INSERT_WORDS64): Likwise.
25179 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
25181         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
25182         _Unwind_GetCFA return to _Unwind_Ptr first.
25184 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
25186         [BZ #13629]
25187         * math/s_clog.c: Include <float.h>.
25188         (__clog): Scale large or subnormal inputs.
25189         * math/s_clogf.c: Likewise.
25190         * math/s_clogl.c: Likewise.
25191         * math/s_clog10.c: Include <float.h>.
25192         (M_LOG10_2): Define.
25193         (__clog10): Scale large or subnormal inputs.
25194         * math/s_clog10f.c: Likewise.
25195         * math/s_clog10l.c: Likewise.
25196         * math/libm-test.inc (clog_test): Add more tests.
25197         (clog10_test): Likewise.
25198         * sysdeps/i386/fpu/libm-test-ulps: Update.
25199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25201         [BZ #11451]
25202         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
25203         x and y.
25204         * math/libm-test.inc (atan2_test): Add another test.
25206         * Makerules (common-objdir-compile): Remove.
25207         * sysdeps/unix/Makefile (config-generated): Do not add
25208         $(unix-generated) to variable.
25209         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
25210         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
25211         Remove rule.
25212         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
25213         Likewise.
25214         [generic bits/local_lim.h] (before-compile): Do not append to
25215         variable.
25216         [generic bits/local_lim.h] (common-generated): Likewise.
25217         [generic sys/param.h] (before-compile): Do not append to variable.
25218         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
25219         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
25220         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
25221         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
25222         include.
25223         [generic sys/param.h] (sys/param.h-includes): Remove variable.
25224         [generic sys/param.h] (sys/param.h-includes): Remove rule.
25225         [generic sys/param.h] ($(addprefix
25226         $(common-objpfx),$(sys/param.h-includes))): Likewise.
25227         [generic sys/param.h] (common-generated): Do not append to
25228         variable.
25229         [generic sys/param.h] (sysdep_headers): Likewise.
25230         [generic bits/errno.h] (before-compile): Do not append to
25231         variable.
25232         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
25233         rule.
25234         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
25235         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
25236         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
25237         [generic bits/errno.h] (common-generated): Do not append to
25238         variable.
25239         [generic bits/ioctls.h] (before-compile): Do not append to
25240         variable.
25241         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
25242         rule.
25243         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
25244         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
25245         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
25246         rule.
25247         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
25248         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
25249         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
25250         [generic bits/ioctls.h] (common-generated): Do not append to
25251         variable.
25252         [generic sys/syscall.h] (syscall.h): Remove variable.
25253         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
25254         rule.
25255         [generic sys/syscall.h] (before-compile): Do not append to
25256         variable.
25257         [generic sys/syscall.h] (common-generated): Likewise.
25258         * sysdeps/unix/errnos-tmpl.c: Remove file.
25259         * sysdeps/unix/errnos.awk: Likewise.
25260         * sysdeps/unix/ioctls-tmpl.c: Likewise.
25261         * sysdeps/unix/ioctls.awk: Likewise.
25262         * sysdeps/unix/mk-local_lim.c: Likewise.
25263         * sysdeps/unix/snarf-ioctls: Likewise.
25265 2012-03-19  Richard Henderson  <rth@twiddle.net>
25267         * sysdeps/i386/fpu/fenv_private.h: New file.
25268         * sysdeps/i386/fpu/math_private.h: Use it.
25269         (math_opt_barrier, math_force_eval): Remove.
25270         (libc_feholdexcept_setround_53bit): Remove.
25271         (libc_feupdateenv_53bit): Remove.
25272         * sysdeps/x86_64/fpu/math_private.h: Likewise.
25273         (math_opt_barrier, math_force_eval): Remove.
25274         (libc_feholdexcept): Remove.
25275         (libc_feholdexcept_setround): Remove.
25276         (libc_fetestexcept, libc_fesetenv): Remove.
25277         (libc_feupdateenv_test): Remove.
25278         (libc_feupdateenv, libc_feholdsetround): Remove.
25279         (libc_feresetround): Remove.
25281         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
25282         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25284         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
25285         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
25286         (libc_feupdateenv_testl): New.
25287         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
25288         (libc_feupdateenv_testf): New.
25289         (libc_feupdateenv): Use libc_feupdateenv_test.
25290         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
25291         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
25293         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
25294         (libc_feholdsetroundf, libc_feholdsetroundl): New.
25295         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
25296         (libc_feresetround_noex): New.
25297         (libc_feresetround_noexf): New.
25298         (libc_feresetround_noexl): New.
25299         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
25300         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
25301         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
25302         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
25303         SET_RESTORE_ROUND.
25304         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25305         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
25306         (__cos): Likewise.
25307         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
25308         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
25309         SET_RESTORE_ROUND_NOEX.
25310         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
25311         SET_RESTORE_ROUND_NOEXF.
25312         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
25313         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
25314         (libc_feholdsetroundf): New.
25315         (libc_feresetround, libc_feresetroundf): New.
25317         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
25318         (libc_feholdexcept_setround_53bit): Convert from macro to function.
25319         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
25321         * sysdeps/generic/math_private.h: Include <fenv.h>.
25322         (default_libc_feholdexcept): New.
25323         (default_libc_feholdexcept_setround): New.
25324         (default_libc_fesetenv, default_libc_feupdateenv): New.
25325         (libc_feholdexcept): Only define if undefined.
25326         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
25327         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
25328         (libc_feholdexcept_setroundl): Likewise.
25329         (libc_feholdexcept_setround_53bit): Likewise.
25330         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
25331         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
25332         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
25333         (libc_feupdateenv_53bit): Likewise.
25334         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
25335         (libc_feholdexcept): Convert from macro to inline function.
25336         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
25337         (libc_fesetenv, libc_feupdateenv): Likewise.
25339         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
25340         not previously defined.
25341         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
25342         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
25343         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
25344         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
25345         * sysdeps/ieee754/flt-32/math_private.h: New file.
25346         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
25347         math_private.h below SET_FLOAT_WORD.
25348         (__isnan, __isinf_ns, __finite): Remove.
25349         (__isnanf, __isinf_nsf, __finitef): Remove.
25351 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
25353         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25355 2012-03-17  David S. Miller  <davem@davemloft.net>
25357         [BZ #6471]
25358         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
25359         for 2.16.
25361 2012-03-16  David S. Miller  <davem@davemloft.net>
25363         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
25364         warnings.
25366         [BZ #6471]
25367         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
25368         properly.
25369         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
25370         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
25371         sysdep_routines when subdir is sysvipc.
25372         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
25373         __getshmlba helper.
25375         * sysdeps/sparc/fpu/libm-test/ulps: Update.
25377 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25379         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
25380         [__LP64__].
25382 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25384         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
25385         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
25386         (__lround): Renamed to ...
25387         (__llround): This.  Replace long int with long long int.
25388         Define lround functions as aliases of llround functions.
25389         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
25391 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25393         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
25394         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
25395         adresses to uintptr_t.  Replace "long int" and "unsigned long
25396         int" with "greg_t" on va_arg.
25398 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25400         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
25401         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
25403         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
25404         Move e_machine check before EI_CLASS check.  Handle x32
25405         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
25406         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
25407         SKIP_EM_IA_64 and include
25408         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
25410         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
25411         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
25412         (add_system_dir): New macro.
25414         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
25415         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
25417 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
25419         [BZ #2551]
25420         [BZ #2552]
25421         [BZ #2553]
25422         [BZ #2554]
25423         [BZ #2562]
25424         [BZ #2563]
25425         [BZ #2565]
25426         [BZ #2566]
25427         [BZ #2576]
25428         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
25429         (y0): Likewise.
25430         * math/w_j0f.c (j0f): Likewise.
25431         (y0f): Likewise.
25432         * math/w_j0l.c (__j0l): Likewise.
25433         (__y0l): Likewise.
25434         * math/w_j1.c (j1): Likewise.
25435         (y1): Likewise.
25436         * math/w_j1f.c (j1f): Likewise.
25437         (y1f): Likewise.
25438         * math/w_j1l.c (__j1l): Likewise.
25439         (__y1l): Likewise.
25440         * math/w_jn.c (jn): Likewise.
25441         (yn): Likewise.
25442         * math/w_jnf.c (jnf): Likewise.
25443         (ynf): Likewise.
25444         * math/w_jnl.c (__jnl): Likewise.
25445         (__ynl): Likewise.
25446         * math/libm-test.inc (j0_test): Add more tests.
25447         (j1_test): Likewise.
25448         (jn_test): Likewise.  Add trailing semicolon to existing test.
25449         (y0_test): Likewise.
25450         (y1_test): Likewise.
25451         * sysdeps/i386/fpu/libm-test-ulps: Update.
25452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25454         [BZ #13851]
25455         [BZ #13854]
25456         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
25457         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
25458         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
25459         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
25460         (__tanl): Set errno for infinite argument.
25461         * sysdeps/i386/fpu/mptan.c: Remove.
25462         * sysdeps/i386/fpu/s_tan.S: Likewise.
25463         * sysdeps/i386/fpu/s_tanl.S: Likewise.
25464         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
25465         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
25466         * math/libm-test.inc (tan_test): Add more tests and enable more
25467         tests for double and long double.
25468         * sysdeps/i386/fpu/libm-test-ulps: Update.
25469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25471 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
25473         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
25474         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
25476 2012-03-16  Roland McGrath  <roland@hack.frob.com>
25478         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
25479         * configure.in: Use it for both main tree and add-ons.
25480         * configure: Regenerated.
25482 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25484         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
25486 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
25488         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
25489         in comment.
25491         [BZ #13851]
25492         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
25493         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
25494         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
25495         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
25496         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
25497         infinite argument.
25498         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
25499         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
25500         != 0 for prec == 2.
25501         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
25502         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
25503         * sysdeps/i386/fpu/s_cosl.S: Likewise.
25504         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
25505         * sysdeps/i386/fpu/s_sinl.S: Likewise.
25506         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
25507         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
25508         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
25509         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
25510         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
25511         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
25512         * math/libm-test.inc (cos_test): Add more tests and enable more
25513         tests for long double.
25514         (sin_test): Likewise.
25515         (sincos_test): Likewise.
25516         * sysdeps/i386/fpu/libm-test-ulps: Update.
25517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25519 2012-03-16  David S. Miller  <davem@davemloft.net>
25521         * sysdeps/sparc/fpu/math_private.h: New file.
25523 2012-03-15  David S. Miller  <davem@davemloft.net>
25525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
25526         file.
25527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
25528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
25529         file.
25530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
25531         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
25532         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
25533         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
25534         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
25535         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
25536         sysdep routines.
25537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25539         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
25540         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
25542         * sysdeps/sparc/sparc-ifunc.h: New file.
25543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
25544         sparc-ifunc.h
25545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25547         Likewise.
25548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
25549         Likewise.
25550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
25551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
25552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25554         Likewise.
25555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
25557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
25559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
25560         Likewise.
25561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
25562         Likewise.
25563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
25565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
25566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
25567         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25568         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25569         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
25570         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
25571         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25572         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25573         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
25574         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
25575         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
25576         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
25577         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
25578         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
25579         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
25580         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
25581         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
25582         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
25583         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
25584         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
25585         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
25586         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
25588 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
25590         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
25591         scaling.
25592         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25594 2012-03-15  Andreas Jaeger  <aj@suse.de>
25596         [BZ #13852]
25597         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
25598         ieee754/flt-32 implementation for sin, cos and sincos.
25599         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
25600         * sysdeps/i386/fpu/s_cosf.S: Likewise.
25601         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
25602         * sysdeps/i386/fpu/s_sinf.S: Likewise.
25603         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
25604         ieee754/flt-32 implementation for tan.
25606         * math/libm-test.inc (cos_test): Enable some large input tests for
25607         float as well
25608         (sin_test): Likewise.
25609         (sincos_test): Likewise.
25610         (tan_test): Add tests for large input.
25612         * sysdeps/i386/fpu/libm-test-ulps: Update.
25614 2012-03-15  Andreas Jaeger  <aj@suse.de>
25616         [BZ #13658]
25617         * math/libm-test.inc (cos_test): Add more test cases.
25618         (sin_test): Likewise.
25619         (sincos_test): Likewise.
25621 2012-03-15  Andreas Jaeger  <aj@suse.de>
25623         [BZ #13837]
25624         * math/libm-test.inc (cos_test): Add a test case for large input
25625         value.
25626         (sin_test): Likewise.
25627         (sincos_test): Likewise.
25629 2012-03-15  Andreas Jaeger  <aj@suse.de>,
25630         Joseph Myers  <joseph@codesourcery.com>
25632         [BZ #13658]
25633         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
25634         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
25635         * sysdeps/i386/fpu/branred.c: Likewise.
25636         * sysdeps/i386/fpu/dosincos.c: Likewise.
25637         * sysdeps/i386/fpu/mpa.c: Likewise.
25638         * sysdeps/i386/fpu/s_cos.S: Likewise.
25639         * sysdeps/i386/fpu/s_sin.S: Likewise.
25640         * sysdeps/i386/fpu/s_sincos.S: Likewise.
25641         * sysdeps/i386/fpu/sincos32.c: Likewise.
25643         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
25644         Define.
25645         (libc_feupdateenv_53bit): Define.
25646         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
25647         Define.
25648         (libc_feupdateenv_53bit): Define.
25650         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
25651         53 bit (without extend i386 double precision).
25653         * math/libm-test.inc (sincos_test): Add tests for large input.
25654         (sin): Likewise.
25655         (cos): Likewise.
25657         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25659 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
25661         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25663 2012-03-15  David S. Miller  <davem@davemloft.net>
25665         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
25666         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
25667         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
25668         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
25669         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
25670         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
25671         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
25672         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
25673         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
25674         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
25675         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
25676         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
25677         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
25678         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
25679         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
25680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
25681         file.
25682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
25683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
25684         file.
25685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
25686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
25687         file.
25688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
25689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
25690         file.
25691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
25692         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
25693         fmin/fmax sysdep routines.
25694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25696 2012-03-14  David S. Miller  <davem@davemloft.net>
25698         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
25699         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
25700         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
25701         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
25702         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
25703         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
25704         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
25705         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
25706         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
25707         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
25708         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
25709         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
25710         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
25711         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
25712         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
25713         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
25714         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
25715         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
25716         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
25717         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
25718         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
25719         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
25720         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
25721         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
25722         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
25723         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
25724         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
25725         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
25726         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
25727         routines.
25728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
25729         file.
25730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
25731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
25732         file.
25733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
25734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
25735         file.
25736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
25737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
25738         file.
25739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
25740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
25741         file.
25742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
25743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
25744         file.
25745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
25746         file.
25747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
25748         file.
25749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
25750         file.
25751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
25752         New file.
25753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
25754         file.
25755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
25756         file.
25757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
25758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
25759         file.
25760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
25761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
25762         file.
25763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
25764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
25765         file.
25766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
25767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
25768         VIS3 routines.
25770         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25771         New file.
25773         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25775         * sysdeps/sparc/configure.in: New file.
25776         * sysdeps/sparc/configure: Generate.
25777         * configure.in (libc_cv_sparc_as_vis3): Substitute.
25778         * configure: Regenerate.
25779         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
25780         * config.make.in (have-as-vis3): New.
25781         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
25782         available use -Av9d instead of -Av9a.
25783         * sysdeps/sparc/sparc64/Makefile: Likewise.
25784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
25785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
25786         New file.
25787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
25788         file.
25789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
25790         New file.
25791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
25792         file.
25793         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
25794         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
25795         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
25796         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
25797         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
25799         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
25800         fzeros/fnegs to load 0x80000000 into a float register instead of
25801         using the stack.
25802         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
25804 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
25806         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25807         bits/syscall.h.
25808         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
25809         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
25810         ($(inst_includedir)/bits/syscall.h): Remove rule.
25811         ($(objpfx)bits/syscall.d): Include instead of
25812         $(objpfx)syscall-list.d.
25813         (generated): Change syscall-list.h and syscall-list.d to
25814         bits/syscall.h and bits/syscall.d.
25816 2012-03-14  Roland McGrath  <roland@hack.frob.com>
25818         [BZ #13846]
25819         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
25821 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
25823         [BZ #13841]
25824         * math/s_csqrt.c: Include <float.h>.
25825         (__csqrt): Scale large or subnormal inputs.
25826         * math/s_csqrtf.c: Likewise.
25827         * math/s_csqrtl.c: Likewise.
25828         * math/libm-test.inc (csqrt_test): Add more tests.
25829         * sysdeps/i386/fpu/libm-test-ulps: Update.
25830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25832         [BZ #13840]
25833         * math/libm-test.inc (hypot_test): Add more tests.
25835 2012-03-13  David S. Miller  <davem@davemloft.net>
25837         [BZ #13840]
25838         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
25839         double-precision for the calculation instead of scaling.
25841 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
25843         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
25844         manipulate bits before adding and subtracting TWO52[sx].
25845         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
25846         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
25847         Likewise.
25848         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
25850 2012-03-13  David S. Miller  <davem@davemloft.net>
25852         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
25853         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
25854         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
25855         rtld-global-offsets.h
25856         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25858         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
25859         large parameters.
25861         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
25863         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
25864         'err' in the ifdef scope in which it is actually used.
25866         * nss/nss_db/db-init.c: Include string.h
25868 2012-03-12  David S. Miller  <davem@davemloft.net>
25870         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25871         masking out of the most significant byte of random value used.
25872         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25873         Fix coding style in previous change.
25875         * sysdeps/unix/sysv/linux/kernel-features.h
25876         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
25877         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
25878         expression.
25879         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
25880         later.
25882 2012-03-11  David S. Miller  <davem@davemloft.net>
25884         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25885         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
25886         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
25887         for 'resultvar' otherwise things get truncated on 64-bit.
25889         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25890         Fix masking out of the most significant byte of random value used.
25892         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25894 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
25896         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25898 2012-03-09  David S. Miller  <davem@davemloft.net>
25900         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
25901         variables with appropriate CPP guards.
25902         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
25903         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
25904         on resulting framesize and the management of the outregs buffer for pltexit.
25905         Preserve floating point return values across _dl_call_pltexit call.
25906         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
25907         framesize and the management of the outregs buffer for pltexit.
25908         Preserve floating point return values across _dl_call_pltexit
25909         call.
25910         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
25911         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
25912         (print_exit): Fix format string for return register value.
25914 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
25916         * sunrpc/Makefile (others): Add rpcgen.
25917         ($(objpfx)rpcgen): Remove special build rule and dependency on
25918         libc.
25919         * sunrpc/rpcgen.c: New file.
25921 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
25923         [BZ #13673]
25924         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
25925         * stdio-common/bug-vfprintf-nargs.c: Likewise.
25926         * sysdeps/i386/crti.S: Likewise.
25927         * sysdeps/i386/crtn.S: Likewise.
25928         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
25929         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
25930         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
25931         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
25932         * sysdeps/sh/crti.S: Likewise.
25933         * sysdeps/sh/crtn.S: Likewise.
25934         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25936         [BZ #13673]
25937         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
25938         with URL.
25939         * locale/programs/locfile-kw.gperf: Likewise.
25940         * locale/programs/charmap-kw.h: Regenerated.
25941         * locale/programs/locfile-kw.h: Likewise.
25943         [BZ #13673]
25944         * intl/plural.y: Replace FSF snail mail address with URL.
25945         * intl/plural.c: Regenerated.
25947 2012-03-09  Richard Henderson  <rth@twiddle.net>
25949         * include/math_private.h: Remove file.
25950         * math/math_private.h: Move file ...
25951         * sysdeps/generic/math_private.h: ... here.
25953         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
25954         * sysdeps/powerpc/fpu/math_private.h: Likewise.
25955         * sysdeps/x86_64/fpu/math_private.h: Likewise.
25957         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
25958         and <math_private.h>.
25959         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25960         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25961         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25962         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25963         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25964         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
25965         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25966         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25967         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25968         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25969         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25970         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25971         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25972         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25973         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25974         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25975         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25976         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25977         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25978         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25979         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25980         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25981         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25982         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25983         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25984         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25985         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25986         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25987         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25988         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25989         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25990         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25991         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25992         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25993         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25994         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25995         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25996         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25997         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25998         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25999         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
26000         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26001         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26002         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
26003         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
26004         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26005         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
26006         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
26007         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26008         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26009         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
26010         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
26011         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
26012         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26013         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
26014         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26015         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26016         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26017         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
26018         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
26019         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26020         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
26021         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26022         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26023         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
26024         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26025         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26026         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26027         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
26028         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
26029         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26030         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26031         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26032         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26033         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
26034         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
26035         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
26036         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26037         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
26038         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
26039         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26040         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
26041         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26042         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26043         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26044         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
26045         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
26046         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
26047         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26048         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26049         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26050         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26051         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26052         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26053         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26054         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26055         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26056         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26057         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26058         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26059         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26060         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26061         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26062         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26063         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26064         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26065         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26066         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26067         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26068         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26069         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26070         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26071         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26072         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26073         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
26074         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26075         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26076         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26077         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26078         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26079         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26080         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26081         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26082         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
26083         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26084         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26085         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26086         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
26087         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26088         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
26089         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
26090         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26091         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26092         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
26093         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
26094         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26095         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26096         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26097         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
26098         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26099         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26100         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26101         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26102         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
26103         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
26104         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26105         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26106         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26107         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
26108         * sysdeps/ieee754/k_standard.c: Likewise.
26109         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26110         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26111         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26112         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26113         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26114         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26115         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26116         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26117         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26118         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26119         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26120         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26121         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26122         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26123         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26124         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26125         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26126         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26127         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26128         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
26129         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
26130         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
26131         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26132         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26133         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26134         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
26135         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26136         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26137         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26138         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26139         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26140         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26141         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26142         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26143         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26144         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26145         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26146         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
26147         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
26148         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26149         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26150         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26151         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26152         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26153         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26154         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26155         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26156         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26157         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26158         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26159         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26160         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26161         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26162         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
26163         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26164         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26165         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
26166         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
26167         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26168         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26169         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26170         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26171         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26172         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26173         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26174         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26175         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26176         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26177         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26178         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26179         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26180         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26181         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26182         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26183         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26184         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26185         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
26186         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26187         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26188         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26189         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26190         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26191         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26192         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26193         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
26194         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26195         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26196         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
26197         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26198         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26199         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
26200         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26201         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
26202         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26203         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26204         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26205         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
26206         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
26207         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
26208         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
26209         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26210         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26211         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26212         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26213         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
26214         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26215         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26216         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
26217         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
26218         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26219         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26220         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26221         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26222         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26223         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26224         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26225         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26226         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26227         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26228         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26229         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26230         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26231         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26232         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26233         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26234         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
26235         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26236         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26237         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26238         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26239         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26240         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26241         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26242         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26243         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26244         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26245         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
26246         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26247         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26248         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
26249         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
26250         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26251         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
26252         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
26253         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26254         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26255         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26256         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26257         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26258         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
26259         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26260         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26261         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26262         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26263         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
26264         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
26265         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26266         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26267         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26268         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26269         * sysdeps/ieee754/s_lib_version.c: Likewise.
26270         * sysdeps/ieee754/s_matherr.c: Likewise.
26271         * sysdeps/ieee754/s_signgam.c: Likewise.
26272         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26273         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26274         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
26275         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
26276         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
26277         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26278         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
26279         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
26280         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
26281         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
26282         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26283         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
26284         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26285         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26286         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
26287         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26288         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26289         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26290         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26291         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26292         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26294 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
26296         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
26297         * sunrpc/rpc_main.c: Likewise.
26298         * sunrpc/rpc_svcout.c: Likewise.
26300 2012-03-09  David S. Miller  <davem@davemloft.net>
26302         * include/math_private.h: New file.
26304 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
26306         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
26307         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
26308         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
26309         from <bits/socket_type.h>.
26310         (enum __socket_type): Don't define here.
26311         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
26312         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26313         bits/socket_type.h.
26315         [BZ #13566]
26316         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
26317         checking __USE_GNU.
26319         * Makerules ($(inst_includedir)/%.h): New rule.
26320         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
26321         (install-others): Remove variable setting.
26322         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
26324 2012-03-08  Richard Henderson  <rth@twiddle.net>
26326         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
26327         from macro to inline function; merge with the
26328         !__LIBC_INTERNAL_MATH_INLINES version.
26329         (__ieee754_sqrtf): Likewise.
26331         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
26332         to inline function.
26333         (__rintf, __floor, __floorf): Likewise.
26335         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
26336         macro to inline function.
26337         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
26339         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
26340         not <math/math_private.h>.
26342 2012-03-08  David S. Miller  <davem@davemloft.net>
26344         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
26345         copyright year.
26346         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
26348 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
26350         * resolv/gai_misc.c (handle_requests): Fix struct timespec
26351         normalization.
26352         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
26353         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
26355 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
26357         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
26358         be defined individually, they must be defined as a block.  Define
26359         S for printing a string instead of hidint the different by using a
26360         macro for adding the 'l'.
26361         * stdio-common/tst-fphex-wide.c: Adjust.
26363 2012-03-07  Marek Polacek  <polacek@redhat.com>
26365         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
26367 2012-03-08  Marek Polacek  <polacek@redhat.com>
26369         [BZ #13806]
26370         * stdio-common/Makefile (tests): Add tst-fphex-wide.
26371         * stdio-common/tst-fphex.c: Define a few macros to make the
26372         test reusable.  Use them.
26373         * stdio-common/tst-fphex-wide.c: New file.
26375 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
26377         [BZ #6911]
26378         * manual/macros.texi (gnusystems): New macro.
26379         (nongnusystems): Likewise.
26380         (gnulinuxhurdsystems): Likewise.
26381         (gnuhurdsystems): Likewise..
26382         (gnulinuxsystems): Likewise.
26383         * manual/charset.texi: Use new macros or @theglibc{} to refer to
26384         variants of the GNU system, not "GNU system".
26385         * manual/conf.texi: Likewise.
26386         * manual/errno.texi: Likewise.  Update example of errno macro
26387         expansion.
26388         * manual/filesys.texi: Likewise.
26389         (getumask): Document as specific to GNU/Hurd.
26390         * manual/install.texi: Likewise.  Reword some references to
26391         GNU/Linux.
26392         * manual/intro.texi: Likewise.
26393         * manual/io.texi: Likewise.
26394         (File Name Portability): Detail which constraints are inapplicable
26395         to all GNU systems and which are only inapplicable to GNU/Hurd.
26396         * manual/job.texi: Likewise.
26397         * manual/llio.texi: Likewise.
26398         (O_NOCTTY): Document as present on GNU/Linux.
26399         * manual/maint.texi: Likewise.
26400         * manual/memory.texi: Likewise.
26401         * manual/pattern.texi: Likewise.
26402         * manual/pipe.texi: Likewise.
26403         * manual/process.texi: Likewise.
26404         * manual/resource.texi: Likewise.
26405         (RUSAGE_CHILDREN): Remove statement about specifying a particular
26406         child on GNU/Hurd.
26407         * manual/setjmp.texi: Likewise.
26408         * manual/signal.texi: Likewise.
26409         * manual/startup.texi: Likewise.
26410         * manual/stdio.texi: Likewise.
26411         * manual/terminal.texi: Likewise.
26412         (ONLCR): Document as POSIX.
26413         (OXTABS): Document availability on GNU/Linux as XTABS.
26414         (ONOEOT): Document availability separately from other bits.
26415         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
26416         * manual/time.texi: Likewise.
26417         * manual/users.texi: Likewise.
26418         * INSTALL: Regenerated.
26419         * sysdeps/gnu/errlist.c: Regenerated.
26421         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
26422         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
26423         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
26424         puts.
26425         * configure: Regenerated.
26427 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
26429         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
26430         default includes instead of AC_HEADER_CHECK.
26431         * sysdeps/i386/configure: Regenerated.
26433         [BZ #10716]
26434         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
26435         * math/s_cacoshf.c (__cacoshf): Likewise.
26436         * math/s_cacoshl.c (__cacoshl): Likewise.
26437         * math/s_casinh.c (__casinh): Set signs of result from argument.
26438         * math/s_casinhf.c (__casinhf): Likewise.
26439         * math/s_casinhl.c (__casinhl): Likewise.
26440         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
26441         (casinh_test): Add more tests.
26442         * sysdeps/i386/fpu/libm-test-ulps: Update.
26443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26445 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
26447         * po/zh_TW.po: Update from translation team.
26449         * login/Makefile (distribute): Remove variable.
26450         * catgets/Makefile: Likewise.
26451         * mach/Makefile: Likewise.
26452         * malloc/Makefile: Likewise.
26453         * misc/Makefile: Likewise.
26454         * iconv/Makefile: Likewise.
26455         * nscd/Makefile: Likewise.
26456         * hurd/Makefile: Likewise.
26457         * manual/Makefile: Likewise.
26458         * locale/Makefile: Likewise.
26459         * intl/Makefile: Likewise.
26460         * conform/Makefile: Likewise.
26461         * nss/Makefile: Likewise.
26462         * time/Makefile: Likewise.
26463         * soft-fp/Makefile: Likewise.
26464         * dirent/Makefile: Likewise.
26465         * gmon/Makefile: Likewise.
26466         * po/Makefile: Likewise.
26467         * rt/Makefile: Likewise.
26468         * socket/Makefile: Likewise.
26469         * math/Makefile: Likewise.
26470         * signal/Makefile: Likewise.
26471         * debug/Makefile: Likewise.
26472         * elf/Makefile: Likewise.
26473         * timezone/Makefile: Likewise.
26474         * stdlib/Makefile: Likewise.
26475         * iconvdata/Makefile: Likewise.
26476         * sunrpc/Makefile: Likewise.
26477         * io/Makefile: Likewise.
26478         * argp/Makefile: Likewise.
26479         * inet/Makefile: Likewise.
26480         * hesiod/Makefile: Likewise.
26481         * grp/Makefile: Likewise.
26482         * csu/Makefile: Likewise.
26483         * wctype/Makefile: Likewise.
26484         * crypt/Makefile: Likewise.
26485         * libio/Makefile: Likewise.
26486         * string/Makefile: Likewise.
26487         * nis/Makefile: Likewise.
26488         * resolv/Makefile: Likewise.
26489         * stdio-common/Makefile: Likewise.
26490         * wcsmbs/Makefile: Likewise.
26491         * dlfcn/Makefile: Likewise.
26492         * posix/Makefile: Likewise.
26494         [BZ #6959]
26495         * timezone/Makefile: Don't install timezone files, just the programs
26496         and scripts.
26498 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
26500         * nss/databases.def: Add missing gshadow entry.
26502         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
26504 2012-03-06  Marek Polacek  <polacek@redhat.com>
26506         [BZ #13726]
26507         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
26508         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26509         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
26510         * stdio-common/tst-long-dbl-fphex.c: New file.
26512 2012-03-06  David S. Miller  <davem@davemloft.net>
26514         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26515         (set_obp_int): New function.
26516         (get_obp_int): New function.
26517         (__get_clockfreq_via_dev_openprom): Likewise.
26518         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
26519         Avoid unused variable warnings on 'val' and use builtin_expect.
26520         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
26521         __builtin_expect.
26522         (INLINE_CLONE_SYSCALL): Likewise.
26524 2012-03-05  David S. Miller  <davem@davemloft.net>
26526         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26528 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
26530         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26532         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
26533         only for |x| >= 40.
26534         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26536 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
26538         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
26539         Replace gettimeofday with __vdso_gettimeofday.
26541         * sysdeps/unix/sysv/linux/x86_64/init-first.c
26542         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
26543         __vdso_clock_gettime and __vdso_getcpu.
26545         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
26546         time with __vdso_time.
26548 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
26550         * manual/lang.texi (size_t): Note types to which size_t may be
26551         equivalent with the GNU C Library, but do not describe when
26552         differences between them are significant.
26554 2012-03-05  Andreas Jaeger  <aj@suse.de>
26556         * sysdeps/i386/fpu/libm-test-ulps: Update.
26558 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
26560         [BZ #3976]
26561         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
26562         (__ieee754_pow): Save and restore rounding mode and use
26563         round-to-nearest for main computations.
26564         * math/libm-test.inc (pow_test_tonearest): New function.
26565         (pow_test_towardzero): Likewise.
26566         (pow_test_downward): Likewise.
26567         (pow_test_upward): Likewise.
26568         (main): Call the new functions.
26569         * sysdeps/i386/fpu/libm-test-ulps: Update.
26570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26572         [BZ #3976]
26573         * math/libm-test.inc (cosh_test_tonearest): New function.
26574         (cosh_test_towardzero): Likewise.
26575         (cosh_test_downward): Likewise.
26576         (cosh_test_upward): Likewise.
26577         (sinh_test_tonearest): Likewise.
26578         (sinh_test_towardzero): Likewise.
26579         (sinh_test_downward): Likewise.
26580         (sinh_test_upward): Likewise.
26581         (main): Call the new functions.
26582         * sysdeps/i386/fpu/libm-test-ulps: Update.
26583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26585 2012-03-05  Tom de Vries  <tom@codesourcery.com>
26587         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
26588         default stack guard is set in last bytes.
26589         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
26591 2012-03-05  Kees Cook  <keescook@chromium.org>
26593         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
26595         [BZ #13656]
26596         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
26597         possibly allocate from heap instead of stack.
26598         * stdio-common/bug-vfprintf-nargs.c: New file.
26599         * stdio-common/Makefile (tests): Add nargs overflow test.
26601 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
26603         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26605 2012-03-03  Marek Polacek  <polacek@redhat.com>
26607         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
26608         * math/math_private.h: Likewise.
26609         * stdlib/tst-strtod.c: Likewise.
26610         * sysdeps/i386/i486/bits/atomic.h: Likewise.
26611         * sysdeps/x86_64/bits/atomic.h: Likewise.
26613 2012-03-02  David S. Miller  <davem@davemloft.net>
26615         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
26616         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
26617         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
26618         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
26619         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
26620         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
26621         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
26622         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
26624 2012-03-02  Roland McGrath  <roland@hack.frob.com>
26626         [BZ #13792]
26627         * manual/examples/README: New file, says the example source files
26628         can be used under GPL>=2.
26629         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
26630         line containing just "*/".
26631         * manual/examples/add.c: Add copyright header (GPL>=2).
26632         * manual/examples/argp-ex1.c: Likewise.
26633         * manual/examples/argp-ex2.c: Likewise.
26634         * manual/examples/argp-ex3.c: Likewise.
26635         * manual/examples/argp-ex4.c: Likewise.
26636         * manual/examples/atexit.c: Likewise.
26637         * manual/examples/db.c: Likewise.
26638         * manual/examples/dir.c: Likewise.
26639         * manual/examples/dir2.c: Likewise.
26640         * manual/examples/execinfo.c: Likewise.
26641         * manual/examples/filecli.c: Likewise.
26642         * manual/examples/filesrv.c: Likewise.
26643         * manual/examples/fmtmsgexpl.c: Likewise.
26644         * manual/examples/genpass.c: Likewise.
26645         * manual/examples/inetcli.c: Likewise.
26646         * manual/examples/inetsrv.c: Likewise.
26647         * manual/examples/isockad.c: Likewise.
26648         * manual/examples/longopt.c: Likewise.
26649         * manual/examples/memopen.c: Likewise.
26650         * manual/examples/memstrm.c: Likewise.
26651         * manual/examples/mkfsock.c: Likewise.
26652         * manual/examples/mkisock.c: Likewise.
26653         * manual/examples/mygetpass.c: Likewise.
26654         * manual/examples/pipe.c: Likewise.
26655         * manual/examples/popen.c: Likewise.
26656         * manual/examples/rprintf.c: Likewise.
26657         * manual/examples/search.c: Likewise.
26658         * manual/examples/select.c: Likewise.
26659         * manual/examples/setjmp.c: Likewise.
26660         * manual/examples/sigh1.c: Likewise.
26661         * manual/examples/sigusr.c: Likewise.
26662         * manual/examples/stpcpy.c: Likewise.
26663         * manual/examples/strdupa.c: Likewise.
26664         * manual/examples/strftim.c: Likewise.
26665         * manual/examples/strncat.c: Likewise.
26666         * manual/examples/subopt.c: Likewise.
26667         * manual/examples/swapcontext.c: Likewise.
26668         * manual/examples/termios.c: Likewise.
26669         * manual/examples/testopt.c: Likewise.
26670         * manual/examples/testpass.c: Likewise.
26671         * manual/examples/timeval_subtract.c: Likewise.
26673         [BZ #13792]
26674         * manual/time.texi (Elapsed Time): Move timeval_subtract example
26675         function to ...
26676         * manual/timeval_subtract.c.texi: ... here, new file.
26678 2012-03-02  David S. Miller  <davem@davemloft.net>
26680         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
26682 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
26684         [BZ #3976]
26685         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
26686         (__sin): Save and restore rounding mode and use round-to-nearest
26687         for all computations.
26688         (__cos): Save and restore rounding mode and use round-to-nearest
26689         for all computations.
26690         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
26691         <fenv.h>.
26692         (tan): Save and restore rounding mode and use round-to-nearest for
26693         all computations.
26694         * math/libm-test.inc (cos_test_tonearest): New function.
26695         (cos_test_towardzero): Likewise.
26696         (cos_test_downward): Likewise.
26697         (cos_test_upward): Likewise.
26698         (sin_test_tonearest): Likewise.
26699         (sin_test_towardzero): Likewise.
26700         (sin_test_downward): Likewise.
26701         (sin_test_upward): Likewise.
26702         (tan_test_tonearest): Likewise.
26703         (tan_test_towardzero): Likewise.
26704         (tan_test_downward): Likewise.
26705         (tan_test_upward): Likewise.
26706         (main): Call the new functions.
26707         * sysdeps/i386/fpu/libm-test-ulps: Update.
26708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26710         [BZ #10135]
26711         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
26712         small n, then large n, before computing and testing k+n.
26713         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26714         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
26715         Likewise.
26716         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
26717         Likewise.
26718         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
26719         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
26720         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
26721         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
26722         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26723         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26724         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
26725         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
26726         * math/libm-test.inc (scalbn_test): Add more tests.
26727         (scalbln_test): Likewise.
26729         * manual/filesys.texi (mode_t): Describe constraints on size and
26730         signedness, not exact equivalence to a particular type.
26731         (ino_t): Likewise.
26732         (ino64_t): Likewise.
26733         (dev_t): Likewise.
26734         (nlink_t): Likewise.
26735         (blkcnt_t): Likewise.
26736         (blkcnt64_t): Likewise.
26737         * manual/llio.texi (off_t): Likewise.
26739         [BZ #3976]
26740         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
26741         (__ieee754_exp): Save and restore rounding mode and use
26742         round-to-nearest for all computations.
26743         * math/libm-test.inc (exp_test_tonearest): New function.
26744         (exp_test_towardzero): Likewise.
26745         (exp_test_downward): Likewise.
26746         (exp_test_upward): Likewise.
26747         (main): Call the new functions.
26748         * sysdeps/i386/fpu/libm-test-ulps: Update.
26749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26751 2012-03-01  Chris Demetriou  <cgd@google.com>
26753         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
26754         have predictable order.
26756 2012-03-01  David S. Miller  <davem@davemloft.net>
26758         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
26760         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
26761         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
26762         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
26763         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
26765         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
26766         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
26767         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
26768         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
26769         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
26770         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
26771         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
26772         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
26773         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
26775         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26777         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
26778         * sysdeps/sparc/fpu/libm-test-ulps: to here.
26779         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
26781         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
26782         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26783         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26784         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
26785         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
26786         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
26787         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
26788         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26789         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26790         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
26791         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
26792         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26793         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26794         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26795         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26796         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26797         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
26798         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
26799         * sysdeps/sparc/elf/configure: Regenerated.
26801 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
26803         * configure.in (AS, LD): Require binutils 2.20 or later.
26804         * configure: Regenerated.
26805         * manual/install.texi (Tools for Compilation): Give binutils 2.20
26806         as required minimum version.
26807         * INSTALL: Regenerated.
26809         [BZ #2541]
26810         [BZ #4108]
26811         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
26812         before squaring exponent.
26813         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
26814         bottom long double and 27 bits of top long double before squaring
26815         exponent.
26816         * math/libm-test.inc (erfc_test): Add more tests.
26817         * sysdeps/i386/fpu/libm-test-ulps: Update.
26818         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26821 2012-03-01  Kai Tietz  <ktietz@redhat.com>
26823         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
26824         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
26825         containing bit-fields.
26826         * soft-fp/extended.h (_FP_UNION_E): Likewise.
26827         * soft-fp/single.h (_FP_UNION_S): Likewise.
26828         * soft-fp/double.h (_FP_UNION_D): Likewise.
26830 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
26832         [BZ #13786]
26833         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
26834         not include ../strcmp.S.
26835         [USE_AS_STRNCASECMP_L]: Likewise.
26836         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
26837         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
26838         * sysdeps/i386/i686/multiarch/strncase_l-c.c
26839         (__strncasecmp_l_ia32): Define as alias to
26840         __strncasecmp_l_nonascii.
26842         [BZ #5794]
26843         * math/libm-test.inc (expm1_test): Add test for bug 5794.
26844         * sysdeps/i386/fpu/libm-test-ulps: Update.
26845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26847         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
26848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26850 2012-02-29  Jeff Law  <law@redhat.com>
26852         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
26853         out of bounds read.
26855 2012-02-29  Marek Polacek  <polacek@redhat.com>
26857         [BZ #13706]
26858         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
26859         * elf/Makefile: Add rules to run tst-unused-dep.out.
26861 2012-02-28  David S. Miller  <davem@davemloft.net>
26863         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
26864         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
26865         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
26866         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
26867         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
26868         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
26870 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
26872         * math/libm-test.inc (llround_test): Move one test from
26873         lround_test.  Use TEST_f_L in moved test.
26874         (lround_test): Move misplaced test to llround_test.  Add testcase
26875         from bug 2561.
26877 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
26879         * sysdeps/x86_64/fpu/e_expf.S: New file.
26880         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
26882 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
26884         [BZ #13637]
26885         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
26886         of remain_len that may cause incomplete multi-byte character and
26887         false match.
26888         * posix/bug-regex33.c: New file.
26889         * posix/Makefile (tests): Add bug-regex33.
26891 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
26893         * manual/macros.texi: New file.
26894         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
26895         * manual/libc.texinfo: Include macros.texi.
26896         * manual/creatute.texi: Likewise.
26897         * manual/install.texi: Likewise.
26898         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
26899         @glibcadj{} in references to the GNU C Library.
26900         * manual/charset.texi: Likewise.
26901         * manual/conf.texi: Likewise.
26902         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
26903         when not using those macros.
26904         * manual/creature.texi: Likewise.
26905         * manual/crypt.texi: Likewise.
26906         * manual/errno.texi: Likewise.
26907         * manual/filesys.texi: Likewise.
26908         * manual/header.texi: Likewise.
26909         * manual/install.texi: Likewise.
26910         * manual/intro.texi: Likewise.
26911         * manual/io.texi: Likewise.
26912         * manual/job.texi: Likewise.
26913         * manual/lang.texi: Likewise.
26914         * manual/libc.texiinfo: Likewise.
26915         * manual/llio.texi: Likewise.
26916         * manual/locale.texi: Likewise.
26917         * manual/maint.texi: Likewise.
26918         * manual/math.texi: Likewise.
26919         * manual/memory.texi: Likewise.
26920         * manual/message.texi: Likewise.
26921         * manual/nss.texi: Likewise.
26922         * manual/pattern.texi: Likewise.
26923         * manual/process.texi: Likewise.
26924         * manual/resource.texi: Likewise.
26925         * manual/search.texi: Likewise.
26926         * manual/setjmp.texi: Likewise.
26927         * manual/signal.texi: Likewise.
26928         * manual/socket.texi: Likewise.
26929         * manual/startup.texi: Likewise.
26930         * manual/stdio.texi: Likewise.
26931         * manual/string.texi: Likewise.
26932         * manual/sysinfo.texi: Likewise.
26933         * manual/syslog.texi: Likewise.
26934         * manual/terminal.texi: Likewise.
26935         * manual/time.texi: Likewise.
26936         * manual/users.texi: Likewise.
26937         * INSTALL: Regenerated.
26938         * NOTES: Regenerated.
26939         * sysdeps/gnu/errlist.c: Regenerated.
26941 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
26943         * include/dirent.h: Include <dirstream.h> before
26944         <dirent/dirent.h>.
26946 2012-02-28  David S. Miller  <davem@davemloft.net>
26948         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
26949         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
26950         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
26951         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
26953 2012-02-27  David S. Miller  <davem@davemloft.net>
26955         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
26956         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
26957         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
26958         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
26960         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
26961         frame pointer instead of stack pointer relative arg slot.
26962         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26963         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26964         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26966 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
26968         [BZ #3992]
26969         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
26971 2012-02-27  David S. Miller  <davem@davemloft.net>
26973         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
26974         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26975         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26976         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
26977         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26978         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26979         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
26980         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
26982 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
26984         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
26985         later.  Allow versions 5-9.
26986         * configure: Regenerated.
26987         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
26988         required minimum version and 4.6 as recommended version.  Do not
26989         mention bugs in GCC 2.7 and 2.8.
26990         * INSTALL: Regenerated.
26992 2012-02-27  David S. Miller  <davem@davemloft.net>
26994         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
26995         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
26996         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
26997         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
26998         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
26999         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
27000         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
27001         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
27003         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
27004         manipulate bits before adding and subtracting TWO112[sx].
27005         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27007 2012-02-27  Roland McGrath  <roland@hack.frob.com>
27009         [BZ #13775]
27010         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
27011         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
27012         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
27013         being in POSIX, because they are in 1003.1-2008.
27015         * rt/tst-aio.c: Include <fcntl.h>.
27016         * rt/tst-aio7.c: Likewise.
27017         * rt/tst-aio64.c: Likewise.
27019         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
27021 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
27023         * manual/install.texi (--with-headers): Describe headers as
27024         interface headers, not private headers.
27025         (Specific advice for GNU/Linux systems): Describe use of headers
27026         from "make headers_install", not private headers from older
27027         kernels.
27028         * INSTALL: Regenerated.
27029         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
27030         Change to 2.6.19.
27031         * sysdeps/unix/sysv/linux/configure: Regenerated.
27033         * manual/llio.texi (fclean): Remove documentation.
27035         * manual/Makefile (libc-texi-generated): New variable.  Include
27036         version.texi.
27037         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
27038         $(libc-texi-generated), not duplicated list of files.
27039         (version.texi, stamp-version): New rules.
27040         (realclean): Remove $(libc-texi-generated), not individual files
27041         from that list.  Do not remove dir-add.texinfo.
27042         * manual/libc.texinfo: Comment out uses of edition numbers and
27043         references to printed manual.  Remove last-updated dates.
27044         (EDITION): Comment out.
27045         (ISBN): Likewise.
27046         (VERSION, UPDATED): Remove.
27047         (version.texi): Include.
27049 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
27051         * sysdeps/posix/spawni.c: Include <signal.h>.
27052         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
27053         * sysdeps/pthread/aio_fsync.c: Likewise.
27055 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
27057         * conform/Makefile (tests): Run only when not cross-compiling and
27058         when fast-check is not defined.
27060         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
27061         * conform/data/limits.h-data: Fixes for POSIX2008.
27062         * conform/run-conformtest.sh: Run all tests.
27063         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
27064         headers.
27065         * include/bits/dlfcn.h: Likewise.
27066         * include/langinfo.h: Likewise.
27067         * include/monetary.h: Likewise.
27068         * include/sys/poll.h: Likewise.
27070         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
27071         for __USE_GNU.
27072         * posix/spawn.h: Define __need_sigset_t.
27073         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
27074         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
27075         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
27076         to get sigevent_t only.
27077         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
27078         only for __USE_GNU.
27079         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27080         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27081         process_vm_writev only for __USE_GNU.
27082         * termios/termios.h: Declare tcgetsid also for POSIX2008.
27084         * conform/Makefile: For now ignore errors from run-conformtest.
27085         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
27086         POSIX to avoid namespace pollution.  Don't prepend headers.
27087         * conform/data/aio.h-data: Fixes for POSIX testing.
27088         * conform/data/fcntl.h-data: Likewise.
27089         * conform/data/glob.h-data: Likewise.
27090         * conform/data/grp.h-data: Likewise.
27091         * conform/data/pthread.h-data: Likewise.
27092         * conform/data/pwd.h-data: Likewise.
27093         * conform/data/signal.h-data: Likewise.
27094         * conform/data/spawn.h-data: Likewise.
27095         * conform/data/stdio.h-data: Likewise.
27096         * conform/data/stdlib.h-data: Likewise.
27097         * conform/data/stropts.h-data: Likewise.
27098         * conform/data/sys/mman.h-data: Likewise.
27099         * conform/data/sys/stat.h-data: Likewise.
27100         * conform/data/sys/types.h-data: Likewise.
27101         * conform/data/sys/wait.h-data: Likewise.
27102         * conform/data/time.h-data: Likewise.
27103         * conform/data/unistd.h-data: Likewise.
27104         * conform/data/utime.h-data: Likewise.
27106         * io/sys/stat.h: fchmod was always in POSIX.
27107         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
27108         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
27109         * rt/aio.h: Define __need_timespec before including <time.h>.
27110         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
27111         struct.  Add forward declaration of pthread_attr_t and use it in
27112         sigevent.
27113         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
27114         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27115         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
27116         always remove CLK_TCK definition.
27118 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
27120         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
27122 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
27124         * conform/run-conformtest.sh: New file.
27125         * conform/Makefile: Run run-conformtest for tests.
27126         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
27127         support.
27129         * conform/data/uchar.h-data: New file.
27130         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
27131         * conform/data/arpa/inet.h-data: Likewise.
27132         * conform/data/assert.h-data: Likewise.
27133         * conform/data/complex.h-data: Likewise.
27134         * conform/data/cpio.h-data: Likewise.
27135         * conform/data/ctype.h-data: Likewise.
27136         * conform/data/dirent.h-data: Likewise.
27137         * conform/data/dlfcn.h-data: Likewise.
27138         * conform/data/errno.h-data: Likewise.
27139         * conform/data/fcntl.h-data: Likewise.
27140         * conform/data/float.h-data: Likewise.
27141         * conform/data/fmtmsg.h-data: Likewise.
27142         * conform/data/fnmatch.h-data: Likewise.
27143         * conform/data/ftw.h-data: Likewise.
27144         * conform/data/glob.h-data: Likewise.
27145         * conform/data/grp.h-data: Likewise.
27146         * conform/data/iconv.h-data: Likewise.
27147         * conform/data/inttypes.h-data: Likewise.
27148         * conform/data/langinfo.h-data: Likewise.
27149         * conform/data/libgen.h-data: Likewise.
27150         * conform/data/limits.h-data: Likewise.
27151         * conform/data/locale.h-data: Likewise.
27152         * conform/data/math.h-data: Likewise.
27153         * conform/data/monetary.h-data: Likewise.
27154         * conform/data/mqueue.h-data: Likewise.
27155         * conform/data/ndbm.h-data: Likewise.
27156         * conform/data/net/if.h-data: Likewise.
27157         * conform/data/netdb.h-data: Likewise.
27158         * conform/data/netinet/in.h-data: Likewise.
27159         * conform/data/nl_types.h-data: Likewise.
27160         * conform/data/poll.h-data: Likewise.
27161         * conform/data/pthread.h-data: Likewise.
27162         * conform/data/pwd.h-data: Likewise.
27163         * conform/data/regex.h-data: Likewise.
27164         * conform/data/sched.h-data: Likewise.
27165         * conform/data/search.h-data: Likewise.
27166         * conform/data/semaphore.h-data: Likewise.
27167         * conform/data/setjmp.h-data: Likewise.
27168         * conform/data/signal.h-data: Likewise.
27169         * conform/data/spawn.h-data: Likewise.
27170         * conform/data/stdarg.h-data: Likewise.
27171         * conform/data/stdio.h-data: Likewise.
27172         * conform/data/stdlib.h-data: Likewise.
27173         * conform/data/string.h-data: Likewise.
27174         * conform/data/strings.h-data: Likewise.
27175         * conform/data/stropts.h-data: Likewise.
27176         * conform/data/sys/ipc.h-data: Likewise.
27177         * conform/data/sys/mman.h-data: Likewise.
27178         * conform/data/sys/msg.h-data: Likewise.
27179         * conform/data/sys/resource.h-data: Likewise.
27180         * conform/data/sys/select.h-data: Likewise.
27181         * conform/data/sys/sem.h-data: Likewise.
27182         * conform/data/sys/shm.h-data: Likewise.
27183         * conform/data/sys/socket.h-data: Likewise.
27184         * conform/data/sys/stat.h-data: Likewise.
27185         * conform/data/sys/statvfs.h-data: Likewise.
27186         * conform/data/sys/time.h-data: Likewise.
27187         * conform/data/sys/timeb.h-data: Likewise.
27188         * conform/data/sys/times.h-data: Likewise.
27189         * conform/data/sys/types.h-data: Likewise.
27190         * conform/data/sys/uio.h-data: Likewise.
27191         * conform/data/sys/un.h-data: Likewise.
27192         * conform/data/sys/utsname.h-data: Likewise.
27193         * conform/data/sys/wait.h-data: Likewise.
27194         * conform/data/syslog.h-data: Likewise.
27195         * conform/data/tar.h-data: Likewise.
27196         * conform/data/termios.h-data: Likewise.
27197         * conform/data/utime.h-data: Likewise.
27198         * conform/data/utmpx.h-data: Likewise.
27199         * conform/data/varargs.h-data: Likewise.
27200         * conform/data/wchar.h-data: Likewise.
27201         * conform/data/wctype.h-data: Likewise.
27202         * conform/data/wordexp.h-data: Likewise.
27204         * include/stropts.h: New file.
27205         * include/uchar.h: New file.
27206         * include/aio.h: Changes to allow conformtest.pl to use the headers.
27207         * include/assert.h: Likewise.
27208         * include/ctype.h: Likewise.
27209         * include/dirent.h: Likewise.
27210         * include/dlfcn.h: Likewise.
27211         * include/fcntl.h: Likewise.
27212         * include/fnmatch.h: Likewise.
27213         * include/glob.h: Likewise.
27214         * include/grp.h: Likewise.
27215         * include/libio.h: Likewise.
27216         * include/locale.h: Likewise.
27217         * include/math.h: Likewise.
27218         * include/net/if.h: Likewise.
27219         * include/netdb.h: Likewise.
27220         * include/netinet/in.h: Likewise.
27221         * include/pthread.h: Likewise.
27222         * include/pwd.h: Likewise.
27223         * include/regex.h: Likewise.
27224         * include/sched.h: Likewise.
27225         * include/search.h: Likewise.
27226         * include/setjmp.h: Likewise.
27227         * include/signal.h: Likewise.
27228         * include/stdio.h: Likewise.
27229         * include/stdlib.h: Likewise.
27230         * include/string.h: Likewise.
27231         * include/sys/cdefs.h: Likewise.
27232         * include/sys/mman.h: Likewise.
27233         * include/sys/msg.h: Likewise.
27234         * include/sys/resource.h: Likewise.
27235         * include/sys/select.h: Likewise.
27236         * include/sys/socket.h: Likewise.
27237         * include/sys/stat.h: Likewise.
27238         * include/sys/statvfs.h: Likewise.
27239         * include/sys/time.h: Likewise.
27240         * include/sys/times.h: Likewise.
27241         * include/sys/uio.h: Likewise.
27242         * include/sys/utsname.h: Likewise.
27243         * include/sys/wait.h: Likewise.
27244         * include/termios.h: Likewise.
27245         * include/time.h: Likewise.
27246         * include/ulimit.h: Likewise.
27247         * include/unistd.h: Likewise.
27248         * include/utime.h: Likewise.
27249         * include/wchar.h: Likewise.
27250         * include/wctype.h: Likewise.
27251         * include/wordexp.h: Likewise.
27253         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
27255         * time/time.h: TIME_UTC must be a macro.
27256         Make timespec_get available for ISO C11 only as well.
27258 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
27260         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
27261         Reported by Peng Haitao <penght@cn.fujitsu.com>.
27263 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
27265         * configure.in: Use -o not -a in test for unsupported multi-arch.
27267 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
27269         * manual/texinfo.tex: Update to version 2012-01-19.16.
27271 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
27273         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
27275 2012-02-24  Roland McGrath  <roland@hack.frob.com>
27277         [BZ #13738]
27278         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
27279         * manual/fdl-1.3.texi: New file.
27280         * manual/fdl-1.1.texi: File removed.
27282         [BZ #13738]
27283         * manual/libc.texinfo (FDL_VERSION): New @set.
27284         Use it for mention of FDL in cover text.
27285         (Documentation License): Use it in @include file name.
27287 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
27288             Roland McGrath  <roland@hack.frob.com>
27290         [BZ #5461]
27291         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
27292         not LONG_LONG_MAX and LONG_LONG_MIN.
27293         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
27294         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
27295         name.
27296         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
27298 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
27300         [BZ #2547]
27301         [BZ #11365]
27302         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
27303         manipulate bits before adding and subtracting TWO23[sx].
27304         * math/libm-test.inc (nearbyint_test): Add more tests.
27306 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
27308         [BZ #2548]
27309         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
27310         bits before adding and subtracting TWO23[sx].
27311         * math/libm-test.inc (rint_test): Add more tests.
27312         (rint_test_tonearest): Likewise.
27313         (rint_test_towardzero): Likewise.
27314         (rint_test_downward): Likewise.
27315         (rint_test_upward: Likewise.
27317 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
27319         [BZ #10110]
27320         * include/stdc-predef.h: New file.  Extracted from features.h.
27321         * include/features.h: Include stdc-predef.h.
27322         * Makefile (headers): Add stdc-predef.h.
27323         * CONFORMANCE (Compiler limitations): Update.
27325 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
27327         * manual/libc.texinfo (VERSION, UPDATED): Revert.
27329 2012-02-21  David S. Miller  <davem@davemloft.net>
27331         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
27332         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27334 2012-02-20  David S. Miller  <davem@davemloft.net>
27336         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
27337         using a normal save/restore sequence, rather than allocating a
27338         dummy stack frame just to store a frame pointer and restore.
27339         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27341 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
27343         * manual/install.texi: Fix stray word in line-wrapped comment.
27345 2012-02-20  David S. Miller  <davem@davemloft.net>
27347         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
27348         both binutils and gcc support GOTDATA.
27350         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
27351         "rd %pc" in the PIC register setup sequences.
27353         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
27354         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
27355         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27356         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
27357         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27358         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27359         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27360         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27361         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
27362         (SYSCALL_ERROR_HANDLER): Likewise.
27363         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27364         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27365         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
27366         (SYSCALL_ERROR_HANDLER): Likewise.
27368         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
27369         (HAVE_GCC_GOTDATA): New.
27370         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
27371         relocation support in both binutils and gcc.
27372         * sysdeps/sparc/elf/configure: Regenerate.
27374         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
27375         * sysdeps/sparc/sparc32/elf/configure: Delete.
27376         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
27377         * sysdeps/sparc/sparc64/elf/configure: Delete.
27378         * sysdeps/sparc/elf/configure.in: New file.
27379         * sysdeps/sparc/elf/configure: Generate.
27381         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
27382         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
27383         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27384         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
27385         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
27387 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
27389         * manual/install.texi: Do not mention specific glibc version
27390         numbers.
27391         * manual/libc.texinfo (VERSION, UPDATED): Update.
27392         (@copying): Use @copyright{} and range of years.
27394 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
27396         [BZ #13695]
27397         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
27398         [crti.S not in sysdirs] (generated): Do not append.
27399         [crti.S not in sysdirs] (omit-deps): Likewise.
27400         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
27401         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
27402         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
27403         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
27404         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
27405         Likewise.
27406         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
27407         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
27408         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
27409         * csu/defs.awk: Remove file.
27410         * sysdeps/generic/initfini.c: Likewise.
27411         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
27412         variable.
27413         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
27414         Likewise.
27416 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
27418         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
27419         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
27420         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
27421         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
27422         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27423         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
27424         <bits/epoll.h>.
27425         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
27426         (__EPOLL_PACKED): Define to empty if not defined by
27427         <bits/epoll.h>.
27428         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
27429         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27430         bits/epoll.h.
27432 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
27434         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
27435         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
27436         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
27437         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
27438         <bits/timerfd.h>.
27439         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
27440         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27441         bits/timerfd.h.
27443 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
27445         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
27446         in C locale.
27447         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27448         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27449         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
27450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27452 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
27454         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27455         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27457 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
27459         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
27460         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
27461         defined.
27462         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
27463         Likewise.
27464         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
27465         entry for 2.16.
27467 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
27469         * math/w_acos.c: Use non-signaling floating-point comparisons.
27470         * math/w_acosf.c: Likewise.
27471         * math/w_acosh.c: Likewise.
27472         * math/w_acoshf.c: Likewise.
27473         * math/w_acoshl.c: Likewise.
27474         * math/w_acosl.c: Likewise.
27475         * math/w_asin.c: Likewise.
27476         * math/w_asinf.c: Likewise.
27477         * math/w_asinl.c: Likewise.
27478         * math/w_atanh.c: Likewise.
27479         * math/w_atanhf.c: Likewise.
27480         * math/w_atanhl.c: Likewise.
27481         * math/w_exp2.c: Likewise.
27482         * math/w_exp2f.c: Likewise.
27483         * math/w_exp2l.c: Likewise.
27484         * math/w_j0.c: Likewise.
27485         * math/w_j0f.c: Likewise.
27486         * math/w_j0l.c: Likewise.
27487         * math/w_j1.c: Likewise.
27488         * math/w_j1f.c: Likewise.
27489         * math/w_j1l.c: Likewise.
27490         * math/w_jn.c: Likewise.
27491         * math/w_jnf.c: Likewise.
27492         * math/w_log.c: Likewise.
27493         * math/w_log10.c: Likewise.
27494         * math/w_log10f.c: Likewise.
27495         * math/w_log10l.c: Likewise.
27496         * math/w_log2.c: Likewise.
27497         * math/w_log2f.c: Likewise.
27498         * math/w_log2l.c: Likewise.
27499         * math/w_logf.c: Likewise.
27500         * math/w_logl.c: Likewise.
27501         * math/w_sqrt.c: Likewise.
27502         * math/w_sqrtf.c: Likewise.
27503         * math/w_sqrtl.c: Likewise.
27504         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27505         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
27506         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27507         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27508         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27510 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
27512         [BZ #9739]
27513         * manual/string.texi (strnlen): Use correct parameter name in
27514         equivalent expression.
27516 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
27518         [BZ #11174]
27519         * manual/users.texi (seteuid): Consistently use neweuid for
27520         argument name.
27522 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
27524         [BZ #13704]
27525         * manual/nss.texi (Services in the NSS configuration): Correct
27526         list of services in example configuration file.
27528 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
27530         [BZ #11322]
27531         * manual/arith.texi: Remove statements about negative zero
27532         behaving identically to zero.
27534 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
27536         [BZ #5993]
27537         * manual/install.texi: Do not document upgrading from libc5.
27539 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
27541         [BZ #4596]
27542         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
27544 2012-02-18  David S. Miller  <davem@davemloft.net>
27546         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
27547         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
27548         %o7 across the call.
27549         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
27550         instead.
27551         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
27552         SETUP_PIC_REG_LEAF.
27553         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27554         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
27555         * sysdeps/sparc/crtn.S: Likewise.
27557 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
27559         * aout/Makefile: Remove.
27561 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
27563         [BZ #13058]
27564         * manual/examples/argp-ex1.c (main): Format definition in GNU
27565         style.
27566         * manual/examples/argp-ex2.c (main): Likewise.
27567         * manual/examples/argp-ex3.c (main): Likewise.
27568         * manual/examples/argp-ex4.c (main): Likewise.
27569         * manual/examples/longopt.c (main): Use new-style prototype
27570         definition.
27571         * manual/examples/strncat.c (main): Specify return type and use
27572         (void) for arguments.
27573         * manual/examples/subopt.c (main): Use char **argv argument.
27575 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
27577         [BZ #5077]
27578         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
27579         rounding modes.
27581 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
27583         [BZ #6907]
27584         * manual/string.texi (strchr): Change when strchrnul is
27585         recommended.
27587 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
27589         [BZ #174]
27590         * manual/locale.texi (setlocale): Document LOCPATH.
27592 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
27594         [BZ #10210]
27595         * manual/process.texi (execle): Move @dots{} before last argument.
27597 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
27599         [BZ #12047]
27600         * manual/charset.texi (Generic Charset Conversion): Fix typo
27601         (LC_TYPE -> LC_CTYPE).
27603 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
27605         [BZ #5805]
27606         * manual/arith.texi (scalbn): Use @var{} on parameter names.
27607         (scalbnf): Likewise.
27608         (scalbnl): Likewise.
27609         (scalbln): Likewise.
27610         (scalblnf): Likewise.
27611         (scalblnl): Likewise.
27612         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
27613         (vwarnx): Likewise.
27614         (verr): Likewise.
27615         (verrx): Likewise.
27616         * manual/filesys.texi (telldir): Use braces around return type.
27617         * manual/llio.texi (mmap): Add space after comma.
27618         (mmap64): Likewise.
27619         * manual/math.texi (jn): Use @var{} on parameter names.
27620         (jnf): Likewise.
27621         (jnl): Likewise.
27622         (yn): Likewise.
27623         (ynf): Likewise.
27624         (ynl): Likewise.
27625         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
27626         line.
27627         * manual/resource.texi (ulimit): Use @dots{} instead of literal
27628         "...".
27629         (sched_get_priority_min): Remove semicolon on @deftypefun line.
27630         (sched_get_priority_max): Likewise.
27631         * manual/signal.texi (sigvec): Add space after comma.
27632         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
27633         names.
27634         (if_indextoname): Likewise.
27635         (if_freenameindex): Likewise.
27636         (sendto): Use ',' instead of '.' in prototype.
27637         * manual/startup.texi (syscall): Use @dots{} instead of literal
27638         "...".
27639         * manual/stdio.texi (__fpending): Separate initial words of
27640         paragraph from @deftypefun line.
27641         * manual/syslog.texi (syslog): Use @dots{} instead of literal
27642         "...".
27643         (vsyslog): Use @var{} on parameter names.
27644         * manual/terminal.texi (stty): Use @var{} on parameter names.
27645         * manual/users.texi (getutmp): Use @var{} on parameter names.
27646         (getutmpx): Likewise.
27648 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
27650         [BZ #6884]
27651         * manual/stdio.texi (fopen): Fix typos in description of
27652         ",ccs=STRING".
27654 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
27656         [BZ #4026]
27657         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
27658         get clock_id definition.
27660 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
27662         [BZ #4822]
27663         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
27664         (madvise): Cast every argument to void on its own.
27666 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
27668         [BZ #9902]
27669         * manual/startup.texi (Exit Status): Fix typo.
27671 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
27673         [BZ #10140]
27674         * manual/examples/argp-ex1.c: Include <stdlib.h>.
27675         * manual/examples/argp-ex2.c: Likewise.
27676         * manual/examples/argp-ex3.c: Likewise.
27678 2012-02-16  Richard Henderson  <rth@redhat.com>
27680         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
27681         * sysdeps/s390/s390-32/initfini.c: Remove.
27682         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
27683         * sysdeps/s390/s390-64/initfini.c: Remove.
27685 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27687         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
27688         compiler output for sysdeps/generic/initfini.c.
27689         * sysdeps/sh/elf/initfini.c: Remove file.
27691 2012-02-16  David S. Miller  <davem@davemloft.net>
27693         [BZ #11494]
27694         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
27696         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
27697         * sysdeps/sparc/crti.S: New file.
27698         * sysdeps/sparc/crtn.S: New file.
27699         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
27700         * sysdeps/sparc/sparc64/Makefile: Likewise.
27702 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
27704         [BZ #3335]
27705         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
27707 2012-02-15  Roland McGrath  <roland@hack.frob.com>
27709         [BZ #4822]
27710         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
27712         * mach/devstream.c (cookie_io_functions_t): Macro removed.
27713         (write, read, close): Likewise.
27714         Patch by Aurelien Jarno <aurelien@aurel32.net>.
27716 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
27718         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
27719         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
27720         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
27721         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
27722         <bits/signalfd.h>.
27723         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
27724         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27725         bits/signalfd.h.
27727 2012-02-14  Marek Polacek  <polacek@redhat.com>
27729         * sysdeps/x86_64/crti.S: New file.
27730         * sysdeps/x86_64/crtn.S: New file.
27731         * sysdeps/x86_64/elf/initfini.c: Remove file.
27733 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
27735         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
27736         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
27737         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
27738         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
27739         <bits/inotify.h>.
27740         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
27741         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27742         bits/inotify.h.
27744 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
27746         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
27747         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
27748         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
27749         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
27750         <bits/eventfd.h>.
27751         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
27752         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27753         bits/eventfd.h.
27755 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
27757         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
27758         __feraiseexcept instead of feraiseexcept.
27760         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
27761         nanosleep invocations.
27762         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
27763         strings, and add error checking for a nanosleep invocations.
27765 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
27767         Replace FSF snail mail address with URLs, as per GNU coding standards.
27768         Most of the snail mail addresses were wrong anyway, and omitting
27769         them makes the source code easier to maintain.  Almost all of the
27770         changes are to license notices and to locale LC_IDENTIFICATION
27771         addresses, except for this one:
27772         * manual/libc.texinfo: In "Published by", give the FSF's URL,
27773         not its snail mail address.
27775 2012-02-09  Richard Henderson  <rth@twiddle.net>
27777         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
27778         of kernel-features.h.
27780         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
27782 2012-02-08  Marek Polacek  <polacek@redhat.com>
27784         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
27785         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
27786         * sysdeps/gnu/_G_config.h: Likewise.
27787         * sysdeps/generic/_G_config.h: Likewise.
27789 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
27791         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
27792         tests.
27793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27795         * sysdeps/powerpc/powerpc32/crti.S: New file.
27796         * sysdeps/powerpc/powerpc32/crtn.S: New file.
27797         * sysdeps/powerpc/powerpc64/crti.S: New file.
27798         * sysdeps/powerpc/powerpc64/crtn.S: New file.
27800         * Makeconfig (have-initfini): Don't set.
27801         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
27802         * configure.in (nopic_initfini): Don't substitute.
27803         * config.h.in (HAVE_INITFINI): Don't #undef.
27804         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
27805         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
27807 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
27809         Support crti.S and crtn.S provided directly by architectures.
27810         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
27811         [crti.S in sysdirs] (omit-deps): Likewise.
27812         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
27813         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
27814         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
27815         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
27816         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
27817         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
27818         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
27819         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
27820         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
27821         compiler output for sysdeps/generic/initfini.c.
27822         * sysdeps/i386/elf/Makefile: Remove file.
27823         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
27825 2012-02-07  Marek Polacek  <polacek@redhat.com>
27827         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
27828         * sysdeps/gnu/_G_config.h: Likewise.
27829         * sysdeps/mach/hurd/_G_config.h: Likewise.
27831 2012-02-07  Marek Polacek  <polacek@redhat.com>
27833         * math/Makefile (tests): Add tst-CMPLX2.
27834         * math/tst-CMPLX2.c: New file.
27836 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
27838         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27840         * math/libm-test.inc (jn_test): Add missing L suffix.
27842 2012-02-06  Marek Polacek  <polacek@redhat.com>
27844         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
27845         * sysdeps/i386/fpu/e_powf.S: Likewise.
27846         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27847         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27848         * sysdeps/i386/fpu/e_acosh.S: Likewise.
27849         * sysdeps/i386/fpu/e_pow.S: Likewise.
27850         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27851         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27852         * sysdeps/i386/fpu/s_expm1.S: Likewise.
27853         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27854         * sysdeps/i386/fpu/e_log2.S: Likewise.
27855         * sysdeps/i386/fpu/e_log2l.S: Likewise.
27856         * sysdeps/i386/fpu/e_scalb.S: Likewise.
27857         * sysdeps/i386/fpu/e_powl.S: Likewise.
27858         * sysdeps/i386/fpu/s_log1p.S: Likewise.
27859         * sysdeps/i386/fpu/e_log10f.S: Likewise.
27860         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27861         * sysdeps/i386/fpu/e_logl.S: Likewise.
27862         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27863         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
27864         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27865         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27866         * sysdeps/i386/fpu/e_log2f.S: Likewise.
27867         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27868         * sysdeps/i386/fpu/e_log.S: Likewise.
27869         * sysdeps/i386/fpu/s_cexp.S: Likewise.
27870         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27871         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
27872         * sysdeps/i386/fpu/e_logf.S: Likewise.
27873         * sysdeps/i386/fpu/e_log10l.S: Likewise.
27874         * sysdeps/i386/fpu/e_atanh.S: Likewise.
27875         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
27876         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27877         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27878         * sysdeps/i386/fpu/e_log10.S: Likewise.
27879         * sysdeps/i386/fpu/s_frexp.S: Likewise.
27880         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27881         * sysdeps/i386/fpu/s_asinh.S: Likewise.
27882         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27883         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27884         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27885         * sysdeps/i386/asm-syntax.h: Likewise.
27886         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27887         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27888         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27889         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
27890         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
27891         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27892         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27893         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27894         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27895         * sysdeps/powerpc/sysdep.h: Likewise.
27896         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
27897         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27899 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
27901         [BZ #411]
27902         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
27904 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
27906         * sysdeps/i386/sysdep.h: Include <features.h>.
27907         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
27908         version.
27910 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
27912         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
27913         Define.
27914         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
27915         LOAD_PIC_REG_STR.
27917 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
27919         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
27920         (SETUP_PIC_REG): Use GET_PC_THUNK.
27921         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
27922         macro.
27924 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
27926         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
27927         for non-PIC compilation.
27928         (SETUP_PIC_REG): Add .p2align directive.
27929         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
27930         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27931         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27932         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27933         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27934         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27935         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27936         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27937         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27938         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27939         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27940         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27941         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27942         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27943         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27944         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27945         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27946         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27947         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27948         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27949         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27950         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27951         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27952         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27953         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27954         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27955         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27956         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27957         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27958         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27959         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27960         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27961         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27962         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27963         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27964         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27965         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27966         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27967         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27968         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27969         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27971 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
27973         * math/tst-CMPLX.c: Include <stdio.h>.
27975 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
27977         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
27978         float.
27979         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27980         * sysdeps/sparc/bits/mathdef.h: Likewise.
27982 2012-01-31  Marek Polacek  <polacek@redhat.com>
27984         * libio/libio.h: Don't define _PARAMS.
27985         * locale/programs/config.h: Don't define PARAMS.
27986         * stdlib/strtol_l.c: Likewise.
27987         (__strtol_l): Remove PARAMS from the prototype.
27989 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
27991         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
27992         names.  Just use the correct names.  Remove unnecessary wrapper
27993         functions.
27994         * malloc/arena.c: Likewise.
27995         * malloc/hooks.c: Likewise.
27997         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
27998         ARENA_TEST says not to.  Simplify test for creation of a new arena.
27999         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
28001 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
28003         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
28004         into tail calls.
28005         (update_get_addr): New function.
28006         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
28007         GET_ADDR_MODULE parameter.
28009 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
28011         * crypt/cert.c: Remove __STDC__ conditionals.
28012         * crypt/crypt-entry.c: Likewise.
28013         * crypt/crypt_util.c: Likewise.
28014         * libio/filedoalloc.c: Likewise.
28015         * libio/fileops.c: Likewise.
28016         * libio/genops.c: Likewise.
28017         * libio/iofclose.c: Likewise.
28018         * libio/iofdopen.c: Likewise.
28019         * libio/iofopen.c: Likewise.
28020         * libio/iofopen64.c: Likewise.
28021         * libio/iogetdelim.c: Likewise.
28022         * libio/iopopen.c: Likewise.
28023         * libio/obprintf.c: Likewise.
28024         * libio/oldfileops.c: Likewise.
28025         * libio/oldiofclose.c: Likewise.
28026         * libio/oldiofdopen.c: Likewise.
28027         * libio/oldiofopen.c: Likewise.
28028         * libio/oldiopopen.c: Likewise.
28029         * libio/wfiledoalloc.c: Likewise.
28030         * libio/wgenops.c: Likewise.
28031         * locale/programs/xmalloc.c: Likewise.
28032         * misc/syslog.c: Likewise.
28033         * stdio-common/xbug.c: Likewise.
28034         * string/memchr.c: Likewise.
28035         * string/memcmp.c: Likewise.
28036         * string/memrchr.c: Likewise.
28037         * string/rawmemchr.c: Likewise.
28038         * sysdeps/posix/getcwd.c: Likewise.
28039         * time/strftime_l.c: Likewise.
28041 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
28043         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
28044         * config.make.in (config-cflags-sse2avx): Define.
28045         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
28046         Fix typo.
28048 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
28050         * scripts/config.guess: Update from upstream config git repository.
28051         * scripts/config.sub: Likewise.
28053 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
28055         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
28056         (EM_NUM): Update.
28057         (R_TILEPRO_*, R_TILEGX_*): New macros.
28059         * scripts/firstversions.awk: Fix bug in version range handling.
28061         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
28063         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
28065         * include/sys/epoll.h: New file.
28066         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
28067         libc_hidden_def.
28069 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
28071         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
28072         Avoid unnecessary __WORDSIZE == 64 test.
28073         (fmaxf): Use VEX format if possible.
28074         (fmax): Likewise.
28075         (fminf): Likewise.
28076         (fmin): Likewise.
28078         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
28079         * math/math_private.h: Remove libc_fegetround* and
28080         libc_fesetround*.
28081         * sysdeps/i386/configure.in: Check for -msse2avx.
28082         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
28083         also if SSE2AVX is defined.
28084         Remove libc_fegetround* and libc_fesetround*.
28085         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
28086         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
28087         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
28088         of HAS_YMM_USABLE.
28089         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28090         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28091         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28092         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28093         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28095         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
28097 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28099         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
28100         size is not set.
28101         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
28103 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
28105         [BZ #13618]
28106         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
28107         relocation.
28108         * Makeconfig (libm): Define.
28109         * elf/Makefile: Add rules to build and run tst-relsort1.
28110         * elf/tst-relsort1.c: New file.
28111         * elf/tst-relsort1mod1.c: New file.
28112         * elf/tst-relsort1mod2.c: New file.
28114 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
28116         * math/s_ldexp.c: Remove __STDC__ conditionals.
28117         * math/s_ldexpf.c: Likewise.
28118         * math/s_ldexpl.c: Likewise.
28119         * math/s_nextafter.c: Likewise.
28120         * math/s_nexttowardf.c: Likewise.
28121         * math/s_significand.c: Likewise.
28122         * math/s_significandf.c: Likewise.
28123         * math/s_significandl.c: Likewise.
28124         * math/w_jnl.c: Likewise.
28125         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28126         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28127         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28128         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28129         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28130         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28131         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
28132         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28133         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28134         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28135         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28136         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28137         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28138         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28139         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28140         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28141         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28142         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28143         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28144         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28145         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28146         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28147         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28148         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28149         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28150         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28151         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28152         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28153         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28154         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28155         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28156         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28157         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28158         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28159         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28160         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28161         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28162         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28163         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28164         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28165         * sysdeps/ieee754/k_standard.c: Likewise.
28166         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28167         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28168         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28169         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28170         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28171         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28172         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28173         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28174         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28175         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28176         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28177         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28178         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28179         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28180         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28181         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28182         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28183         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28184         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28185         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28186         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28187         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28188         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28189         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28190         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28191         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28192         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28193         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28194         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28195         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28196         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28197         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
28198         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28199         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28200         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28201         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28202         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
28203         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28204         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28205         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
28206         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
28207         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28208         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
28209         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
28210         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28211         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28212         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
28213         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28214         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28215         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
28216         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
28217         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28218         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28219         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28220         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28221         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28222         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
28223         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28224         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28225         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28226         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28227         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28228         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28229         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28230         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28231         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28232         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28233         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28234         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28235         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28236         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28237         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28238         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28239         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28240         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28241         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28242         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28243         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28244         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28245         * sysdeps/ieee754/s_matherr.c: Likewise.
28246         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28247         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28248         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28249         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28251 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
28253         * crypt/md5.h: Remove __STDC__ conditionals.
28254         * libio/libioP.h: Likewise.
28255         * locale/programs/config.h: Likewise.
28256         * sysdeps/generic/sysdep.h: Likewise.
28257         * sysdeps/i386/asm-syntax.h: Likewise.
28258         * sysdeps/s390/asm-syntax.h: Likewise.
28259         * sysdeps/unix/sysdep.h: Likewise.
28260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28263 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
28265         * libio/libio.h: Remove __STDC__ conditionals.
28266         * malloc/obstack.h: Likewise.
28267         * math/complex.h: Likewise.
28268         * math/math.h: Likewise.
28269         * sysdeps/generic/_G_config.h: Likewise.
28270         * sysdeps/gnu/_G_config.h: Likewise.
28271         * sysdeps/mach/hurd/_G_config.h: Likewise.
28272         * sysdeps/powerpc/bits/mathdef.h: Likewise.
28273         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28274         * sysdeps/sparc/bits/mathdef.h: Likewise.
28276 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
28278         [BZ #13583]
28279         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
28280         Clean up HAS_* macros.
28281         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
28282         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
28283         possible.
28284         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
28285         HAS_AVX.
28286         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28287         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28288         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28289         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28290         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28292 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
28294         * elf/tst-unique3.cc (gets): Remove declaration.
28295         * elf/tst-unique3lib.cc (gets): Likewise.
28296         * elf/tst-unique3lib2.cc (gets): Likewise.
28297         * elf/tst-unique4.cc (gets): Likewise.
28299 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
28301         * include/stdio.h: Add C++ protection.  Add gets declarations and
28302         definitions.
28303         * debug/tst-chk1.c: Don't declare gets here.
28304         * stdio-common/tst-gets.c: Likewise.
28306 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
28308         * posix/glob: Remove directory.
28310 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
28312         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
28314 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
28316         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
28317         of the non-standard EPFNOSUPPORT.
28319 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28321         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
28322         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
28323         ANYWHERE set to 1 only on KERN_NO_SPACE error.
28325 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
28327         * wcsmbs/uchar.h: Test __STDC_VERSION__.
28329 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
28331         * nscd/aicache.c (addhstaiX): Do not cache negative results of
28332         transient errors.
28333         * nscd/grpcache.c (cache_addgr): Likewise.
28334         * nscd/hstcache.c (cache_addhst): Likewise.
28335         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28336         * nscd/pwdcache.c (cache_addpw): Likewise.
28337         * nscd/servicescache.c (cache_addserv): Likewise.
28339 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
28341         * malloc/malloc.c: Various cleanups.
28342         * malloc/hooks.c: Likewise.
28344         * stdlib/Makefile (tests): Add bug-fmtmsg1.
28345         * stdlib/bug-fmtmsg1.c: New file.
28347         * stdlib/fmtmsg.c (init): Add missing unlock.
28348         Patch by Peng Haitao <penght@cn.fujitsu.com>.
28350 2012-01-12  Marek Polacek  <polacek@redhat.com>
28352         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
28353         and _GNU_SOURCE.
28355 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
28357         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
28358         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
28359         macro to ensure uniqueness of label name.
28360         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28361         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28363 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
28365         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
28367         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
28368         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28369         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28370         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
28372 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
28374         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
28376         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
28377         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28378         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28380         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
28382         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
28383         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28384         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28385         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
28387         * math/bits/math-finite.h: Add ldexp support.
28389 2012-01-10  Marek Polacek  <polacek@redhat.com>
28391         * locale/programs/localedef.h (show_archive_content): Add noreturn
28392         attribute.
28394 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
28396         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
28398 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
28400         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
28402         * io/Makefile (headers): Add bits/poll2.h.
28404 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
28406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
28407         typo #include statement.
28409 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
28411         * include/sys/cdefs.h: Define __attribute_alloc_size.
28412         * catgets/gencat.c: Add alloc_size attribute and apply consistently
28413         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
28414         * elf/pldd.c: Likewise.
28415         * iconv/iconv_charmap.c: Likewise.
28416         * iconv/iconvconfig.c: Likewise.
28417         * iconv/strtab.c: Likewise.
28418         * locale/programs/locale.c: Likewise.
28419         * locale/programs/localedef.h: Likewise.
28420         * locale/programs/simple-hash.c: Likewise.
28421         * nscd/nscd.h: Likewise.
28422         * nss/makedb.c: Likewise.
28423         * sysdeps/generic/ldconfig.h: Likewise.
28424         * locale/programs/localedef.c: Remove xmalloc prototype.
28425         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
28427 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
28429         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
28430         appropriate.
28432 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
28434         * math/Makefile (tests): Add tst-CMPLX.
28435         * math/tst-CMPLX.c: New file.
28437         * math/complex.h (CMPLXL): Fix typo.
28439         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
28440         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
28441         GLIBC_2.16.
28442         * debug/tst-chk1.c: Add poll and ppoll tests.
28443         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
28444         * include/sys/poll.h: Add hidden proto for ppoll.
28445         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
28446         * sysdeps/mach/hurd/ppoll.c: Likewise.
28447         * io/ppoll.c: Likewise.
28448         * debug/poll_chk.c: New file.
28449         * debug/ppoll_chk.c: New file.
28450         * include/bits/poll2.h: New file.
28451         * io/bits/poll2.h: New file.
28453         [BZ #1350]
28454         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
28456         * configure.in: static is always set to yes.  Remove.
28457         * config.make.in: Don't set build-static.
28458         * Makeconfig: Remove use of build-static.
28459         * dlfcn/Makefile: Likewise.
28460         * elf/Makefile: Likewise.
28461         * math/Makefile: Likewise.
28462         * misc/Makefile: Likewise.
28463         * nptl/Makefile: Likewise.
28464         * sysdeps/mach/hurd/Makefile: Likewise.
28466         * configure.in: PWD_P is not used anymore.
28467         * config.make.in: Remove PWD_P entry.
28469         * configure.in: Remove last remnants of RANLIB.
28470         No need to check for signed size_t anymore.
28471         Don't set libc_commonpagesize and libc_relro_required here for Alpha
28472         and IA-64.
28473         Remove __builtin_expect test because we require at least gcc 3.4.
28474         * aclocal.m4: Likewise.
28476         * wcsmbs/mbrtoc16.c: Implement using towc function.
28477         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
28478         * wcsmbs/wcsmbsload.c: Likewise.
28479         * iconv/gconv_simple.c: Likewise.
28480         * iconv/gconv_int.h: Likewise.
28481         * iconv/gconv_builtin.h: Likewise.
28482         * iconv/iconv_prog.c: Remove CHAR16 handling.
28484         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
28486         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
28488         * configure.in: Remove --with-elf and --enable-bounded options.
28489         Dont set base_machine for ia64.  More non-ELF conditions removed.
28490         Remove testing and setting of leading underscore information.
28491         * config.make.in (build-bounded): Set to no.
28492         * config.h.in: Remove NO_UNDERSCORES entry.
28493         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
28494         them.
28495         * csu/start.c: Remove !NO_UNDERSCORE code.
28496         * locale/localeinfo.h: Likewise.
28497         * sysdeps/generic/machine-gmon.h: Likewise.
28498         * sysdeps/generic/sysdep.h: Likewise.
28499         * sysdeps/i386/sysdep.h: Likewise.
28500         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28501         * sysdeps/mach/sysdep.h: Likewise.
28502         * sysdeps/s390/s390-32/sysdep.h: Likewise.
28503         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28504         * sysdeps/sh/sysdep.h: Likewise.
28505         * sysdeps/sparc/sparc32/alloca.S: Likewise.
28506         * sysdeps/unix/i386/sysdep.S: Likewise.
28507         * sysdeps/unix/sparc/start.c: Likewise.
28508         * sysdeps/unix/sparc/sysdep.S: Likewise.
28509         * sysdeps/unix/sparc/sysdep.h: Likewise.
28510         * sysdeps/unix/start.c: Likewise.
28511         * sysdeps/unix/x86_64/sysdep.S: Likewise.
28512         * sysdeps/x86_64/sysdep.h: Likewise.
28514 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
28516         [BZ #13553]
28517         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
28518         for non-gcc.
28519         * argp/argp-fmtstream.h: Use const instead __const.
28520         * argp/argp.h: Likewise.
28521         * assert/assert.h: Likewise.
28522         * bits/fenv.h: Likewise.
28523         * bits/sched.h: Likewise.
28524         * bits/sigset.h: Likewise.
28525         * bits/sigthread.h: Likewise.
28526         * catgets/nl_types.h: Likewise.
28527         * conform/data/pthread.h-data: Likewise.
28528         * crypt/crypt-private.h: Likewise.
28529         * crypt/crypt.h: Likewise.
28530         * crypt/crypt_util.c: Likewise.
28531         * ctype/ctype.h: Likewise.
28532         * debug/execinfo.h: Likewise.
28533         * debug/mbsnrtowcs_chk.c: Likewise.
28534         * debug/mbsrtowcs_chk.c: Likewise.
28535         * debug/wcsnrtombs_chk.c: Likewise.
28536         * debug/wcsrtombs_chk.c: Likewise.
28537         * debug/wcstombs_chk.c: Likewise.
28538         * dirent/dirent.h: Likewise.
28539         * dlfcn/dlfcn.h: Likewise.
28540         * elf/neededtest4.c: Likewise.
28541         * grp/grp.h: Likewise.
28542         * gshadow/gshadow.h: Likewise.
28543         * iconv/gconv.h: Likewise.
28544         * iconv/gconv_int.h: Likewise.
28545         * iconv/gconv_simple.c: Likewise.
28546         * iconv/iconv.h: Likewise.
28547         * iconv/loop.c: Likewise.
28548         * iconv/skeleton.c: Likewise.
28549         * include/aio.h: Likewise.
28550         * include/aliases.h: Likewise.
28551         * include/argz.h: Likewise.
28552         * include/arpa/inet.h: Likewise.
28553         * include/assert.h: Likewise.
28554         * include/dirent.h: Likewise.
28555         * include/dlfcn.h: Likewise.
28556         * include/execinfo.h: Likewise.
28557         * include/fcntl.h: Likewise.
28558         * include/fenv.h: Likewise.
28559         * include/glob.h: Likewise.
28560         * include/grp.h: Likewise.
28561         * include/libintl.h: Likewise.
28562         * include/mntent.h: Likewise.
28563         * include/netdb.h: Likewise.
28564         * include/pwd.h: Likewise.
28565         * include/rpc/netdb.h: Likewise.
28566         * include/sched.h: Likewise.
28567         * include/search.h: Likewise.
28568         * include/shadow.h: Likewise.
28569         * include/signal.h: Likewise.
28570         * include/stdio.h: Likewise.
28571         * include/stdlib.h: Likewise.
28572         * include/string.h: Likewise.
28573         * include/sys/socket.h: Likewise.
28574         * include/sys/stat.h: Likewise.
28575         * include/sys/statfs.h: Likewise.
28576         * include/sys/statvfs.h: Likewise.
28577         * include/sys/syslog.h: Likewise.
28578         * include/sys/time.h: Likewise.
28579         * include/sys/uio.h: Likewise.
28580         * include/time.h: Likewise.
28581         * include/unistd.h: Likewise.
28582         * include/utmp.h: Likewise.
28583         * include/wchar.h: Likewise.
28584         * include/wctype.h: Likewise.
28585         * inet/aliases.h: Likewise.
28586         * inet/arpa/inet.h: Likewise.
28587         * inet/netinet/ether.h: Likewise.
28588         * inet/netinet/in.h: Likewise.
28589         * intl/libintl.h: Likewise.
28590         * io/bits/fcntl2.h: Likewise.
28591         * io/fcntl.h: Likewise.
28592         * io/ftw.h: Likewise.
28593         * io/sys/poll.h: Likewise.
28594         * io/sys/stat.h: Likewise.
28595         * io/sys/statfs.h: Likewise.
28596         * io/sys/statvfs.h: Likewise.
28597         * io/utime.h: Likewise.
28598         * libio/bits/stdio.h: Likewise.
28599         * libio/bits/stdio2.h: Likewise.
28600         * libio/libio.h: Likewise.
28601         * libio/libioP.h: Likewise.
28602         * libio/stdio.h: Likewise.
28603         * locale/lc-ctype.c: Likewise.
28604         * locale/locale.h: Likewise.
28605         * login/utmp.h: Likewise.
28606         * malloc/arena.c: Likewise.
28607         * malloc/malloc.c: Likewise.
28608         * malloc/malloc.h: Likewise.
28609         * malloc/mcheck.c: Likewise.
28610         * malloc/mtrace.c: Likewise.
28611         * math/bits/mathcalls.h: Likewise.
28612         * math/fenv.h: Likewise.
28613         * math/math_private.h: Likewise.
28614         * misc/bits/error.h: Likewise.
28615         * misc/bits/syslog.h: Likewise.
28616         * misc/err.h: Likewise.
28617         * misc/error.h: Likewise.
28618         * misc/fstab.h: Likewise.
28619         * misc/mntent.h: Likewise.
28620         * misc/regexp.h: Likewise.
28621         * misc/search.h: Likewise.
28622         * misc/sgtty.h: Likewise.
28623         * misc/sys/mman.h: Likewise.
28624         * misc/sys/syslog.h: Likewise.
28625         * misc/sys/uio.h: Likewise.
28626         * misc/sys/xattr.h: Likewise.
28627         * misc/ttyent.h: Likewise.
28628         * nis/rpcsvc/ypclnt.h: Likewise.
28629         * nss/nss.h: Likewise.
28630         * posix/bits/unistd.h: Likewise.
28631         * posix/fnmatch.h: Likewise.
28632         * posix/glob.h: Likewise.
28633         * posix/sched.h: Likewise.
28634         * posix/spawn.h: Likewise.
28635         * posix/sys/wait.h: Likewise.
28636         * posix/unistd.h: Likewise.
28637         * posix/wordexp.h: Likewise.
28638         * pwd/pwd.h: Likewise.
28639         * resolv/netdb.h: Likewise.
28640         * resource/sys/resource.h: Likewise.
28641         * rt/aio.h: Likewise.
28642         * rt/bits/mqueue2.h: Likewise.
28643         * rt/mqueue.h: Likewise.
28644         * shadow/shadow.h: Likewise.
28645         * signal/signal.h: Likewise.
28646         * socket/send.c: Likewise.
28647         * socket/sendto.c: Likewise.
28648         * socket/sys/socket.h: Likewise.
28649         * stdio-common/printf.h: Likewise.
28650         * stdlib/bits/stdlib.h: Likewise.
28651         * stdlib/fmtmsg.h: Likewise.
28652         * stdlib/monetary.h: Likewise.
28653         * stdlib/stdlib.h: Likewise.
28654         * stdlib/ucontext.h: Likewise.
28655         * streams/stropts.h: Likewise.
28656         * string/argz.h: Likewise.
28657         * string/bits/string2.h: Likewise.
28658         * string/string.h: Likewise.
28659         * string/strings.h: Likewise.
28660         * sunrpc/rpc/auth.h: Likewise.
28661         * sunrpc/rpc/auth_des.h: Likewise.
28662         * sunrpc/rpc/clnt.h: Likewise.
28663         * sunrpc/rpc/netdb.h: Likewise.
28664         * sunrpc/rpc/pmap_clnt.h: Likewise.
28665         * sunrpc/rpc/xdr.h: Likewise.
28666         * sysdeps/generic/inttypes.h: Likewise.
28667         * sysdeps/generic/net/if.h: Likewise.
28668         * sysdeps/generic/sys/swap.h: Likewise.
28669         * sysdeps/gnu/net/if.h: Likewise.
28670         * sysdeps/gnu/utmpx.h: Likewise.
28671         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
28672         * sysdeps/i386/i486/bits/string.h: Likewise.
28673         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
28674         * sysdeps/s390/bits/string.h: Likewise.
28675         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
28676         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
28677         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28678         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
28679         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
28680         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
28681         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
28682         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
28683         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
28684         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28685         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
28686         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28687         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
28688         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28689         * sysdeps/unix/sysv/linux/readv.c: Likewise.
28690         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
28691         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28692         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28693         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28694         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28695         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28696         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
28697         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
28698         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
28699         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
28700         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
28701         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
28702         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28703         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
28704         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
28705         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
28706         * sysvipc/sys/ipc.h: Likewise.
28707         * sysvipc/sys/msg.h: Likewise.
28708         * sysvipc/sys/sem.h: Likewise.
28709         * sysvipc/sys/shm.h: Likewise.
28710         * termios/termios.h: Likewise.
28711         * time/sys/time.h: Likewise.
28712         * time/time.h: Likewise.
28713         * wcsmbs/bits/wchar2.h: Likewise.
28714         * wcsmbs/uchar.h: Likewise.
28715         * wcsmbs/wchar.h: Likewise.
28716         * wctype/wctype.h: Likewise.
28718         [BZ #13551]
28719         * Makeconfig: Remove all but ELF support including AIX support.
28720         * Makerules: Likewise.
28721         * config.h.in: Likewise.
28722         * config.make.in: Likewise.
28723         * configure: Likewise.
28724         * configure.in: Likewise.
28725         * csu/Makefile: Likewise.
28726         * csu/version.c: Likewise.
28727         * debug/Makefile: Likewise.
28728         * dlfcn/Makefile: Likewise.
28729         * elf/Makefile: Likewise.
28730         * extra-lib.mk: Likewise.
28731         * iconv/Makefile: Likewise.
28732         * include/libc-symbols.h: Likewise.
28733         * include/shlib-compat.h: Likewise.
28734         * resolv/Makefile: Likewise.
28735         * resolv/res_libc.c: Likewise.
28736         * rt/Makefile: Likewise.
28737         * sysdeps/i386/asm-syntax.h: Likewise.
28738         * sysdeps/i386/sysdep.h: Likewise.
28739         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28740         * sysdeps/mach/sysdep.h: Likewise.
28741         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
28742         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
28743         * sysdeps/s390/asm-syntax.h: Likewise.
28744         * sysdeps/s390/s390-32/sysdep.h: Likewise.
28745         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28746         * sysdeps/sh/sysdep.h: Likewise.
28747         * sysdeps/unix/sparc/sysdep.h: Likewise.
28748         * sysdeps/wordsize-32/divdi3.c: Likewise.
28749         * sysdeps/x86_64/sysdep.h: Likewise.
28751         * argp/Versions: Remove _argp_unlock_xxx.
28753         [BZ #13559]
28754         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
28755         * abilist/libBrokenLocale.abilist: Likewise.
28756         * abilist/libanl.abilist: Likewise.
28757         * abilist/libc.abilist: Likewise.
28758         * abilist/libcrypt.abilist: Likewise.
28759         * abilist/libdl.abilist: Likewise.
28760         * abilist/libm.abilist: Likewise.
28761         * abilist/libnsl.abilist: Likewise.
28762         * abilist/libpthread.abilist: Likewise.
28763         * abilist/libresolv.abilist: Likewise.
28764         * abilist/librt.abilist: Likewise.
28765         * abilist/libthread_db.abilist: Likewise.
28766         * abilist/libutil.abilist: Likewise.
28767         * abilist/libnss_db.abilist: New file.
28769         * scripts/abilist.awk: Add support for indirect functions.
28771         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
28773         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
28775         * shlib-versions: Remove entries for ports architectures.
28777         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
28778         files in ports.
28779         * elf/stackguard-macros.h: Remove support for IA-64.
28780         * elf/tst-auditmod1.c: Likewise.
28781         * sysdeps/generic/ldsodefs.h: Likewise.
28783         * sysdeps/unix/sysv/linux/configure.in: Ports should define
28784         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
28785         configure files.
28787         [BZ #13552]
28788         * configure.in: Remove --enable-omitfp support.
28789         * FAQ.in: Adjust.
28790         * config.make.in: Likewise.
28791         * Makeconfig: Likewise.
28792         * manual/install.texi: Likewise.
28794         In case anyone cares, the IA-64 architecture could move to ports.
28795         * sysdeps/ia64/*: Removed.
28796         * sysdeps/unix/sysv/linux/ia64/*: Removed.
28797         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
28799         [BZ #13555]
28800         * configure.in: Remove entries for unsupported architectures.
28802         [BZ #13533]
28803         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
28804         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
28805         routines.
28806         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
28807         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
28808         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
28809         fall back to using wcrtomb.
28810         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
28811         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
28812         renaming.
28813         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
28814         * wcsmbs/tst-c16c32-1.c: New file.
28816         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
28817         local variable.
28819         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
28821         * elf/tst-unique3.cc: Add explicit declaration of gets.
28822         * elf/tst-unique3lib.cc: Likewise.
28823         * elf/tst-unique3lib2.cc: Likewise.
28824         * elf/tst-unique4.cc: Likewise.
28826         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
28828 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
28830         [BZ #13566]
28831         * assert/assert.h (static_assert): Don't define for C++.
28832         * libio/stdio.h (gets): Do declare for C++ <= C++11.
28833         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
28835 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
28837         * iconv/loop.c (single loop): Fix assertion in storing of
28838         remaining bytes.
28840         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
28842 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
28844         * posix/getconf.c: Update copyright year.
28845         * nss/getent.c: Likewise.
28846         * nss/makedb.c: Likewise.
28847         * iconv/iconvconfig.c: Likewise.
28848         * iconv/iconv_prog.c: Likewise.
28849         * elf/ldconfig.c: Likewise.
28850         * elf/pldd.c: Likewise.
28851         * elf/sotruss.ksh: Likewise.
28852         * catgets/gencat.c: Likewise.
28853         * csu/version.c: Likewise.
28854         * elf/ldd.bash.in: Likewise.
28855         * elf/sprof.c (print_version): Likewise.
28856         * locale/programs/locale.c: Likewise.
28857         * locale/programs/localedef.c: Likewise.
28858         * login/programs/pt_chown.c: Likewise.
28859         * nscd/nscd.c (print_version): Likewise.
28860         * debug/xtrace.sh: Likewise.
28861         * malloc/memusage.sh: Likewise.
28862         * malloc/mtrace.pl: Likewise.
28863         * debug/catchsegv.sh: Likewise.
28865 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
28867         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
28868         pure attribute.
28870 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
28872         [BZ #13533]
28873         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
28874         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
28875         transformations.
28876         * iconv/gconv_int.h: Likewise.
28877         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
28878         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
28879         from libc for GLIBC_2.16.
28880         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
28881         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
28882         * wcsmbs/uchar.h: Really define mbstate_t.
28883         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
28884         * wcsmbs/c16rtomb.c: New file.
28885         * wcsmbs/mbrtoc16.c: New file.
28886         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
28887         for C/POSIX locale.
28888         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
28889         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
28891         * wcsmbs/wchar.h: Add missing __restrict.
28893 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
28895         [BZ #13532]
28896         * time/Makefile (routines): Add timespec_get.
28897         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
28898         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
28899         timespec for ISO C11.
28900         * time/timespec_get.c: New file.
28901         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
28902         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
28904         [BZ #13531]
28905         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
28906         * stdlib/stdlib.h: Declare aligned_alloc.
28907         * Versions.def: Add GLIBC_2.16 for libc.
28908         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
28910         [BZ 13527]
28911         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
28912         ISO C11.
28914         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
28915         code.
28917         [BZ #13528]
28918         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
28920         [BZ #13529]
28921         * assert/assert.h (static_assert): Define.
28923         * version.h: Update for 2.16 development version.
28925         [BZ #13526]
28926         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
28927         _ISOC11_SOURCE.
28929         * version.h (RELEASE): Bump for 2.15 release.
28930         * include/features.h (__GLIBC_MINOR__): Bump to 15.
28932         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
28933         Patch by Marek Polacek <mpolacek@redhat.com>.
28935         * bits/byteswap.h: Protect long long constants with __extension__.
28936         * sysdeps/i386/bits/byteswap.h: Likewise.
28937         * sysdeps/ia64/bits/byteswap.h: Likewise.
28938         * sysdeps/s390/bits/byteswap.h: Likewise.
28939         * sysdeps/x86_64/bits/byteswap.h: Likewise.
28941 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28943         [BZ #13540]
28944         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
28945         destination buffer.
28946         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
28948 2011-12-23  Marek Polacek  <polacek@redhat.com>
28950         * elf/dl-addr.c (determine_info): Add inline keyword.
28951         * elf/tst-auditmod4b.c (check_avx): Likewise.
28952         * elf/tst-auditmod6b.c (check_avx): Likewise.
28953         * elf/tst-auditmod6c.c (check_avx): Likewise.
28954         * elf/tst-auditmod7b.c (check_avx): Likewise.
28956 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
28958         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
28959         !__SSE_MATH__.
28961 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28963         [BZ #13540]
28964         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
28965         processing for last bytes.
28967 2011-08-06  Bruno Haible  <bruno@clisp.org>
28969         [BZ #13061]
28970         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
28971         U+0385, not to U+1FEE.
28973         [BZ #13062]
28974         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
28975         entry for U+00A5 U+0301.
28977 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
28979         [BZ #13166]
28980         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
28981         buffer for the output is too small.
28983         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
28984         optimization.
28986         [BZ #13185]
28987         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
28988         SSE flags if possible.
28990 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28992         [BZ #13540]
28993         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
28994         processing for last bytes.
28996 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
28998         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
28999         (syscall-list-default-options, syscall-list-default-condition)
29000         (syscall-list-includes): Define.
29001         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
29002         list of ABIs and options and #if conditions for each ABI.  Do not
29003         handle common syscalls between ABIs specially.
29004         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
29005         Remove.
29006         (syscall-list-variants, syscall-list-32bit-options)
29007         (syscall-list-32bit-condition, syscall-list-64bit-options)
29008         (syscall-list-64bit-condition): Define.
29009         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
29010         (syscall-list-variants, syscall-list-32bit-options)
29011         (syscall-list-32bit-condition, syscall-list-64bit-options)
29012         (syscall-list-64bit-condition): Define.
29013         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
29014         Remove.
29015         (syscall-list-variants, syscall-list-32bit-options)
29016         (syscall-list-32bit-condition, syscall-list-64bit-options)
29017         (syscall-list-64bit-condition): Define.
29018         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
29019         Remove.
29020         (syscall-list-variants, syscall-list-32bit-options)
29021         (syscall-list-32bit-condition, syscall-list-64bit-options)
29022         (syscall-list-64bit-condition): Define.
29024 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
29026         * locale/iso-639.def: Add brx entry.
29028         [BZ #13328]
29029         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
29030         Proposed by Mariusz_Cukr <marcukr@op.pl>.
29032         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
29033         __feraiseexcept_renamed.
29035 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
29037         [BZ #13538]
29038         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
29039         EPOLLET with unsigned values.
29040         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29041         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29043         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
29044         to large cancellation.
29045         * math/s_cacoshf.c: Likewise.
29046         * math/s_cacoshl.c: Likewise.
29048 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
29050         [BZ #13305]
29051         [BZ #12786]
29052         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
29053         * math/s_cacoshf.c: Likewise.
29054         * math/s_cacoshl.c: Likewise.
29056 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
29058         [BZ #13439]
29059         * iconv/gconv.h: Define __GCONV_SWAP.
29060         * iconvdata/unicode.c: The swap bit must be stored in __flags.
29061         * iconvdata/utf-16.c: Likewise.
29062         * iconvdata/utf-32.c: Likewise.
29064 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
29066         [BZ #13524]
29067         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
29068         numerator after shifting it by one limb.
29070 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
29072         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
29073         under [__USE_EXTERN_INLINES].
29075 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
29077         [BZ #13446]
29078         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
29080 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29082         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
29083         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
29084         optimized code.
29085         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
29086         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
29087         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
29088         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
29089         for strncasecmp/strncasecmp_l compilation.
29090         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
29091         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
29093 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
29095         [BZ #13484]
29096         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
29097         of __asm__.
29099 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
29101         [BZ #13506]
29102         * time/tzfile.c (__tzfile_read): Check values from file header.
29104 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
29106         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
29107         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
29108         * powerpc/powerpc32/dl-start.S: Likewise.
29109         * powerpc/powerpc32/elf/start.S: Likewise.
29110         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29111         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
29112         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
29113         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
29114         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
29115         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
29116         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
29117         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29118         * powerpc/powerpc32/fpu/s_round.S: Likewise.
29119         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
29120         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
29121         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
29122         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
29123         * powerpc/powerpc32/memset.S: Likewise.
29124         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
29125         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29126         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29127         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29128         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29129         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29130         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29131         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29132         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
29133         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
29134         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
29135         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29136         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29138 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29140         * math/libm-test.inc: Added more nearbyint tests.
29141         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
29142         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
29143         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
29144         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
29146 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
29148         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
29149         FD_CLOEXEC.
29151 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29153         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
29154         Add wcscpy-ssse3 wcscpy-c.
29155         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
29156         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
29157         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
29158         * sysdeps/x86_64/wcschr.S: New file.
29159         * sysdeps/x86_64/wcsrchr.S: New file.
29160         * string/test-strcmp.c: Remove checking of wcscmp function for
29161         wrong alignments.
29162         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
29163         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
29164         wcsrchr-sse2 wcsrchr-c.
29165         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
29166         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
29167         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
29168         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
29169         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
29170         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
29171         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
29172         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
29173         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
29174         * wcsmbc/wcschr.c (WCSCHR): New macro.
29176 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29178         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
29179         * wcsmbs/test-wcsrchr.c: New file.
29180         * string/test-strrchr.c: Add wcsrchr support.
29181         (WIDE): New macro.
29182         * wcsmbs/test-wcscpy.c: New file.
29183         * string/test-strcpy.c: Add wcscpy support.
29184         (WIDE): New macro.
29186 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
29188         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
29189         the inner loop.
29191 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
29193         [BZ #13472]
29194         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
29196 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
29198         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
29199         Minor optimizations.
29201         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
29202         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
29203         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
29205 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
29207         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
29208         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
29209         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
29210         for gcc to avoid warnings.
29211         * inet/Makefile (tests): Add tst-checks.
29212         * inet/tst-checks.c: New file.
29214         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
29215         warning.
29217         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
29218         __wmemcmp_sse2.
29220         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
29221         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
29223         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
29225 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
29227         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
29228         problem.
29230         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
29232 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
29234         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
29235         conditional on GCC version.
29236         (__arch_compare_and_exchange_val_8_acq)
29237         (__arch_compare_and_exchange_val_16_acq)
29238         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
29239         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
29240         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
29242 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
29244         * sysdeps/sh/backtrace.c: New file.
29246 2011-12-02  Andreas Schwab  <schwab@redhat.com>
29248         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
29249         parenthesis.
29251 2011-12-01  Andreas Schwab  <schwab@redhat.com>
29253         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
29254         falling back to utime.
29256 2011-11-30  Andreas Schwab  <schwab@redhat.com>
29258         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
29259         expectations for float.
29261 2011-11-29  Andreas Schwab  <schwab@redhat.com>
29263         * locale/weight.h (findidx): Add parameter len.
29264         * locale/weightwc.h (findidx): Likewise.
29265         * posix/fnmatch_loop.c (FCT): Adjust caller.
29266         * posix/regcomp.c (build_equiv_class): Likewise.
29267         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
29268         * posix/regexec.c (check_node_accept_bytes): Likewise.
29269         * string/strcoll_l.c (STRCOLL): Likewise.
29270         * string/strxfrm_l.c (STRXFRM): Likewise.
29272 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
29274         * Makefile.in: Remove CVSOPT handling.
29275         * configure.in: Remove use of AC_REVISION.
29276         * iconvdata/Makefile (distribute): No need to filter out CVS.
29277         * scripts/list-sources.sh: Remove CVS, subversion and monotone
29278         handling.
29280 2011-11-16  Andreas Schwab  <schwab@redhat.com>
29282         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
29283         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
29284         [USE_AS_STRNCASECMP_L]: Likewise.
29285         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
29286         NO_TLS_DIRECT_SEG_REFS.
29287         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
29288         Fix argument offsets for non-PIC.
29289         [USE_AS_STRNCASECMP_L]: Likewise.
29290         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
29291         NO_TLS_DIRECT_SEG_REFS.
29293 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
29295         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
29296         O_CLOEXEC.
29297         * locale/loadlocale.c (_nl_load_locale): Likewise.
29299 2011-11-15  Andreas Schwab  <schwab@redhat.com>
29301         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
29302         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
29303         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
29304         (SYSCALL_GETTIME): Set errno on error.
29306         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
29307         count references to noai6ai_cached.
29309 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
29311         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
29313         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
29314         FD_CLOEXEC for /proc/self/maps.
29316         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
29317         FD_CLOEXEC for /proc/meminfo.
29319         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
29320         gai.conf.
29322         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
29323         FD_CLOEXEC for given file.
29325         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
29327         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
29328         FD_CLOEXEC for /etc/hosts.
29329         (_gethtent): Likewise.
29331         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
29333         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
29334         cancellation and set FD_CLOEXEC for /etc/netgroup.
29336         * nss/nss_files/files-key.c (search): Don't allow cancellation when
29337         reading /etc/publickey.
29339         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
29340         allow cancellation when reading /etc/group.
29342         * nss/nss_files/files-alias.c (internal_setent): Don't allow
29343         cancellation.
29344         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
29346         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
29347         when using data file.
29349         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
29351         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
29352         (write_nis_obj): Use "c" and "e" in fopen.
29354         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
29356         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
29358         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
29360         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
29362         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
29363         locale.alias.
29365         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
29367         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
29369         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
29371         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
29372         file parsing and set FD_CLOEXEC.
29374 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
29376         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
29378 2011-11-14  Andreas Schwab  <schwab@redhat.com>
29380         * malloc/arena.c (arena_get2): Don't call reused_arena when
29381         _int_new_arena failed.
29383 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
29385         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
29386         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
29387         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
29388         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29389         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29390         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
29391         to compile strcasecmp and strncasecmp.
29392         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
29393         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
29395         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
29397 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
29399         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
29400         locale-defines.sym to gen-as-const-headers.
29401         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
29402         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
29403         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
29404         to compile strcasecmp and strncasecmp.
29405         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
29406         strcasecmp_l and strncasecmp_l.
29407         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
29408         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
29409         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
29410         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
29411         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
29412         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
29413         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
29414         * sysdeps/i386/i686/multiarch/strncase.S: New file.
29415         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
29416         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
29417         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
29419 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
29421         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
29422         result of SYSDEP_GETTIME_CPU to retval.
29423         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
29424         parameter list to macro.  Remove trailing semicolon.  Adjust users.
29426         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
29427         variable.
29429         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
29430         mantissa words.
29431         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
29433         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
29434         from unused variable.
29436         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
29437         DWARF definitions.
29438         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
29439         for assembling.
29441         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
29442         over namespaces.
29444         * sunrpc/rpc_prot.c (rejected): Fix case value.
29446         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
29447         unsigned long long int to avoid warnings in shift.
29449         * posix/regex_internal.c (re_string_reconstruct): Actually use result
29450         of use of trans.
29451         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
29452         variable tmp.
29454         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
29455         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
29456         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
29458         * nis/nis_table.c (nis_list): Use variable of correct type for
29459         result of __follow_path call.
29461 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29463         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
29464         of math functions ceil, trunc, floor, round, and sqrt, when
29465         avaliable on the platform.
29466         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
29467         name clash.
29468         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29469         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29470         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29472 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
29474         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
29475         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29477 2011-11-11  Roland McGrath  <roland@hack.frob.com>
29479         * include/unistd.h: Fix __readlink return type.
29480         Reported by Chris Metcalf <cmetcalf@tilera.com>.
29482 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
29484         * stdlib/ucontext.h: Undo last change for makecontext.
29486 2011-11-11  Andreas Schwab  <schwab@redhat.com>
29488         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
29490         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
29491         * setjmp/setjmp.h: Mark functions as non-leaf.
29492         * setjmp/bits/setjmp2.h: Likewise.
29493         * stdlib/ucontext.h: Likewise.
29495 2011-11-10  Andreas Schwab  <schwab@redhat.com>
29497         * malloc/arena.c (_int_new_arena): Don't increment narenas.
29498         (reused_arena): Don't check arena limit.
29499         (arena_get2): Atomically check arena limit.
29501 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
29503         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
29504         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
29506         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
29507         instructions.
29509 2011-11-07  Andreas Schwab  <schwab@redhat.com>
29511         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
29512         handler when locking.
29514         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29515         Fix size of allocated buffer.
29517 2011-11-04  Andreas Schwab  <schwab@redhat.com>
29519         [BZ #10103]
29520         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
29521         declarations for long double functions.
29522         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
29524         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
29526 2011-11-03  Andreas Schwab  <schwab@redhat.com>
29528         * nscd/nscd.c (main): Don't start AVC thread until credentials are
29529         installed.
29531         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
29532         is disabled.
29534 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29536         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
29538 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29540         * include/alloca.h (stackinfo_alloca_round): Define.
29541         (extend_alloca): Use it.
29542         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
29543         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
29544         here.
29546         * scripts/check-local-headers.sh: Ignore libaudit.h.
29548         * nscd/Makefile (extra-objs): Make recursively expanded.
29550 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
29552         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
29553         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29555         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
29556         * posix/tst-rfc3484-2.c: Likewise.
29557         * posix/tst-rfc3484-3.c: Likewise.
29559         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29560         process_vm_writev.
29561         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
29562         process_vm_writev.
29563         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
29564         process_vm_writev from libc using GLIBC_2.15 version.
29566         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
29568 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
29570         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
29571         stack usage.
29573 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
29575         [BZ #13367]
29576         * nss/getent.c (initgroups_keys): Show error message in case no group
29577         names are given.
29579         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
29580         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
29581         __bump_nl_timestamp.
29582         * nscd/connections (nscd_init): When host database is served open
29583         netlink socket and request notification about configuration changes.
29584         (main_loop_poll): Track netlink file descriptor and bump timestamp
29585         in case data becomes available.
29586         (main_loop_epoll): Likewise.
29587         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
29588         (database_pers_head): Add extra_data fileds.
29589         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
29590         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
29591         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
29592         Adjust caller.
29593         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
29594         in6ai data, call __free_in6ai.
29595         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
29596         Add -DHAVE_NETLINK.
29597         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
29598         interface information.  Reuse previous data if netlink timestamp
29599         is not changed.
29600         (__bump_nl_timestamp): New function.
29601         (__free_in6ai): New function.
29603 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
29605         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
29606         close_not_cancel_no_status here.
29607         (__check_pf): Reorganize code a bit to not call close twice if OOM.
29609 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
29611         [BZ #13276]
29612         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
29613         return value.
29615         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
29616         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
29617         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
29619 2011-07-03  Andreas Jaeger  <aj@suse.de>
29621         [BZ #10709]
29622         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
29623         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
29624         * math/libm-test.inc (sin_test): Add test case.
29626 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
29628         [BZ #13337]
29629         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
29630         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29632         * elf/chroot_canon.c (chroot_canon): Cleanups.
29634         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
29636         [BZ #13335]
29637         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
29638         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29640         * string/test-strchr.c: Make usable for strchrnul testing.
29641         * string/test-strchrnul.c: New file.
29642         * string/Makefile (strop-tests): Add strchrnul.
29644         * po/it.po: Update from translation team.
29645         * po/es.po: Likewise.
29647 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
29649         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
29650         the three constants needed as parameters.  Drop the others.
29651         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
29652         __m128i_strloadu_tolower.
29653         Create and initialize variable zero and use it in all the places
29654         where _mm_setzero_si128 was used.
29656         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
29657         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
29658         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
29659         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
29660         anymore.
29661         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
29662         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
29663         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
29664         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
29665         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
29666         __mpranred, __mptan.
29667         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
29668         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
29669         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
29670         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
29671         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
29672         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
29673         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
29674         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
29675         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
29677 2011-10-28  Andreas Schwab  <schwab@redhat.com>
29679         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
29680         redefine if SHARED.
29681         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
29683         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
29684         wide char related routines to wcsmbs subdir.
29686 2011-10-27  Andreas Schwab  <schwab@redhat.com>
29688         [BZ #13344]
29689         * misc/sys/cdefs.h (__THROWNL): Define.
29690         * posix/unistd.h: Use __THREADNL instead of __THREAD
29691         for memory synchronization functions.
29693 2011-10-26  Roland McGrath  <roland@hack.frob.com>
29695         [BZ #13349]
29696         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
29697         doesn't exist.
29698         * manual/stdio.texi (Obstack Streams): Node removed.
29700 2011-10-26  Andreas Schwab  <schwab@redhat.com>
29702         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
29703         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29704         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29706         * math/math_private.h (math_force_eval): Allow non-addressable
29707         arguments.
29708         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
29710 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
29712         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
29713         file is not needed.
29715         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
29716         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
29717         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29718         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29719         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29720         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29721         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29722         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
29723         Add AVX variants.
29724         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
29725         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
29726         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
29727         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
29728         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
29729         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
29730         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
29731         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
29732         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
29733         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
29734         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
29735         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
29736         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
29737         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
29738         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
29739         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
29740         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
29741         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
29742         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
29744         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
29745         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
29747         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
29748         place.  Use VEX encoding when compiling for AVX.
29750 2011-10-25  Andreas Schwab  <schwab@redhat.com>
29752         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
29753         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29755         * string/test-strchr.c (do_test): Don't generate NUL bytes.
29757 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
29759         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
29760         useless if() expression.
29761         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29762         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29763         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29764         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29765         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29766         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29767         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29768         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29769         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29770         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29771         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29772         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29773         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29774         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29775         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29776         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29777         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29778         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29779         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29781         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
29783 2011-10-25  Andreas Schwab  <schwab@redhat.com>
29785         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
29786         condition.
29787         * elf/dl-fini.c (_dl_sort_fini): Likewise.
29789 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
29791         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
29792         .text section.  Avoid duplicate constants.
29793         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29794         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29795         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29796         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29797         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29798         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29799         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29800         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29801         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29802         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
29803         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29804         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29805         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29806         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29807         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29808         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29809         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29810         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29811         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29812         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29813         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29814         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29815         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29816         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
29817         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
29818         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
29819         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
29820         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
29821         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
29822         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
29823         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
29824         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
29825         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29826         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
29827         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
29828         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
29829         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
29830         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
29831         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
29832         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
29833         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
29834         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
29835         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
29836         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
29837         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
29839 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
29841         * sysdeps/x86_64/dla.h: Move to ...
29842         * sysdeps/x86_64/fpu/dla.h: ...here.
29843         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
29844         situations.  Use __builtin_fma only for gcc 4.6 and up.
29846         * config.make.in: Add have-mfma4 entry.
29847         * configure.in: Substitute libc_cv_cc_fma4.
29848         * math/Makefile (dbl-only-routines): Add sincostab.
29849         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
29850         Use __sincostab not sincos.
29851         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
29852         name is a macro.
29853         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29854         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29855         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29856         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
29857         using __copysign.
29858         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
29859         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
29860         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
29861         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
29862         and __inv.
29863         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
29864         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
29865         __copysign.
29866         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
29867         define aliases when function name is a macro.
29868         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
29869         sysdeps/ieee754/dbl-64/sincos.tbl.
29870         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
29871         fma4-enabled routines.
29872         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
29873         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
29874         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
29875         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
29876         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
29877         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
29878         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
29879         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
29880         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
29881         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
29882         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
29883         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
29884         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
29885         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
29886         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
29887         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
29888         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
29889         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
29890         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
29891         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
29892         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
29893         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
29894         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
29895         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
29896         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
29897         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
29898         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
29899         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
29900         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
29901         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
29903         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
29904         rename.
29905         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29906         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29907         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29908         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29909         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29910         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29911         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29912         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29914 2011-10-24  Andreas Schwab  <schwab@redhat.com>
29916         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
29918 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
29920         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
29922         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
29923         prediction.
29924         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
29926         * string/strnlen.c: Don't define STRNLEN, reverse logic.
29927         Remove unused variable magic_bits.
29928         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
29930         * string/strnlen.c: Define and use STRNLEN macro.
29931         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
29932         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
29933         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
29934         * wcsmbs/wcslen.c: Define and use WCSLEN.
29935         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
29936         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
29937         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
29938         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
29939         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
29940         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
29941         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29943 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29945         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29946         strnlen-sse2-no-bsf.
29947         Rename strlen-no-bsf to strlen-sse2-no-bsf.
29948         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
29949         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
29950         Add strnlen support.
29951         (USE_AS_STRNLEN): New macro.
29952         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
29953         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
29954         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
29955         * sysdeps/x86_64/wcslen.S: New file.
29957 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
29959         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29960         XMM-moves are used for copying on small sizes.
29962 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29964         * wcsmbs/Makefile (strop-tests): Add wcschr.
29965         * wcsmbs/test-wcschr.c: New file.
29966         * string/test-strchr.c: Update.
29967         Add wcschr support.
29968         (WIDE): New macro.
29970 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29972         * wcsmbs/Makefile (strop-tests): Add wcslen.
29973         * wcsmbs/test-wcslen.c: New file.
29974         * string/test-strlen.c: Update.
29975         Add wcslen support.
29976         (WIDE): New macro.
29978 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
29980         * po/it.po: Update from translation team.
29982 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29984         * sysdeps/x86_64/wcscmp.S: Update.
29985         Fix wrong comparison semantics.
29986         wcscmp shall use signed comparison not unsigned.
29987         Don't use substraction to avoid overflow bug.
29988         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
29989         * wcsmbc/wcscmp.c: Likewise.
29990         * string/test-strcmp.c: Likewise.
29991         Add new tests to check cases with negative values.
29993 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
29995         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
29996         * sysdeps/x86_64/dla.h: ...here.  New file.
29997         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
29998         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29999         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30000         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30001         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30002         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30003         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30004         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30005         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30007 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
30009         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
30010         __ynl_finite aliases.
30012 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
30014         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30016         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
30017         define DLA_FMA.
30018         [DLA_FMA] (EMULV): Use DLA_FMA.
30019         [DLA_FMA] (MUL12): Use EMULV.
30020         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
30021         that are not needed.
30022         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30023         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30024         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30025         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30026         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30027         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30028         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30030 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
30032         * math/s_nan.c: Undef __nan.
30033         * math/s_nanf.c: Undef __nanf.
30034         * math/s_nanl.c: Undef __nanl.
30035         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
30036         "math_private.h".
30038 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
30040         * math/s_catan.c: Add branch predictions.
30041         * math/s_catanf.c: Likewise.
30042         * math/s_catanh.c: Likewise.
30043         * math/s_catanhf.c: Likewise.
30044         * math/s_catanhl.c: Likewise.
30045         * math/s_catanl.c: Likewise.
30046         * math/s_cexp.c: Likewise.
30047         * math/s_cexpf.c: Likewise.
30048         * math/s_cexpl.c: Likewise.
30049         * math/s_clog.c: Likewise.
30050         * math/s_clog10.c: Likewise.
30051         * math/s_clog10f.c: Likewise.
30052         * math/s_clog10l.c: Likewise.
30053         * math/s_clogf.c: Likewise.
30054         * math/s_clogl.c: Likewise.
30055         * math/s_csqrt.c: Likewise.
30056         * math/s_csqrtf.c: Likewise.
30057         * math/s_csqrtl.c: Likewise.
30058         * math/s_ctanf.c: Likewise.
30059         * math/s_ctanh.c: Likewise.
30060         * math/s_ctanhf.c: Likewise.
30061         * math/s_ctanhl.c: Likewise.
30062         * math/s_ctanl.c: Likewise.
30064         * math/math_private.h: Define __nan, __nanf, __nanl.
30065         * math/s_cacosh.c: Include <math_private.h>.
30066         * math/s_cacoshl.c: Likewise.
30067         * math/s_casinh.c: Likewise.
30068         * math/s_casinhf.c: Likewise.
30069         * math/s_casinhl.c: Likewise.
30070         * math/s_ccos.c: Rely entire on ccosh.
30071         * math/s_ccosf.c: Rely entire on ccoshf.
30072         * math/s_ccosl.c: Rely entirely on ccoshl.
30073         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
30074         Remove tests for FE_INVALID.
30075         * math/s_ccoshf.c: Likewise.
30076         * math/s_ccoshl.c: Likewise.
30077         * math/s_csin.c: Likewise.
30078         * math/s_csinf.c: Likewise.
30079         * math/s_csinh.c Likewise.
30080         * math/s_csinhf.c: Likewise.
30081         * math/s_csinhl.c: Likewise.
30082         * math/s_csinl.c: Likewise.
30083         * math/s_ctan.c: Likewise.
30084         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
30085         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
30086         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
30088 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
30090         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
30091         compilation problems.
30093         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
30094         __builtin_expect.
30096 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
30098         * sysdeps/i386/configure.in: Test for -mfma4 option.
30099         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
30100         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
30101         COMMON_CPUID_INDEX_80000001.
30102         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
30103         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
30104         use it if FMA3 is not supported.
30105         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
30107         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
30108         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30110 2011-10-20  Andreas Schwab  <schwab@redhat.com>
30112         [BZ #12892]
30113         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
30114         it would create a cycle with a link time dependency.
30116 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
30118         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
30119         instruction.
30120         * string/Makefile (strop-tests): Add rawmemchr.
30121         * string/test-rawmemchr.c: New file.
30123         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
30124         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
30125         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
30126         when compiling str{,n}casecmp and when AVX is available.  Hook up
30127         new optimized code in initializers.
30129 2011-10-19  Andreas Schwab  <schwab@redhat.com>
30131         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
30132         __feraiseexcept instead of feraiseexcept.
30134 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
30136         * math/math_private.h: Define defaults for libc_fetestexcept and
30137         libc_feupdateenv.
30138         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
30139         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
30140         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30141         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30142         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30143         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30144         libc_fetestexcept and libc_feupdateenv.
30146         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
30147         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
30148         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
30149         * sysdeps/x86_64/fpu/math_private.h: Define special version of
30150         libc_feholdexcept_setround.
30152         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
30153         Add s_nearbyint-c and s_nearbyintf-c.
30154         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
30155         nearbyintf inlines.
30156         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
30157         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
30158         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
30159         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
30161         * math/math_private.h: Define defaults for libc_fegetround,
30162         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
30163         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
30164         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
30165         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
30166         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
30167         standard functions.
30168         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30169         Remove comments and hacks for old compiler versions.
30170         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30171         libc_fegetround, libc_fesetround, libc_feholdexcept, and
30172         libc_feholdexceptl.
30174 2011-10-18  Andreas Schwab  <schwab@redhat.com>
30176         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
30177         (__feraiseexcept_renamed): Add __NTH.
30178         (feraiseexcept): Add __NTH.  Rename local variables to fix
30179         namespace violations.
30181 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
30183         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
30185         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
30187         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
30188         recently added interfaces.
30189         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
30191         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
30192         about macro parameter expansion.
30194         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
30195         __NO_MATH_INLINES is defined.  Cleanups.
30197         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
30198         and __floorf is target has SSE4.1.
30199         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
30200         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
30201         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
30202         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
30204         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
30205         name.
30206         (floorf): Likewise.
30208         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
30210 2011-10-17  Andreas Schwab  <schwab@redhat.com>
30212         * misc/sys/cdefs.h: Fix last change.
30214         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
30215         database lookup.
30217 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
30219         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
30221         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
30222         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30223         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30224         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30225         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30226         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30227         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30228         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30229         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30230         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
30231         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
30232         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
30233         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
30234         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
30235         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
30236         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
30237         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
30238         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
30239         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
30240         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
30241         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
30242         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
30244         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
30245         ceil, ceilf, floor, floorf.
30247         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
30248         Perform IRELATIVE relocations last.
30250         * elf/do-rel.h: Add another parameter nrelative, replacing the
30251         local variable with the same name.  Change name of the function
30252         to end in Rel or Rela (uppercase).
30253         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
30254         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
30255         elf_dynamic_do_##reloc function.
30257 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
30259         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
30260         is sufficient, at least on modern CPUs.
30262         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
30264         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
30265         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
30267         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
30268         __expl_finite.
30269         * math/bits/math-finite.h: Add entries for exp.
30270         * math/e_expl.c: Add __*_finite alias.
30271         * sysdeps/i386/fpu/e_exp.S: Likewise.
30272         * sysdeps/i386/fpu/e_expf.S: Likewise.
30273         * sysdeps/i386/fpu/e_expl.c: Likewise.
30274         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30275         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30276         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30277         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30278         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
30279         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30280         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30282         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
30283         is sufficient, at least on modern CPUs.
30285         * ctype/ctype-info.c (__ctype_init): Define.
30286         * include/ctype.h (__ctype_init): Declare.
30287         (__ctype_b_loc): The variable is always initialized.
30288         (__ctype_toupper_loc): Likewise.
30289         (__ctype_tolower_loc): Likewise.
30290         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
30291         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
30293 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
30295         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
30297         * configure.in: Also look in $cxxmachine/include for C++ system
30298         headers.
30300 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30302         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
30303         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
30304         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
30305         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
30306         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
30307         (USE_AS_WMEMCMP): New macro.
30308         Fixing indents.
30309         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
30310         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
30311         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
30312         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
30313         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30314         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
30315         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
30316         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
30317         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
30318         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
30319         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
30320         (USE_AS_WMEMCMP): New macro.
30321         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
30322         * sysdeps/string/test-memcmp.c: Update.
30323         Fix simple_wmemcmp.
30324         Add new tests.
30325         * wcsmbs/wmemcmp.c: Update.
30326         (WMEMCMP): New macro.
30327         Fix overflow bug.
30329 2011-10-12  Andreas Jaeger  <aj@suse.de>
30331         [BZ #13268]
30332         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
30334 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
30336         * libio/iofwide.c (do_length): Avoid warning.
30338         * ctype/ctype.h (__isctype_f): Add missing __THROW.
30340 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
30342         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
30344         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
30345         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
30346         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
30347         * sysdeps/i386/i686/fpu/e_log.S: New file.
30348         * sysdeps/i386/i686/fpu/e_logf.S: New file.
30349         * sysdeps/i386/i686/fpu/e_logl.S: New file.
30351         * ctype/ctype.h: Add support for inlined isXXX functions when
30352         compiling C++ code.
30354 2011-10-14  Andreas Schwab  <schwab@redhat.com>
30356         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30358         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
30360 2011-10-13  Roland McGrath  <roland@hack.frob.com>
30362         [BZ #13291]
30363         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
30365 2011-10-13  Andreas Schwab  <schwab@redhat.com>
30367         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
30368         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
30369         feraiseexcept.
30371         * sysdeps/x86_64/memrchr.S: Check for zero size.
30373         * string/stratcliff.c: Add memrchr tests.
30375 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30377         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30378         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
30379         rawmemchr-sse2 rawmemchr-sse2-bsf.
30380         * sysdeps/i386/i686/multiarch/memchr.S: New file.
30381         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
30382         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
30383         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
30384         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
30385         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
30386         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
30387         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
30388         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
30389         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
30390         * string/memrchr.c (MEMRCHR): New macro.
30392 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
30394         Add integration with gcc's -ffinite-math-only and optimize wrapper
30395         functions in libm.
30396         * Versions.def: Define GLIBC_2.15 version for libm.
30397         * math/Makefile (headers): Add bits/math-finite.h.
30398         * math/bits/math-finite.h: New file.
30399         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
30400         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
30401         * math/e_acoshl.c: Add __*_finite alias.
30402         * math/e_acosl.c: Likewise.
30403         * math/e_asinl.c: Likewise.
30404         * math/e_atan2l.c: Likewise.
30405         * math/e_atanhl.c: Likewise.
30406         * math/e_coshl.c: Likewise.
30407         * math/e_exp10.c: Likewise.
30408         * math/e_exp10f.c: Likewise.
30409         * math/e_exp10l.c: Likewise.
30410         * math/e_exp2l.c: Likewise.
30411         * math/e_fmodl.c: Likewise.
30412         * math/e_gammal_r.c: Likewise.
30413         * math/e_hypotl.c: Likewise.
30414         * math/e_j0l.c: Likewise.
30415         * math/e_j1l.c: Likewise.
30416         * math/e_jnl.c: Likewise.
30417         * math/e_lgammal_r.c: Likewise.
30418         * math/e_log10l.c: Likewise.
30419         * math/e_log2l.c: Likewise.
30420         * math/e_logl.c: Likewise.
30421         * math/e_powl.c: Likewise.
30422         * math/e_sinhl.c: Likewise.
30423         * math/e_sqrtl.c: Likewise.
30424         * math/e_scalb.c: Completely rewritten and optimized.
30425         * math/e_scalbf.c: Likewise.
30426         * math/e_scalbl.c: Likewise.
30427         * math/w_acos.c: Likewise.
30428         * math/w_acosf.c: Likewise.
30429         * math/w_acosl.c: Likewise.
30430         * math/w_acosh.c: Likewise.
30431         * math/w_acoshf.c: Likewise.
30432         * math/w_acoshl.c: Likewise.
30433         * math/w_asin.c: Likewise.
30434         * math/w_asinf.c: Likewise.
30435         * math/w_asinl.c: Likewise.
30436         * math/w_atan2.c: Likewise.
30437         * math/w_atan2f.c: Likewise.
30438         * math/w_atan2l.c: Likewise.
30439         * math/w_atanh.c: Likewise.
30440         * math/w_atanhf.c: Likewise.
30441         * math/w_atanhl.c: Likewise.
30442         * math/w_exp10.c: Likewise.
30443         * math/w_exp10f.c: Likewise.
30444         * math/w_exp10l.c: Likewise.
30445         * math/w_fmod.c: Likewise.
30446         * math/w_fmodf.c: Likewise.
30447         * math/w_fmodl.c: Likewise.
30448         * math/w_j0.c: Likewise.
30449         * math/w_j0f.c: Likewise.
30450         * math/w_j0l.c: Likewise.
30451         * math/w_j1.c: Likewise.
30452         * math/w_j1f.c: Likewise.
30453         * math/w_j1l.c: Likewise.
30454         * math/w_jn.c: Likewise.
30455         * math/w_jnf.c: Likewise.
30456         * math/w_log.c: Likewise.
30457         * math/w_logf.c: Likewise.
30458         * math/w_logl.c: Likewise.
30459         * math/w_log10.c: Likewise.
30460         * math/w_log10f.c: Likewise.
30461         * math/w_log10l.c: Likewise.
30462         * math/w_log2.c: Likewise.
30463         * math/w_log2f.c: Likewise.
30464         * math/w_log2l.c: Likewise.
30465         * math/w_pow.c: Likewise.
30466         * math/w_powf.c: Likewise.
30467         * math/w_powl.c: Likewise.
30468         * math/w_remainder.c: Likewise.
30469         * math/w_remainderf.c: Likewise.
30470         * math/w_remainderl.c: Likewise.
30471         * math/w_scalb.c: Likewise.
30472         * math/w_scalbf.c: Likewise.
30473         * math/w_scalbl.c: Likewise.
30474         * math/w_sqrt.c: Likewise.
30475         * math/w_sqrtf.c: Likewise.
30476         * math/w_sqrtl.c: Likewise.
30477         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
30478         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
30479         used.
30480         * math/math_private.h: Declare __kernel_standard_f.
30481         * math/w_cosh.c: Remove cruft and optimize a bit.
30482         * math/w_coshf.c: Likewise.
30483         * math/w_coshl.c: Likewise.
30484         * math/w_exp2.c: Likewise.
30485         * math/w_exp2f.c: Likewise.
30486         * math/w_exp2l.c: Likewise.
30487         * math/w_hypot.c: Likewise.
30488         * math/w_hypotf.c: Likewise.
30489         * math/w_hypotl.c: Likewise.
30490         * math/w_lgamma.c: Likewise.
30491         * math/w_lgamma_r.c: Likewise.
30492         * math/w_lgammaf.c: Likewise.
30493         * math/w_lgammaf_r.c: Likewise.
30494         * math/w_lgammal.c: Likewise.
30495         * math/w_lgammal_r.c: Likewise.
30496         * math/w_sinh.c: Likewise.
30497         * math/w_sinhf.c: Likewise.
30498         * math/w_sinhl.c: Likewise.
30499         * math/w_tgamma.c: Likewise.
30500         * math/w_tgammaf.c: Likewise.
30501         * math/w_tgammal.c: Likewise.
30502         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30503         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30504         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
30505         Minor optimizations.  Pretty printing.  Remove cruft.
30506         * sysdeps/i386/fpu/e_acosf.S: Likewise.
30507         * sysdeps/i386/fpu/e_acosh.S: Likewise.
30508         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30509         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30510         * sysdeps/i386/fpu/e_acosl.c: Likewise.
30511         * sysdeps/i386/fpu/e_asin.S: Likewise.
30512         * sysdeps/i386/fpu/e_asinf.S: Likewise.
30513         * sysdeps/i386/fpu/e_atan2.S: Likewise.
30514         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
30515         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
30516         * sysdeps/i386/fpu/e_atanh.S: Likewise.
30517         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30518         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30519         * sysdeps/i386/fpu/e_exp10.S: Likewise.
30520         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
30521         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
30522         * sysdeps/i386/fpu/e_exp2.S: Likewise.
30523         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
30524         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
30525         * sysdeps/i386/fpu/e_fmod.S: Likewise.
30526         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
30527         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
30528         * sysdeps/i386/fpu/e_hypot.S: Likewise.
30529         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
30530         * sysdeps/i386/fpu/e_log.S: Likewise.
30531         * sysdeps/i386/fpu/e_log10.S: Likewise.
30532         * sysdeps/i386/fpu/e_log10f.S: Likewise.
30533         * sysdeps/i386/fpu/e_log10l.S: Likewise.
30534         * sysdeps/i386/fpu/e_log2.S: Likewise.
30535         * sysdeps/i386/fpu/e_log2f.S: Likewise.
30536         * sysdeps/i386/fpu/e_log2l.S: Likewise.
30537         * sysdeps/i386/fpu/e_logf.S: Likewise.
30538         * sysdeps/i386/fpu/e_logl.S: Likewise.
30539         * sysdeps/i386/fpu/e_pow.S: Likewise.
30540         * sysdeps/i386/fpu/e_powf.S: Likewise.
30541         * sysdeps/i386/fpu/e_powl.S: Likewise.
30542         * sysdeps/i386/fpu/e_remainder.S: Likewise.
30543         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
30544         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
30545         * sysdeps/i386/fpu/e_scalb.S: Likewise.
30546         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30547         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30548         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
30549         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
30550         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
30551         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30552         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30553         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30554         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30555         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30556         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30557         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30558         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30559         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30560         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30561         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30562         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30563         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30564         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30565         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30566         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30567         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30568         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30569         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30570         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30571         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30572         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30573         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30574         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30575         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30576         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30577         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30578         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30579         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
30580         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30581         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30582         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30583         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30584         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30585         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30586         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30587         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30588         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30589         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30590         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30591         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30592         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30593         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30594         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30595         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30596         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30597         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30598         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30599         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30600         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
30601         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30602         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30603         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30604         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30605         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30606         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30607         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30608         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30609         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30610         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30611         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30612         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30613         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30614         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30615         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30616         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30617         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30618         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30619         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
30620         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30621         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30622         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30623         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30624         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30625         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30626         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30627         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30628         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30629         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30630         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30631         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30632         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30633         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
30634         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30635         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30636         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30637         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30638         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30639         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30640         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30641         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30642         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30643         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30644         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
30645         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30646         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30647         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30648         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
30649         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
30650         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
30651         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
30652         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
30653         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
30654         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
30655         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30656         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30657         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30658         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30659         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
30660         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30661         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
30662         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
30663         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
30664         (__isnanf): Likewise.
30665         (__isinf_ns): Likewise.
30666         (__isinf_nsf): Likewise.
30667         (__finite): Likewise.
30668         (__finitef): Likewise.
30669         (__ieee754_sqrt): Define as macro.
30670         (__ieee754_sqrtf): Define as macro.
30671         (__ieee754_sqrtl): Define as macro.
30672         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
30673         inlined copy.
30674         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
30675         __FINITE_MATH_ONLY__ consistent.
30676         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
30678 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
30680         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
30681         of rawmemchr.
30683         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
30685 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
30687         * po/ja.po: Update from translation team.
30689 2011-10-08  Roland McGrath  <roland@hack.frob.com>
30691         * locale/programs/locarchive.c (prepare_address_space): New function.
30692         (create_archive, enlarge_archive, open_archive): Use it.
30694         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
30695         inside [SHARED], where it is used.
30697         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
30699         * nss/getent.c (netgroup_keys): Remove unused variable.
30700         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30702 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
30704         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
30705         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
30706         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
30707         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
30708         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
30709         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
30710         * math/Makefile (libm-calls): Add s_isinf_ns.
30711         * math/divtc3.c: Use __isinf_nsl instead of isinf.
30712         * math/multc3.c: Likewise.
30713         * math/s_casin.c: Likewise.
30714         * math/s_casinf.c: Likewise.
30715         * math/s_casinl.c: Likewise.
30716         * math/s_ccos.c: Likewise.
30717         * math/s_ccosf.c: Likewise.
30718         * math/s_ccosl.c: Likewise.
30719         * math/s_ctan.c: Likewise.
30720         * math/s_ctanf.c: Likewise.
30721         * math/s_ctanh.c: Likewise.
30722         * math/s_ctanhf.c: Likewise.
30723         * math/s_ctanhl.c: Likewise.
30724         * math/s_ctanl.c: Likewise.
30725         * math/w_fmod.c: Likewise.
30726         * math/w_fmodf.c: Likewise.
30727         * math/w_fmodl.c: Likewise.
30728         * math/w_remainder.c: Likewise.
30729         * math/w_remainderf.c: Likewise.
30730         * math/w_remainderl.c: Likewise.
30731         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
30732         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
30733         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
30734         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
30735         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
30736         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
30737         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
30738         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
30740         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
30741         of the number.
30742         * stdio-common/printf_fphex.c: Likewise.
30743         * stdio-common/printf_size.c: Likewise.
30745         * math/e_exp10.c: Include math_private.h using <...> not "...".
30746         * math/e_exp10f.c: Likewise.
30747         * math/e_exp10l.c: Likewise.
30748         * math/e_exp2l.c: Likewise.
30749         * math/e_j0l.c: Likewise.
30750         * math/e_j1l.c: Likewise.
30751         * math/e_jnl.c: Likewise.
30752         * math/e_lgammal_r.c: Likewise.
30753         * math/e_rem_pio2l.c: Likewise.
30754         * math/e_scalb.c: Likewise.
30755         * math/e_scalbf.c: Likewise.
30756         * math/e_scalbl.c: Likewise.
30757         * math/k_cosl.c: Likewise.
30758         * math/k_sinl.c: Likewise.
30759         * math/k_tanl.c: Likewise.
30760         * math/s_cacoshf.c: Likewise.
30761         * math/s_catan.c: Likewise.
30762         * math/s_catanf.c: Likewise.
30763         * math/s_catanh.c: Likewise.
30764         * math/s_catanhf.c: Likewise.
30765         * math/s_catanhl.c: Likewise.
30766         * math/s_catanl.c: Likewise.
30767         * math/s_ccosh.c: Likewise.
30768         * math/s_ccoshf.c: Likewise.
30769         * math/s_ccoshl.c: Likewise.
30770         * math/s_cexp.c: Likewise.
30771         * math/s_cexpf.c: Likewise.
30772         * math/s_cexpl.c: Likewise.
30773         * math/s_clog.c: Likewise.
30774         * math/s_clog10.c: Likewise.
30775         * math/s_clog10f.c: Likewise.
30776         * math/s_clog10l.c: Likewise.
30777         * math/s_clogf.c: Likewise.
30778         * math/s_clogl.c: Likewise.
30779         * math/s_csin.c: Likewise.
30780         * math/s_csinf.c: Likewise.
30781         * math/s_csinh.c: Likewise.
30782         * math/s_csinhf.c: Likewise.
30783         * math/s_csinhl.c: Likewise.
30784         * math/s_csinl.c: Likewise.
30785         * math/s_csqrt.c: Likewise.
30786         * math/s_csqrtf.c: Likewise.
30787         * math/s_csqrtl.c: Likewise.
30788         * math/s_ctan.c: Likewise.
30789         * math/s_ctanf.c: Likewise.
30790         * math/s_ctanh.c: Likewise.
30791         * math/s_ctanhf.c: Likewise.
30792         * math/s_ctanhl.c: Likewise.
30793         * math/s_ctanl.c: Likewise.
30794         * math/s_ldexp.c: Likewise.
30795         * math/s_ldexpf.c: Likewise.
30796         * math/s_ldexpl.c: Likewise.
30797         * math/s_significand.c: Likewise.
30798         * math/s_significandf.c: Likewise.
30799         * math/s_significandl.c: Likewise.
30800         * math/w_acos.c: Likewise.
30801         * math/w_acosf.c: Likewise.
30802         * math/w_acosh.c: Likewise.
30803         * math/w_acoshf.c: Likewise.
30804         * math/w_acoshl.c: Likewise.
30805         * math/w_acosl.c: Likewise.
30806         * math/w_asin.c: Likewise.
30807         * math/w_asinf.c: Likewise.
30808         * math/w_asinl.c: Likewise.
30809         * math/w_atan2.c: Likewise.
30810         * math/w_atan2f.c: Likewise.
30811         * math/w_atan2l.c: Likewise.
30812         * math/w_atanh.c: Likewise.
30813         * math/w_atanhf.c: Likewise.
30814         * math/w_atanhl.c: Likewise.
30815         * math/w_cosh.c: Likewise.
30816         * math/w_coshf.c: Likewise.
30817         * math/w_coshl.c: Likewise.
30818         * math/w_dremf.c: Likewise.
30819         * math/w_exp10.c: Likewise.
30820         * math/w_exp10f.c: Likewise.
30821         * math/w_exp10l.c: Likewise.
30822         * math/w_exp2.c: Likewise.
30823         * math/w_exp2f.c: Likewise.
30824         * math/w_fmod.c: Likewise.
30825         * math/w_fmodf.c: Likewise.
30826         * math/w_fmodl.c: Likewise.
30827         * math/w_hypot.c: Likewise.
30828         * math/w_hypotf.c: Likewise.
30829         * math/w_hypotl.c: Likewise.
30830         * math/w_j0.c: Likewise.
30831         * math/w_j0f.c: Likewise.
30832         * math/w_j0l.c: Likewise.
30833         * math/w_j1.c: Likewise.
30834         * math/w_j1f.c: Likewise.
30835         * math/w_j1l.c: Likewise.
30836         * math/w_jn.c: Likewise.
30837         * math/w_jnf.c: Likewise.
30838         * math/w_jnl.c: Likewise.
30839         * math/w_lgamma.c: Likewise.
30840         * math/w_lgamma_r.c: Likewise.
30841         * math/w_lgammaf.c: Likewise.
30842         * math/w_lgammaf_r.c: Likewise.
30843         * math/w_lgammal.c: Likewise.
30844         * math/w_lgammal_r.c: Likewise.
30845         * math/w_log.c: Likewise.
30846         * math/w_log10.c: Likewise.
30847         * math/w_log10f.c: Likewise.
30848         * math/w_log10l.c: Likewise.
30849         * math/w_log2.c: Likewise.
30850         * math/w_log2f.c: Likewise.
30851         * math/w_log2l.c: Likewise.
30852         * math/w_logf.c: Likewise.
30853         * math/w_logl.c: Likewise.
30854         * math/w_pow.c: Likewise.
30855         * math/w_powf.c: Likewise.
30856         * math/w_powl.c: Likewise.
30857         * math/w_remainder.c: Likewise.
30858         * math/w_remainderf.c: Likewise.
30859         * math/w_remainderl.c: Likewise.
30860         * math/w_scalb.c: Likewise.
30861         * math/w_scalbf.c: Likewise.
30862         * math/w_scalbl.c: Likewise.
30863         * math/w_sinh.c: Likewise.
30864         * math/w_sinhf.c: Likewise.
30865         * math/w_sinhl.c: Likewise.
30866         * math/w_sqrt.c: Likewise.
30867         * math/w_sqrtf.c: Likewise.
30868         * math/w_sqrtl.c: Likewise.
30869         * math/w_tgamma.c: Likewise.
30870         * math/w_tgammaf.c: Likewise.
30871         * math/w_tgammal.c: Likewise.
30873         * po/ja.po: Update from translation team.
30875 2011-09-29  Andreas Jaeger  <aj@suse.de>
30877         [BZ #13179]
30878         * sunrpc/netname.c (netname2host): Fix logic.
30880         [BZ #6779]
30881         [BZ #6783]
30882         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
30883         correctly.
30884         * math/w_remainder.c (__remainder): Likewise.
30885         * math/w_remainderf.c (__remainderf): Likewise.
30886         * math/libm-test.inc (remainder_test): Add test cases.
30888 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30890         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
30891         sdiv_qrnnd.
30893 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
30895         * string/test-memcmp.c: Avoid unncessary #defines.
30896         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30898 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30900         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
30901         Use new sse2 version for core i3 - i7 as it's faster
30902         than sse42 version.
30903         (bit_Prefer_PMINUB_for_stringop): New.
30904         * sysdeps/x86_64/rawmemchr.S: Update.
30905         Replace with faster SSE2 version.
30906         * sysdeps/x86_64/memrchr.S: New file.
30907         * sysdeps/x86_64/memchr.S: Update.
30908         Replace with faster SSE2 version.
30910 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
30912         * elf/dl-load.c (lose): Add cast to avoid warning.
30914 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
30916         * po/ca.po: Update from translation team.
30918         * inet/getnetgrent_r.c: Hook up nscd.
30919         * nscd/Makefile (routines): Add nscd_netgroup.
30920         (nscd-modules): Add netgroupcache.
30921         (CFLAGS-netgroupcache.c): Define.
30922         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
30923         (cache_search): Add const to second parameter.
30924         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
30925         INNETGR.
30926         (dbs): Add netgrdb entry.
30927         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
30928         (verify_persistent_db): Handle netgrdb.
30929         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
30930         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
30931         GETFDNETGR.
30932         (netgroup_response_header): Define.
30933         (innetgroup_response_header): Define.
30934         (datahead): Add netgroup_response_header and innetgroup_response_header
30935         elements.
30936         * nscd/nscd.conf: Add entries for netgroup cache.
30937         * nscd/nscd.h (dbtype): Add netgrdb.
30938         (_PATH_NSCD_NETGROUP_DB): Define.
30939         (netgroup_iov_disabled): Declare.
30940         (xmalloc, xcalloc, xrealloc): Move declarations here.
30941         (cache_search): Adjust prototype.
30942         Add netgroup-related prototypes.
30943         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
30944         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
30945         (__nscd_innetgr): Declare.
30946         * nscd/selinux.c (perms): Use access_vector_t as element type and
30947         add netgroup-related initializers.
30948         * nscd/netgroupcache.c: New file.
30949         * nscd/nscd_netgroup.c: New file.
30950         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
30951         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
30952         For four parameters use innetgr.
30953         * nss/nss_files/files-init.c: Add definition and callback for netgr.
30954         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
30955         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
30956         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
30958         * nscd/connections.c (register_traced_file): Don't register file
30959         for disabled databases.
30961 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
30963         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
30965         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
30966         from tree and freeing node.
30968 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
30970         * nss/nsswitch.c (__nss_database_lookup): Handle
30971         nss_parse_service_list out of memory case.
30973 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
30975         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
30976         out of memory case.
30978 2011-10-04  Andreas Schwab  <schwab@redhat.com>
30980         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
30981         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
30982         pass it down.
30983         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
30984         elf_machine_rela, elf_machine_lazy_rel.
30985         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
30986         (ELF_DYNAMIC_DO_REL): Likewise.
30987         (ELF_DYNAMIC_DO_RELA): Likewise.
30988         (ELF_DYNAMIC_RELOCATE): Likewise.
30989         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
30990         to ELF_DYNAMIC_DO_REL.
30991         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
30992         (dl_main): In trace mode always set __RTLD_NOIFUNC.
30993         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
30994         elf_machine_rela.
30995         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
30996         skip_ifunc, don't call ifunc function if non-zero.
30997         (elf_machine_rela): Likewise.
30998         (elf_machine_lazy_rel): Likewise.
30999         (elf_machine_lazy_rela): Likewise.
31000         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
31001         (elf_machine_lazy_rel): Likewise.
31002         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
31003         Likewise.
31004         (elf_machine_lazy_rel): Likewise.
31005         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31006         Likewise.
31007         (elf_machine_lazy_rel): Likewise.
31008         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
31009         (elf_machine_lazy_rel): Likewise.
31010         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
31011         (elf_machine_lazy_rel): Likewise.
31012         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31013         (elf_machine_lazy_rel): Likewise.
31014         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
31015         (elf_machine_lazy_rel): Likewise.
31016         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
31017         (elf_machine_lazy_rel): Likewise.
31018         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31019         (elf_machine_lazy_rel): Likewise.
31021 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
31023         * nss/nss_files/files-init.c (_nss_files_init): Use static
31024         initialization for all the *_traced_file variables.
31026 2011-09-28  Andreas Schwab  <schwab@redhat.com>
31028         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31030 2011-09-27  Roland McGrath  <roland@hack.frob.com>
31032         [BZ #13226]
31033         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
31035 2011-09-27  Andreas Schwab  <schwab@redhat.com>
31037         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31038         Reread the line before reparsing it.
31040 2011-09-26  Andreas Schwab  <schwab@redhat.com>
31042         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
31044 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
31045             Maxim Kuvyrkov  <maxim@codesourcery.com>
31046             Joseph Myers  <joseph@codesourcery.com>
31048         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
31049         if needed for __stack_chk_guard.
31051 2011-09-19  Roland McGrath  <roland@hack.frob.com>
31053         * sysdeps/posix/spawni.c (script_execute): Always define it.
31054         It will be optimized away if unused.
31055         (maybe_script_execute): New function.
31056         (__spawni): Call it.
31058         * Makerules: Don't include tls.make.
31059         (config-tls): Always set to thread.
31060         * tls.make.c: File removed.
31062 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
31064         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
31065         * config.make.in (CPPFLAGS-config): New substituted variable.
31067 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
31069         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
31071         [BZ #13192]
31072         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
31073         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
31075 2011-09-15  Roland McGrath  <roland@hack.frob.com>
31077         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
31078         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
31079         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31080         (CALL_FAIL): Likewise.
31081         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
31082         (CALL_FAIL): Macro removed.
31083         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
31085 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
31087         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
31088         for __FINITE_MATH_ONLY__ == 1.
31090 2011-09-15  Andreas Schwab  <schwab@redhat.com>
31092         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
31093         __ieee754_sqrt instead of sqrt.
31094         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
31095         __ieee754_sqrtf instead of sqrtf.
31096         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
31097         __floorf instead of floorf.
31098         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
31099         __floorf, __truncf instead of floorf, truncf.
31101 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
31103         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
31105         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
31106         __extern_always_inline.
31107         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
31108         32-bit.
31110 2011-09-14  Andreas Schwab  <schwab@redhat.com>
31112         * elf/rtld.c (dl_main): Also relocate in dependency order when
31113         doing symbol dependency testing.
31115 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
31117         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31118         Always define `refsym'.
31120 2011-09-13  Andreas Schwab  <schwab@redhat.com>
31122         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
31123         (__FD_ELT): Renamed from __FDELT.
31124         * misc/bits/select2.h (__FD_ELT): Likewise.
31125         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
31126         __FD_MASK instead of __FDELT, __FDMASK.
31127         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31128         Likewise.
31129         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31130         Likewise.
31132         * elf/Makefile (gen-ldd): Fix pattern.
31134         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
31135         (init_tls): Likewise.
31137 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
31139         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
31141 2011-09-12  Andreas Schwab  <schwab@redhat.com>
31143         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
31144         `struct cmsghdr *' instead of `void *'.
31145         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
31146         Likewise.
31148 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
31150         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
31151         if non-absolute.
31152         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
31153         ldd_rewrite_script.
31155 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
31157         * configure.in: Remove --with-tls option.
31158         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
31159         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
31160         out in case it is missing.
31161         * sysdeps/ia64/elf/configure.in: Likewise.
31162         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
31163         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
31164         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
31165         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
31166         * sysdeps/sh/elf/configure.in: Likewise.
31167         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
31168         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31169         * sysdeps/x86_64/elf/configure.in: Likewise.
31170         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
31171         * sysdeps/mach/hurd/tls.h: Likewise.
31173         [BZ #13067]
31174         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
31176         [BZ #13090]
31177         * configure.in: Fix use of AC_INIT.
31179         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
31181 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
31183         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
31184         __set_errno.
31185         * malloc/hooks.c: Likewise.
31187         [BZ #11929]
31188         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
31189         variables statically.
31190         (narenas): Initialize.
31191         (list_lock): Initialize.
31192         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
31193         initializtion of main_arena and list_lock.  Small cleanups.
31194         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
31195         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
31196         Add initializers to main_arena and mp_.
31197         (malloc_state): Remove pagesize member.  Change all users to use
31198         GLRO(dl_pagesize).
31200         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
31201         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
31202         is always initialized.
31204         * malloc/malloc.c: Removed unused configurations and dead code.
31205         * malloc/arena.c: Likewise.
31206         * malloc/hooks.c: Likewise.
31207         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
31209         * include/tls.h: Removed.  USE___THREAD must always be defined.
31210         * bits/libc-tsd.h: Don't handle !USE___THREAD.
31211         * elf/dl-libc.c: Likewise.
31212         * elf/dl-tsd.c: Likewise.
31213         * include/errno.h: Likewise.
31214         * include/netdb.h: Likewise.
31215         * include/resolv.h: Likewise.
31216         * inet/herrno-loc.c: Likewise.
31217         * inet/herrno.c: Likewise.
31218         * malloc/arena.c: Likewise.
31219         * malloc/hooks.c: Likewise.
31220         * malloc/malloc.c: Likewise.
31221         * resolv/res-state.c: Likewise.
31222         * resolv/res_libc.c: Likewise.
31223         * sysdeps/i386/dl-machine.h: Likewise.
31224         * sysdeps/ia64/dl-machine.h: Likewise.
31225         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
31226         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31227         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
31228         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
31229         * sysdeps/sh/dl-machine.h: Likewise.
31230         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31231         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31232         * sysdeps/unix/i386/sysdep.S: Likewise.
31233         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31234         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
31235         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
31236         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31237         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
31238         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31239         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31240         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31241         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31242         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31243         * sysdeps/unix/x86_64/sysdep.S: Likewise.
31244         * sysdeps/x86_64/dl-machine.h: Likewise.
31245         * tls.make.c: Likewise.
31247         * configure.in: Remove --with-__thread option.  Make tests for
31248         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
31249         tls_model attribute fail if no support is available.  Remove
31250         USE_IN_LIBIO.
31251         * Makeconfig: Adjust for dropped configure option.  All features are
31252         now mandatory.
31253         * Makerules: Likewise.
31254         * Versions.def: Likewise.
31255         * argp/argp-fmtstream.c: Likewise.
31256         * argp/argp-fmtstream.h: Likewise.
31257         * argp/argp-help.c: Likewise.
31258         * assert/assert.c: Likewise.
31259         * config.h.in: Likewise.
31260         * config.make.in: Likewise.
31261         * configure: Likewise.
31262         * configure.in: Likewise.
31263         * csu/Versions: Likewise.
31264         * csu/init.c: Likewise.
31265         * elf/tst-audit2.c: Likewise.
31266         * elf/tst-tls10.c: Likewise.
31267         * elf/tst-tls10.h: Likewise.
31268         * elf/tst-tls11.c: Likewise.
31269         * elf/tst-tls12.c: Likewise.
31270         * elf/tst-tls14.c: Likewise.
31271         * elf/tst-tlsmod11.c: Likewise.
31272         * elf/tst-tlsmod12.c: Likewise.
31273         * elf/tst-tlsmod13.c: Likewise.
31274         * elf/tst-tlsmod13a.c: Likewise.
31275         * elf/tst-tlsmod14a.c: Likewise.
31276         * elf/tst-tlsmod15b.c: Likewise.
31277         * elf/tst-tlsmod16a.c: Likewise.
31278         * elf/tst-tlsmod16b.c: Likewise.
31279         * elf/tst-tlsmod7.c: Likewise.
31280         * elf/tst-tlsmod8.c: Likewise.
31281         * elf/tst-tlsmod9.c: Likewise.
31282         * gmon/gmon.c: Likewise.
31283         * grp/fgetgrent_r.c: Likewise.
31284         * grp/putgrent.c: Likewise.
31285         * hurd/fopenport.c: Likewise.
31286         * include/libc-symbols.h: Likewise.
31287         * include/tls.h: Likewise.
31288         * intl/gettextP.h: Likewise.
31289         * intl/loadinfo.h: Likewise.
31290         * locale/global-locale.c: Likewise.
31291         * locale/localeinfo.h: Likewise.
31292         * mach/devstream.c: Likewise.
31293         * malloc/arena.c: Likewise.
31294         * malloc/set-freeres.c: Likewise.
31295         * misc/err.c: Likewise.
31296         * misc/getttyent.c: Likewise.
31297         * misc/mntent_r.c: Likewise.
31298         * posix/getopt.c: Likewise.
31299         * posix/wordexp.c: Likewise.
31300         * pwd/fgetpwent_r.c: Likewise.
31301         * resolv/Versions: Likewise.
31302         * resolv/res_hconf.c: Likewise.
31303         * shadow/fgetspent_r.c: Likewise.
31304         * shadow/putspent.c: Likewise.
31305         * stdio-common/printf_fphex.c: Likewise.
31306         * stdio-common/tmpfile.c: Likewise.
31307         * stdlib/abort.c: Likewise.
31308         * stdlib/fmtmsg.c: Likewise.
31309         * sunrpc/auth_unix.c: Likewise.
31310         * sunrpc/clnt_perr.c: Likewise.
31311         * sunrpc/clnt_tcp.c: Likewise.
31312         * sunrpc/clnt_udp.c: Likewise.
31313         * sunrpc/clnt_unix.c: Likewise.
31314         * sunrpc/openchild.c: Likewise.
31315         * sunrpc/svc_simple.c: Likewise.
31316         * sunrpc/svc_tcp.c: Likewise.
31317         * sunrpc/svc_udp.c: Likewise.
31318         * sunrpc/svc_unix.c: Likewise.
31319         * sunrpc/xdr.c: Likewise.
31320         * sunrpc/xdr_array.c: Likewise.
31321         * sunrpc/xdr_rec.c: Likewise.
31322         * sunrpc/xdr_ref.c: Likewise.
31323         * sunrpc/xdr_stdio.c: Likewise.
31325 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
31327         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31329 2011-07-03  Andreas Jaeger  <aj@suse.de>
31331         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
31332         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
31333         regenerate with gen-libm-tests.pl.
31335 2010-05-12  Petr Baudis  <pasky@suse.cz>
31337         [BZ #11589]
31338         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
31339         around j0() zero points by switching to j1().
31340         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31341         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31342         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31343         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31345 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
31347         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
31348         instead of 0.
31349         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
31350         instead of 0.
31351         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31352         Patch in part by Pavel Roskin <proski@gnu.org>.
31354         [BZ #13138]
31355         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
31356         realloc.
31357         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
31358         Free memory block if necessary.
31360         [BZ #12847]
31361         * libio/genops.c (INTDEF): For string streams the _lock pointer can
31362         be NULL.  Don't lock in this case.
31364 2011-09-09  Roland McGrath  <roland@hack.frob.com>
31366         * elf/elf.h (ELFOSABI_GNU): New macro.
31367         (ELFOSABI_LINUX): Define to that.
31369 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
31371         * string/strncat.c (strncat): Undef the symbol in case it has been
31372         defined in bits/string.h.
31374 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
31376         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
31378         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
31379         link map.
31381 2011-08-17  Andreas Jaeger  <aj@suse.de>
31383         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
31385 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
31386             Ian Lance Taylor  <iant@google.com>
31388         * math/libm-test.inc (lround_test): New testcase.
31389         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
31391 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
31393         * Makefile: Remove support for automatic cvs check-ins.
31394         * Makerules: Likewise.
31395         * config.make.in: Likewise.
31396         * configure.in: Likewise.
31397         * intl/Makefile: Likewise.
31398         * locale/Makefile: Likewise.
31399         * po/Makefile: Likewise.
31400         * posix/Makefile: Likewise.
31401         * sysdeps/gnu/Makefile: Likewise.
31402         * sysdeps/mach/hurd/Makefile: Likewise.
31403         * sysdeps/sparc/sparc32/Makefile: Likewise.
31405         [BZ #13118]
31406         * posix/Makefile (bug-regex32-ENV): Define.
31407         Patch by John Stanley <jpsinthemix@verizon.net>.
31409         * misc/Makefile (headers): Add bits/select2.h.
31410         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
31411         * misc/bits/select2.h: New file.
31412         * include/bits/select2.h: New file.
31413         * debug/Makefile (routines): Add fdelt_chk.
31414         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
31415         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
31416         FD_ISSET.
31417         * debug/fdelt_chk.c: New file.
31419         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
31420         * wcsmbs/test-wmemcmp.c: Likewise.
31421         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
31422         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
31424 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31426         * string/Makefile (strop-tests): Add memcmp.
31427         * string/test-wmemcmp.c: New file.
31428         * string/test-memcmp.c: Add wmemcmp support.
31430 2011-09-08  Roland McGrath  <roland@hack.frob.com>
31432         [BZ #13153]
31433         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
31434         2011-07-19 change.
31436         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
31437         garbage value in a __mach_port_mod_refs call in the cases of the
31438         task-self and thread-self ports.
31440 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31442         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
31444 2011-09-08  Andreas Schwab  <schwab@redhat.com>
31446         * elf/dl-load.c (lose): Check for non-null L.
31448 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
31450         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
31452         * elf/dl-libc.c (dlerror_run): Pass back error code from
31453         dl_catch_error.
31455         [BZ #13123]
31456         * elf/dl-load.c (lose): Free l_origin if it is valid.
31458         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
31459         names.
31460         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
31461         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31462         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31463         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31464         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
31465         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
31467 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31469         * sysdeps/powerpc/fpu/e_hypot.c: New file.
31470         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
31471         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
31472         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
31473         * sysdeps/powerpc/fpu/k_cosf.c: New file.
31474         * sysdeps/powerpc/fpu/k_sinf.c: New file.
31475         * sysdeps/powerpc/fpu/s_cosf.c: New file.
31476         * sysdeps/powerpc/fpu/s_sinf.c: New file.
31477         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
31478         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
31480 2011-08-15  Alan Modra  <amodra@gmail.com>
31482         [BZ #13092]
31483         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
31484         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
31485         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
31486         ppc_mcount to static-only-routines.
31487         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
31488         __mcount_internal.
31489         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
31490         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
31492 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
31494         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
31495         for finite and infinity parameters.
31497 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
31499         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
31500         and add nop instructions for throughput optimization.
31501         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31503 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
31505         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
31506         aligned copy for power7 with vector-scalar instructions.
31507         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31509 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
31511         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
31512         AVX check.
31514 2011-09-07  Andreas Schwab  <schwab@redhat.com>
31516         [BZ #13144]
31517         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
31518         last change.
31520 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
31522         * sysdeps/unix/sysv/linux/x86_64/init-first.c
31523         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
31524         syscall wrapper around clock_gettime in __vdso_clock_gettime.
31525         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
31526         clock_gettime.
31528 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
31530         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
31531         Forgot to demangle the pointer.
31533         * sysdeps/i386/sysdep.h: Define atom_text_section.
31534         * sysdeps/x86_64/sysdep.h: Likewise.
31535         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
31536         section with atom_text_section.
31537         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31538         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31539         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
31540         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31541         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
31543         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
31544         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
31545         already be defined.  Change to take two parameters and don't assign
31546         result to variable.  Adjust all users.
31547         Define INTERNAL_GETTIME if not already defined.
31548         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
31549         call.
31550         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
31551         HAVE_CLOCK_GETTIME_VSYSCALL.
31552         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
31554         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
31555         gettimeofday vsyscall, just use time.
31557 2011-09-06  Andreas Schwab  <schwab@redhat.com>
31559         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
31560         <errno.h>.
31562 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
31564         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
31565         syscall on x86-64.
31566         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
31567         syscall.
31568         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
31569         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
31570         syscall if possible.
31572 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
31574         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
31575         e_ident.  Don't pass to find_mapsXX.
31576         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
31578 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31580         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31581         strchr-sse2-no-bsf strrchr-sse2-no-bsf
31582         * sysdeps/x86_64/multiarch/strchr.S: Update.
31583         Check bit_slow_BSF bit.
31584         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31585         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
31586         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
31588 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
31590         [BZ #13134]
31591         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
31592         before glibc 2.15.
31593         (tryshell): Define.
31594         (__spawni): Change last parameter to be flag.  Test
31595         SPAWN_XFLAGS_USE_PATH flag to use path or not.
31596         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
31597         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
31598         * posix/spawni.c: Likewise.
31599         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
31600         * posix/spawnp.c: Likewise.  Change normal version to use
31601         SPAWN_XFLAGS_USE_PATH.
31602         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
31603         SPAWN_XFLAGS_TRY_SHELL.
31605         [BZ #13150]
31606         * posix/glob.h: Remove gcc 1.x support.
31608         [BZ #13068]
31609         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
31611 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31613         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31614         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
31615         strrchr-sse2-bsf
31616         * sysdeps/i386/i686/multiarch/strchr.S: New file.
31617         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
31618         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
31619         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
31620         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
31621         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
31623 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31625         * sysdeps/x86_64/wcscmp.S: New file.
31627         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
31628         wcscmp-c wcscmp-sse2
31629         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
31630         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
31631         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
31632         * wcsmbs/wcscmp.c: Allow renaming.
31634 2011-09-05  David S. Miller  <davem@davemloft.net>
31636         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
31637         stack slot, rather than the struct return pointer slot.
31638         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
31639         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
31640         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
31641         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
31643 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
31645         * po/ja.po: Update from translation team.
31647         [BZ #13144]
31648         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
31649         kernel in 64-bit binaries.
31651 2011-09-01  David S. Miller  <davem@davemloft.net>
31653         * elf/elf.h (HWCAP_SPARC_*): Move to..
31654         * sysdeps/sparc/sysdep.h: this new file and add new values.
31655         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
31656         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
31657         _DL_HWCAP_COUNT to 24.
31658         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31659         entries.
31660         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
31661         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
31662         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
31663         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
31664         instead of magic constants.
31665         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31667 2011-08-31  David S. Miller  <davem@davemloft.net>
31669         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
31670         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
31671         Reimplement to do errno handling inline.
31672         (SYSCALL_ERROR_HANDLER): New macro.
31673         (__SYSCALL_STRING): Do not do errno handling in asm.
31674         (__CLONE_SYSCALL_STRING): Delete.
31675         (__INTERNAL_SYSCALL_STRING): Delete.
31676         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
31677         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
31678         (PSEUDO): Reimplement to do errno handling inline.
31679         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
31680         (SYSCALL_ERROR_HANDLER): New macro.
31681         (__SYSCALL_STRING): Do not do errno handling in asm.
31682         (__CLONE_SYSCALL_STRING): Delete.
31683         (__INTERNAL_SYSCALL_STRING): Delete.
31684         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
31685         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
31686         i386.
31687         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
31688         (inline_syscall*): Add 'err' argument.
31689         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
31690         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
31691         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
31692         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
31694         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
31695         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31697 2011-08-30  Andreas Schwab  <schwab@redhat.com>
31699         * elf/rtld.c (dl_main): Relocate objects in dependency order.
31701 2011-08-29  Jiri Olsa <jolsa@redhat.com>
31703         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
31704         directive.
31706 2011-08-24  David S. Miller  <davem@davemloft.net>
31708         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
31710 2011-08-24  Andreas Schwab  <schwab@redhat.com>
31712         * elf/Makefile: Add rules to build and run unload8 test.
31713         * elf/unload8.c: New file.
31714         * elf/unload8mod1.c: New file.
31715         * elf/unload8mod1x.c: New file.
31716         * elf/unload8mod2.c: New file.
31717         * elf/unload8mod3.c: New file.
31719         * elf/dl-close.c (_dl_close_worker): Reset private search list if
31720         it wasn't used.
31722 2011-08-23  David S. Miller  <davem@davemloft.net>
31724         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
31725         subtract stack bias.
31726         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
31727         %sp not %fp in calculations.
31728         (_JMPBUF_UNWINDS_ADJ): Likewise.
31730         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
31731         (aio_suspend): Call it to force an exception region around the
31732         AIO_MISC_WAIT() invocation.
31734 2011-08-23  Andreas Schwab  <schwab@redhat.com>
31736         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
31737         backslash.
31739 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
31741         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
31742         protection macro.
31743         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
31744         and <dl-machine.h>.
31745         (Elf64_FuncDesc): Remove.
31747 2011-08-22  David S. Miller  <davem@davemloft.net>
31749         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
31750         sigaltstack check, add missing cfi directives.
31751         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
31752         missing cfi directives, and sigaltstack handling.
31754 2011-08-16  Andreas Schwab  <schwab@redhat.com>
31756         [BZ #11724]
31757         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
31758         object is seen twice.
31759         * elf/dl-fini.c (_dl_sort_fini): Likewise.
31761         * elf/Makefile (distribute): Add tst-initorder2.c.
31762         (tests): Add tst-initorder2.
31763         (modules-names): Add tst-initorder2a tst-initorder2b
31764         tst-initorder2c tst-initorder2d.  Add rules to build them.
31765         ($(objpfx)tst-initorder2.out): New rule.
31766         * elf/tst-initorder2.c: New file.
31767         * elf/tst-initorder2.exp: New file.
31769 2011-08-22  Andreas Schwab  <schwab@redhat.com>
31771         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
31773         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
31774         dependencies back to end of function.
31776         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31777         $(elfobjdir)/ld.so.
31779 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
31781         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
31782         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
31783         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
31784         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
31785         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
31786         of __vdso_gettimeofday.
31787         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
31788         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
31789         attribute_hidden.
31790         (_libc_vdso_platform_setup): Remove initialization of
31791         __vdso_gettimeofday and __vdso_time.
31793 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
31795         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
31796         and fgetc_unlocked.
31797         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
31798         getc_unlocked.
31800         * elf/dl-open.c (add_to_global): Report additions to the global scope
31801         for LD_DEBUG=scopes.
31802         (dl_open_worker): Also print scope of newly loaded dependencies.
31803         (_dl_show_scope): Indicate if there is no scope.
31805         [BZ #13114]
31806         * stdio-common/Makefile (tests): Add bug24.
31807         * stdio-common/bug24.c: New file.
31809 2011-08-19  Andreas Jaeger  <aj@suse.de>
31811         [BZ #13114]
31812         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
31813         non-existant file when using close-on-exec mode.
31815 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
31817         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
31818         the very first instruction.
31820         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
31821         the CFI state in the end.
31822         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
31823         inclusion of dl-trampoline.h.
31824         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
31826 2011-08-19  Andreas Schwab  <schwab@redhat.com>
31828         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
31829         expectations for long double.
31831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
31832         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
31834 2011-08-14  David S. Miller  <davem@davemloft.net>
31836         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
31837         artificual limit depends upon the system page size.
31839 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
31841         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
31842         * resolv/Makefile: Define CFLAGS-libresolv.
31844 2011-08-17  Andreas Schwab  <schwab@redhat.com>
31846         * nss/makedb.c (compute_tables): Make variables used in nested
31847         function static.
31849 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
31851         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
31852         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
31853         if buffer was too small.
31855         * elf/pldd.c (main): Attach to all threads in the process.
31856         Rewrite /proc handling to use *at functions.
31858 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
31860         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
31861         specifies first scope to show.
31862         (dl_open_worker): Update callers.  Move printing scope of new
31863         object to before the relocation.
31864         * elf/rtld.c (dl_main): Update _dl_show_scope call.
31865         * sysdeps/generic/ldsodefs.h: Update declaration.
31867         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
31868         string for the scope number.
31870 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
31872         * nscd/servicescache.c (cache_addserv): Make sure written is always
31873         initialized.
31875 2011-08-14  Roland McGrath  <roland@hack.frob.com>
31877         * sysdeps/i386/i486/bits/atomic.h
31878         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
31879         statement expression, so as to suppress "set but not used" warning.
31880         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
31882         * string/strncat.c (STRNCAT): Use prototype definition.
31884         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
31885         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
31886         -Iprograms here.
31887         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
31888         (localedef-modules): Add localedef.
31889         (locale-modules): Add locale.
31891         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
31892         * elf/rtld.c (dl_main): Invert order of assignment in last change,
31893         to avoid a warning.
31895 2011-08-14  David S. Miller  <davem@davemloft.net>
31897         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
31898         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
31900 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
31902         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
31903         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
31904         * elf/rtld.c (dl_main): Set l_name of vDSO.
31905         Call _dl_show_scope when DL_DEBUG_SCOPES.
31906         (process_dl_debug): Recognize scopes flag and also set it for all.
31907         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
31908         Declare _dl_show_scope.
31910         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
31911         (do_dlopen): Pass caller_dlopen to dl_open.
31912         (__libc_dlopen_mode): Initialize caller_dlopen.
31914         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
31915         of libc.  Make tolower call locale-independent.  Optimize a bit by
31916         using isdigit instead of isalnum.
31917         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
31919 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
31921         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
31922         was a dependency or dynamically loaded.
31924 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
31926         * intl/l10nflist.c: Allow architecture-specific pop function.
31927         * sysdeps/x86_64/l10nflist.c: New file.
31929         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
31930         classification.
31932 2011-08-10  Andreas Schwab  <schwab@redhat.com>
31934         * include/dirent.h: Add libc_hidden_proto for scandirat and
31935         scandirat64.  Don't declare __scandirat64.
31936         * dirent/scandirat.c: Add libc_hidden_def.
31937         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
31938         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
31940 2011-08-10  David S. Miller  <davem@davemloft.net>
31942         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
31943         enum.
31944         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31945         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31946         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31948 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
31950         * Versions.def [libc]: Add GLIBC_2.15.
31951         * dirent/Makefile (routines): Add scandirat and scandirat64.
31952         * dirent/Versions [libc]: Export scandirat and scandirat64 for
31953         GLIBC_2.15.
31954         * dirent/dirent.h: Declare scandirat and scandirat64.
31955         * dirent/scandirat.c: New file.
31956         * dirent/scandirat64.c: New file.
31957         * sysdeps/wordsize-64/scandirat.c: New file.
31958         * sysdeps/wordsize-64/scandirat64.c: New file.
31959         * dirent/opendir.c: Define opendirat.
31960         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
31961         using scandirat.
31962         * dirent/scandir64.c: Adjust for scandir.c change.
31963         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
31964         __scandirat64, and __scandir_cancel_handler.
31965         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
31966         additional parameter and use openat instead of open (outside of ld.so).
31967         Add new __opendir as wrapper around __opendirat.
31968         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
31969         here without requiring old scandirat implementation.
31971 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
31973         * dirent/scandir.c (cancel_handler): Renamed to
31974         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
31975         defined.  Adjust users.
31976         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
31977         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
31979 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
31981         * string/test-string.h (IMPL): Use __STRING to expand name and then
31982         stringify it.
31984         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
31985         of cleanups.
31987 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31989         * string/Makefile: Update.
31990         (strop-tests): Append strncat.
31991         * string/test-wcscmp.c: New file.
31992         New comprehensive test for wcscmp.
31993         * string/test-strcmp.c: Update.
31994         (WIDE): New define.
31996 2011-07-22  Andreas Schwab  <schwab@redhat.com>
31998         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
31999         line.
32001 2011-07-26  Andreas Schwab  <schwab@redhat.com>
32003         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32004         encoding to ACE if AI_IDN.
32006 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
32008         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
32009         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
32011 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32013         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
32014         Fix overflow bug in strncat.
32015         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
32017         * string/test-strncat.c: Update.
32018         Add new tests for checking overflow bugs.
32020 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32022         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32023         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
32024         * sysdeps/i386/i686/multiarch/strcat.S: New file.
32025         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
32026         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
32027         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
32028         * sysdeps/i386/i686/multiarch/strncat.S: New file.
32029         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
32030         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
32032         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
32033         (USE_AS_STRCAT): Define.
32034         Add strcat and strncat support.
32035         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32037 2011-07-25  Andreas Schwab  <schwab@redhat.com>
32039         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
32040         __n bigger than INT_MAX+1.
32041         (__strncmp_g): Likewise.
32043 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
32045         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
32046         * libio/stido.h: Likewise.
32048         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
32049         (AF_NFC): Define.
32050         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
32051         (AF_NFC): Define.
32053         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
32054         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32055         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32056         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32057         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32059         [BZ #13021]
32060         * scripts/test-installation.pl: Don't expect libnss_test1 to be
32061         installed.
32063         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
32064         typo.
32065         (_dl_x86_64_save_sse): Likewise.
32067 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
32069         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
32070         OSXSAVE.
32071         (_dl_x86_64_save_sse): Likewise.
32073         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
32075         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
32077 2011-07-21  Andreas Schwab  <schwab@redhat.com>
32079         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
32080         change.
32081         (_dl_x86_64_save_sse): Use correct AVX check.
32083 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32085         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
32086         bug in strncpy/strncat.
32087         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
32089 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
32091         * string/tester.c (test_strcat): Add tests for different alignments
32092         of source and destination.
32093         (test_strncat): Likewise.
32095 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
32097         [BZ #12852]
32098         * posix/glob.c (glob): Check passed in values before using them in
32099         expressions to avoid some overflows.
32100         (glob_in_dir): Likewise.
32102         [BZ #13007]
32103         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
32104         check for AVX enablement so that we don't crash with old kernels and
32105         new hardware.
32106         * elf/tst-audit4.c: Add same checks here.
32107         * elf/tst-audit6.c: Likewise.
32109         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
32111 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
32113         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
32115 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
32117         * po/cs.po: Update from translation team.
32118         * po/bg.po: Likewise.
32120 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
32122         * misc/sys/cdefs.h: Add support for const attribute.
32123         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
32124         to gnu_dev_{major,minor,makedev} functions.
32126 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
32128         * intl/dcigettext.c (get_output_charset): Add missing bracket.
32130 2011-07-20  Andreas Schwab  <schwab@redhat.com>
32132         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
32133         strlen results.
32135 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32137         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
32138         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
32139         register in order to avoid conflicts with the soft frame pointer
32140         being held in r11 when necessary.
32141         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
32142         (INTERNAL_VSYSCALL_NCS): Likewise.
32144 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
32146         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
32147         * elf/dl-fini.c (_dl_fini): Adjust caller.
32148         * elf/dl-close.c (_dl_close_worker): Likewise.
32149         * sysdeps/generic/ldsodefs.h: Adjust declaration.
32151 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
32153         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
32154         "aux_cache->nlibs < 0".
32156         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
32157         in the reload-count case.
32159 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32161         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32162         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
32163         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
32164         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
32165         * sysdeps/x86_64/multiarch/strcat.S: New file.
32166         * sysdeps/x86_64/multiarch/strncat.S: New file.
32167         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
32168         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
32169         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
32170         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
32171         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
32172         (USE_AS_STRCAT): Define.
32173         Add strcat and strncat support.
32174         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32175         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32176         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
32177         * string/strncat.c: Update.
32178         (USE_AS_STRNCAT): Define.
32179         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32180         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
32181         and i7.
32182         * sysdeps/x86_64/multiarch/init-arch.h
32183         (bit_Prefer_PMINUB_for_stringop): New.
32184         (index_Prefer_PMINUB_for_stringop): Likewise.
32185         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
32186         bit_Prefer_PMINUB_for_stringop.
32188 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
32190         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
32191         buffer64.
32192         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
32193         of casting of buffer.
32194         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
32195         buffer32 and buffer64.
32196         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
32197         writes instead of casting of buffer.
32198         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
32199         buffer32.
32200         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
32201         casting of buffer.
32203 2011-07-19  Andreas Schwab  <schwab@redhat.com>
32205         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
32207 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
32209         * nscd/nscd.c (termination_handler): Don't do anything for a database
32210         if it has not yet been initialized.
32212 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
32214         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32216 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
32218         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32220 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
32222         * po/nl.po: Update from translation team.
32223         * po/sv.po: Likewise.
32225 2011-07-16  Roland McGrath  <roland@hack.frob.com>
32227         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
32228         now disallowed by GCC.
32230         * configure.in (use-default-link): Default to yes if a test -shared
32231         link meets our qualifications.
32232         * configure: Regenerated.
32234         * config.make.in (output-format): New variable.
32235         * configure.in: Check for ld --print-output-format support.
32236         * configure: Regenerated.
32237         * Makerules ($(common-objpfx)format.lds)
32238         [$(output-format) != unknown]: Just use $(output-format),
32239         instead of the linker-script munging.
32241 2011-07-14  Roland McGrath  <roland@hack.frob.com>
32243         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
32244         of $(common-objpfx)shlib.lds.
32245         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
32247         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
32248         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
32250         * configure.in (-z relro check): Adjust test code to add a large
32251         writable data section after it.
32252         * configure: Regenerated.
32254 2011-07-11  Roland McGrath  <roland@hack.frob.com>
32256         * configure.in (-z relro check): Fix test code to make the variable
32257         truly const.
32258         * configure: Regenerated.
32260 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
32262         * nscd/nscd.h (struct traced_file): Define.
32263         (struct database_dyn): Remove inotify_descr, reset_res, and filename
32264         elements.  Add traced_files.
32265         (inotify_fd): Declare.
32266         (register_traced_file): Declare.
32267         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
32268         (inotify_fd): Export.
32269         (resolv_conf_descr): Remove.
32270         (nscd_init): Move inotify descriptor creation to main.
32271         Don't register files for notification here.
32272         (register_traced_file): New function.
32273         (invalidate_cache): Don't use reset_res to determine whether to call
32274         res_init, go through the list of registered files.
32275         (main_loop_poll): The inotify descriptors are now stored in the
32276         structures for the traced files.
32277         (main_loop_epoll): Likewise
32278         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
32279         to __nss_disable_nscd.
32280         * nscd/cache.c (prune_cache): There is no single inotify descriptor
32281         for a database anymore.  Check the records for all the registered
32282         files instead.
32283         * nss/Makefile (libnss_files-routines): Add files-init.
32284         (libnss_db-routines): Add db-init.
32285         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
32286         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
32287         * nss/nss_db/db-init.c: New file.
32288         * nss/nss_files/files-init.c: New file.
32289         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
32290         __nss_lookup_function.
32291         (__nss_lookup_function): Call nss_load_library.
32292         (nss_load_all_libraries): New function.
32293         (__nss_disable_nscd): Take parameter with callback function for files
32294         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
32295         used for the cached services.
32296         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
32297         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
32298         options for features to all the files in nscd.
32300         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
32302 2011-07-10  Roland McGrath  <roland@hack.frob.com>
32304         * csu/elf-init.c (__libc_csu_init): Comment typo.
32306 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
32308         * po/pl.po: Update from translation team.
32309         * po/ja.po: Likewise.
32310         * po/ru.po: Likewise.
32311         * po/ko.po: Likewise.
32312         * po/fr.po: Likewise.
32314 2011-07-09  Roland McGrath  <roland@hack.frob.com>
32316         * configure.in (.ctors/.dtors header and trailer check):
32317         Use an empirical test on a built program.
32318         * configure: Regenerated.
32320         * configure.in (-z relro check): Use an empirical test on a built DSO.
32321         Detect, but do not require, on ia64.
32322         * configure: Regenerated.
32324         * configure.in (READELF): Find it with AC_CHECK_TOOL.
32325         Update tests that use readelf to use $READELF instead.
32326         * configure: Regenerated.
32328 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
32330         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
32331         if the result is not used.
32333 2011-07-05  Andreas Jaeger  <aj@suse.de>
32335         [BZ#9696]
32336         * stdlib/tst-strtod.c: Add testcase.
32338 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
32340         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
32341         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
32342         The latter has a higher limit.  Take additional parameter to pass to
32343         the new function.
32344         (__pathconf): Pass file to __statfs_link_max.
32345         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
32346         __statfs_link_max.
32347         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
32348         __statfs_link_max.
32350         [BZ #12868]
32351         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
32352         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32353         Handle Lustre.
32354         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
32355         (__statfs_filesize_max): Likewise.
32356         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
32358 2011-07-05  Andreas Jaeger  <aj@suse.de>
32360         * resolv/res_comp.c (dn_skipname): Remove unused variable.
32362 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
32364         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
32365         `status' variable.
32366         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
32367         Likewise.
32369 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
32371         * Makefile (strop-tests): Add strncat.
32372         * string/test-strncat.c: New file.
32374 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
32376         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
32378 2011-06-21  Andreas Jaeger  <aj@suse.de>
32380         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
32381         Copy rule from iconvdata/Makefile.
32383 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
32385         [BZ #12922]
32386         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
32387         but no long options are defined, just return 'W'.
32389 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
32391         [BZ #9696]
32392         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
32394 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
32396         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
32397         netgroups to read.
32398         (innetgr): Likewise.
32400 2011-07-05  Roland McGrath  <roland@hack.frob.com>
32402         * config.make.in (install_root): Default to $(DESTDIR).
32404 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
32406         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
32408 2011-07-02  Roland McGrath  <roland@hack.frob.com>
32410         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
32412         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
32413         containing directory rather than embedding absolute directory names.
32415         * scripts/check-local-headers.sh: Rewritten using awk.
32416         Match by word, not by line.  Print error messages for matches.
32417         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
32419         * Makerules [shlib-lds-flags empty]:
32420         ($(common-objpfx)libc_pic.opts): New target.
32421         ($(common-objpfx)libc_pic.os.clean): New target.
32422         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
32424         * config.make.in (OBJCOPY): New variable.
32425         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
32426         * configure: Regenerated.
32428         * config.make.in (use-default-link): New variable.
32429         * configure.in (use_default_link): Grok --with-default-link to set it.
32430         * configure: Regenerated.
32431         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
32432         (shlib-lds, shlib-lds-flags): Define to empty.
32434         * Makerules (shlib-lds): New variable.
32435         (shlib-lds-flags): New variable.
32436         (build-shlib, build-moduile, build-module-asneeded): Use it.
32437         ($(common-objpfx)libc.so): Use $(shlib-lds).
32438         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
32439         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
32441         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
32442         DT_FLAGS/DT_FLAGS_1 with zero flags.
32444         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
32445         linker script munging.
32447 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
32449         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
32450         as 128-bit value.
32451         * crypt/sha512.c (sha512_process_block): Perform total addition using
32452         128-bit if possible.
32453         (__sha512_finish_ctx): Likewise.
32454         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
32455         as 64-bit value.
32456         * crypt/sha256.c (SWAP64): Define.
32457         (sha256_process_block): Perform total addition using 64-bit if
32458         possible.
32459         (__sha256_finish_ctx): Likewise.
32461 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
32463         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
32464         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32465         * nscd/hstcache.c (cache_addhst): Likewise.
32466         * nscd/grpcache.c (cache_addgr): Likewise.
32467         * nscd/aicache.c (addhstaiX): Likewise
32468         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
32470 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
32472         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
32473         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32474         * nscd/hstcache.c (cache_addhst): Likewise.
32475         * nscd/grpcache.c (cache_addgr): Likewise.
32476         * nscd/aicache.c (addhstaiX): Likewise
32478 2011-07-01  Andreas Schwab  <schwab@redhat.com>
32480         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
32481         domain only when needed.
32483 2011-06-30  Andreas Schwab  <schwab@redhat.com>
32485         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
32486         is always restored.
32488 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
32490         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
32491         are re-adding the entry.
32492         * nscd/servicescache.c (cache_addserv): Likewise.
32494 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
32496         * sysdeps/generic/dl-irel.h: fix protection against multiple
32497         inclusions.
32498         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
32500 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
32502         [BZ #12935]
32503         * malloc/memusage.sh: Fix quoting in message.
32504         * debug/xtrace.sh: Likewise.
32506         * configure.in: Remove support for --experimental-malloc option, make
32507         it the default.
32508         * config.make.in: Likewise.
32509         * malloc/Makefile: Likewise.
32511 2011-06-27  Andreas Schwab  <schwab@redhat.com>
32513         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
32514         two-byte characters.
32516 2011-06-27  Roland McGrath  <roland@hack.frob.com>
32518         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
32519         AC_CACHE_CHECK invocation.
32520         * configure: Regenerated.
32522         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
32524 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
32526         [BZ #12350]
32527         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
32528         bit from old_res_options.
32530         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
32532         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
32533         value type for setfct.
32535 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
32537         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32538         __gettimeofday instead of gettimeofday.
32540 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
32542         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
32544 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
32546         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
32548         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
32549         info.
32551 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
32553         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32554         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32555         strcpy-sse2-unaligned strncpy-sse2-unaligned
32556         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
32557         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
32558         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
32559         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
32560         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
32561         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
32562         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
32563         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
32564         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
32565         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
32566         (STRCPY): Support SSE2 and SSSE3 versions.
32568 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
32570         [BZ #12874]
32571         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
32572         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
32573         kernels which artificially limit size of requests.
32575 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
32577         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32578         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32579         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
32580         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
32581         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
32582         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
32583         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
32584         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
32585         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
32586         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
32587         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
32588         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
32589         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
32590         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
32591         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
32592         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32593         Enable unaligned load optimization for Intel Core i3, i5 and i7
32594         processors.
32595         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
32596         Define.
32597         (index_Fast_Unaligned_Load): Define.
32598         (HAS_FAST_UNALIGNED_LOAD): Define.
32600 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
32602         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
32604 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
32606         [BZ #12907]
32607         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
32608         until it is clear that the information is realy needed.
32609         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
32611 2011-06-22  Andreas Schwab  <schwab@redhat.com>
32613         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
32615 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
32617         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32618         /sys/devices/system/cpu/online if it is usable.
32620         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
32621         reading the information from the /proc filesystem to once a second.
32623 2011-06-21  Andreas Jaeger  <aj@suse.de>
32625         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
32626         NULL after inclusion of kernel headers.
32628 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
32630         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
32631         calls to internal_setent.
32633         [BZ #12885]
32634         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
32635         addresses using gethostbyname4_r ignore IPv4 addresses.
32637         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
32638         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
32640         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
32642 2011-06-20  David S. Miller  <davem@davemloft.net>
32644         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
32645         inclusions.
32646         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
32648         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
32649         (elf_irel): Use it.
32650         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
32651         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
32652         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
32653         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
32654         * sysdeps/x86_64/dl-irel.h: Likewise.
32656         * elf/dl-runtime.c: Use elf_ifunc_invoke.
32657         * elf/dl-sym.c: Likewise.
32659 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
32661         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
32662         need to dereference resplen2.
32664 2011-06-14  Andreas Schwab  <schwab@redhat.com>
32666         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
32668 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
32670         * Makeconfig: Define vardbdir and inst_vardbdir.
32671         * nss/Makefile: Add rules to install db-Makefile.
32673         * nss/nss_db/db-XXX.c: Cleanup.
32675         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
32676         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
32677         GLIBC_PRIVATE.
32678         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
32679         * nss/makedb.c: Implement -g option to specify that value strings
32680         are generated and should not be added to table iterated over for
32681         get*ent calls.
32682         * nss/nss_db/db-initgroups.c: New file.
32684         * nss/getent.c: Add support for initgroups lookups through getgrouplist
32685         interface.
32687         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
32688         (internal_getgrouplist): Adjust to name change.
32689         Update use_initgroups_entry if this is not the first call.
32690         * nss/databases.def: Add initgroups entry.
32692         * nss/makedb.c (compute_tables): Check result of multiple hash table
32693         sizes to minimize maximum chain length.
32695 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
32697         * Versions.def: Add entry for libnss_db.
32698         * shlib-versions: Likewise.
32699         * nss/Makefile: Add rules to build libnss_db.
32700         * nss/Versions: Add libnss_db information.  Organize libnss_files
32701         entries better.
32702         * nss/db-Makefile: Add gshadow support.  Change rules for the new
32703         makedb progra.  Some minor improvements to generate smaller files.
32704         * nss/nss_db/nss_db.h: Move NSS database header data structures to
32705         here from...
32706         * nss/makedb.c: ...here.
32707         Improve database format to be smaller and require less memory at
32708         runtime.
32709         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
32710         db anymore.
32711         * nss/nss_db/db-netgrp.c: Likewise.
32712         * nss/nss_db/db-open.c: Likewise.
32713         * nss/nss_files/flies-XXX.x: Adjust comments.
32714         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
32715         * nss/nss_files/files-grp.c: Likewise.
32716         * nss/nss_files/files-hosts.c: Likewise.
32717         * nss/nss_files/files-network.c: Likewise.
32718         * nss/nss_files/files-proto.c: Likewise.
32719         * nss/nss_files/files-pwd.c: Likewise.
32720         * nss/nss_files/files-rpc.c: Likewise.
32721         * nss/nss_files/files-service.c: Likewise.
32722         * nss/nss_files/files-sgrp.c: Likewise.
32723         * nss/nss_files/files-spwd.c: Likewise.
32724         * nss/nss_db/db-alias.c: Removed.
32725         * nss/nss_db/dummy-db.h: Removed.
32727 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
32729         * nss/makedb.c: Rewritten to not use database library.
32730         * nss/Makefile: Update to build new makedb program.
32732 2011-06-14  Andreas Jaeger  <aj@suse.de>
32734         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
32735         memset declaration.
32737 2011-06-10  Andreas Schwab  <schwab@redhat.com>
32739         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
32740         tmpbuf.
32742 2011-06-10  Roland McGrath  <roland@hack.frob.com>
32744         * Makerules (shlib.lds): Fail if the linker script comes out empty.
32745         * elf/Makefile ($(objpfx)ld.so): Likewise.
32747         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
32748         Don't list ld.so twice in dependencies.
32750         * posix/bug-regex31.c: Include <stdlib.h>.
32752         * nscd/hstcache.c (cache_addhst): Remove unused variable.
32754         * nis/nss_compat/compat-spwd.c
32755         (getspent_next_nss_netgr): Remove unused variable.
32756         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
32758         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
32759         nonmembers" output to use the right array.
32761         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
32763         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
32765         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
32766         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
32767         * catgets/gencat.c (read_input_file): Likewise.
32768         * locale/programs/locarchive.c (enlarge_archive): Likewise.
32770         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
32771         variable definition inside #if's controlling its use.
32773         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
32775         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
32777         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
32779         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
32780         unreachable code.
32782         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
32784         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
32785         * configure: Regenerated.
32787         * Makerules: Revert last change.
32788         * elf/Makefile: Likewise.
32790 2011-06-09  Roland McGrath  <roland@hack.frob.com>
32792         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
32793         * elf/Makefile ($(objpfx)librtld.os): Likewise.
32794         (reloc-link): Likewise.
32796 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
32798         * elf/Makefile: Add rules to build pldd.
32799         * elf/pldd.c: New file.
32800         * elf/pldd-xx.c: New file.
32802 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
32804         * version.h: Update for 2.15 development version.
32806 2011-06-07  David S. Miller  <davem@davemloft.net>
32808         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
32809         ifuncs.
32810         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
32811         elf_machine_lazy_rel): Likewise.
32812         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32813         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
32814         elf_machine_lazy_rel): Likewise.
32815         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
32816         dl_hwcap via passed in argument.
32817         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
32818         Likewise.
32820 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32822         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
32824 2011-06-06  Roland McGrath  <roland@hack.frob.com>
32826         [BZ #12849]
32827         * manual/fdl-1.1.texi: New file, verbatim from:
32828         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
32829         * manual/lgpl-2.1.texi: New file, verbatim from:
32830         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
32831         * manual/Makefile (licenses): New variable, list those new file names.
32832         (texis): Use it.
32833         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
32835         * manual/fdl.texi: File removed.
32836         * manual/lesser.texi: File removed.
32837         * manual/libc.texinfo (Copying, Documentation License):
32838         Use new @include file names, put @appendix directive before @include.
32840 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
32842         [BZ #12841]
32843         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
32844         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
32845         (mq_open): Add __NTH.
32847 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
32849         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32850         Assume Intel Core i3/i5/i7 processor if AVX is available.
32852 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
32854         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32855         typo.
32857 2011-05-31  Andreas Schwab  <schwab@redhat.com>
32859         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
32860         memory.  Use alloca_account.  Fix memory leak when retrying.
32862 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
32864         * version.h (RELEASE): Bump for 2.14 release.
32865         * include/features.h (__GLIBC_MINOR__): Bump to 14.
32867         * config.make.in (RANLIB): Remove entry.
32869 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
32871         * po/Makefile (po-sed-cmd): Add ksh to extensions.
32872         (libc.pot): Work around missing support for .ksh extension in xgettext.
32874         [BZ #12684]
32875         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
32876         if both request failed.
32877         (send_dg): In case of server errors clear resplen or *resplen2.
32879         [BZ #12454]
32880         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
32881         when there are multiple maps.
32882         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
32883         (_dl_fini): Remove test here.
32885         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
32887 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
32889         [BZ #12350]
32890         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
32891         bit from old_res_options.
32892         (gaih_inet): Likewise.
32894         [BZ #11099]
32895         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
32896         as signed.
32898         * resolv/res_init.c (res_setoptions): Make the code more compact.
32900         [BZ #11558]
32901         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
32902         set RES_USEVC.
32904         [BZ #11634]
32905         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
32907         * malloc/malloc.h: Mark malloc hook variables as deprecated.
32909         [BZ #11781]
32910         * malloc/malloc.h: Declare malloc hook variables as volatile.
32912         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
32913         in last patch.
32915         [BZ #11799]
32916         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
32917         raise in the comment.
32918         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
32919         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32920         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
32922 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
32924         [BZ #12811]
32925         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
32926         grow the buffers more if it already has to be sufficient.
32927         (build_wcs_upper_buffer): Likewise.
32928         * posix/regexec.c (check_matching): Likewise.
32929         (clean_state_log_if_needed): Likewise.
32930         (extend_buffers): Don't enlarge buffers beyond size of the input
32931         buffer.
32932         Patches mostly by Emil Wojak <emil@wojak.eu>.
32933         * posix/bug-regex32.c: New file.
32934         * posix/Makefile (tests): Add bug-regex32.
32936         * locale/findlocale.c (_nl_find_locale): Return right away if
32937         _nl_explode_name failed.
32938         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
32940         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
32942         * debug/xtrace.sh: Unify messages.
32943         * malloc/memusage.sh: Likewise.
32945         [BZ #12813]
32946         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
32947         time symbol from vDSO.  Substitute with vsyscall if not available.
32948         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
32949         __vdso_time.
32951         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
32952         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
32953         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
32954         Add sendmmsg and internal_sendmmsg.
32955         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
32956         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
32957         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
32959         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
32960         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
32961         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
32963 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
32965         [BZ #12813]
32966         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
32967         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
32968         available.
32969         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
32970         __vdso_getcpu.
32972         [BZ #12814]
32973         * iconvdata/Makefile (tests): Add bug-iconv9.
32974         * iconvdata/bug-iconv9.c: New file.
32976 2011-05-27  Andreas Schwab  <schwab@redhat.com>
32978         [BZ #12814]
32979         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
32981 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
32983         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32984         (struct user_regs_struct): Change intcs field back to cs.
32986 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
32988         * po/ja.po: Update from translation team.
32990 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
32992         [BZ #12795]
32993         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
32994         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
32996 2011-05-20  Andreas Schwab  <schwab@redhat.com>
32998         * stdlib/longlong.h: Update from GCC.
33000 2011-05-23  Andreas Schwab  <schwab@redhat.com>
33002         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
33003         parameter name.
33004         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
33005         Add parameter name.
33006         (__sysconf): Pass it down.
33008 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
33010         [BZ #12671]
33011         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
33012         some situations.
33013         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33014         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
33015         add in in __libc_use_alloca calls.  Adjust callers.
33016         (glob): Use malloc in some situations.
33018         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
33019         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
33020         pltexit.
33022 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
33024         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
33025         and CLOCK_BOOTTIME_ALARM.
33027         [BZ #12782]
33028         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
33029         is returned.
33031         * string/_strerror.c (__strerror_r): Print negative errors as signed
33032         numbers.
33034         [BZ #12777]
33035         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
33036         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
33037         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
33039         * configure.in: Fix typo in redirection and correct removal of test
33040         files in two cases.
33042         [BZ #12788]
33043         * locale/setlocale.c (new_composite_name): Fix test to check for
33044         identical name of all categories.
33046         [BZ #12792]
33047         * libio/filedoalloc.c (local_isatty): New function.
33048         (_IO_file_doallocate): Use local_isatty.
33049         * stdio-common/perror.c (perror): In case a new stream is used
33050         forward the stream error.
33051         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
33052         error flag.
33054 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
33056         [BZ #11869]
33057         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
33058         alloca.
33059         * include/alloca.h (extend_alloca_account): Define.
33061         [BZ #11857]
33062         * posix/regex.h: Fix comments with documentation of user-accessible
33063         fields after compilation and describe correct free'ing of pattern
33064         after re_compile_pattern.
33065         Patch by Reuben Thomas <rrt@sc3d.org>.
33067 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
33069         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
33070         and -mno-altivec to prevent the compiler from using Altivec and/or
33071         VSX instructions when the corresponding registers are not available.
33073 2011-05-19  Andreas Schwab  <schwab@redhat.com>
33075         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
33077 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
33079         * libio/freopen.c (freopen): Use __dup2, not dup2.
33080         * libio/freopen64.c (freopen64): Likewise.
33082 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33084         [BZ #12775]
33085         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
33086         * math/Makefile (tests): Add test-powl.
33087         (CFLAGS-test-powl.c): Define.
33088         * math/test-powl.c: New file.
33090 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33092         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
33094 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
33096         [BZ #11837]
33097         * iconvdata/gb18030.c: Update to GB18020-2005.
33099 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
33101         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
33102         RE_SYNTAX_POSIX_AWK): Update to match recent development.
33103         Patch by Aharon Robbins <arnold@skeeve.com>.
33105         [BZ #11892]
33106         * stdlib/putenv.c (putenv): Don't always create copy of the variable
33107         on the stack.
33109         [BZ #11895]
33110         * misc/pselect.c (__pselect): Handle timeout value errors hidden
33111         through underflows.
33113         [BZ #12766]
33114         * misc/error.c (error_at_line): Ensure file_name and old_file_name
33115         point to strings before performing equality test for error_one_per_line
33116         mode.
33118         [BZ #11697]
33119         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
33121         [BZ #11820]
33122         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33123         (struct user_fpregs_struct): Avoid __uint*_t types.
33125         [BZ #6420]
33126         * malloc/mtrace.c (tr_where): Add additional parameter to point to
33127         symbol info.  Use it instead of calling _dl_addr locally.
33128         (lock_and_info): New function.
33129         (tr_freehook): Call lock_and_info and pass symbol info as additional
33130         parameter to tr_where.
33131         (tr_mallochook): Likewise.
33132         (tr_reallochook): Likewise.
33133         (tr_memalignhook): Likewise.
33135         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
33136         used and couldn't be at all thread-safe.
33138 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
33140         * libio/freopen.c (freopen): Don't close old file descriptor
33141         before the new one is opened.  Instead dup the new file descriptor
33142         to the old one after the new stream is created.
33143         * libio/freopen64.c (freopen64): Likewise.
33144         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
33145         * libio/fileops.c (_IO_new_file_close_it): Handle new
33146         _IO_FLAGS2_NOCLOSE flag.
33147         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
33148         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
33149         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
33150         _IO_FLAGS2_NOCLOSE flag.
33151         * include/unistd.h: Add hidden_proto for dup3.
33152         Define __have_dup3.
33153         * io/dup3.c: Define hidden symbol.
33154         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
33156         [BZ #7101]
33157         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
33158         when an incomplete long option is used.
33159         * posix/tst-getopt_long1.c: New file.
33160         * posix/Makefile (tests): Add tst-getopt_long1.
33162         [BZ #10138]
33163         * scripts/config.guess: Update from autoconf-2.68.
33164         * scripts/config.sub: Likewise.
33166         [BZ #10157]
33167         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
33168         tests into ...
33169         (has_cpuclock): ...this.  New function.
33170         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
33171         macro here based on has_cpuclock code.
33173         [BZ #10149]
33174         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33175         First byte (not low byte) is now always NUL.
33176         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
33178         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33179         Use non-cancelable interfaces.
33181         [BZ #9809]
33182         * locale/iso-639.def: Add entry for Sorani.
33184         [BZ #11901]
33185         * include/stdlib.h: Move include protection to the right place.
33186         Define abort_msg_s.  Declare __abort_msg with it.
33187         * stdlib/abort.c (__abort_msg): Adjust type.
33188         * assert/assert.c (__assert_fail_base): New function.  Majority
33189         of code from __assert_fail.  Allocate memory for __abort_msg with
33190         mmap.
33191         (__assert_fail): Now call __assert_fail_base.
33192         * assert/assert-perr.c: Remove bulk of implementation.  Use
33193         __assert_fail_base.
33194         * include/assert.hL Declare __assert_fail_base.
33195         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
33196         mmap.
33197         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
33199 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
33201         [BZ #11952]
33202         [BZ #12453]
33203         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
33204         until all modules are registered in the DTV.
33205         * elf/Makefile: Add rules to build and run tst-tls19.
33206         * elf/tst-tls19.c: New file.
33207         * elf/tst-tls19mod1.c: New file.
33208         * elf/tst-tls19mod2.c: New file.
33209         * elf/tst-tls19mod3.c: New file.
33210         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
33212         [BZ #12083]
33213         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
33214         correctly.
33216         [BZ #12601]
33217         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
33218         two-byte sequence errors.
33219         * iconvdata/Makefile (tests): Add bug-iconv8.
33220         * iconvdata/bug-iconv8.c: New file.
33222         [BZ #12626]
33223         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
33224         buf2 definition.
33226         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
33228         [BZ #12432]
33229         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
33230         (dummy_getcfa): New function.
33231         (init): Get _Unwind_GetCFA address, use dummy if not found.
33232         (backtrace_helper): In recursion check, also check whether CFA changes.
33233         (__backtrace): Completely initialize arg.
33235         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
33236         storing incomplete byte sequence in state object.  Avoid testing for
33237         guaranteed too small input if we know there is enough data available.
33239 2011-05-11  Andreas Schwab  <schwab@redhat.com>
33241         * Makeconfig (+link-pie): Indent.
33242         * Rules (binaries-pie): Define if $(have-fpie) and
33243         $(build-shared).
33244         (binaries-shared): Also filter out $(binaries-pie).
33245         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
33246         * nscd/Makefile (others-pie): Add nscd.
33247         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
33248         ($(objpfx)nscd): Remove command override.
33249         * login/Makefile (others-pie): Add pt_chown.
33250         ($(objpfx)pt_chown): Remove command override.
33251         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
33252         remove command overrides.
33254 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
33256         * libio/tst_putwc.c: Fix error messages.
33258         [BZ #12724]
33259         * libio/fileops.c (_IO_new_file_close_it): Always flush when
33260         currently writing and seek to current position when not.
33261         * libio/Makefile (tests): Add bug-fclose1.
33262         * libio/bug-fclose1.c: New file.
33264 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
33266         [BZ #12511]
33267         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
33268         don't set DF_1_NODELETE here.
33269         (do_lookup_x): When entering new entry test for copy relocation
33270         and if necessary set DF_1_NODELETE flag.
33271         * elf/tst-unique4.cc: New file.
33272         * elf/tst-unique4.h: New file.
33273         * elf/tst-unique4lib.cc: New file.
33274         * elf/Makefile: Add rules to build and run tst-unique4.
33275         Patch by Piotr Bury <pbury@goahead.com>.
33277 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
33279         [BZ #12052]
33280         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
33282         [BZ #12625]
33283         * misc/mntent_r.c (addmntent): Flush the stream after the output
33285         [BZ #12393]
33286         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
33287         (is_trusted_path_normalize): Skip initial colon.  Append slash
33288         to empty buffer.  Duplicate is_trusted_path code but allow
33289         constructed patch to be prefix.
33290         (is_dst): Allow $ORIGIN followed by /.
33291         (_dl_dst_substitute): Correct clearing of check_for_trusted.
33292         Correct testing of result of is_trusted_path_normalize
33293         (decompose_rpath): Fix warning.
33295 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
33297         [BZ #11257]
33298         * grp/initgroups.c (internal_getgrouplist): When we found the service
33299         list through the initgroups entry in nsswitch.conf do not always
33300         continue on a successful lookup.  Don't always use the
33301         __nss_group_database value if it is set.
33302         * nss/nsswitch.conf (initgroups): Change action for successful db
33303         lookup to continue for compatibility.
33305 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
33307         [BZ #11532]
33308         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
33309         and CP774 modules.
33310         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
33311         and CP774 modules.
33312         * iconvdata/tst-tables.sh: Likewise.
33313         * iconvdata/cp770.c: New file.
33314         * iconvdata/cp771.c: New file.
33315         * iconvdata/cp772.c: New file.
33316         * iconvdata/cp773.c: New file.
33317         * iconvdata/cp774.c: New file.
33318         * iconvdata/testdata/CP770: New file.
33319         * iconvdata/testdata/CP770..UTF8: New file.
33320         * iconvdata/testdata/CP771: New file.
33321         * iconvdata/testdata/CP771..UTF8: New file.
33322         * iconvdata/testdata/CP772: New file.
33323         * iconvdata/testdata/CP772..UTF8: New file.
33324         * iconvdata/testdata/CP773: New file.
33325         * iconvdata/testdata/CP773..UTF8: New file.
33326         * iconvdata/testdata/CP774: New file.
33327         * iconvdata/testdata/CP774..UTF8: New file.
33329         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
33330         END CHARMAP line.
33331         * iconvdata/gen-8bit-gap.sh: Likewise.
33332         * iconvdata/gen-8bit.sh: Likewise.
33334         * locale/iso-639.def: Add ary entry.
33336         [BZ #11258]
33337         * locale/C-translit.h.in: Add U20A1 transliteration.
33339         [BZ #12178]
33340         * locale/iso-639.def: Add wae entry.
33341         Patch by Kevin Bortis <bortis@translate-wae.ch>.
33343         [BZ #12545]
33344         * locale/programs/localedef.c (construct_output_path): Use ssize_t
33345         for n.
33347         [BZ #12711]
33348         * locale/C-translit.h.in: Add entry for U20B9.
33349         Patch by pravin.d.s@gmail.com.
33351 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
33353         [BZ #12713]
33354         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
33355         ENAMETOOLONG use generic getcwd.
33356         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
33357         in rtld.  Use *stat64.
33358         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
33359         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
33360         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
33361         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
33362         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
33363         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
33364         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
33365         __fstatat64 macros.
33366         * include/dirent.h: Add libc_hidden_proto for rewinddir.
33367         * dirent/rewinddir.c: Add libc_hidden_def.
33368         * sysdeps/mach/hurd/rewinddir.c: Likewise.
33369         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
33371         * include/dirent.h (__alloc_dir): Add flags parameter.
33372         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
33373         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
33374         __alloc_dir.
33375         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
33376         from fdopendir if O_CLOEXEC is already set.
33378 2011-03-15  Alan Modra  <amodra@gmail.com>
33380         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
33381         l_tls_firstbyte_offset non-zero.  Save padding offset in
33382         l_tls_firstbyte_offset for later use.
33383         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
33384         freeing static tls block.
33386 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
33388         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
33389         where #ifdef was intended.  The intent is to prevent ARG_MAX from
33390         being defined by the kernel headers.
33392 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
33394         [BZ #12734]
33395         * resolv/resolv.h: Define RES_NOTLDQUERY.
33396         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
33397         no-tld-query and set RES_NOTLDQUERY.
33398         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
33399         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
33400         modern BIND to search name as TLD unless forbidden.
33402 2011-05-07  Petr Baudis  <pasky@suse.cz>
33403             Ulrich Drepper  <drepper@gmail.com>
33405         [BZ #12393]
33406         * elf/dl-load.c (fillin_rpath): Move trusted path check...
33407         (is_trusted_path): ...to here.
33408         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
33409         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
33410         using is_trusted_path_normalize() in setuid scripts.
33412 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
33414         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
33415         __BEGIN/__END_DECLS.
33417 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
33419         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
33420         NSS_STATUS_NOTFOUND if no record was found.
33422 2011-05-05  Andreas Schwab  <schwab@redhat.com>
33424         * sunrpc/Makefile (headers): Add rpc/netdb.h.
33425         (headers-not-in-tirpc): Remove rpc/netdb.h
33426         * resolv/netdb.h: Revert last change.
33428 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
33430         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
33431         circular dependency between libgcc.a and libc.a.
33433 2011-05-05  Andreas Schwab  <schwab@redhat.com>
33435         * resolv/netdb.h: Don't include <rpc/netdb.h>.
33436         * nis/Makefile: Don't install rpcsvc/*.
33437         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
33438         instead of <rpc/types.h>.
33439         (MAXHOSTNAMELEN): Define.
33441 2011-05-03  Andreas Schwab  <schwab@redhat.com>
33443         * elf/ldconfig.c (add_dir): Don't crash on empty path.
33445 2011-04-28  Maciej Babinski  <mbabinski@google.com>
33447         [BZ #12714]
33448         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
33449         gethostbyname4_r when IPv6 results are possible.
33451 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
33453         [BZ #12723]
33454         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
33455         _PC_PIPE_BUF handling.
33457 2011-04-30  Bruno Haible  <bruno@clisp.org>
33459         [BZ #12717]
33460         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
33461         * resolv/netdb.h (getnameinfo): Change type of flags parameter
33462         to 'int'.
33463         * inet/getnameinfo.c (getnameinfo): Likewise.
33465 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
33467         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
33468         to groups setting in database lookup.
33469         * nss/nsswitch.conf: Add initgroups entry.
33471 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
33473         [BZ #12685]
33474         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
33475         mode string.
33476         Patch by Eric Blake <eblake@redhat.com>.
33478 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
33480         * sunrpc/Makefile (need-export-routines): Add svc_run.
33481         (routines): Remove svc_run.
33482         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
33483         * sunrpc/clnt_perr.c (clnt_perrno): Export.
33484         * sunrpc/svc_run.c (svc_run): Likewise.
33485         * sunrpc/svc_udp.c (svcudp_create): Likewise.
33487 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
33489         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
33490         problem in reallocation in last patch.
33492 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
33494         * sunrpc/Makefile: Move inclusion of Rules.
33496 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
33498         * nss/nss_files/files-initgroups.c: New file.
33499         * nss/Makefile (libnss_files-routines): Add files-initgroups.
33500         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
33501         _nss_files_initgroups_dyn.
33503 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
33505         * elf/elf.h (R_ARM_IRELATIVE): Define.
33507 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
33509         * po/ru.po: Update from translation team.
33511 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
33513         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
33514         dependencies.
33516 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
33518         [BZ #12653]
33519         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
33520         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
33521         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33522         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33523         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33525 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
33527         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
33528         differing bytes.
33529         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33530         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33531         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33533 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
33535         [BZ #12420]
33536         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
33537         storing it.
33538         * stdlib/bug-getcontext.c: New file.
33539         * stdlib/Makefile: Add rules to build and run bug-getcontext.
33541 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33543         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
33544         instructions into .machine "z9-109".
33545         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
33546         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
33548 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33550         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
33551         between environment variables and auxiliary vector.
33553 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
33555         * Makefile: Add rules to build linkobj/libc.so.
33556         * include/libc-symbols.h: Define libc_hidden_nolink.
33557         * include/rpc/auth.h: Mark functions which are to be hidden.
33558         * include/rpc/auth_des.h: Likewise.
33559         * include/rpc/auth_unix.h: Likewise.
33560         * include/rpc/clnt.h: Likewise.
33561         * include/rpc/des_crypt.h: Likewise.
33562         * include/rpc/key_prot.h: Likewise.
33563         * include/rpc/pmap_clnt.h: Likewise.
33564         * include/rpc/pmap_prot.h: Likewise.
33565         * include/rpc/pmap_rmt.h: Likewise.
33566         * include/rpc/rpc_msg.h: Likewise.
33567         * include/rpc/svc.h: Likewise.
33568         * include/rpc/svc_auth.h: Likewise.
33569         * include/rpc/xdr.h: Likewise.
33570         * nis/Makefile: Link all DSOs against linkobj/libc.so.
33571         * nss/Makefile: Likewise.
33572         * sunrpc/Makefile: Don't install headers.  Build library with normal
33573         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
33574         * sunrpc/auth_des.c: Hide exported symbols by default, export some
33575         for the compat linking library.  Remove use of INTDEF/INTUSE.
33576         * sunrpc/auth_none.c: Likewise.
33577         * sunrpc/auth_unix.c: Likewise.
33578         * sunrpc/authdes_prot.c: Likewise.
33579         * sunrpc/authuxprot.c: Likewise.
33580         * sunrpc/clnt_gen.c: Likewise.
33581         * sunrpc/clnt_perr.c: Likewise.
33582         * sunrpc/clnt_raw.c: Likewise.
33583         * sunrpc/clnt_simp.c: Likewise.
33584         * sunrpc/clnt_tcp.c: Likewise.
33585         * sunrpc/clnt_udp.c: Likewise.
33586         * sunrpc/clnt_unix.c: Likewise.
33587         * sunrpc/des_crypt.c: Likewise.
33588         * sunrpc/des_soft.c: Likewise.
33589         * sunrpc/get_myaddr.c: Likewise.
33590         * sunrpc/key_call.c: Likewise.
33591         * sunrpc/key_prot.c: Likewise.
33592         * sunrpc/netname.c: Likewise.
33593         * sunrpc/pm_getmaps.c: Likewise.
33594         * sunrpc/pm_getport.c: Likewise.
33595         * sunrpc/pmap_clnt.c: Likewise.
33596         * sunrpc/pmap_prot.c: Likewise.
33597         * sunrpc/pmap_prot2.c: Likewise.
33598         * sunrpc/pmap_rmt.c: Likewise.
33599         * sunrpc/publickey.c: Likewise.
33600         * sunrpc/rpc_cmsg.c: Likewise.
33601         * sunrpc/rpc_common.c: Likewise.
33602         * sunrpc/rpc_dtable.c: Likewise.
33603         * sunrpc/rpc_prot.c: Likewise.
33604         * sunrpc/rpc_thread.c: Likewise.
33605         * sunrpc/rtime.c: Likewise.
33606         * sunrpc/svc.c: Likewise.
33607         * sunrpc/svc_auth.c: Likewise.
33608         * sunrpc/svc_authux.c: Likewise.
33609         * sunrpc/svc_raw.c: Likewise.
33610         * sunrpc/svc_run.c: Likewise.
33611         * sunrpc/svc_simple.c: Likewise.
33612         * sunrpc/svc_tcp.c: Likewise.
33613         * sunrpc/svc_udp.c: Likewise.
33614         * sunrpc/svc_unix.c: Likewise.
33615         * sunrpc/svcauth_des.c: Likewise.
33616         * sunrpc/xcrypt.c: Likewise.
33617         * sunrpc/xdr.c: Likewise.
33618         * sunrpc/xdr_array.c: Likewise.
33619         * sunrpc/xdr_float.c: Likewise.
33620         * sunrpc/xdr_intXX_t.c: Likewise.
33621         * sunrpc/xdr_mem.c: Likewise.
33622         * sunrpc/xdr_rec.c: Likewise.
33623         * sunrpc/xdr_ref.c: Likewise.
33624         * sunrpc/xdr_sizeof.c: Likewise.
33625         * sunrpc/xdr_stdio.c: Likewise.
33627 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
33629         [BZ #12650]
33630         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
33631         * sysdeps/ia64/dl-tls.h: Likewise.
33632         * sysdeps/powerpc/dl-tls.h: Likewise.
33633         * sysdeps/s390/dl-tls.h: Likewise.
33634         * sysdeps/sh/dl-tls.h: Likewise.
33635         * sysdeps/sparc/dl-tls.h: Likewise.
33636         * sysdeps/x86_64/dl-tls.h: Likewise.
33637         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
33639 2011-03-14  Andreas Schwab  <schwab@redhat.com>
33641         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
33642         rpath element also skip the following colon.
33643         (expand_dynamic_string_token): Add is_path parameter and pass
33644         down to DL_DST_REQUIRED and _dl_dst_substitute.
33645         (decompose_rpath): Call expand_dynamic_string_token with
33646         non-zero is_path.  Ignore empty rpaths.
33647         (_dl_map_object_from_fd): Call expand_dynamic_string_token
33648         with zero is_path.
33650 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
33652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33653         Make cancelable.
33655 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
33657         [BZ #12655]
33658         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
33659         Patch by Filipe David Manana <fdmanana@apache.org>.
33661 2011-04-07  Andreas Schwab  <schwab@redhat.com>
33663         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
33664         Maintain aligned stack.
33665         (CHECK_RSP): Remove unused macro.
33667 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
33669         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
33670         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
33672 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
33674         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
33676         * include/features.h: Mention __USE_XOPEN2K8 in comment.
33678 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
33680         [BZ #12518]
33681         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
33682         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
33683         * sysdeps/x86_64/memmove.c: New file.
33684         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
33685         (memcpy): Renamed to ...
33686         (__new_memcpy): This.
33687         (memcpy): Provide GLIBC_2_14 memcpy.
33688         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
33689         (memcpy): Provide GLIBC_2_2_5 memcpy.
33691 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
33693         [BZ #12631]
33694         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
33696 2011-03-30  Andreas Schwab  <schwab@redhat.com>
33698         * misc/syncfs.c: New file.
33699         * misc/Makefile (routines): Add syncfs.
33700         * posix/unistd.h: Declare syncfs.
33701         * sysdeps/unix/syscalls.list: Add syncfs.
33703 2011-04-01  Andreas Schwab  <schwab@redhat.com>
33705         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
33706         open_by_handle_at.
33707         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33708         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33709         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33710         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33711         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33712         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
33713         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33715 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
33717         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
33718         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33719         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
33720         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33721         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33722         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33723         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33725         * io/Makefile: Compile fallocate.c, fallocate64.c, and
33726         sync_file_range.c with -fexceptions.
33727         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
33728         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
33729         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
33730         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
33731         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
33732         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33733         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
33734         sync_file_range as cancellation point
33735         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
33736         now a wrapper around __call_sync_file_range with cancellation handling.
33737         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
33738         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
33739         function name to __call_sync_file_range.
33740         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
33741         Add call_sync_file_range.
33743 2011-04-01  Andreas Schwab  <schwab@redhat.com>
33745         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33746         bits/timex.h.
33748 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
33750         * iconv/iconv.h: Fix typo in comment.
33751         * io/fcntl.h: Likewise.
33752         * libio/stdio.h: Likewise.
33753         * posix/spawn.h: Likewise.
33754         * posix/unistd.h: Likewise.
33755         * stdlib/stdlib.h: Likewise.
33756         * time/time.h: Likewise.
33757         * wcsmbs/wchar.h: Likewise.
33759         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
33760         open_by_handle): Add.
33761         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
33762         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
33763         Augment a few comments.
33764         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33765         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33766         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33767         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33768         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33769         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
33770         open_by_handle.
33772         * io/fcntl.h (AT_EMPTY_PATH): Define.
33774 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
33776         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
33777         * sysdeps/unix/sysv/linux/bits/time.h: New file.
33778         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
33779         to...
33780         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
33781         * Versions.def: Add GLIBC_2.14.
33782         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
33783         Export.
33785 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
33787         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
33788         round counter.
33789         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33791 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
33793         [BZ #12597]
33794         * string/test-strncmp.c (do_page_test): New function.
33795         (check2): Likewise.
33796         (test_main): Call check2.
33797         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
33799 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
33801         [BZ #12587]
33802         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
33803         Handle cache information in CPU leaf 4.
33804         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33806 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
33808         [BZ #12583]
33809         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
33810         character representation.
33811         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
33813 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
33815         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
33816         END(__isnan) to END(__isnanf) to match function entry point/label
33817         EALIGN(__isnanf,...).
33819 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
33821         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
33823 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
33825         [BZ #12510]
33826         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
33827         copy from the symbol referenced in the relocation to initialize the
33828         used variable.
33829         Patch by Piotr Bury <pbury@goahead.com>.
33830         * elf/Makefile: Add rules to build and tst-unique3.
33831         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
33832         * elf/tst-unique3.cc: New file.
33833         * elf/tst-unique3.h: New file.
33834         * elf/tst-unique3lib.cc: New file.
33835         * elf/tst-unique3lib2.cc: New file.
33837         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
33839 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
33841         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
33842         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
33843         to _start.
33845 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
33847         * elf/dl-load.c (_dl_map_object): If we are looking for the first
33848         to-be-loaded object along a path to loader is ld.so.
33850 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
33851             Ulrich Drepper  <drepper@gmail.com>
33853         * sysdeps/x86_64/memset.S: After aligning destination, code
33854         branches to different locations depending on the value of
33855         misalignment, when multiarch is enabled. Fix this.
33857 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
33859         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
33860         Set _x86_64_preferred_memory_instruction for AMD processsors.
33861         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33862         Set bit_Prefer_SSE_for_memop for AMD processors.
33864 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
33866         * libio/fmemopen.c (fmemopen): Optimize a bit.
33868 2011-03-03  Andreas Schwab  <schwab@redhat.com>
33870         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
33872 2011-03-03  Roland McGrath  <roland@redhat.com>
33874         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
33876 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
33878         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
33879         __bzero_ultra1 instead of __memset_ultra1.
33881 2011-02-23  Andreas Schwab  <schwab@redhat.com>
33882             Ulrich Drepper  <drepper@gmail.com>
33884         [BZ #12509]
33885         * include/link.h (struct link_map): Add l_orig_initfini.
33886         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
33887         returning unsuccessfully.
33888         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
33889         close of a file loaded at startup, restore the original l_initfini
33890         list.
33891         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
33892         list, store the pointer.
33893         * elf/Makefile ($(objpfx)noload-mem): New rule.
33894         (noload-ENV): Define.
33895         (tests): Add $(objpfx)noload-mem.
33896         * elf/noload.c: Include <memcheck.h>.
33897         (main): Call mtrace.  Close all opened handles.
33899 2011-02-17  Andreas Schwab  <schwab@redhat.com>
33901         [BZ #12454]
33902         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
33903         dependencies are missing.
33905 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33907         Fix __if_freereq crash: Unlike the generic version which uses free,
33908         Hurd needs munmap.
33909         * sysdeps/mach/hurd/ifreq.h: New file.
33911 2011-01-27  Petr Baudis  <pasky@suse.cz>
33912             Ulrich Drepper  <drepper@gmail.com>
33914         [BZ 12445]#
33915         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
33916         to extend_alloca().
33917         * stdio-common/bug23.c: New file.
33918         * stdio-common/Makefile (tests): Add bug23.
33920 2010-09-28  Andreas Schwab  <schwab@redhat.com>
33921             Ulrich Drepper  <drepper@gmail.com>
33923         [BZ #12489]
33924         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
33925         before performing relro protection.  At old place add assertion
33926         to make sure nothing changed.
33928 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
33929             Glauber de Oliveira Costa  <glommer@gmail.com>
33931         * elf/elf.h: Add new ARM TLS relocs.
33933 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
33935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33936         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
33937         cast from r3.
33938         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
33939         'tests' variable.
33940         * sysdeps/wordsize-64/tst-writev.c: New file.
33942 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
33944         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
33945         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
33946         insns in _dl_start to prevent a TOC reference before relocs are
33947         resolved.
33949 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
33951         [BZ #12469]
33952         * Makeconfig: Remove RANLIB definition.
33953         * Makerules: Don't use RANLIB.
33954         * aclocal.m4: Remove ranlib test.
33955         * configure.in: No need to check for ranlib.
33956         * elf/rtld-Rules: Don't use RANLIB.
33958 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33960         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
33961         protection macro.
33962         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
33963         inclusion protection macro.
33965         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
33966         SIGRTMIN and SIGRTMAX and print information in that case only when
33967         SIGRTMIN is defined.
33969 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
33971         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
33972         arginfo fn returning -1.
33974         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
33975         and thousands string is zero terminated.
33977 2011-02-03  Andreas Schwab  <schwab@redhat.com>
33979         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
33980         sysdeps/unix/sysv/linux/bits/socket.h.
33982 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33984         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
33985         (__CPU_COUNT): Remove old macros.
33986         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
33987         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
33988         (__CPU_ALLOC, __CPU_FREE): Add macros.
33989         (__sched_cpualloc, __sched_cpufree): Add declarations.
33991 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
33993         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
33994         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
33995         * nscd/aicache.c (addhstaiX): Return timeout of added value.
33996         (readdhstai): Return value of addhstaiX call.
33997         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
33998         (addgrbyX): Return value returned by cache_addgr.
33999         (readdgrbyname): Return value returned by addgrbyX.
34000         (readdgrbygid): Likewise.
34001         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
34002         (addpwbyX): Return value returned by cache_addpw.
34003         (readdpwbyname): Return value returned by addhstbyX.
34004         (readdpwbyuid): Likewise.
34005         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
34006         (addservbyX): Return value returned by cache_addserv.
34007         (readdservbyname): Return value returned by addservbyX:
34008         (readdservbyport): Likewise.
34009         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
34010         (addhstbyX): Return value returned by cache_addhst.
34011         (readdhstbyname): Return value returned by addhstbyX.
34012         (readdhstbyaddr): Likewise.
34013         (readdhstbynamev6): Likewise.
34014         (readdhstbyaddrv6): Likewise.
34015         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
34016         (readdinitgroups): Return value returned by addinitgroupsX.
34017         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
34018         (prune_cache): Keep track of timeout value of re-added entries.
34019         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
34020         * nscd/nscd.h: Adjust prototypes of readd* functions.
34022 2011-02-04  Roland McGrath  <roland@redhat.com>
34024         * nis/nis_server.c (nis_servstate): Use the right name for 0.
34025         (nis_stats): Likewise.
34026         * nis/nis_modify.c (nis_modify): Likewise.
34027         * nis/nis_remove.c (nis_remove): Likewise.
34028         * nis/nis_add.c (nis_add): Likewise.
34030         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
34032         * posix/fnmatch_loop.c: Add some consts.
34034         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
34036 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
34038         [BZ #12460]
34039         * config.make.in (config-cflags-novzeroupper): Define.
34040         * configure.in: Substitute libc_cv_cc_novzeroupper.
34041         * elf/Makefile (AVX-CFLAGS): Define.
34042         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
34043         (CFLAGS-tst-auditmod4a.c): Likewise.
34044         (CFLAGS-tst-auditmod4b.c): Likewise.
34045         (CFLAGS-tst-auditmod6b.c): Likewise.
34046         (CFLAGS-tst-auditmod6c.c): Likewise.
34047         (CFLAGS-tst-auditmod7b.c): Likewise.
34048         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
34050 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
34052         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
34053         function to the callback.
34054         Patch partly by Jiri Olsa <jolsa@redhat.com>.
34056 2011-02-02  Andreas Schwab  <schwab@redhat.com>
34058         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
34059         of errno.
34061 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
34063         [BZ #11724]
34064         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
34065         of constructors.
34066         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
34067         of destructors.
34068         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
34070         [BZ #11724]
34071         * elf/Makefile: Add rules to build and run new test.
34072         * elf/tst-initorder.c: New file.
34073         * elf/tst-initorder.exp: New file.
34074         * elf/tst-initordera1.c: New file.
34075         * elf/tst-initordera2.c: New file.
34076         * elf/tst-initordera3.c: New file.
34077         * elf/tst-initordera4.c: New file.
34078         * elf/tst-initorderb1.c: New file.
34079         * elf/tst-initorderb2.c: New file.
34080         * elf/tst-order-a1.c: New file.
34081         * elf/tst-order-a2.c: New file.
34082         * elf/tst-order-a3.c: New file.
34083         * elf/tst-order-a4.c: New file.
34084         * elf/tst-order-b1.c: New file.
34085         * elf/tst-order-b2.c: New file.
34086         * elf/tst-order-main.c: New file.
34087         New test case by George Gensure <werkt0@gmail.com>.
34089 2010-10-01  Andreas Schwab  <schwab@redhat.com>
34091         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34092         decoding ACE if AI_CANONIDN.
34094 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
34096         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
34098 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
34100         * version.h (RELEASE): Bump for 2.13 release.
34101         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
34103         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
34105         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
34106         MADV_NOHUGEPAGE.
34107         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
34108         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
34109         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34110         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34111         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34112         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34114         * posix/getconf.c: Update copyright year.
34115         * catgets/gencat.c: Likewise.
34116         * csu/version.c: Likewise.
34117         * debug/catchsegv.sh: Likewise.
34118         * debug/xtrace.sh: Likewise.
34119         * elf/ldconfig.c: Likewise.
34120         * elf/ldd.bash.in: Likewise.
34121         * elf/sprof.c (print_version): Likewise.
34122         * iconv/iconv_prog.c: Likewise.
34123         * iconv/iconvconfig.c: Likewise.
34124         * locale/programs/locale.c: Likewise.
34125         * locale/programs/localedef.c: Likewise.
34126         * malloc/memusage.sh: Likewise.
34127         * malloc/mtrace.pl: Likewise.
34128         * nscd/nscd.c (print_version): Likewise.
34129         * nss/getent.c: Likewise.
34131         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
34132         PF_CAIF, and PF_ALG.
34133         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34135 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
34137         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
34138         (modules-names): Use them.
34139         (ifunc-test-modules, ifunc-pie-tests): Define.
34140         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
34141         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
34142         (test-extras): Likewise.
34143         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
34144         $(compile-command.c).
34145         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
34146         (all-built-dso): Define.
34147         (check-textrel.out, check-execstack.out): Depend on it.
34149         * configure.in: Don't override --enable-multi-arch.
34151 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
34153         [BZ #6812]
34154         * nscd/hstcache.c (tryagain): Define.
34155         (cache_addhst): Return tryagain not notfound for temporary errors.
34156         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
34157         failed.
34159 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
34161         [BZ #10563]
34162         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
34163         to make the syscall.
34164         * sysdeps/unix/sysv/linux/setgroups.c: New file.
34166         [BZ #12378]
34167         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
34168         and fall back to matching as normal character if the string ends before
34169         the matching ']' is found.  This is what POSIX requires.
34170         * posix/testfnm.c: Adjust test result.
34171         * posix/globtest.sh: Adjust test result.  Add new test.
34172         * posix/tst-fnmatch.input: Likewise.
34173         * posix/tst-fnmatch2.c: Add new test.
34175 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
34177         * elf/Makefile (check-execstack): Revert last change.  Depend on
34178         check-execstack.h.
34179         (check-execstack.h): New target.
34180         (generated): Add check-execstack.h.
34181         * elf/check-execstack.c: Include "check-execstack.h".
34182         (main): Revert last change.
34183         (handle_file): Return zero if GNU_STACK is absent and
34184         DEFAULT_STACK_PERMS doesn't include PF_X.
34186 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
34188         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
34189         in child fails because the descriptor is already closed.
34190         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
34191         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
34192         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
34194         [BZ #12397]
34195         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
34196         syscall.
34198         [BZ #10484]
34199         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
34200         temporary buffer used to handle multi lookups locally.
34201         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
34203 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
34205         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
34206         loader is ld.so.
34208 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
34210         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
34211         alignment for SSE2.
34213 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
34215         [BZ #12394]
34216         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
34217         characters.  When rounding increased number of integer digits recompute
34218         number of groups.
34219         * stdio-common/tst-grouping.c: New file.
34220         * stdio-common/Makefile: Add rules to build and run tst-grouping.
34222 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
34224         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
34225         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
34227         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
34228         void.
34229         * bits/select.h: Likewise.
34231 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
34233         * po/ja.po: Update from translation team.
34235 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
34237         [BZ #11155]
34238         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
34239         implementation just like for lxstat, fxstatat, et al.
34241 2010-12-27  Jim Meyering  <meyering@redhat.com>
34243         [BZ #12348]
34244         * posix/regexec.c (build_trtable): Return failure indication upon
34245         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
34247 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
34249         [BZ #12201]
34250         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
34251         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
34252         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
34253         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
34255         [BZ #12207]
34256         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
34258         [BZ #12204]
34259         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
34260         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
34262 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
34264         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
34265         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
34266         script has SORT_BY_INIT_PRIORITY.
34267         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
34268         NO_CTORS_DTORS_SECTIONS is defined.
34269         * elf/soinit.c: Likewise.
34270         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
34271         NO_CTORS_DTORS_SECTIONS is defined.
34272         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
34273         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
34274         * sysdeps/sh/init-first.c: Likewise.
34275         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
34277 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
34279         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
34280         always use the slow path.
34282 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
34284         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
34285         similar rule which adds the sysdep directories to the header search in
34286         order to pick up the correct platform stackinfo.h.
34287         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
34288         perform test if it is, otherwise return successfully without testing.
34289         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
34290         DEFAULT_STACK_PERMS define in stackinfo.h.
34291         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
34292         defined in stackinfo.h.
34293         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
34294         DEFAULT_STACK_PERMS defined in stackinfo.h.
34295         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
34296         * sysdeps/ia64/stackinfo.h: Likewise.
34297         * sysdeps/s390/stackinfo.h: Likewise.
34298         * sysdeps/sh/stackinfo.h: Likewise.
34299         * sysdeps/sparc/stackinfo.h: Likewise.
34300         * sysdeps/x86_64/stackinfo.h: Likewise.
34301         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
34302         PF_X for powerpc64.  Retain PF_X for powerpc32.
34304 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
34306         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
34307         accurately.
34308         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
34309         GETDENTS_64BIT_ALIGNED.
34311 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
34313         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
34315 2010-12-10  Andreas Schwab  <schwab@redhat.com>
34317         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
34318         _GNU_SOURCE.
34320         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
34321         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
34322         Remove __restrict.
34323         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
34324         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
34326 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
34328         [BZ #11655]
34329         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
34330         are initialized.
34332 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
34334         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
34336 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
34338         * po/it.po: Update from translation team.
34340 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
34342         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
34343         unused codes.
34345 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
34347         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
34349 2010-11-24  Andreas Schwab  <schwab@redhat.com>
34351         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
34352         specially.
34353         (gaih_getanswer_slice): Likewise.
34355 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
34357         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
34359 2010-05-31  Petr Baudis  <pasky@suse.cz>
34361         [BZ #11149]
34362         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
34363         silently even in the chroot mode.
34365 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
34367         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
34368         last patch a bit.  Pretty printing
34370 2010-05-31  Petr Baudis <pasky@suse.cz>
34372         [BZ #10085]
34373         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
34374         initialization of skip_initgroups_dyn.
34376 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
34378         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
34379         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34381 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
34383         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
34385 2010-11-11  Andreas Schwab  <schwab@redhat.com>
34387         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
34388         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
34389         (tst-fnmatch-ENV): Set MALLOC_TRACE.
34390         ($(objpfx)tst-fnmatch-mem): New rule.
34391         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
34392         * posix/tst-fnmatch.c (main): Call mtrace.
34394 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
34396         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34397         Support Intel processor model 6 and model 0x2c.
34399 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
34401         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
34402           signed comparison.
34404 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
34406         [BZ #12205]
34407         * string/test-strncasecmp.c (check_result): New function.
34408         (do_one_test): Use it.
34409         (check1): New function.
34410         (test_main): Use it.
34411         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
34412         Support strcasecmp and strncasecmp.
34414 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
34416         [BZ #12194]
34417         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
34418         * sysdeps/x86_64/bits/byteswap.h: Likewise.
34420 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
34422         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
34423         IFUNC support.
34424         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34425         memset-x86-64.
34426         * sysdeps/x86_64/multiarch/bzero.S: New file.
34427         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
34428         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
34429         * sysdeps/x86_64/multiarch/memset.S: New file.
34430         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
34431         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34432         Set bit_Prefer_SSE_for_memop for Intel processors.
34433         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
34434         Define.
34435         (index_Prefer_SSE_for_memop): Define.
34436         (HAS_PREFER_SSE_FOR_MEMOP): Define.
34438 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
34440         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
34441         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
34443 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
34445         [BZ #12191]
34446         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34447         (__x86_64_raw_data_cache_size_half): Likewise.
34448         (__x86_64_raw_shared_cache_size): Likewise.
34449         (__x86_64_raw_shared_cache_size_half): Likewise.
34451         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34452         (__x86_64_raw_data_cache_size_half): Likewise.
34453         (__x86_64_raw_shared_cache_size): Likewise.
34454         (__x86_64_raw_shared_cache_size_half): Likewise.
34455         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
34456         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
34457         and __x86_64_raw_shared_cache_size_half.  Round
34458         __x86_64_data_cache_size_half, __x86_64_data_cache_size
34459         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
34460         to multiple of 256 bytes.
34462 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
34464         [BZ #12167]
34465         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
34466         of inacessible symlinks.  Verify result of symlink before returning it.
34467         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
34468         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
34470 2010-10-28  Erich Ritz  <erichritz@gmail.com>
34472         * math/math.h (isinf): Fix typo in comment.
34474 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
34476         * po/da.po: Update from translation team.
34478 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
34480         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
34481         is added to the list.
34483 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34484             Ulrich Drepper  <drepper@gmail.com>
34486         * elf/dl-object.c (_dl_new_object): Don't append the new object to
34487         the global list here.  Move code to...
34488         (_dl_add_to_namespace_list): ...here.  New function.
34489         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
34490         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
34491         * elf/dl-load.c (lose): Don't remove the element from the list.
34492         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
34493         (_dl_map_object): Likewise.
34495 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
34497         [BZ #12159]
34498         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
34499         into all bytes of SSE register.
34500         Patch by Richard Li <richardpku@gmail.com>.
34502 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
34504         [BZ #12140]
34505         * malloc/malloc.c (_int_free): Fill correct number of bytes when
34506         perturbing.
34508 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
34510         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
34511         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
34512         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
34513         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
34515         submachine.
34516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
34518 2010-10-22  Andreas Schwab  <schwab@redhat.com>
34520         * include/dlfcn.h (__RTLD_SECURE): Define.
34521         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
34522         mode & __RTLD_SECURE instead.
34523         (open_path): Rename preloaded parameter to secure.
34524         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
34525         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
34526         * elf/dl-deps.c (openaux): Likewise.
34527         * elf/rtld.c (struct map_args): Remove is_preloaded.
34528         (map_doit): Don't use it.
34529         (dl_main): Likewise.
34530         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
34531         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
34533 2010-09-09  Andreas Schwab  <schwab@redhat.com>
34535         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
34536         (sysd-rules-targets): Remove duplicates.
34537         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
34538         rtld-%.$o dependency.
34540 2010-10-18  Andreas Schwab  <schwab@redhat.com>
34542         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
34543         _dl_map_object do it.
34545 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
34547         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
34548         fast fma builtins, define the macros in the C99 standard.
34549         (FP_FAST_FMAF): Likewise.
34550         (FP_FAST_FMAL): Likewise.
34551         * sysdeps/x86_64/bits/mathdef.h: Likewise.
34553         * bits/mathdef.h: Update copyright year.
34554         * sysdeps/powerpc/bits/mathdef.h: Likewise.
34556 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
34558         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
34559         builtins, define the macros in the C99 standard.
34560         (FP_FAST_FMAF): Likewise.
34561         (FP_FAST_FMAL): Likewise.
34562         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
34563         multiply/add.
34564         (FP_FAST_FMAF): Likewise.
34566 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
34568         [BZ #3268]
34569         * math/libm-test.inc (fma_test): Some new testcases.
34570         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
34571         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
34572         y and infinite z.  Do multiplication by C already in long double.
34573         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
34574         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
34575         y and infinite z.  Do bitwise or of inexact bit into u.d.
34576         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
34577         * sysdeps/i386/fpu/s_fmaf.S: Removed.
34578         * sysdeps/i386/fpu/s_fma.S: Removed.
34579         * sysdeps/i386/fpu/s_fmal.S: Removed.
34581 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
34583         [BZ #3268]
34584         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
34585         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
34586         computation is not scheduled after fetestexcept.  Fix value
34587         of minimum denormal long double.
34589 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
34591         [BZ #3268]
34592         * math/libm-test.inc (fma_test): Add some more tests.
34593         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
34594         correctly.
34596 2010-10-15  Andreas Schwab  <schwab@redhat.com>
34598         * scripts/data/localplt-s390-linux-gnu.data: New file.
34599         * scripts/data/localplt-s390x-linux-gnu.data: New file.
34601 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
34603         [BZ #3268]
34604         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
34605         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
34606         instead of dbl-64.
34607         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
34608         inlines.
34609         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
34610         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
34611         if one of x and y is very large and the other is subnormal.
34612         * sysdeps/s390/fpu/s_fmaf.c: New file.
34613         * sysdeps/s390/fpu/s_fma.c: New file.
34614         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
34615         * sysdeps/powerpc/fpu/s_fma.S: New file.
34616         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
34617         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
34618         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
34620 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
34622         [BZ #3268]
34623         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
34624         fma tests.
34625         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
34626         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
34627         * sysdeps/i386/i686/multiarch/s_fma.c: Include
34628         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
34629         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
34630         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
34631         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
34633 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
34635         [BZ #12078]
34636         * posix/regcomp.c (parse_branch): One more memory leak plugged.
34637         * posix/bug-regex31.input: Add test case.
34639 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
34641         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
34642         * posix/bug-regex31.input: New file.
34644         [BZ #12078]
34645         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
34646         (parse_sub_exp): Fix last change, use postorder.
34648         * posix/bug-regex31.c: New file.
34649         * posix/Makefile: Add rules to build and run bug-regex31.
34651         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
34653         [BZ #12078]
34654         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
34656         [BZ #12108]
34657         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
34658         to have entries in sys_siglist.
34660         [BZ #12093]
34661         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
34662         be NULL.
34664 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
34666         [BZ #3268]
34667         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
34668         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
34669         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
34670         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
34671         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34672         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
34673         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
34674         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
34675         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
34676         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
34677         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
34678         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
34679         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34680         * math/ftestexcept.c (fetestexcept): Likewise.
34681         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
34682         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
34683         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
34684         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
34685         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
34686         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
34687         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34689 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
34691         [BZ #12107]
34692         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
34693         newline.
34695 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
34697         * string/bug-strstr1.c: New file.
34698         * string/Makefile: Add rules to build and run bug-strstr1.
34700 2010-10-05  Eric Blake  <eblake@redhat.com>
34702         [BZ #12092]
34703         * string/str-two-way.h (two_way_long_needle): Always clear memory
34704         when skipping input due to the shift table.
34706 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
34708         [BZ #12005]
34709         * malloc/mcheck.c: Handle large requests.
34711         [BZ #12077]
34712         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
34713         for strncmp and strncasecmp.
34714         * string/stratcliff.c: Add tests for strcmp and strncmp.
34715         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
34717 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
34719         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
34720         __set_fpscr.
34722 2010-09-30  Andreas Jaeger  <aj@suse.de>
34724         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
34725         (CGROUP_SUPER_MAGIC): Define.
34726         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34727         Handle btrfs and cgroup file systems.
34728         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34729         Likewise.
34731 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
34733         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
34734         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
34736 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34738         [BZ #12067]
34739         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
34740         trying to locate the ELF header.
34742 2010-09-27  Andreas Schwab  <schwab@redhat.com>
34744         [BZ #11611]
34745         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
34746         Mask out sign-bit copies when constructing f_fsid.
34748 2010-09-24  Petr Baudis <pasky@suse.cz>
34750         * debug/stack_chk_fail_local.c: Add missing licence exception.
34751         * debug/warning-nop.c: Likewise.
34753 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
34755         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
34756         implementing getdents64 using getdents syscall, set d_type if
34757         __ASSUME_GETDENTS32_D_TYPE.
34759 2010-09-16  Andreas Schwab  <schwab@redhat.com>
34761         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
34762         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
34764 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
34766         [BZ #12037]
34767         * posix/unistd.h: Undo change of feature selection for ftruncate from
34768         2010-01-11.
34770 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
34772         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
34773         detection.
34775 2010-09-20  Andreas Schwab  <schwab@redhat.com>
34777         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
34778         fanotify_mark.
34779         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34781 2010-09-14  Andreas Schwab  <schwab@redhat.com>
34783         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
34784         variables after CHECK_SP call.
34785         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
34787 2010-09-13  Andreas Schwab  <schwab@redhat.com>
34788             Ulrich Drepper  <drepper@redhat.com>
34790         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
34791         re-relocationg ld.so.
34792         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
34793         _dl_init_paths call.
34794         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
34795         here anymore.
34797 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
34799         * resolv/res_init.c (__res_vinit): Count the default server we added.
34801 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
34802             Ulrich Drepper  <drepper@redhat.com>
34804         [BZ #11968]
34805         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34806         (____longjmp_chk): Use %ebx for saving value across system call.
34807         Add unwind info.
34809 2010-09-06  Andreas Schwab  <schwab@redhat.com>
34811         * manual/Makefile: Don't mix pattern rules with normal rules.
34813 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
34815         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
34816         operation.
34817         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
34818         * libio/iofopncook.c (_IO_cookie_init): Likewise.
34819         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
34820         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
34821         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34822         Likewise.
34824 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
34826         [BZ #11979]
34827         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
34828         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
34830 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
34832         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
34833         * sysdeps/x86_64/addmul_1.S: Likewise.
34834         * sysdeps/x86_64/lshift.S: Likewise.
34835         * sysdeps/x86_64/mul_1.S: Likewise.
34836         * sysdeps/x86_64/rshift.S: Likewise.
34837         * sysdeps/x86_64/sub_n.S: Likewise.
34838         * sysdeps/x86_64/submul_1.S: Likewise.
34840 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34842         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
34843         Define __sched_param instead of SCHED_* and sched_param when
34844         <bits/sched.h> is included with __need_schedparam defined.
34845         * bits/sched.h [__need_schedparam]
34846         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
34847         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
34848         (__defined_schedparam): Define to 1.
34849         (__sched_param): New structure, identical to sched_param.
34850         (__need_schedparam): Undefine.
34852 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
34854         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
34855         (epoll_create1): Declare.
34857         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
34859 2010-08-31  Andreas Schwab  <schwab@redhat.com>
34861         [BZ #7066]
34862         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
34863         shifting retval into place.
34865 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
34867         * nis/rpcsvc/nis.h: Update copyright notice.
34868         * nis/rpcsvc/nis.x: Likewise.
34869         * nis/rpcsvc/nis_callback.h: Likewise.
34870         * nis/rpcsvc/nis_callback.x: Likewise.
34871         * nis/rpcsvc/nis_object.x: Likewise.
34872         * nis/rpcsvc/nis_tags.h: Likewise.
34873         * nis/rpcsvc/yp.h: Likewise.
34874         * nis/rpcsvc/yp.x: Likewise.
34875         * nis/rpcsvc/ypupd.h: Likewise.
34876         * nis/yp_xdr.c: Likewise.
34877         * nis/ypupdate_xdr.c: Likewise.
34879         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
34880         mainly the body of pmap_getport.  Add parameters to specify timeouts.
34881         (pmap_getport): Use __libc_rpc_getport.
34882         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
34883         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
34884         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
34886 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
34888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
34889         fanotify_mark.
34891 2010-08-27  Roland McGrath  <roland@redhat.com>
34893         * sysdeps/i386/i686/multiarch/Makefile
34894         (CFLAGS-varshift.c): New variable.
34896 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
34898         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
34899         * sysdeps/i386/i686/multiarch/varshift.c: New file.
34901         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
34903         * sysdeps/x86_64/strlen.S: Minimal code improvement.
34905 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
34907         * sysdeps/x86_64/strlen.S: Unroll the loop.
34908         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34909         strlen-sse2 strlen-sse2-bsf.
34910         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
34911         __strlen_no_bsf if bit_Slow_BSF is set.
34912         (__strlen_sse42): Removed.
34913         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
34914         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
34916 2010-08-25  Roland McGrath  <roland@redhat.com>
34918         * sysdeps/x86_64/multiarch/varshift.S: File removed.
34919         * sysdeps/x86_64/multiarch/varshift.c: New file.
34920         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
34921         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
34922         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
34923         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34925 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
34927         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34928         strlen-sse2 strlen-sse2-bsf.
34929         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
34930         __strlen_sse2_bsf if bit_Slow_BSF is unset.
34931         (__strlen_sse2): Removed.
34932         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
34933         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
34934         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34935         bit_Slow_BSF for Atom.
34936         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
34937         (index_Slow_BSF): Define.
34938         (HAS_SLOW_BSF): Define.
34940 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
34942         [BZ #10851]
34943         * resolv/res_init.c (__res_vinit): When no server address at all
34944         is given default to loopback.
34946 2010-08-24  Roland McGrath  <roland@redhat.com>
34948         * configure.in: Remove config-name.h generation.
34949         * configure: Regenerated.
34950         * config-name.in: File removed.
34951         * scripts/config-uname.sh: New file.
34952         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
34953         ($(objdir)config-name.h): New target.
34955         * sunrpc/rpc_parse.h: Avoid nested comment.
34957 2010-08-24  Richard Henderson  <rth@redhat.com>
34958             Ulrich Drepper  <drepper@redhat.com>
34959             H.J. Lu  <hongjiu.lu@intel.com>
34961         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
34962         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
34963         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
34964         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
34965         _mm_alignr_epi8 with _mm_loadu_si128.
34966         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
34967         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
34968         (__m128i_shift_right): Removed.
34969         * sysdeps/i386/i686/multiarch/varshift.h: New file.
34970         * sysdeps/i386/i686/multiarch/varshift.S: New file.
34971         * sysdeps/x86_64/multiarch/varshift.h: New file.
34972         * sysdeps/x86_64/multiarch/varshift.S: New file.
34974 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
34976         * configure.in: Move assembler checks to before sysdep dir checking.
34978 2010-08-20  Petr Baudis  <pasky@suse.cz>
34980         * LICENSES: Sync the sunrpc license.
34982 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
34984         * sunrpc/auth_des.c: Update copyright notice once again.
34985         * sunrpc/auth_none.c: Likewise.
34986         * sunrpc/auth_unix.c: Likewise.
34987         * sunrpc/authdes_prot.c: Likewise.
34988         * sunrpc/authuxprot.c: Likewise.
34989         * sunrpc/bindrsvprt.c: Likewise.
34990         * sunrpc/clnt_gen.c: Likewise.
34991         * sunrpc/clnt_perr.c: Likewise.
34992         * sunrpc/clnt_raw.c: Likewise.
34993         * sunrpc/clnt_simp.c: Likewise.
34994         * sunrpc/clnt_tcp.c: Likewise.
34995         * sunrpc/clnt_udp.c: Likewise.
34996         * sunrpc/clnt_unix.c: Likewise.
34997         * sunrpc/des_crypt.c: Likewise.
34998         * sunrpc/des_soft.c: Likewise.
34999         * sunrpc/get_myaddr.c: Likewise.
35000         * sunrpc/getrpcport.c: Likewise.
35001         * sunrpc/key_call.c: Likewise.
35002         * sunrpc/key_prot.c: Likewise.
35003         * sunrpc/openchild.c: Likewise.
35004         * sunrpc/pm_getmaps.c: Likewise.
35005         * sunrpc/pm_getport.c: Likewise.
35006         * sunrpc/pmap_clnt.c: Likewise.
35007         * sunrpc/pmap_prot.c: Likewise.
35008         * sunrpc/pmap_prot2.c: Likewise.
35009         * sunrpc/pmap_rmt.c: Likewise.
35010         * sunrpc/rpc/auth.h: Likewise.
35011         * sunrpc/rpc/auth_unix.h: Likewise.
35012         * sunrpc/rpc/clnt.h: Likewise.
35013         * sunrpc/rpc/des_crypt.h: Likewise.
35014         * sunrpc/rpc/key_prot.h: Likewise.
35015         * sunrpc/rpc/netdb.h: Likewise.
35016         * sunrpc/rpc/pmap_clnt.h: Likewise.
35017         * sunrpc/rpc/pmap_prot.h: Likewise.
35018         * sunrpc/rpc/pmap_rmt.h: Likewise.
35019         * sunrpc/rpc/rpc.h: Likewise.
35020         * sunrpc/rpc/rpc_des.h: Likewise.
35021         * sunrpc/rpc/rpc_msg.h: Likewise.
35022         * sunrpc/rpc/svc.h: Likewise.
35023         * sunrpc/rpc/svc_auth.h: Likewise.
35024         * sunrpc/rpc/types.h: Likewise.
35025         * sunrpc/rpc/xdr.h: Likewise.
35026         * sunrpc/rpc_clntout.c: Likewise.
35027         * sunrpc/rpc_cmsg.c: Likewise.
35028         * sunrpc/rpc_common.c: Likewise.
35029         * sunrpc/rpc_cout.c: Likewise.
35030         * sunrpc/rpc_dtable.c: Likewise.
35031         * sunrpc/rpc_hout.c: Likewise.
35032         * sunrpc/rpc_main.c: Likewise.
35033         * sunrpc/rpc_parse.c: Likewise.
35034         * sunrpc/rpc_parse.h: Likewise.
35035         * sunrpc/rpc_prot.c: Likewise.
35036         * sunrpc/rpc_sample.c: Likewise.
35037         * sunrpc/rpc_scan.c: Likewise.
35038         * sunrpc/rpc_scan.h: Likewise.
35039         * sunrpc/rpc_svcout.c: Likewise.
35040         * sunrpc/rpc_tblout.c: Likewise.
35041         * sunrpc/rpc_util.c: Likewise.
35042         * sunrpc/rpc_util.h: Likewise.
35043         * sunrpc/rpcinfo.c: Likewise.
35044         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
35045         * sunrpc/rpcsvc/key_prot.x: Likewise.
35046         * sunrpc/rpcsvc/klm_prot.x: Likewise.
35047         * sunrpc/rpcsvc/mount.x: Likewise.
35048         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
35049         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
35050         * sunrpc/rpcsvc/rex.x: Likewise.
35051         * sunrpc/rpcsvc/rstat.x: Likewise.
35052         * sunrpc/rpcsvc/rusers.x: Likewise.
35053         * sunrpc/rpcsvc/sm_inter.x: Likewise.
35054         * sunrpc/rpcsvc/spray.x: Likewise.
35055         * sunrpc/rpcsvc/yppasswd.x: Likewise.
35056         * sunrpc/rtime.c: Likewise.
35057         * sunrpc/svc.c: Likewise.
35058         * sunrpc/svc_auth.c: Likewise.
35059         * sunrpc/svc_authux.c: Likewise.
35060         * sunrpc/svc_raw.c: Likewise.
35061         * sunrpc/svc_run.c: Likewise.
35062         * sunrpc/svc_simple.c: Likewise.
35063         * sunrpc/svc_tcp.c: Likewise.
35064         * sunrpc/svc_udp.c: Likewise.
35065         * sunrpc/svc_unix.c: Likewise.
35066         * sunrpc/svcauth_des.c: Likewise.
35067         * sunrpc/xcrypt.c: Likewise.
35068         * sunrpc/xdr.c: Likewise.
35069         * sunrpc/xdr_array.c: Likewise.
35070         * sunrpc/xdr_float.c: Likewise.
35071         * sunrpc/xdr_mem.c: Likewise.
35072         * sunrpc/xdr_rec.c: Likewise.
35073         * sunrpc/xdr_ref.c: Likewise.
35074         * sunrpc/xdr_sizeof.c: Likewise.
35075         * sunrpc/xdr_stdio.c: Likewise.
35077         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
35078         handling.
35080 2010-08-19  Andreas Schwab  <schwab@redhat.com>
35082         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
35084 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
35086         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
35087         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
35088         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
35089         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
35090         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
35091         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
35092         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
35093         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
35094         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
35095         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
35096         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
35097         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
35098         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
35099         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
35101 2010-07-26  Anton Blanchard  <anton@samba.org>
35103         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
35104         * malloc/arena.c (heap_trim): Likewise.
35106 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
35108         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
35109         here.  Not...
35110         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
35111         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
35113 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
35115         * sysdeps/i386/elf/Makefile: New file.
35117 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
35119         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
35120         from fanotify_init.
35121         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
35122         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35124 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
35126         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
35127         of strncasecmp_l.
35128         * sysdeps/multiarch/strcmp.S: Likewise.
35130 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
35132         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35133         strncase_l-nonascii.
35134         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35135         Add strncase_l-ssse3.
35136         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
35137         * sysdeps/x86_64/strcmp.S: Likewise.
35138         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
35139         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
35140         * sysdeps/x86_64/strncase.S: New file.
35141         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
35142         * sysdeps/x86_64/strncase_l.S: New file.
35143         * string/Makefile (strop-tests): Add strncasecmp.
35144         * string/test-strncasecmp.c: New file.
35146         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
35147         warning.
35149         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
35150         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
35152 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
35154         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
35156 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
35158         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
35159         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
35160         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
35162 2010-05-01  Alan Modra  <amodra@gmail.com>
35164         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
35165         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
35166         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
35167         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
35168         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
35169         tidying.  Don't tail-call __sigjmp_save for static lib.
35170         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
35171         save location.
35172         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
35173         (CALL_MCOUNT): Add eh info, and nop after bl.
35174         (TAIL_CALL_SYSCALL_ERROR): New macro.
35175         (PSEUDO_RET): Use it.
35176         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
35177         Correct save location of integer regs and cr.
35178         (_dl_profile_resolve): Correct cr save location.  Delete nops
35179         after bl when SHARED.  Reduce cfi size a little by better
35180         placement of cfi directives.
35181         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
35182         make a stack frame.  Instead use parm save area as a temp.
35183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
35184         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
35185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
35186         Don't make a stack frame for parent, use parm save area.
35187         Increase child stack frame to 112 bytes.  Don't save unused reg,
35188         and adjust reg usage.  Set up cfi on error recovery and
35189         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
35190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35191         (__makecontext): Add dummy nop after jump to exit.
35192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
35193         Use correct parm save area and cr save, reduce stack frame.
35194         Correct cfi for possible PSEUDO_RET frame setup.
35195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
35196         Branch to local label emitted by PSEUDO_RET rather than
35197         __syscall_error.
35199 2010-08-12  Andreas Schwab  <schwab@redhat.com>
35201         [BZ #11904]
35202         * locale/programs/locale.c (print_assignment): New function.
35203         (show_locale_vars): Use it.
35205 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
35207         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
35208         field.
35209         (struct statfs64): Likewise.
35210         (_STATFS_F_FLAGS): Define.
35211         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
35212         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35213         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
35214         (ST_VALID): Define locally.
35215         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
35216         __statvfs_getflags, use the provided value.
35217         * sysdeps/unix/sysv/linux/kernel-features.h: Define
35218         __ASSUME_STATFS_F_FLAGS.
35220         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
35222         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
35223         Add sys/fanotify.h.
35224         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
35225         fanotify_mask for GLIBC_2.13.
35226         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
35227         fanotify_init and fanotify_mark.
35228         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35229         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
35231         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
35232         Add prlimit.
35233         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
35234         prlimit64 for GLIBC_2.13.
35235         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
35236         prlimit64.
35237         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
35238         syscall.
35239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
35240         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35241         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
35242         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
35243         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
35244         add prlimit alias.
35245         * sysdeps/unix/sysv/linux/prlimit.c: New file.
35247         [BZ #11903]
35248         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
35249         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
35251         * nss/Makefile: Add rules to build and run tst-nss-test1.
35252         * shlib-versions: Add entry for libnss_test1.
35253         * nss/nss_test1.c: New file.
35254         * nss/tst-nss-test1.c: New file.
35256         * nss/nsswitch.c (__nss_database_custom): Define new variable.
35257         (__nss_configure_lookup): Set appropriate entry in
35258         __nss_configure_lookup to true.
35259         * nss/nsswitch.h: Define enum with indeces of databases in
35260         databases and __nss_database_custom arrays.  Declare
35261         __nss_database_custom.
35262         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
35263         to avoid using nscd when custom rules are installed.
35264         * nss/getXXbyYY_r.c: Likewise.
35265         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
35267         * nss/nss_files/files-parse.c: Whitespace fixes.
35269 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
35271         [BZ #11883]
35272         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
35273         * posix/fnmatch_loop.c: Likewise.
35275 2010-07-17  Andi Kleen  <ak@linux.intel.com>
35277         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
35278         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
35279         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
35280         * Versions.def [GLIBC_2.13]: Add.
35282 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
35284         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35285         Also fail if tpwd after pwuid call is NULL.
35287 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35289         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
35290         when converting to ms.
35292 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35294         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
35295         EOPNOTSUPP errors with ENOTTY.
35296         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
35297         EOPNOTSUPP errors with ENOTTY.
35299 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
35301         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35302         Add strcasecmp_l-ssse3.
35303         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
35304         strcasecmp.
35305         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
35306         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
35307         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
35309 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
35311         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
35313         * string/Makefile (strop-tests): Add strcasecmp.
35314         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35315         strcasecmp_l-nonascii.
35316         (gen-as-const-headers): Add locale-defines.sym.
35317         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
35318         * sysdeps/x86_64/strcasecmp.S: New file.
35319         * sysdeps/x86_64/strcasecmp_l.S: New file.
35320         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
35321         * sysdeps/x86_64/locale-defines.sym: New file.
35322         * string/test-strcasecmp.c: New file.
35324         * string/test-strcasestr.c: Test both ends of the range of characters.
35325         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
35327 2010-07-29  Roland McGrath  <roland@redhat.com>
35329         [BZ #11856]
35330         * manual/locale.texi (Yes-or-No Questions): Fix example code.
35332 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
35334         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
35335         for ld.so.
35337 2010-07-27  Andreas Schwab  <schwab@redhat.com>
35339         * manual/memory.texi (Malloc Tunable Parameters): Document
35340         M_PERTURB.
35342 2010-07-26  Roland McGrath  <roland@redhat.com>
35344         [BZ #11840]
35345         * configure.in (-fgnu89-inline check): Set and substitute
35346         gnu89_inline, not libc_cv_gnu89_inline.
35347         * configure: Regenerated.
35348         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
35350 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
35352         * string/test-strnlen.c: New file.
35353         * string/Makefile (strop-tests): Add strnlen.
35354         * string/tester.c (test_strnlen): Add a few more test cases.
35355         * string/tst-strlen.c: Better error reporting.
35357         * sysdeps/x86_64/strnlen.S: New file.
35359 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
35361         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
35362         lower-latency instructions.
35364 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
35366         * string/test-strcasestr.c: New file.
35367         * string/test-strstr.c: New file.
35368         * string/Makefile (strop-tests): Add strstr and strcasestr.
35369         * string/str-two-way.h: Don't undefine MAX.
35370         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
35372 2010-07-21  Andreas Schwab  <schwab@redhat.com>
35374         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35375         strcasestr-nonascii.
35376         (CFLAGS-strcasestr-nonascii.c): Define.
35377         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
35378         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
35379         Remove unused attribute.
35381 2010-07-20  Roland McGrath  <roland@redhat.com>
35383         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
35384         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
35385         ld.so.cache was broken.  With it, there is no way to disable dsocaps
35386         like LD_HWCAP_MASK can disable hwcaps.
35388 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
35390         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
35392 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
35394         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
35395         call in strcasestr.
35396         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
35397         __strcasestr_sse42_nonascii.
35398         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
35399         strcasestr-nonascii.c.
35400         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
35402 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
35404         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
35405         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
35406         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
35407         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
35409 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
35411         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
35412         fcntl.
35414 2010-07-06  Andreas Schwab  <schwab@redhat.com>
35416         [BZ #11577]
35417         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
35418         dl_signal_cerror.
35420 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
35422         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
35423         _PC_PIPE_BUF using F_GETPIPE_SZ.
35425 2010-07-05  Roland McGrath  <roland@redhat.com>
35427         * manual/arith.texi (Rounding Functions): Fix rint description
35428         implicit in round description.
35430 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
35432         * elf/Makefile: Fix linking for a few tests to make recent linker
35433         happy.
35435 2010-06-30  Andreas Schwab  <schwab@redhat.com>
35437         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35438         $(common-objpfx)libc_nonshared.a.
35440 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
35442         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
35443         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
35444         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35445         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35446         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
35447         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
35448         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35449         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
35451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
35452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
35453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
35455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
35457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
35458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
35459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
35460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
35462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
35464         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
35465         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
35466         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
35467         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
35468         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
35469         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
35470         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
35471         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
35472         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
35473         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
35474         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
35475         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
35476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
35477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
35478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
35479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
35480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
35481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
35482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
35483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
35484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
35485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
35486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
35487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
35488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
35489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
35491 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
35493         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
35494         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
35495         * string/memmove.c (memmove): Renamed to ...
35496         (MEMMOVE): ...this.  Default to memmove.
35497         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
35498         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
35499         (END_CHK): Define.
35500         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35501         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
35502         mempcpy-ssse3-back memmove-ssse3-back.
35503         * sysdeps/x86_64/multiarch/bcopy.S: New file .
35504         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
35505         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
35506         * sysdeps/x86_64/multiarch/memcpy.S: New file.
35507         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
35508         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
35509         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
35510         * sysdeps/x86_64/multiarch/memmove.c: New file.
35511         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
35512         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
35513         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
35514         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
35515         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
35516         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
35517         Define.
35518         (index_Fast_Copy_Backward): Define.
35519         (HAS_ARCH_FEATURE): Define.
35520         (HAS_FAST_REP_STRING): Define.
35521         (HAS_FAST_COPY_BACKWARD): Define.
35523 2010-06-21  Andreas Schwab  <schwab@redhat.com>
35525         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35526         Restore proper fallback handling.
35528 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
35530         [BZ #11701]
35531         * posix/group_member.c (__group_member): Correct checking loop.
35533         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
35534         OOM in getpwuid_r correctly.  Return error number when the caller
35535         should return, otherwise -1.
35536         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
35537         call returning > 0 value.
35538         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
35540 2010-06-07  Andreas Schwab  <schwab@redhat.com>
35542         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
35543         libc_nonshared.a from targets in modules-names.
35545 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
35547         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
35548         requires it.
35550 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
35552         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
35553         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
35554         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
35555         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
35557 2010-06-02  Andreas Schwab  <schwab@redhat.com>
35559         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
35561 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
35563         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
35564         and F_GETPIPE_SZ.
35565         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35566         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35567         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35568         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35569         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35570         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
35572 2010-06-14  Roland McGrath  <roland@redhat.com>
35574         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
35576 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
35578         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
35579         __REDIRECT followed by __THROW.
35580         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
35581         * posix/getopt.h (getopt): Likewise.
35583 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
35585         * hurd/lookup-at.c (__file_name_lookup_at): Accept
35586         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
35587         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
35588         in AT_FLAGS.
35589         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
35590         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
35592 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
35594         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
35596 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
35598         [BZ #11640]
35599         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35600         Properly check family and model.
35602 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
35604         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
35606 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
35608         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
35610 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
35612         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
35613         symbol reference.
35615 2010-05-19  Andreas Schwab  <schwab@redhat.com>
35617         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
35618         symbol reference.
35620 2010-05-21  Andreas Schwab  <schwab@redhat.com>
35622         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
35623         and internal_recvmmsg.
35624         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
35625         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
35626         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
35627         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
35629         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
35630         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35631         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35633 2010-05-20  Andreas Schwab  <schwab@redhat.com>
35635         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
35637 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
35639         POWER7 optimizations.
35640         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
35641         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
35643 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
35645         * version.h: Update for 2.13 development version.
35647 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
35649         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
35650         exceptions.  Return 0.
35652 2010-05-07  Roland McGrath  <roland@redhat.com>
35654         * elf/ldconfig.c (main): Add a const.
35656 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
35658         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
35659         (args_options): Add no-idn option.
35660         (ahosts_keys_int): Add idn_flags to ai_flags.
35661         (parse_option): Handle 'i' option to clear idn_flags.
35663         * malloc/malloc.c (_int_free): Possible race in the most recently
35664         added check.  Only act on the data if no current modification
35665         happened.
35667 See ChangeLog.17 for earlier changes.