Do not include asm/cachectl.h in nios2 sys/cachectl.h.
[glibc.git] / ChangeLog
blob7b54d4d249e576e0811ad8ffb459e4ad7d5c30de
1 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
3         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
4         <asm/cachectl.h>.
6 2016-11-27  Zack Weinberg  <zackw@panix.com>
8         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
9         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
11 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
14         error_t to fix usage in C++ programs.
16 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
18         * scripts/build-many-glibcs.py: Import datetime module.
19         (Context.__init__): Load JSON build state.  Initialize list of
20         status logs.
21         (Context.run_builds): Update saved build state.
22         (Context.add_makefile_cmdlist): Update list of status logs.
23         (Context.load_build_state_json): New function.
24         (Context.store_build_state_json): Likewise.
25         (Context.clear_last_build_state): Likewise.
26         (Context.update_build_state): Likewise.
27         (CommandList.status_logs): Likewise.
29 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
31         * scripts/build-many-glibcs.py (Context.__init__): Save text of
32         script being executed.
33         (Context.get_script_text): New function.
34         (Context.exec_self): Likewise.
35         (Context.checkout): Re-exec script if changed by checkout process.
37 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
39         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
40         (setpayloadsig): New declaration.
41         * math/Versions (setpayloadsig): New libm symbol at version
42         GLIBC_2.25.
43         (setpayloadsigf): Likewise.
44         (setpayloadsigl): Likewise.
45         * math/Makefile (libm-calls): Add s_setpayloadsigF.
46         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
47         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
48         (setpayloadsig_test_data): New array.
49         (setpayloadsig_test): New function.
50         (main): Call setpayloadsig_test.
51         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
52         setpayloadsigf and setpayloadsigl.
53         * manual/libm-err-tab.pl: Update comment on interfaces without
54         ulps tabulated.
55         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
56         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
57         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
58         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
59         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
60         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
61         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
62         setpayloadsig.
63         (CFLAGS-nldbl-setpayloadsig.c): New variable.
64         * sysdeps/nacl/libm.abilist: Update.
65         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
66         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
67         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
68         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
69         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
70         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
71         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
72         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
73         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
74         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
75         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
76         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
77         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
78         Likewise.
79         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
80         Likewise.
81         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
82         Likewise.
83         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
84         Likewise.
85         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
86         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
87         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
88         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
89         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
90         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
91         Likewise.
92         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
93         Likewise.
94         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
95         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
96         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
98         * scripts/build-many-glibcs.py: Import json module.
99         (Context.__init__): Take replace_sources argument.  Load
100         versions.json.
101         (Context.load_versions_json): New function.
102         (Context.store_json): Likewise.
103         (Context.store_versions_json): Likewise.
104         (Context.set_component_version): Likewise.
105         (Context.checkout): Update versions.json.  Check for and handle
106         changes of version.  Prefer previously explicitly specified
107         version to default version.
108         (Context.checkout_vcs): Return a revision identifier.
109         (Context.git_checkout): Likewise.
110         (Context.gcc_checkout): Likewise.
111         (get_parser): Add --replace-sources option.
112         (main): Pass replace_sources argument to Context call.
114 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
116         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
117         * nptl/allocatestack.c (allocate_stack): Likewise.
118         (__reclaim_stacks): Likewise.
119         (setxid_signal_thread): Obtain pid through syscall.
120         * nptl/nptl-init.c (sigcancel_handler): Likewise.
121         (sighandle_setxid): Likewise.
122         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
123         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
124         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
125         Likewise.
126         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
127         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
128         comment.
129         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
130         * nptl/descr.h (struct pthread): Change comment about pid value.
131         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
132         pid assert.
133         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
134         Do not set pid value.
135         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
136         pid cache check.
137         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
138         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
139         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
140         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
141         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
142         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
143         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
144         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
145         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
146         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
147         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
148         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
149         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
150         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
151         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
152         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
153         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
154         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
155         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
156         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
157         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
158         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
159         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
160         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
161         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
164         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
165         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
166         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
167         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
168         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
169         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
170         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
171         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
172         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
173         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
174         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
175         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
176         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
177         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
178         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
179         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
182         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
183         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
184         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
185         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
186         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
187         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
188         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
189         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
190         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
191         struct access.
192         (clone_test): Remove function.
193         (do_test): Rewrite to take in consideration pid is not cached anymore.
195 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
197         * bits/flt-eval-method.h: New file.
198         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
199         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
200         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
201         * math/Makefile (headers): Add bits/flt-eval-method.h.
202         * math/math.h: Include <bits/flt-eval-method.h>.
203         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
204         [__USE_ISOC99] (double_t): Likewise.
205         * bits/mathdef.h (float_t): Remove.
206         (double_t): Likewise.
207         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
208         (double_t): Likewise.
209         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
210         (double_t): Likewise.
211         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
212         (double_t): Likewise.
213         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
214         (double_t): Likewise.
215         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
216         (double_t): Likewise.
217         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
218         (double_t): Likewise.
219         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
220         (double_t): Likewise.
221         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
222         (double_t): Likewise.
223         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
224         (double_t): Likewise.
225         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
226         (double_t): Likewise.
227         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
228         (double_t): Likewise.
229         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
230         (double_t): Likewise.
231         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
232         (double_t): Likewise.
234 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
236         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
237         instead of PIC.
239 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
241         [BZ #20859]
242         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
243         (-0x7fffffff) instead of 0x80000001.
244         * math/test-fp-ilogb-constants.c: New file.
245         * math/Makefile (tests): Add test-fp-ilogb-constants.
247 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
249         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
250         (_init): Use it in place of hardcoded R_MIPS_JALR.
251         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
252         (_init): Use it in place of hardcoded R_MIPS_JALR.
253         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
254         (_init): Use it in place of hardcoded R_MIPS_JALR.
256 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
258         [BZ #20787]
259         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
260         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
261         (double_t): Do not define to double if [__x86_64__] when
262         __FLT_EVAL_METHOD__ is nonzero.
263         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
264         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
265         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
266         test-flt-eval-method-387 and test-flt-eval-method-sse.
267         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
268         variable.
269         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
271 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
273         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
274         use of -fno-isolate-erroneous-paths options for tilepro.
276 2016-11-23  Florian Weimer  <fweimer@redhat.com>
278         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
279         structure initialization is no longer needed.
281 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
283         [BZ #20855]
284         * bits/mathdef.h (float_t): Define to float.
285         * math/test-flt-eval-method.c: New file.
286         * math/Makefile (tests): Add test-flt-eval-method.
287         (CFLAGS-test-flt-eval-method.c): New variable.
289 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
291         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
292         and __fstatfs.  Make them aliases of __fstatfs64 if
293         STATFS_IS_STATFS64 is set to non-zero.
294         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
295         and __statfs64.
296         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
297         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
298         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
299         for __statfs and statfs.
300         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
301         to 0.
302         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
303         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
304         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
305         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
306         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
307         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
310         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
311         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
312         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
313         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
315 2016-11-22  Andreas Schwab  <schwab@suse.de>
317         * misc/mkstemp.c: Include <fcntl.h>.
318         * misc/mkstemps.c: Likewise.
319         * misc/mkostemp.c: Likewise.
320         * misc/mkostemps.c: Likewise.
322 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
324         [BZ #20847]
325         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
326         array bounds.
327         (__execvpe): Likewise.
329 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
331         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
332         -fno-isolate-erroneous-paths options for tilepro.
334 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
336         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
337         to 0 when in 32 bit mode.
338         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
339         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
340         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
341         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
343         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
344         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
345         XSTAT_IS_XSTAT64 test.
346         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
347         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
348         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
349         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
350         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
351         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
352         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
353         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
354         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
355         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
356         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
358 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
360         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
361         (setpayload): New declaration.
362         * math/Versions (setpayload): New libm symbol at version
363         GLIBC_2.25.
364         (setpayloadf): Likewise.
365         (setpayloadl): Likewise.
366         * math/Makefile (libm-calls): Add s_setpayloadF.
367         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
368         test_Ff_b1_data.
369         (RUN_TEST_Ff_b1): New macro.
370         (RUN_TEST_LOOP_Ff_b1): Likewise.
371         (canonicalize_test_data): Update type.
372         (setpayload_test_data): New array.
373         (setpayload_test): New function.
374         (main): Call setpayload_test.
375         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
376         setpayloadf and setpayloadl.
377         * manual/libm-err-tab.pl: Update comment on interfaces without
378         ulps tabulated.
379         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
380         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
381         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
382         Likewise.
383         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
384         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
385         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
386         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
387         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
388         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
389         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
390         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
391         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
392         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
393         setpayload.
394         (CFLAGS-nldbl-setpayload.c): New variable.
395         * sysdeps/nacl/libm.abilist: Update.
396         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
397         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
398         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
399         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
400         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
401         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
402         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
403         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
404         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
405         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
406         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
407         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
409         Likewise.
410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
411         Likewise.
412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
413         Likewise.
414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
415         Likewise.
416         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
417         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
418         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
419         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
420         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
421         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
422         Likewise.
423         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
424         Likewise.
425         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
426         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
427         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
429 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
431         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
432         * include/unistd.h: Extend comment about __access_noerrno return
433         semantics.
434         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
435         (access_common): Correct typo for EACCES.
437 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
439         * sysdeps/tile/math-tests.h: New file.
441         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
442         (__old_set_dataplane): Rename from set_dataplane and make a
443         compatibility symbol.
444         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
445         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
446         sys/dataplane.h.
448 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
450         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
451         script quote words in command output to log suitably for input to
452         the shell.
454 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
455             Maciej W. Rozycki  <macro@imgtec.com>
457         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
458         `.Lno_weak_fn' label.
459         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
460         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
462 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
463             Yury Norov  <ynorov@caviumnetworks.com>
465         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
466         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
467         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
468         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
469         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
470         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
471         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
472         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
473         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
474         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
475         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
476         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
477         (sysdep_routines): Remove oldgetrlimit64.
478         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
479         (sysdep_routines): Likewise.
480         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
481         (sysdep_routines): Likewise.
482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
483         [$(subdir) = resource] (sysdep_routines): Likewise.
484         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
485         [$(subdir) = resource] (sysdep_routines): Likewise.
486         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
487         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
488         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
489         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
490         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
491         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
492         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
493         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
494         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
495         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
496         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
497         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
498         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
499         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
500         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
501         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
502         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
503         setrlimit and getrlimit.
504         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
505         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
506         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
509         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
510         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
511         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
512         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
513         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
514         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
515         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
516         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
517         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
518         (__old_getrlimit64): Add compatibility symbol.
519         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
521 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
523         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
524         newly built gmp, mpfr and mpc.
526         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
528 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
530         * conform/Makefile (linknamespace-libs): Rename to
531         linknamespace-libs-thr.
532         (linknamespace-libs-posix): New variable.
533         (linknamespace-libs-xsi): Likewise.
534         (linknamespace-libs-XPG3): Include libcrypt.a.
535         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
536         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
537         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
538         (linknamespace-libs-XOPEN2K): Likewise.
539         (linknamespace-libs-XOPEN2K8): Likewise.
540         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
542         [BZ #20829]
543         * stdio-common/Versions (__snprintf): Add to version
544         GLIBC_PRIVATE.
545         * include/stdio.h (__snprintf): Use libc_hidden_proto.
546         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
547         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
548         of snprintf.
549         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
551 2016-11-16  Zack Weinberg  <zackw@panix.com>
553         * string/string.h: Remove obsolete comment stating that
554         strcoll_l and strxfrm_l have not yet been standardized.
556 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
558         * hurd/hurd.h (__hurd_fail_noerrno): New function.
559         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
560         __access_noerrno.
561         * io/access.c (__access_noerrno): New function.
562         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
563         (hurd_fail_seterrno): Likewise.
564         (access_common): Likewise.
565         (__access_noerrno): Likewise.
566         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
567         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
568         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
569         macro.
571 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
573         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
574         Only declare fpregs if [__SH_FPU_ANY__].
576 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
578         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
579         Make code unconditional.
580         [!(__SH4__ || __SH4A__)]: Remove conditional code.
582 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
584         * manual/sysinfo.texi (S_APPEND): Delete.
585         (S_IMMUTABLE): Likewise.
587 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
588             Magnus Granberg  <zorry@gentoo.org>
589             Mike Frysinger  <vapier@gentoo.org>
591         [BZ #20662]
592         * configure.ac (libc_cv_predef_stack_protector): Also check for
593         __stack_chk_fail_local symbols.
594         * configure: Regenerated.
596 2016-11-15  Florian Weimer  <fweimer@redhat.com>
598         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
599         (libc_hidden_def): Remove redefinition.
600         (__sigsetjmp): Add hidden definition.
601         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
602         (libc_hidden_def): Remove redefinition.
603         (__sigsetjmp): Add hidden definition.
605 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
607         * scripts/build-many-glibcs.py (os.path): Do not import.
608         (Context): Inherit explicitly from object.  Remove blank line
609         between class and docstring.
610         (Config): Likewise.
611         (Glibc): Likewise.
612         (Command): Likewise.
613         (CommandList): Likewise.
614         (Context.write_files): Store chmod mode in a variable.
616         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
617         LIBC_SLIBDIR_RTLDDIR for tilegx32.
618         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
620 2016-11-14  Zack Weinberg  <zackw@panix.com>
622         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
623         creating or re-creating it.
625         * string/bits/string2.h: Fix typo in comment.
627 2016-11-14  Zack Weinberg  <zackw@panix.com>
629         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
630         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
631         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
632         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
633         of redirected function names.
635         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
636         as well.  Document that MESSAGE must be a single string literal.
638 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
640         * scripts/build-many-glibcs.py: New file.
642         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
643         (do_test): Disable -Wmaybe-uninitialized around uses of
644         except_mask.
646         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
648 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
650         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
651         (atomic_store_release): Provide tilepro-specific implementations.
653 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
655         * math/math.h (__MATH_TG): New macro.
656         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
657         [__USE_ISOC99] (signbit): Likewise.
658         [__USE_ISOC99] (isfinite): Likewise.
659         [__USE_ISOC99] (isnan): Likewise.
660         [__USE_ISOC99] (isinf): Likewise.
661         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
662         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
663         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
664         __MATH_TG and __MATH_EVAL_FMT2.
665         * sysdeps/generic/math_private.h (fabs_tg): Define using
666         __MATH_TG.
667         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
668         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
669         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
670         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
671         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
672         macro.
673         (__iscanonical): Likewise.
674         (iscanonical): Define using __MATH_TG.
676 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
678         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
679         guards.
681         * sysdeps/unix/sysv/linux/access.c: New file.
682         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
684 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
686         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
687         and __WORDSIZE32_PTRDIFF_LONG.
689 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
691         * sysdeps/aarch64/libm-test-ulps: Regenerated.
693 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
695         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
696         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
697         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
698         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
699         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
701         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
702         * sysdeps/unix/sysv/linux/truncate.c: New file.
703         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
704         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
705         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
706         Remove.
707         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
708         Likewise.
710         * posix/tst-truncate-common.c: New file.
711         * posix/tst-truncate.c: Use tst-truncate-common.c.
712         * posix/tst-truncate64.c: Likewise and add LFS tests.
713         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
714         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
715         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
716         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
717         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
719         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
720         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
721         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
722         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
723         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
724         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
725         Remove.
726         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
727         Likewise.
729 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
731         [BZ #20790]
732         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
733         to MAXLINESIZE.
734         * sunrpc/bug20790.x: New file.
735         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
736         variable.
737         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
738         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
740         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
742         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
744         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
745         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
746         calloc, realloc, free, memalign and __libc_memalign rather than
747         making them optional.
749         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
750         for libc.so.
752 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
754         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
755         ptw-lseek64.
756         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
757         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
758         Likewise.
759         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
760         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
761         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
762         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
763         * sysdeps/unix/sysv/linux/lseek.c: New file.
764         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
765         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
766         __libc_lseek64 from auto-generation.
767         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
768         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
770 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
772         * nptl/tst-basic1.c (tf, do_test): Use write_message.
773         * nptl/tst-cleanup1.c (do_test): Likewise.
774         * nptl/tst-cleanup3.c (do_test): Likewise.
775         * nptl/tst-key1.c (do_test): Likewise.
776         * nptl/tst-key2.c (tf, do_test): Likewise.
777         * nptl/tst-key3.c (tf, do_test): Likewise.
778         * nptl/tst-stdio1.c (do_test): Likewise.
779         * nptl/tst-stdio2.c (do_test): Likewise.
781         * nptl/tst-kill3.c (handler): Use write_message in place of write.
782         * nptl/tst-kill6.c (handler): Likewise.
783         * nptl/tst-tls2.c (CB): Likewise.
784         * nptl/tst-tls3.c (CB): Likewise.
786 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
788         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
790 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
791             Steve Ellcey  <sellcey@caviumnetworks.com>
793         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
794           __ASSUME_ST_INO_64_BIT as 0
795         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
796         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
797           over the code where __ASSUME_ST_INO_64_BIT is used.
798         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
799         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
800         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
802 2016-11-07  Florian Weimer  <fweimer@redhat.com>
804         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
805         Document ABI exposure of the __kind offset.
806         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
807         Mention reason for the __kind offset exposure in the ABI.
808         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
809         Likewise.
810         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
811         Likewise.
812         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
813         Likewise.
814         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
815         (struct __pthread_mutex_s): Likewise.
816         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
817         Likewise.
818         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
819         Likewise.
820         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
821         Likewise.
822         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
823         Likewise.
824         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
825         Likewise.
826         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
827         Likewise.
828         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
829         (struct __pthread_mutex_s): Likewise.
830         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
831         (struct __pthread_mutex_s): Likewise.
832         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
833         Likewise.
835 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
837         * test-skeleton.c: Document do_test usage.
839 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
841         * iconv/gconv.h (__gconv_info): Define __data element using a
842         zero-length array.
844 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
846         * math/test-tgmath2.c: Split up test function.
848 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
850         * Rules (tests-expected): New variable, depending on
851         $(run-built-tests).
852         (tests): Pass $(tests-expected) to merge-test-results.sh, not
853         $(tests).
855         * Rules [$(run-built-tests) = no] (tests): Do not depend on
856         $(tests-unsupported).
858 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
860         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
861         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
863 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
865         [BZ #20768]
866         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
867         __fegetenv instead of fegetenv.
869         [BZ #14139]
870         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
871         (find_files): Obtain platform name from libm-test-ulps-name and
872         store in %pplatforms.
873         (canonicalize_platform): Remove.
874         (print_platforms): Use $pplatforms directly.
875         (by_platforms): Do not allow for platforms missing from
876         %pplatforms.
877         * sysdeps/aarch64/libm-test-ulps-name: New file.
878         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
879         * sysdeps/arm/libm-test-ulps-name: Likewise.
880         * sysdeps/generic/libm-test-ulps-name: Likewise.
881         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
882         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
883         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
884         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
885         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
886         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
887         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
888         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
889         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
890         * sysdeps/nios2/libm-test-ulps-name: Likewise.
891         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
892         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
893         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
894         * sysdeps/sh/libm-test-ulps-name: Likewise.
895         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
896         * sysdeps/tile/libm-test-ulps-name: Likewise.
897         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
899         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
901         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
902         (test-xfail-check-execstack): New variable.
904         * sysdeps/mips/localplt.data: New file.
906 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
907             Steve Ellcey  <sellcey@caviumnetworks.com>
909         * bits/wordsize.h: Add documentation.
910         * sysdeps/aarch64/bits/wordsize.h : New file
911         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
912         definitions.
913         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
914         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
915         with #if instead of #ifdef.
916         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
917         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
918         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
919         Add or change defines.
920         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
921         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
922         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
923         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
924         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
925         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
926         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
927         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
928         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
929         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
930         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
931         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
932         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
933         * sysdeps/x86/bits/wordsize.h: Likewise.
935 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
936             Kevin Petit  <kevin.petit@arm.com>
938         * sysdeps/aarch64/memchr.S (__memchr): New file.
940 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
942         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
944 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
946         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
947         $(linknamespace-symlists-tests).
949 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
951         * time/tst-strptime2.c: Ignore -Wformat-length warning.
953 2016-11-02  Florian Weimer  <fweimer@redhat.com>
954             Carlos O'Donell  <carlos@redhat.com>
956         [Bug #20729]
957         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
958         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
959         for -Os related change.
961 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
963         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
965 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
967         [BZ #19673]
968         * manual/math.texi (Exponents and Logarithms): Correct description
969         of clog10.
971 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
973         [Bz #20729]
974         * locale/weight.h: Include libc-internal.h.
975         * locale/weightwc.h: Likewise.
976         * nptl/nptl_dbP.h: Likewise.
978 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
980         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
981         when it is MACH_PORT_NULL.
983 2016-10-31  Andreas Schwab  <schwab@suse.de>
985         [BZ #20707]
986         * posix/glob.c (glob): Initialize pglob before checking for
987         GLOB_BRACE.  Don't call glob recursively if pattern contains no
988         valid brace expression despite GLOB_BRACE.
989         * posix/globtest.sh: Test it.
991 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
993         [BZ #20729]
994         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
995         Define.
996         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
997         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
998         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
999         for seq2.back_us and seq1.back_us only for -Os compiles.
1000         * locale/weightwc.h (findix): Likewise.
1001         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
1002         DB_GET_FIELD_ADDRESS only for -Os compiles.
1003         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
1004         for slen only for -Os compiles.
1005         * string/strcoll_l.c (get_next_seq): Ignore
1006         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
1007         for -Os compiles.
1009         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
1010         * include/crypt.h: New file.
1012 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1014         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
1015         from test-skeleton.c.
1016         (statclass): Replace calls to write with calls to write_message.
1018 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
1020         * math/math.h
1021         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
1022         New macro.
1023         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
1024         Likewise.
1025         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
1026         Likewise.
1027         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
1028         SNANL.
1029         * math/test-double.h (snan_value_MACRO): New macro.
1030         * math/test-float.h (snan_value_MACRO): Likewise.
1031         * math/test-ldouble.h (snan_value_MACRO): Likewise.
1032         * math/libm-test.inc (issignaling_test_data): Add tests of
1033         snan_value_MACRO.
1035 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1037         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
1038         behavior when eliding a lock not held by the current thread.
1039         * sysdeps/powerpc/nptl/elide.h: Likewise.
1041 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1043         [BZ #20728]
1044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
1045         branch to _exit() by a function call.
1047 2016-10-28  Florian Weimer  <fweimer@redhat.com>
1049         * malloc/malloc.c: Update chunk layout comments.
1050         (chunk_main_arena): Update comment.
1052 2016-10-28  Florian Weimer  <fweimer@redhat.com>
1054         * crypt/sha256.c, crypt/sha256-block.c,
1055         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
1056         sha256_process_block to __sha256_process_block.
1057         * crypt/sha512.c, crypt/sha512-block.c,
1058         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
1059         sha512_process_block to __sha512_process_block.
1061 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
1063         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
1065         * math/test-nan-overflow.c: Include stdlib.h for malloc.
1067 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
1069         [BZ #20019]
1070         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
1071         definition in unrelocated shared library.
1072         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1074 2016-10-28  Florian Weimer  <fweimer@redhat.com>
1076         [BZ #20729]
1077         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
1078         * sysdeps/unix/sysv/linux/i386/Makefile
1079         (uses-6-syscall-arguments): Define.
1080         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
1081         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
1082         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
1083         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
1084         Likewise.
1085         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
1086         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
1087         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
1088         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
1089         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
1090         (CFLAGS-fallocate64.os): Likewise.
1091         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
1092         (CFLAGS-pthread_rwlock_timedrdlock.os)
1093         (CFLAGS-pthread_rwlock_timedwrlock.o)
1094         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
1095         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
1096         (CFLAGS-sem_timedwait.os): Likewise.
1098 2016-10-28  Florian Weimer  <fweimer@redhat.com>
1100         * elf/tst-linkall-static.c: New file.
1101         * elf/Makefile (tests-static): Add tst-linkall-static.
1102         (tst-linkall-static): Link against static libraries.
1104 2016-10-27  Florian Weimer  <fweimer@redhat.com>
1106         * malloc/malloc.c (sysmalloc): Initialize previous size field of
1107         mmaped chunks.
1109 2016-10-28  Florian Weimer  <fweimer@redhat.com>
1111         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
1112         members to mchunk_prev_size, mchunk_size.
1113         (chunk_main_arena): Reverse sense and rename from
1114         chunk_non_main_arena.
1115         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
1116         mchunk_size instead of size.
1117         (set_non_main_arena): Define.
1118         (chunksize): Use chunksize_nomask instead of direct member access.
1119         (chunksize_nomask): Define.
1120         (next_chunk): Use chunksize instead of direct member access.
1121         (prev_size, set_prev_size): Define.
1122         (prev_chunk): Use prev_size instead of direct member access.
1123         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
1124         (inuse_bit_at_offset, set_inuse_bit_at_offset)
1125         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
1126         (mchunk_prev_size, mchunk_size): Poison tokens.
1127         (unlink): Use chunksize_nomask, prev_size accessors.
1128         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
1129         (do_check_free_chunk): Use prev_size accessor.
1130         (sysmalloc): Use set_prev_size, set_head accessors.
1131         (munmap_chunk, mremap_chunk): Use prev_size accessor.
1132         (__libc_free): Use chunksize_nomask accessor.
1133         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
1134         chunk_main_arena accessors.
1135         (_int_free): Use chunksize_nomask, prev_size accessors.
1136         (malloc_consolidate): Use chunksize, prev_size accessors.
1137         (_int_realloc): Use chunksize_nomask accessor.
1138         (_int_memalign): Use set_prev_size accessor.
1139         (__malloc_info): Use chunksize_nomask accessor.
1140         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
1141         accessors.
1142         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
1143         (heap_trim): Use chunksize_nomask, prev_size accessors.
1145 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
1147         [BZ #19380]
1148         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
1149         for inexact results.
1150         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
1151         of inexact result where mpfr_subnormalize is the only inexact
1152         step.
1153         * stdlib/tst-strtod-round-data.h: Regenerated.
1154         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
1155         Define to 0.
1156         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
1158 2016-10-27  David S. Miller  <davem@davemloft.net>
1160         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
1162 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1164         * malloc/malloc.c (do_set_mallopt_check): New function.
1165         (do_set_mmap_threshold): Likewise.
1166         (do_set_mmaps_max): Likewise.
1167         (do_set_top_pad): Likewise.
1168         (do_set_perturb_byte): Likewise.
1169         (do_set_trim_threshold): Likewise.
1170         (do_set_arena_max): Likewise.
1171         (do_set_arena_test): Likewise.
1172         (__libc_mallopt): Use them.
1174 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
1176         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1177         (canonicalize): New declaration.
1178         * math/Versions (canonicalize): New libm symbol at version
1179         GLIBC_2.25.
1180         (canonicalizef): Likewise.
1181         (canonicalizel): Likewise.
1182         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
1183         * math/s_canonicalize_template.c: New file.
1184         * math/libm-test.inc: Update comment on functions tested and
1185         testing of NaN payloads.
1186         (TEST_NAN_PAYLOAD): New macro.
1187         (NO_TEST_INLINE): Update value.
1188         (XFAIL_TEST): Likewise.
1189         (ERRNO_UNCHANGED): Likewise.
1190         (ERRNO_EDOM): Likewise.
1191         (ERRNO_ERANGE): Likewise.
1192         (IGNORE_RESULT): Likewise.
1193         (NON_FINITE): Likewise.
1194         (TEST_SNAN): Likewise.
1195         (NO_TEST_MATHVEC): Likewise.
1196         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
1197         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
1198         (struct test_Ffp_b1_data): New type.
1199         (RUN_TEST_Ffp_b1): New macro.
1200         (RUN_TEST_LOOP_Ffp_b1): Likewise.
1201         (canonicalize_test_data): New array.
1202         (canonicalize_test): New function.
1203         (main): Call canonicalize_test.
1204         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
1205         canonicalizef and canonicalizel.
1206         * manual/libm-err-tab.pl: Update comment on interfaces without
1207         ulps tabulated.
1208         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
1209         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
1210         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1211         canonicalize.
1212         (CFLAGS-nldbl-canonicalize.c): New variable.
1213         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
1214         to ...
1215         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
1216         ... here.
1217         (do_test): Also test canonicalizel.
1218         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
1219         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
1220         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
1221         file.
1222         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
1223         Use libm_hidden_def.
1224         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
1225         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
1226         (do_test): Also test canonicalizel.
1227         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
1228         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
1229         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
1230         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
1231         libm_hidden_def.
1232         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
1233         macro.
1234         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
1235         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
1236         * sysdeps/nacl/libm.abilist: Update.
1237         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1238         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1239         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1240         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1241         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1242         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1243         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1244         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1245         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1246         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1247         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1248         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1250         Likewise.
1251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1252         Likewise.
1253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1254         Likewise.
1255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1256         Likewise.
1257         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1258         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1259         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1260         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1261         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1262         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1263         Likewise.
1264         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1265         Likewise.
1266         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1267         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1268         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1270         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
1271         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1272         getpayload.
1273         (CFLAGS-nldbl-getpayload.c): New variable.
1275 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1277         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
1278         integer from the format string.
1280 2016-10-26  Florian Weimer  <fweimer@redhat.com>
1282         [BZ #19473]
1283         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
1284         declarations.
1285         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
1286         weak aliases.
1287         * malloc/hooks.c (__malloc_get_state): Remove definition.
1288         (malloc_get_state): New stub implementation as
1289         compatibility symbol.
1290         (malloc_set_state): Rename from __malloc_set_state.  Turn into
1291         compat symbol.
1292         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
1293         malloc_set_state.
1294         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
1296 2016-10-26  Florian Weimer  <fweimer@redhat.com>
1298         * iconvdata/iso646.c (enum variant): Drop illegal_var.
1299         (names): Turn into concatenation of strings.
1300         (gconv_init): Adapt iteration over names.
1302 2016-10-26  Florian Weimer  <fweimer@redhat.com>
1304         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
1305         make const.
1306         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
1307         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
1308         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
1309         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
1310         character in sbconv.
1311         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
1312         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
1313         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
1315 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1317         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
1319         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
1320         (M_TRIM_THRESHOLD): Likewise.
1322         * manual/memory.texi (M_ARENA_TEST): Add documentation.
1323         (M_ARENA_MAX): Likewise.
1324         * malloc/malloc.c: Remove obsolete comment.
1326         * manual/memory.texi: Add environment variable alternatives to
1327         setting mallopt parameters.
1329 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
1331         * include/atomic.h
1332         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
1333         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
1335 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1337         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
1338         * stdlib/tst-strfrom.h: New file.
1339         * stdlib/tst-strfrom.c: New file.
1340         * stdlib/tst-strfrom-locale.c: New file.
1342         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
1343         * stdlib/bug-strtod2.c: Likewise.
1344         * stdlib/tst-strtod-round-skeleton.c: Likewise.
1345         * stdlib/tst-strtod6.c: Likewise.
1346         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
1348 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1350         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
1351         * manual/arith.texi: Document strfromd, strfromf, strfroml.
1352         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
1353         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
1354         * stdlib/stdlib.h (strfromd): New declaration.
1355         (strfromf): Likewise.
1356         (strfroml): Likewise.
1357         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
1358         strfrom.
1359         * stdlib/strfromd.c: New file.
1360         * stdlib/strfromf.c: Likewise.
1361         * stdlib/strfroml.c: Likewise.
1362         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
1363         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
1364         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
1365         * sysdeps/arm/nacl/libc.abilist: Update.
1366         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
1367         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1368         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1369         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1370         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1371         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1372         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1373         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1374         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1375         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1376         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1377         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1378         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1379         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
1381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
1382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1384         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1385         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1386         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1387         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1388         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1389         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1390         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1391         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1392         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1393         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1395 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
1397         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
1398         instead of cmpli.
1399         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
1400         instead of cmpli.
1402 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
1404         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
1405         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
1406         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
1407         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1408         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1409         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1411 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1413         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
1414         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1415         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
1416         SYSCALL_LL64_PRW.
1417         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1418         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
1419         __ASSUME_PRW_DUMMY_ARG.
1420         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
1421         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1422         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1423         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1424         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
1425         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
1427 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
1429         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
1431 2016-10-22  Florian Weimer  <fweimer@redhat.com>
1433         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
1434         "C++", to override a potential extern "C" directive around the
1435         header file inclusion.
1437 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
1439         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
1441 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1443         * sysdeps/powerpc/fpu/fenv_private.h:
1444         (_FPU_MASK_ALL): Rename to...
1445         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
1446         XE FPSCR bits.
1448         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
1450         (_FPU_MASK_ROUNDING): Rename to...
1451         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
1452         NI bits.
1454         (_FPU_MASK_EXCEPT_ROUND): Rename to...
1455         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
1456         bits and rounding bits.
1458         (__libc_feholdbits_ppc): New inline function to mask, set,
1459         and pontentially clear FSPCR bits, and change MSR[FE] bits.
1460         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
1461         (libc_feholdexcept_setround_ppc): Likewise.
1463         (__libc_femergeenv_ppc): New function to dynamically mask both
1464         old and new FP environments and merge.
1465         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
1466         (libc_feresetround_ppc): Likewise.
1467         (libc_feupdateenv_test_ppc): Likewise.
1468         (libc_feupdateenv_ppc): Likewise.
1470         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
1471         of ISA RN bits, and update macro names.
1472         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
1473         effectively the same as the previously mentioned function.
1475         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
1476         usage with fe_resetround_ppc.
1478         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
1479         to be used.
1480         (libc_feholdexcept_setround_ctxf): Likewise.
1481         (libc_feholdexcept_setround_ctxl): Likewise.
1483 2016-10-21  Florian Weimer  <fweimer@redhat.com>
1485         [BZ #20715]
1486         * math/math.h [__cplusplus] (iszero): Define as function template.
1487         * math/Makefile [CXX] (tests): Add test-math-iszero.
1488         (CFLAGS-test-math-iszero.cc): Set.
1489         * math/test-math-iszero.cc: New file.
1491 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
1493         [BZ #20660]
1494         * sysdeps/arm/e_sqrt.c: New file.
1495         * sysdeps/arm/e_sqrtf.c: Likewise.
1497 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
1499         [BZ #20718]
1500         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
1501         not use floating-point comparisons to test sign.
1502         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
1503         Likewise.
1505         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1506         (getpayload): New declaration.
1507         * math/Versions (getpayload): New libm symbol at version
1508         GLIBC_2.25.
1509         (getpayloadf): Likewise.
1510         (getpayloadl): Likewise.
1511         * math/Makefile (libm-calls): Add s_getpayloadF.
1512         * math/libm-test.inc: Include <nan-high-order-bit.h>.
1513         (struct test_f_f_data): Add comment.
1514         (RUN_TEST_fp_f): New macro.
1515         (RUN_TEST_LOOP_fp_f): Likewise.
1516         (getpayload_test_data): New array.
1517         (getpayload_test): New function.
1518         (main): Call getpayload_test.
1519         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
1520         descriptor.
1521         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
1522         getpayloadf and getpayloadl.
1523         * manual/libm-err-tab.pl: Update comment on interfaces without
1524         ulps tabulated.
1525         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
1526         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
1527         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
1528         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
1529         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
1530         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
1531         * sysdeps/nacl/libm.abilist: Update.
1532         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1533         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1534         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1535         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1536         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1537         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1538         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1539         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1540         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1541         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1542         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1543         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1545         Likewise.
1546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1547         Likewise.
1548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1549         Likewise.
1550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1551         Likewise.
1552         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1553         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1554         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1555         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1556         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1558         Likewise.
1559         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1560         Likewise.
1561         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1562         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1563         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1565 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1567         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
1568         tst-fallocate{64}.
1569         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
1570         on syscall return.
1572 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
1574         [BZ #20689]
1575         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
1576         usable.
1578 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
1580         * sysdeps/generic/nan-high-order-bit.h: New file.
1581         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
1582         * sysdeps/mips/nan-high-order-bit.h: Likewise.
1583         * sysdeps/hppa/math_private.h: Remove file.
1584         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
1585         not define here.
1586         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
1587         <nan-high-order-bit.h>.
1588         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1589         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
1590         <nan-high-order-bit.h>.
1591         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1592         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
1593         <nan-high-order-bit.h>.
1594         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1595         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
1596         <nan-high-order-bit.h>.
1597         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1598         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
1599         <nan-high-order-bit.h>.
1600         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1601         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
1602         <nan-high-order-bit.h>.
1603         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1604         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
1605         <nan-high-order-bit.h>.
1606         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1607         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
1608         <nan-high-order-bit.h>.
1609         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1610         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
1611         <nan-high-order-bit.h>.
1612         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1613         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
1614         <nan-high-order-bit.h>.
1615         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1616         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
1617         <nan-high-order-bit.h>.
1618         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1619         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
1620         <nan-high-order-bit.h>.
1621         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1622         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
1623         <nan-high-order-bit.h>.
1624         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1625         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
1626         <nan-high-order-bit.h>.
1627         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1628         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
1629         <nan-high-order-bit.h>.
1630         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1631         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
1632         <nan-high-order-bit.h>.
1633         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1634         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
1635         <nan-high-order-bit.h>.
1636         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1637         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
1638         <nan-high-order-bit.h>.
1639         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1641 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1643         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
1645 2016-09-22  John David Anglin  <dave.anglin@bell.net>
1647         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
1648         abort-instr.h.
1649         (EFAULT): Remove conditional define.
1650         (ENOSYS): Likewise.
1651         (atomic_compare_and_exchange_val_acq): Use instruction nullification
1652         instead of conditional branch instructions.
1654 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
1656         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1657         (totalordermag): New declaration.
1658         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
1659         New macro.
1660         * math/Versions (totalordermag): New libm symbol at version
1661         GLIBC_2.25.
1662         (totalordermagf): Likewise.
1663         (totalordermagl): Likewise.
1664         * math/Makefile (libm-calls): Add s_totalordermagF.
1665         * math/libm-test.inc (totalordermag_test_data): New array.
1666         (totalordermag_test): New function.
1667         (main): Call totalordermag_test.
1668         * math/test-tgmath.c (NCALLS): Increase to 125.
1669         (F(compile_test)): Call totalordermag.
1670         (F(totalordermag)): New function.
1671         * manual/arith.texi (FP Comparison Functions): Document
1672         totalordermag, totalordermagf and totalordermagl.
1673         * manual/libm-err-tab.pl: Update comment on interfaces without
1674         ulps tabulated.
1675         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
1676         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
1677         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
1678         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
1679         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
1680         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
1681         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
1682         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1683         totalordermag.
1684         (CFLAGS-nldbl-totalordermag.c): New variable.
1685         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
1686         (do_test): Also test totalordermagl.
1687         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
1688         Likewise.
1689         * sysdeps/nacl/libm.abilist: Update.
1690         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1691         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1692         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1693         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1694         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1695         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1696         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1697         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1698         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1699         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1700         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1701         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1703         Likewise.
1704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1705         Likewise.
1706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1707         Likewise.
1708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1709         Likewise.
1710         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1711         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1712         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1713         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1714         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1715         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1716         Likewise.
1717         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1718         Likewise.
1719         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1720         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1721         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1723 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
1725         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
1726         boolean.
1728 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
1730         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
1731         raising FE_INVALID with feraisexcept in case where part of
1732         argument is infinite, subtract that part of argument from itself.
1733         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
1734         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
1735         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
1737 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
1739         * math/libm-test.inc (totalorder_test_data): Add more tests.
1741 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
1743         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
1744         Undefine weak_alias and add a comment why mips64 require
1745         versioning.
1747 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
1749         [BZ #20647]
1750         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
1751         maximum CPUID level is less than 2.
1753 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
1755         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1756         (totalorder): New declaration.
1757         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
1758         New macro.
1759         * math/Versions (totalorder): New libm symbol at version
1760         GLIBC_2.25.
1761         (totalorderf): Likewise.
1762         (totalorderl): Likewise.
1763         * math/Makefile (libm-calls): Add s_totalorderF.
1764         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
1765         string.
1766         * math/libm-test.inc (PAYLOAD_DIG): New macro.
1767         (qnan_value_pl): Likewise.
1768         (snan_value_pl): Likewise.
1769         (qnan_value): Define using qnan_value_pl.
1770         (snan_value): Define using snan_value_pl.
1771         (struct test_ff_i_data): Add comment about which tests use this
1772         structure.
1773         (RUN_TEST_ff_b): New macro.
1774         (RUN_TEST_LOOP_ff_b): Likewise.
1775         (totalorder_test_data): New array.
1776         (totalorder_test): New function.
1777         (main): Call totalorder_test.
1778         * math/test-tgmath.c (NCALLS): Increase to 122.
1779         (F(compile_test)): Call totalorder.
1780         (F(totalorder)): New function.
1781         * manual/arith.texi (FP Comparison Functions): Document
1782         totalorder, totalorderf and totalorderl.
1783         * manual/libm-err-tab.pl: Update comment on interfaces without
1784         ulps tabulated.
1785         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
1786         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
1787         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
1788         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
1789         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
1790         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
1791         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
1792         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1793         totalorder.
1794         (CFLAGS-nldbl-totalorder.c): New variable.
1795         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
1796         file.
1797         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
1798         Add test-totalorderl-ldbl-128ibm.
1799         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
1800         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
1801         test-totalorderl-ldbl-96.
1802         * sysdeps/nacl/libm.abilist: Update.
1803         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1804         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1805         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1806         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1807         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1808         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1809         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1810         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1811         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1812         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1813         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1814         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1816         Likewise.
1817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1818         Likewise.
1819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1820         Likewise.
1821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1822         Likewise.
1823         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1824         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1825         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1826         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1827         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1828         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1829         Likewise.
1830         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1831         Likewise.
1832         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1833         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1834         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1836 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1838         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
1839         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
1840         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
1841         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
1842         remove ENOSYS implementation.
1843         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
1844         Consolidate all Linux implementations.
1846 2016-10-11  Florian Weimer  <fweimer@redhat.com>
1848         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
1849         * resolv/herror.c (herror): Cast away const-ness.
1850         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
1851         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
1853 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
1855         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
1856         instead of M_NAN + M_NAN.
1857         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
1859 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1861         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
1862         unused variable 'p'.
1864 2016-10-09  Alan Modra  <amodra@gmail.com>
1865             Andreas Schwab  <schwab@linux-m68k.org>
1867         [BZ #20554]
1868         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
1869         [PIC && !SHARED]: Set up PIC register for PLT call.
1871 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
1873         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
1874         conditional on value of [__FLT_EVAL_METHOD__].
1875         * math/test-iseqsig-excess-precision.c: New file.
1876         * math/Makefile (tests): Add test-iseqsig-excess-precision.
1878 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1880         * math/s_iseqsig_template.c: Include math-private.h.
1882         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
1883         * posix/tst-posix_fadvise.c: New file.
1884         * posix/tst-posix_fadvise64.c: Likewise.
1885         * posix/tst-posix_fadvise-common.c: Likewise.
1886         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1887         (__ASSUME_FADVISE64_64_6ARG): Define.
1888         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1889         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
1890         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1891         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
1892         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
1893         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
1894         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
1895         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
1896         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
1897         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
1898         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
1899         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
1900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
1901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
1902         Likewise.
1903         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
1904         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
1905         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
1906         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
1907         Alias to __posix_fadvise64_l32.
1908         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
1909         Add compat definition to posix_fadvise64.
1910         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
1911         Add versioned definition to posix_fadvise64.
1912         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
1913         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
1914         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
1915         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
1916         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
1918         * io/Makefile (tests): Add tst-posix_fallocate and
1919         tst-posix_fallocate64.
1920         * io/tst-posix_fallocate-common.c: New file.
1921         * io/tst-posix_fallocate.c: Likewise.
1922         * io/tst-posix_fallocate64.c: Likewise.
1923         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
1924         file.
1925         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
1926         Likewise.
1927         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
1928         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
1929         Likewise.
1930         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
1931         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
1932         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
1933         SYSCALL_LL to pass both offset and len arguments.
1934         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
1935         Likewise.
1936         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
1937         __libc_pwrite64 alias used by posix_fallocate64.
1939         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
1940         tst-fallocate64.
1941         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
1942         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
1943         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
1944         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
1945         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
1946         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
1947         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
1948         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
1949         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
1950         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
1951         macro on offset argument.
1952         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
1953         SYSCALL_LL64 on offset argument.
1955         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
1956         tst-fallocate64.
1957         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
1958         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
1959         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
1960         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
1961         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
1962         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
1963         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
1964         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
1965         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
1966         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
1967         macro on offset argument.
1968         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
1969         SYSCALL_LL64 on offset argument.
1970         * test-skeleton.c (FAIL_RET): Add macro.
1971         (FAIL_EXIT): Likewise.
1972         (FAIL_EXIT1): Likewise.
1973         (_FAIL): Likewise.
1975 2016-10-07  Florian Weimer  <fweimer@redhat.com>
1977         [BZ #20629]
1978         resolv: Remove RES_USEBSTRING and its implementation.
1979         * resolv/resolv.h (RES_USEBSTRING): Remove.
1980         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
1981         (digitvalue, encode_bitstring, decode_bitstring): Remove.
1982         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
1983         (labellen): Remove extended label types support.
1984         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
1985         * resolv/res_init.c (res_setoptions): Likewise.
1986         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
1988 2016-10-07  Florian Weimer  <fweimer@redhat.com>
1990         resolv: Remove RES_NOIP6DOTINT and its implementation.
1991         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
1992         (RES_NOIP6DOTINT): Remove.
1993         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
1994         handling.
1995         * resolv/res_debug.c (p_option): Likewise.
1996         * resolv/res_init.c (res_setoptions): Likewise.
1997         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
1999 2016-10-07  Florian Weimer  <fweimer@redhat.com>
2001         resolv: Deprecate unimplemented flags.
2002         * misc/sys/cdefs.h (__glibc_macro_warning1)
2003         (__glibc_macro_warning): Define.
2004         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
2005         (RES_KEEPTSIG): Mark as deprecated.
2006         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
2007         RES_NOCHECKNAME, RES_KEEPTSIG.
2008         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
2010 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2012         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
2013         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
2014         Use strong_alias to create symbols for glibc verison 2.19.
2016 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2018         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
2020 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2022         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
2024 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2026         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
2028 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2030         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
2031         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
2032         in header for using it as type for ifunc function because __GI_* symbols
2033         for ppc32 do not target the ifunc symbols.
2034         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
2036 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2038         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
2039         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
2040         libc_ifunc_hidden_def.
2041         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
2042         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
2043         Redirect ifunced function in header for using it as type of ifunc'ed
2044         function. Redefine libc_hidden_def to use fallback non ifunc'ed
2045         function for __GI_* symbol.
2046         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
2047         * include/libc-symbols.h
2048         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
2050 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2052         [BZ #20478]
2053         * sysdeps/s390/multiarch/ifunc-resolve.h
2054         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
2055         to create ifunc symbols.
2056         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
2057         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
2058         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
2059         for using it as type for ifunc function.
2060         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
2061         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
2062         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
2063         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
2064         * sysdeps/s390/multiarch/strcat.c: Likewise.
2065         * sysdeps/s390/multiarch/strchr.c: Likewise.
2066         * sysdeps/s390/multiarch/strcmp.c: Likewise.
2067         * sysdeps/s390/multiarch/strcpy.c: Likewise.
2068         * sysdeps/s390/multiarch/strcspn.c: Likewise.
2069         * sysdeps/s390/multiarch/strlen.c: Likewise.
2070         * sysdeps/s390/multiarch/strncmp.c: Likewise.
2071         * sysdeps/s390/multiarch/strncpy.c: Likewise.
2072         * sysdeps/s390/multiarch/strnlen.c: Likewise.
2073         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
2074         * sysdeps/s390/multiarch/strrchr.c: Likewise.
2075         * sysdeps/s390/multiarch/strspn.c: Likewise.
2076         * sysdeps/s390/multiarch/wcschr.c: Likewise.
2077         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
2078         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
2079         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
2080         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
2081         * sysdeps/s390/multiarch/wmemset.c: Likewise.
2082         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
2083         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
2084         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
2085         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
2086         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
2087         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
2089 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2091         * include/libc-symbols.h (__ifunc_resolver):
2092         New macro is used by __ifunc* macros.
2093         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
2094         depending on HAVE_GCC_IFUNC.
2095         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
2096         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
2097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
2098         Redirect ifunced function in header for using as type for ifunc function.
2099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
2100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
2101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
2102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
2103         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
2104         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
2105         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
2106         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
2107         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
2108         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
2109         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
2110         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
2111         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
2112         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
2113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
2115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
2117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
2118         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
2119         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
2120         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
2121         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
2122         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
2123         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
2124         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
2125         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
2126         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
2127         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
2128         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
2129         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
2130         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
2131         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
2133         Add libc_hidden_def() and use libc_ifunc_hidden() macro
2134         instead of libc_ifunc() macro.
2135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
2136         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
2138 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2140         * config.h.in (HAVE_GCC_IFUNC): New undef.
2141         * configure.ac: Add check if gcc supports attribute ifunc feature.
2142         * configure: Regenerated.
2143         * manual/install.texi: Add recommendation for gcc with
2144         indirect-function support.
2145         * INSTALL: Regenerated.
2147 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
2149         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
2150         macro.
2151         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2152         (__iseqsig): New declaration.
2153         * math/s_iseqsig_template.c: New file.
2154         * math/Versions (__iseqsigf): New libm symbol at version
2155         GLIBC_2.25.
2156         (__iseqsig): Likewise.
2157         (__iseqsigl): Likewise.
2158         * math/libm-test.inc (iseqsig_test_data): New array.
2159         (iseqsig_test): New function.
2160         (main): Call iseqsig_test.
2161         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
2162         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
2163         * manual/libm-err-tab.pl: Update comment on interfaces without
2164         ulps tabulated.
2165         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
2166         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
2167         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
2168         * sysdeps/nacl/libm.abilist: Update.
2169         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2170         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2171         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2172         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2173         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2174         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2175         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2176         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2177         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2178         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2179         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2180         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2182         Likewise.
2183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2184         Likewise.
2185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2186         Likewise.
2187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2188         Likewise.
2189         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2190         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2191         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2192         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2193         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2194         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2195         Likewise.
2196         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2197         Likewise.
2198         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2199         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2200         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2202 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2204         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
2205         do_sincos_2, sloww, sloww1): Update comments.
2207         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
2208         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
2210         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
2211         K boolean and rename it.
2212         (__sin): Adjust.
2213         (__cos): Adjust.
2215 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
2216             Siddhesh Poyarekar  <siddhesh@sourceware.org>
2218         * manual/nss.texi: Fix typos in the manual.
2220 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
2222         * manual/contrib.texi: Fix typos in the manual.
2224         * manual/maint.texi: Fix typos in the manual.
2226         * manual/install.texi: Fix typos in the manual.
2227         * INSTALL: Regenerated.
2229         * manual/lang.texi: Fix typos in the manual.
2231         * manual/probes.texi: Fix typos in the manual.
2233         * manual/threads.texi: Fix typos in the manual.
2235         * manual/debug.texi: Fix typos in the manual.
2237         * manual/crypt.texi: Fix typos in the manual.
2239         * manual/conf.texi: Fix typos in the manual.
2241         * manual/sysinfo.texi: Fix typos in the manual.
2243         * manual/users.texi: Fix typos in the manual.
2245         * manual/job.texi: Fix typos in the manual.
2247         * manual/process.texi: Fix typos in the manual.
2249         * manual/argp.texi: Fix typos in the manual.
2250         * manual/getopt.texi: Likewise.
2251         * manual/startup.texi: Likewise.
2253         * manual/signal.texi: Fix typos in the manual.
2255         * manual/setjmp.texi: Fix typos in the manual.
2257         * manual/resource.texi: Fix typos in the manual.
2259         * manual/time.texi: Fix typos in the manual.
2261         * manual/arith.texi: Fix typos in the manual.
2263         * manual/math.texi: Fix typos in the manual.
2265         * manual/syslog.texi: Fix typos in the manual.
2267         * manual/terminal.texi: Fix typos in the manual.
2269         * manual/socket.texi: Fix typos in the manual.
2271         * manual/filesys.texi: Fix typos in the manual.
2273         * manual/llio.texi: Fix typos in the manual.
2275         * manual/stdio.text: Fix typos in the manual.
2277 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2279         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
2280         instead of K1.
2282         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
2283         SHIFT_QUADRANT and make it bool.
2284         (do_sincos_2): Likewise.
2285         (sloww): Likewise.
2286         (sloww1): Likewise.
2287         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
2288         (__cos): Likewise.
2290 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2292         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
2294 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
2296         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
2297         Define to __WORDSIZE, not conditional on [LONG_MAX ==
2298         0x7fffffffL].
2299         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
2301 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2303         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
2304         inline by __inline__.
2305         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
2306         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
2307         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
2308         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
2309         sigset_t from signal.h.
2310         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
2311         which is already required.
2313 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
2315         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2317 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
2319         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
2320         (struct tcp_repair_window): New type.
2322 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2324         * libio/tst-memstream3.c: Include string.h.
2326 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2328         [BZ #18241]
2329         [BZ #20181]
2330         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
2331         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
2332         write position is at the end the buffer.
2333         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
2334         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
2335         (_IO_str_seekoff): Set correct offset from negative displacement and
2336         set EINVAL for invalid ones.
2337         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
2338         buffer length.
2339         (_IO_wstr_switch_to_get_mode): New function.
2340         (_IO_wstr_seekoff): Set correct offset from negative displacement and
2341         set EINVAL for invalid ones.
2342         * libio/tst-memstream3.c: New file.
2343         * libio/tst-wmemstream3.c: Likewise.
2344         * manual/examples/memstrm.c: Remove warning when priting size_t.
2346 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
2348         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
2349         macro to use __builtin_fma.
2350         * sysdeps/x86_64/fpu/dla.h: Remove file.
2352         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
2353         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
2354         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
2356 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
2358         [BZ #20292]
2359         * elf/Makefile (routines): Add dl-addr-obj.
2360         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
2361         tst-_dl_addr_inside_object.
2362         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
2363         [ifeq (yesyes,$(have-fpie)$(build-shared))]
2364         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
2365         [ifeq (yesyes,$(have-fpie)$(build-shared))]
2366         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
2367         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
2368         * elf/dl-open.c: Likewise.
2369         * elf/dl-addr-obj.c: New file.
2370         * elf/tst-_dl_addr_inside_object.c: New file.
2372 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
2374         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
2375         <bits/iscanonical.h>.
2376         * bits/iscanonical.h: New file.
2377         * math/s_iscanonicall.c: Likewise.
2378         * math/Versions (__iscanonicall): New libm symbol at version
2379         GLIBC_2.25.
2380         * math/libm-test.inc (iscanonical_test_data): New array.
2381         (iscanonical_test): New function.
2382         (main): Call iscanonical_test.
2383         * math/Makefile (headers): Add bits/iscanonical.h.
2384         (type-ldouble-routines): Add s_iscanonicall.
2385         * manual/arith.texi (Floating Point Classes): Document
2386         iscanonical.
2387         * manual/libm-err-tab.pl: Update comment on interfaces without
2388         ulps tabulated.
2389         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
2390         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
2391         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
2392         Likewise.
2393         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
2394         test-iscanonical-ldbl-128ibm.
2395         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
2396         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
2397         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
2398         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
2399         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
2400         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2401         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2403         Likewise.
2404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2405         Likewise.
2406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2407         Likewise.
2408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2409         Likewise.
2410         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2411         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2413 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2415         * string/bits/string3.h: Remove C++ style comments.
2417 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2419         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
2420         instead of ternary condition.
2421         (do_sincos_2): Likewise.
2422         (__sin): Likewise.
2423         (__cos): Likewise.
2424         (slow): Likewise.
2425         (sloww): Likewise.
2426         (sloww1): Likewise.
2427         (bsloww): Likewise.
2428         (bsloww1): Likewise.
2430         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
2431         instead of ternary condition.
2432         (do_sin_slow): Likewise.
2433         (do_sincos_1): Likewise.
2434         (do_sincos_2): Likewise.
2435         (__cos): Likewise.
2436         (sloww): Likewise.
2437         (sloww1): Likewise.
2438         (sloww2): Likewise.
2439         (bsloww): Likewise.
2440         (bsloww1): Likewise.
2441         (bsloww2): Likewise.
2443         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
2444         check from here...
2445         (slow2): ... and here...
2446         (__sin): ... to here.
2448 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
2450         * math/math.h
2451         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
2452         Cast argument to its own type.
2453         * math/test-iszero-excess-precision.c: New file.
2454         * math/Makefile (tests): Add test-iszero-excess-precision.
2455         (CFLAGS-test-iszero-excess-precision.c): New variable.
2457 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
2459         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
2460         field, add err field.
2461         (__spawni_child): Report error through err member instead of pipe.
2462         (__spawnix): Likewise.
2464 2016-09-28  Zack Weinberg  <zackw@panix.com>
2466         * scripts/check-installed-headers.sh: Generalize treatment of
2467         sys/elf.h to all target architectures.
2469         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
2470         deleted typedef ucontext_t.
2472 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2474         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
2475         (__INTERNAL_SYSCALL1): Likewise.
2476         (__INTERNAL_SYSCALL2): Likewise.
2477         (__INTERNAL_SYSCALL3): Likewise.
2478         (__INTERNAL_SYSCALL4): Likewise.
2479         (__INTERNAL_SYSCALL5): Likewise.
2480         (__INTERNAL_SYSCALL6): Likewise.
2481         (__INTERNAL_SYSCALL7): Likewise.
2482         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
2483         (__INTERNAL_SYSCALL_NARGS): Likewise.
2484         (__INTERNAL_SYSCALL_DISP): Likewise.
2485         (INTERNAL_SYSCALL_CALL): Likewise.
2486         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
2487         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
2488         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
2489         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
2490         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
2491         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
2492         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
2493         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
2494         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
2495         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
2496         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
2497         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
2498         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
2500 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
2502         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
2503         macro.
2504         * math/libm-test.inc (iszero_test_data): New array.
2505         (iszero_test): New function.
2506         (main): Call iszero_test.
2507         * manual/arith.texi (Floating Point Classes): Document iszero.
2508         * manual/libm-err-tab.pl: Update comment on interfaces without
2509         ulps tabulated.
2511 2016-09-23  Zack Weinberg  <zackw@panix.com>
2513         * scripts/check-installed-headers.sh: New script.
2514         * Rules: In each directory that defines header files to be installed,
2515         run check-installed-headers.sh on them as a special test.
2516         * Makefile: Likewise for the headers installed at top level.
2518         * include/aliases.h, include/alloca.h, include/argz.h
2519         * include/arpa/nameser.h, include/arpa/nameser_compat.h
2520         * include/elf.h, include/envz.h, include/err.h
2521         * include/execinfo.h, include/fpu_control.h, include/getopt.h
2522         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
2523         * include/link.h, include/malloc.h, include/mcheck.h
2524         * include/mntent.h, include/netinet/ether.h
2525         * include/nss.h, include/obstack.h, include/printf.h
2526         * include/pty.h, include/resolv.h, include/rpc/auth.h
2527         * include/rpc/auth_des.h, include/rpc/auth_unix.h
2528         * include/rpc/clnt.h, include/rpc/des_crypt.h
2529         * include/rpc/key_prot.h, include/rpc/netdb.h
2530         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
2531         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
2532         * include/rpc/rpc_msg.h, include/rpc/svc.h
2533         * include/rpc/svc_auth.h, include/rpc/xdr.h
2534         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
2535         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
2536         * include/rpcsvc/ypupd.h, include/shadow.h
2537         * include/stdio_ext.h, include/sys/epoll.h
2538         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
2539         * include/sys/prctl.h, include/sys/profil.h
2540         * include/sys/statfs.h, include/sys/sysctl.h
2541         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
2542         * sysdeps/arm/nacl/include/bits/setjmp.h
2543         * sysdeps/mips/include/sys/asm.h
2544         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
2545         * sysdeps/unix/sysv/linux/include/sys/timex.h
2546         * sysdeps/x86/fpu/include/bits/fenv.h:
2547         Add #ifndef _ISOMAC guard around internal declarations.
2548         Add multiple-inclusion guard if not already present.
2550 2016-09-23  Zack Weinberg  <zackw@panix.com>
2552         * sysdeps/generic/sys/ucontext.h
2553         * sysdeps/arm/sys/ucontext.h
2554         * sysdeps/i386/sys/ucontext.h
2555         * sysdeps/m68k/sys/ucontext.h
2556         * sysdeps/mips/sys/ucontext.h
2557         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
2558         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
2559         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
2560         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
2561         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
2562         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
2563         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
2564         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
2565         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
2566         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
2567         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
2568         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
2569         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
2570         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
2571         Include both bits/sigcontext.h and bits/sigstack.h.
2572         Fix grammar error in comment, if present.
2574         * bits/sigstack.h
2575         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
2576         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
2577         * sysdeps/unix/sysv/linux/bits/sigstack.h
2578         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
2579         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
2580         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
2581         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
2582         * bits/sigcontext.h
2583         * sysdeps/mach/hurd/i386/bits/sigcontext.h
2584         * sysdeps/unix/sysv/linux/bits/sigcontext.h
2585         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
2586         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
2587         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
2588         as well as signal.h, if this was not already allowed.  Request
2589         definition of size_t if necessary.  Minimize semantically-null
2590         differences across files.
2592 2016-09-23  Zack Weinberg  <zackw@panix.com>
2594         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
2595         Remove all logic conditional on __need macros.  Move all the
2596         conditionally defined types to their own headers...
2597         * time/bits/types/clock_t.h: Define clock_t here.
2598         * time/bits/types/clockid_t.h: Define clockid_t here.
2599         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
2600         * time/bits/types/struct_timespec.h: Define struct timespec here.
2601         * time/bits/types/struct_timeval.h: Define struct timeval here.
2602         * time/bits/types/struct_tm.h: Define struct tm here.
2603         * time/bits/types/time_t.h: Define time_t here.
2604         * time/bits/types/timer_t.h: Define timer_t here.
2605         * time/Makefile: Install the new headers.
2607         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
2608         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
2609         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
2610         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
2611         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
2612         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
2613         * sysdeps/unix/sysv/linux/bits/resource.h
2614         * sysdeps/unix/sysv/linux/bits/timex.h
2615         * sysdeps/unix/sysv/linux/mips/bits/resource.h
2616         * sysdeps/unix/sysv/linux/net/ppp_defs.h
2617         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
2618         * sysdeps/unix/sysv/linux/sys/acct.h
2619         * sysdeps/unix/sysv/linux/sys/timerfd.h
2620         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
2621         * time/sys/time.h, time/sys/timeb.h
2622         Use the new bits/types headers.
2624         * include/time.h: Remove __need logic.
2625         * include/bits/time.h
2626         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
2627         * include/bits/types/time_t.h, include/bits/types/timer_t.h
2628         * include/bits/types/struct_itimerspec.h
2629         * include/bits/types/struct_timespec.h
2630         * include/bits/types/struct_timeval.h
2631         * include/bits/types/struct_tm.h:
2632         New wrapper headers.
2634 2016-09-23  Zack Weinberg  <zackw@panix.com>
2636         * sysdeps/mach/hurd/net/if_ppp.h
2637         * sysdeps/unix/sysv/linux/net/if_ppp.h:
2638         Only define struct ifpppstatsreq and struct ifpppcstatsreq
2639         if __USE_MISC is defined, to ensure struct ifreq is declared.
2641         * inet/netinet/ether.h: Condition all function prototypes
2642         on __USE_MISC, to ensure struct ether_addr is declared.
2644         * socket/bits/types/struct_osockaddr.h: New header.
2645         * include/bits/types/struct_osockaddr.h: New wrapper.
2646         * socket/Makefile: Install the new header.
2647         * socket/sys/socket.h, inet/protocols/talkd.h:
2648         Refer to bits/types/struct_osockaddr.h for the definition of
2649         struct osockaddr.
2651 2016-09-23  Zack Weinberg  <zackw@panix.com>
2653         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
2654         * inet/protocols/routed.h, inet/protocols/talkd.h
2655         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
2656         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
2657         * sysdeps/generic/netinet/if_ether.h
2658         * sysdeps/generic/netinet/in_systm.h
2659         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
2660         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
2661         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
2662         * sysdeps/mach/hurd/net/if_arp.h
2663         * sysdeps/mach/hurd/net/if_ppp.h
2664         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
2665         * sysdeps/unix/sysv/linux/bits/in.h
2666         * sysdeps/unix/sysv/linux/net/ethernet.h
2667         * sysdeps/unix/sysv/linux/net/if_arp.h
2668         * sysdeps/unix/sysv/linux/net/if_ppp.h
2669         * sysdeps/unix/sysv/linux/net/if_shaper.h
2670         * sysdeps/unix/sysv/linux/net/route.h
2671         * sysdeps/unix/sysv/linux/netinet/if_ether.h
2672         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
2673         * sysdeps/unix/sysv/linux/netinet/if_tr.h
2674         * sysdeps/unix/sysv/linux/netipx/ipx.h
2675         * sysdeps/unix/sysv/linux/sys/acct.h
2676         * include/arpa/nameser.h, include/resolv.h:
2677         Change all uses of u_char to unsigned char,
2678         u_short and ushort to unsigned short, u_int and uint to unsigned int,
2679         u_long and ulong to unsigned long, u_int8_t to uint8_t,
2680         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
2681         and u_int64_t and u_quad_t to uint64_t.
2683         * mach/sys/reboot.h: Remove two casts of integer literals
2684         to the types they already have.
2686         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
2687         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
2688         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
2689         from referring to 'unsigned char' to 'uint8_t' for consistency with
2690         the macro definition below.
2692         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
2693         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
2694         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
2695         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
2696         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
2697         * sysdeps/unix/sysv/linux/sys/acct.h
2698         * include/arpa/nameser.h, include/resolv.h:
2699         Fix indentation disrupted by mechanical edits.
2701         * inet/protocols/talkd.h, resolv/arpa/nameser.h
2702         * sysdeps/generic/netinet/in_systm.h
2703         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
2704         * sysdeps/gnu/netinet/udp.h
2705         * sysdeps/unix/sysv/linux/net/ethernet.h
2706         * sysdeps/unix/sysv/linux/net/if_arp.h
2707         * sysdeps/unix/sysv/linux/net/if_ppp.h
2708         * sysdeps/unix/sysv/linux/net/if_shaper.h
2709         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
2710         * sysdeps/unix/sysv/linux/netinet/if_tr.h
2711         * sysdeps/unix/sysv/linux/netipx/ipx.h
2712         * sysdeps/unix/sysv/linux/sys/acct.h
2713         Include stdint.h for uintNN_t definitions.
2714         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
2716 2016-09-23  Zack Weinberg  <zackw@panix.com>
2718         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
2719         * sysdeps/unix/sysv/linux/netrose/rose.h:
2720         Include sys/socket.h and netax25/ax25.h.
2722         * inet/netinet/icmp6.h, inet/netinet/ip6.h
2723         * resolv/arpa/nameser_compat.h:
2724         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
2726         * sysdeps/unix/sysv/linux/sys/quota.h:
2727         Use __caddr_t instead of caddr_t.
2728         * sysdeps/unix/sysv/linux/sys/timerfd.h:
2729         Use __clockid_t instead of clockid_t.
2731         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
2733         * argp/argp.h: Check whether _LIBC is defined before expanding it.
2734         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
2735         expanding it.
2737         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
2738         Define __glibc_c99_flexarr_available to 1 when the compiler
2739         supports C99-compatible flexible array members, 0 otherwise.
2740         * sysdeps/unix/sysv/linux/bits/socket.h
2741         * sysdeps/mach/hurd/bits/socket.h
2742         * bits/socket.h: Use __glibc_c99_flexarr_available in
2743         definitions of struct cmsghdr and CMSG_DATA.
2745 2016-09-23  Florian Weimer  <fweimer@redhat.com>
2747         * manual/nss.texi (NSS Modules Interface): Adjust function return
2748         type to enum nss_status.  Document errnop argument.  Clarify
2749         h_errnop semantics.  Fix cross-reference formatting.
2750         (NSS Module Function Internals): Mention that *errnop needs to be
2751         set on failure, but not to zero.
2753 2016-09-23  Florian Weimer  <fweimer@redhat.com>
2755         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
2756         (get_random_name): New functions.
2757         (check_wrapper_flags_mode): Use linkat to give the new file a name
2758         determined by get_random_name.
2759         (do_test): Add calls to test open64 and openat64.
2761 2016-09-23  Florian Weimer  <fweimer@redhat.com>
2763         * test-skeleton.c: Remove #include <stdarg.h>.
2765 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
2767         [BZ #19826]
2768         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
2769         initialization of static TLS entries.
2770         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
2771         * nptl/allocatestack.c (init_one_static_tls): Likewise.
2773 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2775         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
2776         _hurd_malloc_fork_prepare.
2777         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
2778         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
2779         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
2780         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
2781         (_hurd_fork_child_hook): Drop malloc_fork_child.
2782         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
2783         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
2784         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
2785         after locking locks (notably hurd_dtable_lock). Call
2786         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
2787         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
2788         __malloc_fork_unlock_child.
2789         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
2791 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
2793         * soft-fp/extendhftf2.c: New.
2794         * soft-fp/fixhfti.c: Likewise.
2795         * soft-fp/fixunshfti.c: Likewise.
2796         * soft-fp/floattihf.c: Likewise.
2797         * soft-fp/floatuntihf.c: Likewise.
2798         * soft-fp/half.h: Likewise.
2799         * soft-fp/trunctfhf2.c: Likewise.
2801 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
2803         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
2804         macro.
2805         * math/libm-test.inc (issubnormal_test_data): New array.
2806         (issubnormal_test): New function.
2807         * manual/arith.texi (Floating Point Classes): Document
2808         issubnormal.
2809         * manual/libm-err-tab.pl: Update comment on interfaces without
2810         ulps tabulated.
2812         * sysdeps/generic/stdint.h: Define
2813         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2814         <bits/libc-header-start.h> instead of including <features.h>.
2815         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
2816         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
2817         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
2818         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
2819         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
2820         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
2821         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
2822         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
2823         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
2824         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
2825         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
2826         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
2827         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
2828         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
2829         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
2830         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
2831         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
2832         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
2833         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
2834         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
2835         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
2836         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
2837         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
2838         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
2839         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
2840         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
2841         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
2842         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
2843         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
2844         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
2845         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
2846         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
2847         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
2848         * manual/arith.texi (Integers): Document these macros for types
2849         specified by width properties.
2850         * manual/lang.texi (Width of Type): Document these macros for
2851         other standard typedefs.
2852         * stdlib/tst-width-stdint.c: New file.
2853         * stdlib/Makefile (tests): Add tst-width-stdint.
2855 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2857         [BZ #20016]
2858         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
2859         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
2860         Move ...
2861         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
2862         ... here, as compatibility symbols in a new file.
2863         * resolv/Makefile (libresolv-routines): Add compat-hooks.
2864         * resolv/res_init.c (__res_vinit): Adjust member names.
2865         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
2866         * resolv/resolv.h (res_sendhookact, res_send_qhook)
2867         (res_send_rhook): Remove.
2868         (struct __res_state): Rename qhook, rhook members.
2870 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2872         malloc: Use __libc_lock wrappers.
2873         * malloc/arena.c (list_lock, free_list_lock): Define using
2874         __libc_lock_define_initialized.
2875         (arena_lock): Adjust formatting.
2876         * malloc/malloc.c (struct malloc_state): Define mutex using
2877         __libc_lock_define.
2878         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
2879         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
2880         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
2881         (mutex_unlock, mutex_trylock): Remove.
2882         (__pthread_initialize): Remove unused macro.
2883         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
2884         (mutex_unlock, mutex_trylock): Remove.
2886 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2888         [BZ #20592]
2889         Remove RR type classification macros.
2890         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
2891         (ns_t_udp_p, ns_t_xfr_p): Remove.
2893 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2895         Remove misleading version information.
2896         * resolv/arpa/nameser.h (__NAMESER): Remove.
2897         * resolv/arpa/nameser_compat.h (__BIND): Remove.
2899 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2901         Remove the always-defined BIND_4_COMPAT macro.
2902         * resolv/arpa/nameser.h: Unconditionally include
2903         <arpa/nameser_compat.h>.
2904         (BIND_4_COMPAT): Remove.
2905         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
2907 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2909         [BZ #20591]
2910         Remove obsolete DNSSEC support.
2911         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
2912         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
2913         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
2914         (ns_verify_tcp, ns_verify_tcp_init): Remove.
2915         (ns_cert_types): Add comment.
2916         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
2917         separately.
2918         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
2919         (dst_s_dns_key_id): Remove.
2920         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
2921         variables.
2923 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2925         [BZ #20524]
2926         * manual/string.texi (String/Array Comparison): Clarify the
2927         strverscmp behavior.
2929 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2931         * test-skeleton.c (xasprintf): Add function.
2932         * io/tst-open-tmpfile.c: New test.
2933         * io/Makefile (tests): Add it.
2935 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2937         Avoid running $(CXX) during build to obtain header file paths.
2938         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
2939         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
2940         * Makerules (cstdlib, cmath): Remove variables.  Use
2941         $(c++-cstdlib-header), $(c++-cmath-header) instead.
2942         * configure: Regenerate.
2944 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2946         * Makeconfig (all-object-suffixes): Include .op only if
2947         $(build-profile).
2949 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2951         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
2952         conditionals.  Do not define PATH_MAX.
2954 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2956         * posix/Makefile (tests): Add tst-spawn3.
2957         * posix/tst-spawn3.c: New file.
2958         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
2959         if it is already opened for open action.
2961         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
2962         all signals when executing the clone vfork child.
2963         (SIGALL_SET): Remove macro.
2965         * nptl/Makefile (tests): Add tst-exec5.
2966         * nptl/tst-exec5.c: New file.
2967         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
2968         asynchronous cancellation.
2970 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2972         * hurd/exc2signal.c: #include <hurd/signal.h>
2973         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
2974         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
2975         accordingly.
2976         * mach/mach_error.c (mach_error): Fix old-style function definition.
2977         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
2979 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2981         * math/Makefile (libm-calls): Remove s_nanF.
2982         (gen-libm-calls): Add s_nanF.
2984         * math/s_nan.c: Refactor into ...
2985         * math/s_nan_template.c: New file.
2987         * math/s_nanf.c: Removed.
2988         * math/s_nanl.c: Removed.
2989         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
2990         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
2992         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
2993         (LDOUBLE_nanl_libm_version): New macro.
2995         * sysdeps/generic/math-type-macros-double.h:
2996         (M_STRTO_NAN): New macro.
2997         * sysdeps/generic/math-type-macros-float.h: Likewise.
2998         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
3000         * sysdeps/generic/math-type-macros.h: Document
3001         M_STRTO_NAN.
3003 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3005         * math/s_nanf.c: Remove __nanf undef.
3006         * math/s_nan.c: Remove __nan undef.
3007         * math/s_nanl.c: Remove __nanl undef.
3009         * sysdeps/generic/math_private.h (__nan): Remove macro
3010         override.
3011         (__nanf): Likewise.
3012         (__nanl): Likewise.
3014 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3016         * math/Makefile (gen-all-calls): New variable.
3017         (generated): Replace gen-libm-calls with gen-all-calls.
3018         (gen-libm-templates.stmp): Likewise.  Also, ensure
3019         the output directory exists or is created and add
3020         dependency on the Makefile.
3021         (calls): Move s_ldexpF into gen-calls.
3022         (gen-calls): New variable.
3024         * math/s_ldexpf.c: Removed.
3025         * math/s_ldexpl.c: Removed.
3026         * math/s_ldexp.c: Refactored into ...
3027         * math/s_ldexp_template.c: New file.
3029         * sysdeps/generic/math-type-macros-double.h: Remove
3030         redundant fall-through definition of declare_mgen_alias.
3031         (declare_mgen_alias_2): New macro.
3033         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
3034         New macro for function aliased to two exported symbols.
3036         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
3037         new template file.
3038         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
3040 2016-09-20  Florian Weimer  <fweimer@redhat.com>
3042         * Makeconfig (all-object-suffixes): Remove .og.
3043         * Makerules (elide-routines.og): Remove.
3044         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
3045         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
3046         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
3048 2016-09-20  Florian Weimer  <fweimer@redhat.com>
3050         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
3051         .os objects.
3053 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3055         [BZ #20615]
3056         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
3057         fpu directory by non-fpu.
3058         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
3059         on non-fpu directory from a fpu directory.
3061 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
3063         * include/limits.h: Define
3064         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3065         <bits/libc-header-start.h> instead of including <features.h>.
3066         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
3067         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
3068         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
3069         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
3070         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
3071         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
3072         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
3073         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
3074         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
3075         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
3076         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
3077         * manual/lang.texi (Width of Type): Document these macros.
3078         * stdlib/tst-width.c: New file.
3079         * stdlib/Makefile (tests): Add tst-width.
3081 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3083         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
3084         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
3086 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3088         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
3089         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
3090         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
3092 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3094         [BZ #18243]
3095         * rt/Makefile (test): Add tst-shm-cancel.
3096         * rt/tst-shm-cancel.c: New file.
3097         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
3099         [BZ #18243]
3100         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
3101         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
3102         definition.
3103         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
3104         uncontended case.
3105         * nptl/sem_wait.c (__new_sem_wait): Likewise.
3106         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
3107         (tf): Fix check for uncontended case.
3108         (do_test): Likewise.
3109         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
3110         (tf): Fix check for uncontended case.
3111         (do_test): Likewise.
3112         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
3113         (tf): Fix check for uncontended case.
3114         (do_test): Likewise.
3115         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
3116         (tf): Fix check for uncontended case.
3117         (do_test): Likewise.
3119         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
3120         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
3122         [BZ #15765]
3123         * nptl/Makefile (tests): Add tst-sem16.
3124         * nptl/tst-sem16.c: New file.
3125         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
3127         * nptl/sem_open.c (sem_open): Init pad value to 0.
3128         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
3129         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
3131 2016-09-15  Florian Weimer  <fweimer@redhat.com>
3133         [BZ #20611]
3134         * inet/Makefile (routines): Add inet6_scopeid_pton.
3135         (tests): Add tst-inet6_scopeid_pton.
3136         * inet/inet6_scopeid_pton.c: New file.
3137         * inet/net-internal.h: Likewise.
3138         * inet/tst-inet6_scopeid_pton.c: New test.
3139         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
3140         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
3141         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3143 2016-09-14  Florian Weimer  <fweimer@redhat.com>
3145         Remove support for compiling wrappers with PTW.
3146         * sysdeps/nptl/Makeconfig: Drop ptw- support.
3147         * nptl/Makefile (pthread-compat-wrappers): Define.
3148         (libpthread-routines): Use pthread-compat-wrappers.
3149         * sysdeps/unix/sysv/linux/alpha/Makefile
3150         (libpthread-routines, libpthread-shared-only-routines): Remove
3151         ptw- prefix.
3152         * sysdeps/s390/nptl/Makefile
3153         (libpthread-routines, libpthread-shared-only-routines): Likewise.
3154         * sysdeps/ia64/nptl/Makefile
3155         (libpthread-routines, libpthread-shared-only-routines): Likewise.
3156         * sysdeps/nacl/Makefile (libpthread-routines): Use
3157         pthread-compat-wrappers to filter the routines list instead of the
3158         ptw- prefix.
3160 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3162         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
3163         with L() and remove explicit suffix, convert real literals
3164         which can be equivalentally substituted with integers, and
3165         transform -L(x) to L(-x).
3167         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3168         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3169         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3170         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3171         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3172         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3173         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3174         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
3175         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3176         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3177         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3178         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3179         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3180         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3181         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3182         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3183         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3184         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3185         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3186         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3187         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
3188         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
3189         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
3190         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3191         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
3192         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3193         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3194         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3195         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3196         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3197         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3198         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
3199         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3200         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3201         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3202         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3203         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3204         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3205         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3206         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3207         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3208         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3209         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3210         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
3211         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3212         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3213         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3214         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
3215         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
3216         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3218 2016-09-13  Florian Weimer  <fweimer@redhat.com>
3220         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
3222 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3224         * malloc/Makefile (tests): Remove individual static test names
3225         and just add all of tests-static.
3227         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
3229 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
3231         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
3232         file.
3234         * sysdeps/sparc/fpu/fegetmode.c: New file.
3235         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
3237         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
3238         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
3240         * sysdeps/s390/fpu/fegetmode.c: New file.
3241         * sysdeps/s390/fpu/fesetmode.c: Likewise.
3243         * sysdeps/powerpc/fpu/fegetmode.c: New file.
3244         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
3245         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
3246         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
3247         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
3248         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
3250         * sysdeps/mips/fpu/fegetmode.c: New file.
3251         * sysdeps/mips/fpu/fesetmode.c: Likewise.
3253         * sysdeps/m68k/fpu/fegetmode.c: New file.
3254         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
3256         * sysdeps/ia64/fpu/fegetmode.c: New file.
3257         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
3259         * sysdeps/hppa/fpu/fegetmode.c: New file.
3260         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
3262         * sysdeps/arm/fegetmode.c: New file.
3263         * sysdeps/arm/fesetmode.c: Likewise.
3265         * sysdeps/alpha/fpu/fegetmode.c: New file.
3266         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
3268         * sysdeps/aarch64/fpu/fegetmode.c: New file.
3269         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
3271         * math/fegetmode.c: New file.
3272         * math/fesetmode.c: Likewise.
3273         * sysdeps/i386/fpu/fegetmode.c: Likewise.
3274         * sysdeps/i386/fpu/fesetmode.c: Likewise.
3275         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
3276         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
3277         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
3278         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
3279         declaration.
3280         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
3281         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
3282         typedef.
3283         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3284         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3285         (femode_t): New typedef.
3286         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3287         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3288         (femode_t): New typedef.
3289         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3290         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3291         (femode_t): New typedef.
3292         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3293         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3294         (femode_t): New typedef.
3295         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3296         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3297         (femode_t): New typedef.
3298         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3299         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3300         (femode_t): New typedef.
3301         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3302         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3303         (femode_t): New typedef.
3304         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3305         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3306         (femode_t): New typedef.
3307         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3308         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3309         (femode_t): New typedef.
3310         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3311         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3312         (femode_t): New typedef.
3313         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
3314         declaration.
3315         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3316         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3317         (femode_t): New typedef.
3318         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3319         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3320         (femode_t): New typedef.
3321         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3322         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3323         (femode_t): New typedef.
3324         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3325         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3326         (femode_t): New typedef.
3327         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3328         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3329         (femode_t): New typedef.
3330         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3331         * manual/arith.texi (FE_DFL_MODE): Document macro.
3332         (fegetmode): Document function.
3333         (fesetmode): Likewise.
3334         * math/Versions (fegetmode): New libm symbol at version
3335         GLIBC_2.25.
3336         (fesetmode): Likewise.
3337         * math/Makefile (libm-support): Add fegetmode and fesetmode.
3338         (tests): Add test-femode and test-femode-traps.
3339         * math/test-femode-traps.c: New file.
3340         * math/test-femode.c: Likewise.
3341         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
3342         alias for __fe_dfl_env.
3343         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
3344         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
3345         (__fe_dfl_mode): Likewise.
3346         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
3347         version GLIBC_2.25.
3348         * sysdeps/nacl/libm.abilist: Update.
3349         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3350         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3351         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3352         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3353         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3354         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3355         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3356         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3357         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3358         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3359         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3360         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3362         Likewise.
3363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3364         Likewise.
3365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3366         Likewise.
3367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3368         Likewise.
3369         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3370         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3371         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3372         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3373         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3374         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3375         Likewise.
3376         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3377         Likewise.
3378         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3379         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3380         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3382 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
3384         [BZ #20495]
3385         [BZ #20508]
3386         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
3387         processors, set Use_dl_runtime_resolve_slow and set
3388         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
3389         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
3390         New.
3391         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
3392         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
3393         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
3394         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
3395         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
3396         if Use_dl_runtime_resolve_opt is set.  Use
3397         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
3398         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
3399         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
3400         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
3401         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
3402         New.
3403         (_dl_runtime_resolve_opt): Likewise.
3404         (_dl_runtime_profile): Define only if _dl_runtime_profile is
3405         defined.
3407 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3409         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
3410         __libc_memalign with "+ RELA R_390_GLOB_DAT".
3412 2016-09-06  Florian Weimer  <fweimer@redhat.com>
3414         Convert malloc to __libc_lock.  Automated part, using this Perl
3415         s/// command:
3416           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
3417             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
3418         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
3419         conversion.
3421 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
3423         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
3424         (linknamespace-symlists-tests): Likewise.
3425         (linknamespace-header-tests): Likewise.
3427 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
3429         [BZ #19810]
3430         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
3431         * elf/tst-noload.c: New test case.
3432         * elf/Makefile (tests): Add tst-noload.
3434 2016-09-02  Roland McGrath  <roland@hack.frob.com>
3436         * sysdeps/nacl/dup.c: Add libc_hidden_def.
3438         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
3439         not any more.
3441         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
3443 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3445         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
3446         (do_cos_slow): Likewise.
3447         (do_sin): Likewise.
3448         (do_sin_slow): Likewise.
3449         (slow): Likewise.
3450         (slow1): Likewise.
3451         (slow2): Likewise.
3452         (sloww): Likewise.
3453         (sloww1): Likewise.
3454         (sloww2): Likewise.
3455         (bsloww): Likewise.
3456         (bsloww1): Likewise.
3457         (bsloww2): Likewise.
3458         (cslow2): Likewise.
3460         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
3462         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
3463         arguments.  Consolidate input partitioning from callers here.
3464         (do_cos_slow): Likewise.
3465         (do_sin): Likewise.
3466         (do_sin_slow): Likewise.
3467         (do_sincos_1): Remove the no longer necessary input partitioning.
3468         (do_sincos_2): Likewise.
3469         (__sin): Likewise.
3470         (__cos): Likewise.
3471         (slow1): Likewise.
3472         (slow2): Likewise.
3473         (sloww1): Likewise.
3474         (sloww2): Likewise.
3475         (bsloww1): Likewise.
3476         (bsloww2): Likewise.
3477         (cslow2): Likewise.
3479 2016-09-02  Florian Weimer  <fweimer@redhat.com>
3481         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
3482         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
3483         outside of allocated array.
3485 2016-09-02  Florian Weimer  <fweimer@redhat.com>
3487         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
3488         instead of MB_CUR_MAX to avoid variable-length array.
3490 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3492         * math/Makefile (libm-calls): Remove k_rem_pio2F.
3493         (type-double-routines): Add k_rem_pio2.
3494         (type-float-routines): Add k_rem_pio2f.
3496         * sysdeps/generic/math_private.h:
3497         (__kernel_rem_pio2l): Removed.
3499         * math/k_rem_pio2l.c: Removed.
3500         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
3501         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
3502         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
3503         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
3505 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3507         * math/Makefile (gen-libm-calls): Add s_fmin
3508         (libm-calls): Remove above.
3510         * math/s_fmin.c: Refactor into ...
3511         * math/s_fmin_template.c: New file.
3513         * math/s_fminf.c: Removed.
3514         * math/s_fminl.c: Removed.
3515         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
3516         (LDOUBLE_fmin_libm_version): New macro.
3518         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
3519         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
3521 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3523         * math/Makefile: (gen-libm-calls): Add s_fmax.
3524         (libm-calls): Remove above.
3526         * math/s_fmax.c: Refactor into ...
3527         * math/s_fmax_template.c: New file.
3528         * math/s_fmaxf.c: Removed.
3529         * math/s_fmaxl.c: Removed.
3531         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
3532         (LDOUBLE_fmaxl_libm_version): New macro.
3534         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
3535         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
3537         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
3538         s_fmin.c to pick the aarch64 version of the file.
3539         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
3540         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
3542 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3544         * math/Makefile: (gen-libm-calls): Add s_nextdown.
3545         (libm-calls): Remove above.
3547         * math/s_nextdown.c: Refactor into ...
3548         * math/s_nextdown_template.c: New file.
3549         * math/s_nextdownf.c: Removed.
3550         * math/s_nextdownl.c: Removed.
3552         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
3554 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3556         * math/Makefile (gen-libm-calls): Add s_fdim.
3557         (libm-calls): Move to above.
3559         * math/s_fdim.c: Renamed and refactored into to ...
3560         * math/s_fdim_template.c: New file.
3561         * math/s_fdiml.c: Removed.
3562         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
3563         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
3565         * sysdeps/generic/math-type-macros-double.h:
3566         (declare_mgen_alias): Don't declare if already declared.
3567         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
3568         Likewise.
3570         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
3571         (declare_mgen_alias): Don't declare if already declared.
3572         (M_LIBM_NEED_COMPAT): Likewise.
3573         (declare_mgen_libm_compat): Likewise.
3574         (LDOUBLE_fdiml_libm_version): New macro.
3576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
3577         Include math/s_fdim.c now that ldbl-opt version is not needed.
3578         (declare_mgen_alias): New macro to disable aliasing.
3580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
3581         (declare_mgen_alias): Likewise.
3582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
3583         (declare_mgen_alias): Likewise.
3584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
3585         (declare_mgen_alias): Likewise.
3586         (M_LIBM_NEED_COMPAT): Likewise.
3588 2016-09-01  Florian Weimer  <fweimer@redhat.com>
3590         [BZ #20525]
3591         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
3592         Include <linux/quota.h>.
3593         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
3594         and btodb.
3595         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
3596         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
3597         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
3598         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
3599         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
3600         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
3601         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
3602         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
3603         types.
3604         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
3605         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
3607 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3609         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
3610         (gammal_positive): Fix spacing.
3611         (__ieee754_gammal_r): Likewise.
3613 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3615         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
3616         (_Float128): Define as long double, always.
3617         (L): Apply long double type suffix, always.
3619         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
3620         _Float128, excepting comments.
3622         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3623         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3624         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3625         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3626         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3627         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3628         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3629         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
3630         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3631         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
3632         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3633         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3634         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3635         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3636         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3637         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3638         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3639         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3640         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3641         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3642         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3643         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3644         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
3645         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
3646         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
3647         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3648         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
3649         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
3650         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3651         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3652         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3653         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3654         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3655         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3656         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3657         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3658         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3659         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3660         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3661         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
3662         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3663         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3664         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
3665         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3666         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
3667         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3668         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3669         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3670         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3671         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3672         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3673         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3674         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3675         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3676         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
3677         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3678         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3679         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
3680         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3681         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3682         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
3683         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3684         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3685         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3686         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3687         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
3688         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3689         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3691         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
3692         _Float128, and include math_private.h.
3693         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
3695         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
3696         long double semantics.
3697         (_Float128): Likewise.
3698         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
3699         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
3700         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
3701         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
3703 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
3705         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
3706         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
3707         * sysdeps/s390/configure: Regenerated.
3708         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
3709         instruction for raising over-/underflow if z196 zarch is supported
3710         by default.
3711         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
3713 2016-08-30  Svante Signell  <svante.signell@gmail.com>
3715         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
3716         it point to a dumb buffer for RPC to fill it.
3718 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3720         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
3721         instead of if/else.
3722         (do_sin_slow): Likewise.
3723         (do_sincos_1): Use fabs instead of if/else.
3724         (do_sincos_2): Likewise.
3725         (__sin): Likewise.
3726         (__cos): Likewise.
3727         (slow2): Likewise.
3728         (sloww): Likewise.
3729         (sloww1): Likewise.  Drop argument M.
3730         (sloww2): Use fabs instead of if/else.
3731         (bsloww): Likewise.
3732         (bsloww1): Likewise.
3733         (bsloww2): Likewise.
3735         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
3736         fall through comment.
3737         (do_sincos_1): Likewise.
3739         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
3740         Consolidate switch cases 0 and 2.
3742 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3744         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
3745         (libm-calls): Remove the above.
3747         * math/s_cexp_template.c: Update using type-generic macros.
3748         * math/s_clog10_template.c: Likewise.
3749         * math/s_cpow_template.c: Likewise.
3750         * math/s_clog_template.c: Likewise.
3751         * math/s_cproj_template.c: Likewise.
3752         * math/s_csqrt_template.c: Likewise.
3754         * math/s_cexp.c: Removed.
3755         * math/s_cexpf.c: Removed.
3756         * math/s_cexpl.c: Removed.
3757         * math/s_clog10.c: Removed.
3758         * math/s_clog10f.c: Removed.
3759         * math/s_clog10l.c: Removed.
3760         * math/s_cpow.c: Removed.
3761         * math/s_cpowf.c: Removed.
3762         * math/s_cpowl.c: Removed.
3763         * math/s_clog.c: Removed.
3764         * math/s_clogf.c: Removed.
3765         * math/s_clogl.c: Removed.
3766         * math/s_cproj.c: Removed.
3767         * math/s_cprojf.c: Removed.
3768         * math/s_cprojl.c: Removed.
3769         * math/s_csqrt.c: Removed.
3770         * math/s_csqrtf.c: Removed.
3771         * math/s_csqrtl.c: Removed.
3773         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
3774         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
3775         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
3776         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
3777         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
3778         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
3780         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
3781         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
3782         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
3783         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
3784         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
3785         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
3786         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
3787         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
3788         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
3789         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
3790         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
3792         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
3793         version.
3795         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
3796         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
3797         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
3798         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
3800 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3802         * s_cexp_template.c: Copy of s_cexp.c.
3803         * s_clog_template.c: Copy of s_clog.c.
3804         * s_clog10_template.c: Copy of s_clog10.c.
3805         * s_cpow_template.c: Copy of s_cpow.c.
3806         * s_cproj_template.c: Copy of s_cproj.c.
3807         * s_csqrt_template.c: Copy of s_csqrt.c.
3809 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3811         [BZ #20517]
3812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
3813         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
3814         exported.
3816 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
3818         * math/fetestexceptflag.c: New file.
3819         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
3820         Stefan Liebler.
3821         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3822         (fetestexceptflag): New function declaration.
3823         * manual/arith.texi (fetestexceptflag): Document function.
3824         * math/Versions (fetestexceptflag): New libm symbol at version
3825         GLIBC_2.25.
3826         * math/Makefile (libm-support): Add fetestexceptflag.
3827         (tests): Add test-fetestexceptflag.
3828         * math/test-fetestexceptflag.c: New file.
3829         * sysdeps/nacl/libm.abilist: Update.
3830         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3831         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3832         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3833         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3834         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3835         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3836         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3837         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3838         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3839         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3840         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3841         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3843         Likewise.
3844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3845         Likewise.
3846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3847         Likewise.
3848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3849         Likewise.
3850         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3851         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3852         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3853         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3854         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3855         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3856         Likewise.
3857         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3858         Likewise.
3859         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3860         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3861         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3863 2016-08-26  Florian Weimer  <fweimer@redhat.com>
3865         [BZ #20432]
3866         Avoid strong references to malloc-internal symbols when linking
3867         statically, to support statically interposed mallocs.
3868         * include/libc-symbols.h (call_function_static_weak): New macro.
3869         * malloc/Makefile (tests): Add tst-interpose-nothread,
3870         tst-interpose-thread, tst-interpose-static-nothread,
3871         tst-interpose-static-thread.
3872         (tests-static): Add tst-interpose-static-nothread,
3873         tst-interpose-static-thread.
3874         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
3875         tst-interpose-aux-thread.o.
3876         (test-extras): Add tst-interpose-aux-nothread,
3877         tst-interpose-aux-thread.
3878         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
3879         tst-interpose-aux-nothread.o.
3880         (tst-interpose-thread, tst-interpose-static-thread): Link with
3881         tst-interpose-aux-thread.o and libthread.
3882         * malloc/tst-interpose-aux-nothread.c: New file.
3883         * malloc/tst-interpose-aux-thread.c: Likewise.
3884         * malloc/tst-interpose-aux.c: Likewise.
3885         * malloc/tst-interpose-aux.h: Likewise.
3886         * malloc/tst-interpose-nothread.c: Likewise.
3887         * malloc/tst-interpose-skeleton.c: Likewise.
3888         * malloc/tst-interpose-static-nothread.c: Likewise.
3889         * malloc/tst-interpose-static-thread.c: Likewise.
3890         * malloc/tst-interpose-thread.c: Likewise.
3891         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
3892         * sysdeps/mach/hurd/fork.c (__fork): Only call
3893         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
3894         __malloc_fork_unlock_child if defined.
3895         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
3897 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3899         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
3900         timespec C99 designated initialization.
3902 2016-08-26  Florian Weimer  <fweimer@redhat.com>
3904         [BZ #19946]
3905         Avoid expected SIGALRM signals.
3906         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
3907         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
3908         (xpthread_create, xpthread_detach, xpthread_join)
3909         (delayed_exit_thread, delayed_exit): New functions.
3910         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
3911         (tf): Use xpthread_cond_wait.
3912         (do_test): Likewise.  Replace alarm with delayed_exit.
3913         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
3914         (do_test): Call delayed_exit.  Report failure.
3915         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
3916         (do_test): Call delayed_exit.
3917         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
3918         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
3919         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
3920         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
3921         error.
3922         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
3923         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
3924         error.
3925         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
3926         (do_test): Call delayed_exit.
3927         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
3928         (do_test): Call delayed_exit.
3929         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
3930         (do_test): Call delayed_exit instead of alarm.  Use
3931         xpthread_mutex_lock.
3932         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
3933         (do_test): Call delayed_exit instead of alarm.  Use
3934         xpthread_mutex_lock.
3935         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
3936         (do_test): Call delayed_exit instead of alarm.
3937         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
3938         (do_test): Call delayed_exit instead of alarm.  Use
3939         xpthread_spin_lock.
3940         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
3941         (do_test): Call delayed_exit instead of alarm.  Use
3942         xpthread_join.
3944 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
3946         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
3947         adjust CFA when allocating register save area on re-aligned
3948         stack.
3950 2016-08-26  Florian Weimer  <fweimer@redhat.com>
3952         * string/tst-cmp.c: New test.
3953         * string/Makefile (tests): Add it.
3955 2016-08-25  Mark Wielaard  <mark@klomp.org>
3957         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
3958         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
3959         (check_tree_recurse): Use newly defined accessors.
3960         (check_tree): Likewise.
3961         (maybe_split_for_insert): Likewise.
3962         (__tfind): Likewise.
3963         (__tdelete): Likewise.
3964         (trecurse): Likewise.
3965         (tdestroy_recurse): Likewise.
3966         (__tsearch): Likewise. And add asserts for malloc alignment.
3967         (__twalk): Cast root to node in case CHECK_TREE is defined.
3969 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3971         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
3973 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3975         * math/Makefile (libm-gen-calls): Add
3976         catan, catanh, ctan, ctanh.
3977         (libm-calls): Remove the above.
3979         * math/s_catan_template.c: Update using type-generic macros.
3980         * math/s_catanh_template.c: Likewise.
3981         * math/s_ctan_template.c: Likewise.
3982         * math/s_ctanh_template.c: Likewise.
3984         * math/s_catanf.c: Removed.
3985         * math/s_catan.c: Removed.
3986         * math/s_catanl.c: Removed.
3987         * math/s_catanhf.c: Removed.
3988         * math/s_catanh.c: Removed.
3989         * math/s_catanhl.c: Removed.
3990         * math/s_ctanf.c: Removed.
3991         * math/s_ctan.c: Removed.
3992         * math/s_ctanl.c: Removed.
3993         * math/s_ctanhf.c: Removed.
3994         * math/s_ctanh.c: Removed.
3995         * math/s_ctanhl.c: Removed.
3997         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
3998         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
3999         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
4000         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
4001         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
4002         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
4004         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
4005         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
4006         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
4007         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
4009 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4011         * s_catan_template.c: Copy of s_catan.c.
4012         * s_catanh_template.c: Copy of s_catanh.c.
4013         * s_ctan_template.c: Copy of s_ctan.c.
4014         * s_ctanh_template.c: Copy of s_ctanh.c.
4016 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4018         * math/Makefile (gen-libm-calls): Move
4019         casin, casinh, csin, csinh here.
4020         (libm-calls): Remove the above.
4022         * math/s_casin_template.c: Update using type-generic macros.
4023         * math/s_casinh_template.c: Likewise.
4024         * math/s_csin_template.c: Likewise.
4025         * math/s_csinh_template.c: Likewise.
4026         * math/k_casinh_template.c: Likewise.
4028         * math/s_casinf.c: Removed.
4029         * math/s_casin.c: Removed.
4030         * math/s_casinl.c: Removed.
4031         * math/s_casinh.c: Removed.
4032         * math/s_casinhf.c: Removed.
4033         * math/s_casinhl.c: Removed.
4034         * math/s_csin.c: Removed.
4035         * math/s_csinf.c: Removed.
4036         * math/s_csinl.c: Removed.
4037         * math/s_csinh.c: Removed.
4038         * math/s_csinhf.c: Removed.
4039         * math/s_csinhl.c: Removed.
4040         * math/k_casinh.c: Removed.
4041         * math/k_casinhf.c: Removed.
4042         * math/k_casinhl.c: Removed.
4044         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
4045         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
4046         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
4047         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
4049         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
4050         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
4051         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
4052         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
4053         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
4054         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
4055         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
4056         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
4058         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
4059         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
4060         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
4061         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
4063         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
4064         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
4065         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
4066         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
4068 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4070         * s_casin_template.c: Copy of s_casin.c.
4071         * s_casinh_template.c: Copy of s_casinh.c.
4072         * s_csin_template.c: Copy of s_csin.c.
4073         * s_csinh_template.c: Copy of s_csinh.c.
4074         * k_casinh_template.c: Copy of k_casinh.c.
4076 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
4078         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
4080 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4082         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
4083         (mul_split) Remove, rename as mul_splitl, remove
4084         redundant float.h include, and include via mul_splitl.h
4086         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
4087         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4088         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4089         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
4090         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
4092         * math/mul_splitl.h: New file.
4094         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
4095         Move into mul_split.h, and remove redundant float.h include.
4097         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
4098         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
4099         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
4100         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
4102         * math/mul_split.h: New file.
4104 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4106         * math/Makefile (libm-gen-calls): Move
4107         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
4108         (libm-calls): Remove above.
4110         * math/s_cacos_template.c: Update using type-generic macros.
4111         * math/s_cacosh_template.c: Likewise.
4112         * math/s_ccos_template.c: Likewise.
4113         * math/s_ccosh_template.c: Likwise.
4115         * math/s_cacosf.c: Removed.
4116         * math/s_cacos.c: Removed.
4117         * math/s_cacosl.c: Removed.
4118         * math/s_cacoshf.c: Removed.
4119         * math/s_cacosh.c: Removed.
4120         * math/s_cacoshl.c: Removed.
4121         * math/s_ccosf.c: Removed.
4122         * math/s_ccos.c: Removed.
4123         * math/s_ccosl.c: Removed.
4124         * math/s_ccoshf.c: Removed.
4125         * math/s_ccosh.c: Removed.
4126         * math/s_ccoshl.c: Removed.
4128         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
4129         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
4130         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
4131         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
4132         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
4133         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
4135         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
4136         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
4137         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
4138         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
4140         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
4141         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
4142         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
4143         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
4145 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4147         * s_cacos_template.c: Copy of s_cacos.c.
4148         * s_cacosh_template.c: Copy of s_cacosh.c.
4149         * s_ccos_template.c: Copy of s_ccos.c.
4150         * s_ccosh_template.c: Copy of s_ccosh.c.
4152 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4154         * stdlib/tst-strtod-round-skeleton.c:
4155         Refactored from tst-strtod-round.c.
4157         (L_): New macro to apply literal modifier.
4158         (FNPFX): New macro to select str or wcs prefix.
4159         (CHAR): New macro to choose wchar_t or char.
4160         (STRM): New macro to choose printf for tested character type.
4162         (STRTO): New macro to choose appropriate string -> real function.
4163         (FNPFXS): Stringitized version of FNPFX.
4164         (STR): Support for above macro.
4165         (STRX): Likewise.
4167         (TEST): Update with above macros.
4168         (test): Likewise.
4169         (GEN_ONE_TEST): Likewise.
4170         (test_in_one_mode): Likewise.
4172         * stdlib/tst-strtod-round.c: New file.
4173         * wcsmbs/tst-wcstod-round.c: New file.
4175         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
4176         (tst-wcstod-round): Add libm depencency for fesetround.
4178 2016-08-19  Zack Weinberg  <zackw@panix.com>
4180         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
4182 2016-08-18  Torvald Riegel  <triegel@redhat.com>
4184         [BZ #20477]
4185         * resolv/res_hconf.c (do_init): Use atomic access.
4186         * resolv/res_hconf.h: Add comments.
4187         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
4188         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
4189         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4191 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
4193         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
4194         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
4195         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
4196         Likewise.
4198 2016-08-18  Florian Weimer  <fweimer@redhat.com>
4200         [BZ #16907]
4201         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
4202         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
4203         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
4204         (__attribute__): Remove definition.
4206 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4208         * sysdeps/ieee754/ldbl-128/e_asinl.c:
4209         Remove unused sqrtl declaration.
4211 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4213         * math/Makefile: (gen-libm-templates.stmp): New rule.
4214         (libm-calls): Move carg conj cimag and cabs into ...
4215         (gen-libm-calls): New variable.
4216         (generated): Inform Make objects from gen-libm-calls
4217         may be generated.
4219         * sysdeps/generic/math-type-macros.h: New file.
4220         * sysdeps/generic/math-type-macros-float.h: Likewise.
4221         * sysdeps/generic/math-type-macros-double.h: Likewise.
4222         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
4223         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
4224         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
4226         * math/cabs.c: Refactor into
4227         * math/cabs_template.c: new file.
4228         * math/cabsf.c: Removed.
4229         * math/cabsl.c: Removed.
4230         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
4231         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
4233         * math/carg.c: Refactor into
4234         * math/carg_template.c: new file.
4235         * math/cargf.c: Removed.
4236         * math/cargl.c: Removed.
4237         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
4238         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
4240         * math/conj.c: Refactor into
4241         * math/conj_template.c: new file.
4242         * math/conjf.c: Removed.
4243         * math/conjl.c: Removed.
4244         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
4245         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
4247         * math/cimag.c: Refactor into
4248         * math/cimag_template.c: new file.
4249         * math/cimagf.c: Removed.
4250         * math/cimagl.c: Removed.
4251         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
4252         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
4254         * math/cimag.c: Refactor into
4255         * math/cimag_template.c: new file.
4256         * math/cimagf.c: Removed.
4257         * math/cimagl.c: Removed.
4258         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
4259         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
4261 2016-08-17  Florian Weimer  <fweimer@redhat.com>
4263         Reduce time to expected nptl/tst-once5 failure.
4264         * nptl/tst-once5.cc (TIMEOUT): Define.
4266 2016-08-17  Florian Weimer  <fweimer@redhat.com>
4268         [BZ #20452]
4269         Avoid additional copies of objects in libc.a in static libraries.
4270         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
4271         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
4272         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
4273         rt-sysdep.
4274         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
4275         Add nptl-sysdep.
4276         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
4277         Add ptw-sysdep.
4278         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
4279         rt-sysdep.
4280         * sysdeps/unix/sysv/linux/alpha/Makefile
4281         (libpthread-shared-only-routines): Add ptw-sysdep,
4282         ptw-sigprocmask, ptw-rt_sigaction.
4283         * sysdeps/unix/sysv/linux/ia64/Makefile
4284         (librt-shared-only-routines): Add rt-sysdep.
4285         * sysdeps/unix/sysv/linux/i386/Makefile
4286         (libpthread-shared-only-routines): Add libc-do-syscall.
4287         * sysdeps/unix/sysv/linux/microblaze/Makefile
4288         (libpthread-shared-only-routines): Add sysdep.
4289         * sysdeps/unix/sysv/linux/powerpc/Makefile
4290         (librt-shared-only-routines): Add rt-sysdep.
4291         (libpthread-shared-only-routines): Add sysdep.
4292         * sysdeps/unix/sysv/linux/s390/Makefile
4293         (librt-shared-only-routines): Add rt-sysdep.
4294         * sysdeps/unix/sysv/linux/sparc/Makefile
4295         (librt-shared-only-routines): Add rt-sysdep.
4296         (libpthread-shared-only-routines): Add sysdep.
4297         * sysdeps/unix/sysv/linux/tile/Makefile
4298         (libpthread-shared-only-routines): Likewise.
4300 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
4302         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
4303         Mask implicit bit out of unpacked value.
4304         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
4305         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
4306         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
4308         * sysdeps/sparc/fpu/fesetexcept.c: New file.
4310         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
4312         * sysdeps/s390/fpu/fesetexcept.c: New file.
4314         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
4315         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
4316         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
4318         * sysdeps/mips/fpu/fesetexcept.c: New file.
4320         * sysdeps/m68k/fpu/fesetexcept.c: New file.
4322         * sysdeps/ia64/fpu/fesetexcept.c: New file.
4324         * sysdeps/hppa/fpu/fesetexcept.c: New file.
4326         * sysdeps/arm/fesetexcept.c: New file.
4328         * sysdeps/alpha/fpu/fesetexcept.c: New file.
4330         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
4332         * math/fesetexcept.c: New file.
4333         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
4334         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
4335         * math/fenv.h: Define
4336         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4337         <bits/libc-header-start.h> instead of including <features.h>.
4338         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
4339         declaration.
4340         * manual/arith.texi (fesetexcept): Document function.
4341         * math/Versions (fesetexcept): New libm symbol at version
4342         GLIBC_2.25.
4343         * math/Makefile (libm-support): Add fesetexcept.
4344         (tests): Add test-fesetexcept and test-fesetexcept-traps.
4345         * math/test-fesetexcept.c: New file.
4346         * math/test-fesetexcept-traps.c: Likewise.
4347         * sysdeps/nacl/libm.abilist: Update.
4348         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4349         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4350         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4351         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4352         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4353         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4354         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4355         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4356         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4357         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4358         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4359         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4361         Likewise.
4362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4363         Likewise.
4364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4365         Likewise.
4366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4367         Likewise.
4368         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4369         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4370         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4371         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4372         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4373         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4374         Likewise.
4375         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4376         Likewise.
4377         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4378         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4379         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4381 2016-08-16  Florian Weimer  <fweimer@redhat.com>
4383         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
4384         New.
4385         (do_test): Apply default_stack_size_in_mb if not set.
4386         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
4388 2016-08-15  Andreas Schwab  <schwab@suse.de>
4390         [BZ #20435]
4391         CVE-2016-6323
4392         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
4393         as .cantunwind.
4395 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
4397         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
4398         comment from fraiseexcpt.c.
4400         * math/test-fexcept.c (feraiseexcept_exact): New function.
4401         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
4402         (test_except): Likewise.
4404 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
4406         [BZ #20455]
4407         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
4408         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
4409         to be restored.
4411         * math/test-fexcept-traps.c: New file.
4412         * math/test-fexcept.c: Likewise.
4413         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
4414         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
4415         macro.
4416         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
4417         (EXCEPTION_SET_FORCES_TRAP): Likewise.
4419 2016-08-09  Torvald Riegel  <triegel@redhat.com>
4421         * include/atomic.h (atomic_fetch_and_relaxed,
4422         atomic_fetch_and_release, atomic_fetch_or_release,
4423         atomic_fetch_xor_release): New.
4425 2016-08-06  Christian Seiler  <christian@iwakd.de>
4427         [BZ #20444]
4428         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
4429         MACH_PORT_NULL.
4431 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
4433         * math/s_fdim.c: Avoid alias renamed.
4434         * math/s_fdimf.c: Likewise.
4435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
4436         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
4437         Add s_fdimf-vis3, s_fdim-vis3.
4438         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
4439         (CFLAGS-s_fdim-vis3.c): Likewise.
4440         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
4441         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
4443 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
4445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
4446         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
4447         Remove s_fdimf-vis3, s_fdim-vis3.
4448         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
4449         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
4450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
4451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
4452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
4453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
4454         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
4455         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
4456         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
4457         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
4459 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
4461         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
4462         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
4463         -Wa,-Av9a -mvis.
4465 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4467         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
4468         LIT() to individual constants in simple expressions
4469         after splitting on spaces.
4470         (_apply_lit): Rename replaced version, and use it to
4471         apply to what appears to be a token.
4473         * math/libm-test.inc: Fix many, many issues with
4474         spacing.
4476 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
4478         * math/math.h: Move comment about <bits/mathdef.h> definitions
4479         above inclusion of <bits/mathdef.h>.  Do not mention
4480         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
4482 2016-08-05  Torvald Riegel  <triegel@redhat.com>
4484         * include/atomic.h (atomic_exchange_relaxed): New.
4486 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
4488         * math/e_scalb.c: Do not include <fenv.h>.
4489         (invalid_fn): Do calculation resulting in NaN instead of raising
4490         FE_INVALID and returning a NaN explicitly.
4491         * math/e_scalbf.c: Do not include <fenv.h>.
4492         (invalid_fn): Do calculation resulting in NaN instead of raising
4493         FE_INVALID and returning a NaN explicitly.
4494         * math/e_scalbl.c: Do not include <fenv.h>.
4495         (invalid_fn): Do calculation resulting in NaN instead of raising
4496         FE_INVALID and returning a NaN explicitly.
4498 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
4500         * po/de.po: Updated from Translation Project.
4501         * po/fi.po: Likewise.
4502         * po/sv.po: Likewise.
4504 2016-08-04  Florian Weimer  <fweimer@redhat.com>
4506         [BZ #20452]
4507         Use sysdep.o from libc.a in static libraries.
4508         * sysdeps/unix/sysv/linux/i386/Makefile
4509         (libpthread-shared-only-routines): Add sysdep.
4510         (librt-shared-only-routines): Likewise.
4512 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
4514         * math/tgmath.h (nextdown): Define if
4515         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
4516         (nextup): Likewise.
4518         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
4519         macro.
4520         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
4521         Document.
4522         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
4523         Document macro.
4524         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
4525         (exp10f): Likewise.
4526         (exp10l): Likewise.
4527         * math/bits/mathcalls.h (exp10): Declare if
4528         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
4530         * manual/arith.texi (nextup): Fix typo in last change.
4532 2016-08-03  Zack Weinberg  <zackw@panix.com>
4534         [BZ #19239]
4535         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
4536         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
4537         define major, minor, and makedev to issue deprecation warnings on use.
4538         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
4539         previously-activated deprecation warnings for these macros and prevent
4540         subsequent inclusions of this header from having any effect.
4541         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
4542         including <sys/sysmacros.h>, and undefine it again afterward.
4544 2016-08-03  Zack Weinberg  <zackw@panix.com>
4546         * sysdeps/generic/sys/sysmacros.h: Delete file.
4547         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
4548         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
4549         * bits/sysmacros.h: ... here; this encoding is now the generic
4550         encoding.  Now defines only the following macros:
4551         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
4552         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
4553         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
4555         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
4556         bits/sysmacros.h and the above new macros to generate the
4557         public implementations of major, minor, and makedev.
4558         * misc/tst-makedev.c: New test.
4559         * include/sys/sysmacros.h: New wrapper.
4561         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
4562         (routines): Add makedev.
4563         (tests): Add tst-makedev.
4564         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
4565         gnu_dev_makedev.
4566         * posix/Makefile (headers): Remove sys/sysmacros.h.
4567         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
4569         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
4570         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
4571         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
4572         * sysdeps/unix/sysv/linux/alpha/libc.abilist
4573         * sysdeps/unix/sysv/linux/arm/libc.abilist
4574         * sysdeps/unix/sysv/linux/hppa/libc.abilist
4575         * sysdeps/unix/sysv/linux/i386/libc.abilist
4576         * sysdeps/unix/sysv/linux/ia64/libc.abilist
4577         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
4578         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
4579         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
4580         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4581         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4582         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4583         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4584         * sysdeps/unix/sysv/linux/nios2/libc.abilist
4585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4589         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
4590         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
4591         * sysdeps/unix/sysv/linux/sh/libc.abilist
4592         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
4593         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
4594         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
4595         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
4596         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
4597         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
4598         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
4599         Add GLIBC_2.25.
4601         * include/features.h (__glibc_clang_prereq): New macro.
4602         * misc/sys/cdefs.h (__glibc_clang_has_extension)
4603         (__attribute_deprecated_msg__): New macros.
4605 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
4607         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
4608         macro.
4609         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
4610         * manual/arith.texi (issignaling): Document as ISO from TS
4611         18661-1:2014.
4612         (nextup): Likewise.
4613         (nextupf): Likewise.
4614         (nextupl): Likewise.
4615         (nextdown): Likewise.
4616         (nextdownf): Likewise.
4617         (nextdownl): Likewise.
4618         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
4619         macro.
4620         * math/math.h: Define
4621         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4622         <bits/libc-header-start.h> instead of including <features.h>.
4623         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
4624         [__USE_GNU].
4625         * math/bits/mathcalls.h (nextdown): Declare if
4626         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
4627         (nextup): Likewise.
4628         (__issignaling): Likewise.
4630 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4632         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
4633         check, and remove __glibc_likely hint
4634         from FP_INFINITE check.
4635         * s_csinhf.c (__csinhf): Likewise.
4637         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
4638         hint from FP_INFINITE check.
4639         * s_csinhl.c (__csinhl): Likewise.
4641 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4643         * math/Makefile (libm-calls): Insert F placeholder into
4644         object names.  Move w_lgamma_compat* routines into
4645         (libm-compat-calls): New variable.
4646         (libm-compat-calls-ldouble-yes): New variable.
4647         (calls): Insert F placeholder.
4648         (generated): Redefine using new type-foreach macro call.
4649         (routines): Likewise.
4651         (types): New variable to hold a list of symbolic names
4652         for each type supported by the target machine.
4653         (libm-routines): Redefine using new types variable.
4654         (type-foreach): macro to replace fooF with the
4655         appropriately suffixed foo for each types.
4657         (type-ldouble-suffix): New variable.
4658         (type-ldouble-routines): Likewise.
4659         (type-ldouble-yes): Likewise.
4660         (type-double-suffix): Likewise.
4661         (type-double-routines): Likewise.
4662         (type-float-suffix): Likewise.
4663         (type-float-routines): Likewise.
4665         (dbl-only-routines): Remove.
4666         (long-c-yes): Likewise.
4667         (long-m-routines): Likewise.
4668         (long-m-support): Likewise.
4669         (long-m-yes): Likewise.
4670         (test-longdouble-yes): Likewise.
4672         (test-float.o): Simplify by increasing the scope of the
4673         recipe which adds libm-test.stmp to the vector types.
4674         (test-ifloat.o): Likewise.
4675         (test-float-finite.o): Likewise.
4676         (test-double.o): Likewise
4677         (test-idouble.o): Likewise.
4678         (test-double-finite.o): Likewise.
4679         (test-ldouble.o): Likewise
4680         (test-ildoubl.o): Likewise.
4681         (test-ldouble-finite.o): Likewise.
4683         (libm-tests): Redefine type tests using foreach and the
4684         list of types in types.
4686         (CPPFLAGS-test-ildoubl.c): Rename to
4687         (CPPFLAGS-test-ildouble.c): New variable
4689         * math/test-ildoubl.c: Rename to
4690         * math/test-ildouble.c: New file.
4692 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4694         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
4695         Use fabsl instead of fabs.
4696         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
4697         Likewise.
4698         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
4699         Add long double suffix to constant to ensure proper
4700         promotion to long double.
4702 2016-08-03  Tom Tromey  <tom@tromey.com>
4704         [BZ #20311]
4705         * nptl_db/Makefile (headers): Add proc_service.h.
4706         * nptl_db/proc_service.h: Add include guard.  Use
4707         __BEGIN/__END_DECLS.
4708         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
4709         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
4710         arguments.
4713 2016-08-03  Florian Weimer  <fweimer@redhat.com>
4715         [BZ #17730]
4716         Avoid using memalign for TCB allocations.
4717         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
4718         (_dl_allocate_tls_storage): Use malloc and manual alignment.
4719         Avoid alignment gap in the TLS_DTV_AT_TP case.
4720         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
4721         determine the pointer to free.
4722         * nptl/tst-tls3-malloc.c: New test.
4723         * nptl/Makefile (tests): Add it.
4724         (tst-tls3-malloc): Link with libdl, libpthread.
4725         (LDFLAGS-tst-tls3-malloc): Set.
4726         (tst-tls3-malloc.out): Depend on DSO used in test.
4728 2016-08-03  Florian Weimer  <fweimer@redhat.com>
4730         [BZ #17730]
4731         Avoid using memalign for TLS allocations.
4732         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
4733         is_static member with to_free member.
4734         (union dtv): Use struct dtv_pointer.
4735         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
4736         dtv_pointer instead of is_static.
4737         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
4738         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
4739         instead of val.
4740         (allocate_dtv_entry): New function.
4741         (allocate_and_init): Return struct dtv_pointer.  Call
4742         allocate_dtv_entry instead of __libc_memalign.
4743         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
4744         instead of val.
4745         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
4746         instead of is_static.  Adjust call to allocate_and_init.
4747         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
4748         struct dtv_pointer instead of val.
4750 2016-08-03  Florian Weimer  <fweimer@redhat.com>
4752         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
4753         (MALLOC_ALIGN_MASK): Move ...
4754         * malloc/malloc-internal.h: ... to here.
4755         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
4757 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
4759         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
4760         (UDP_ENCAP_GTP1U): Likewise.
4762         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
4763         (PF_MAX): Update value.
4764         (AF_QIPCRTR): New macro.
4766 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
4768         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
4769         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4770         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4771         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
4772         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
4773         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
4774         s_truncf-vis3, s_trunc-vis3.
4775         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
4776         (CFLAGS-s_ceil-vis3.c): Likewise.
4777         (CFLAGS-s_floorf-vis3.c): Likewise.
4778         (CFLAGS-s_floor-vis3.c): Likewise.
4779         (CFLAGS-s_truncf-vis3.c): Likewise.
4780         (CFLAGS-s_trunc-vis3.c): Likewise.
4781         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
4782         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
4783         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
4784         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
4785         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
4786         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
4787         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
4788         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
4789         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
4790         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
4791         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
4792         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
4794 2016-08-02  David S. Miller  <davem@davemloft.net>
4796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
4797         (__nearbyint_vis3): Don't check for sNaN before float register is
4798         loaded with the incoming argument.
4799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
4800         (__nearbyintf_vis3): Likewise.
4801         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
4802         Likewise.
4803         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
4804         Likewise.
4806         * string/test-strncmp.c (do_test_limit): Make sure the test data
4807         stream is aligned as required for the type "CHAR".
4808         (do_test): Likewise.
4810 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
4812         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
4813         by beq instructions jumping to the end of the function.
4814         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
4815         clobber list. Use "i" constraint instead of "X".
4816         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
4817         of "X".
4819 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
4821         * bits/libc-header-start.h: New file.
4822         * Makefile (headers): Add bits/libc-header-start.h.
4823         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
4824         (__GLIBC_USE): New macro.
4825         * libio/stdio.h: Define
4826         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4827         <bits/libc-header-start.h> instead of including <features.h>.
4828         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
4829         (open_memstream): Likewise.
4830         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
4831         (__asprintf): Likewise.
4832         (asprintf): Likewise.
4833         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
4834         (getdelim): Likewise.
4835         (getline): Likewise.
4836         * string/string.h: Define
4837         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4838         <bits/libc-header-start.h> instead of including <features.h>.
4839         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
4840         (strndup): Likewise.
4841         * wcsmbs/wchar.h: Define
4842         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4843         <bits/libc-header-start.h> instead of including <features.h>.
4844         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
4845         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
4847 2016-08-02  Florian Weimer  <fweimer@redhat.com>
4849         Support linking against compatibility symbols, for use in tests.
4850         * include/libc-symbols.h (symbol_version_reference): New macro.
4851         (symbol_version): Use it.
4852         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
4853         (compat_symbol): Use compat_symbol_reference.
4854         (compat_symbol_1, compat_symbol_2): Remove.
4855         (compat_symbol_reference, compat_symbol_reference_1)
4856         (compat_symbol_reference_2): New macro.  Use
4857         symbol_version_reference.
4859 2016-08-02  Florian Weimer  <fweimer@redhat.com>
4861         [BZ #19469]
4862         * malloc/Makefile (CPPFLAGS): Compile tests with
4863         -DTEST_NO_MALLOPT.
4864         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
4866 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
4868         [BZ #20033]
4869         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
4870         finite version.
4871         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
4872         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
4873         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
4874         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
4875         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
4876         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
4877         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
4878         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
4879         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
4880         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
4881         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
4882         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
4883         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
4884         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
4885         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
4886         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
4887         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
4888         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
4889         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
4890         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
4891         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
4892         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
4893         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
4894         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
4895         in zero power.
4897 2016-08-02  Florian Weimer  <fweimer@redhat.com>
4899         [BZ #20370]
4900         * malloc/arena.c (get_free_list): Update comment.  Assert that
4901         arenas on the free list have no attached threads.
4902         (remove_from_free_list): New function.
4903         (reused_arena): Call it.
4905 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
4907         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
4908         when it is a NaN.
4909         [_IEEE_FP_INEXACT] Remove.
4910         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
4911         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
4912         when it is a NaN.
4913         [_IEEE_FP_INEXACT] Remove.
4914         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
4915         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
4916         when it is a NaN.
4917         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
4918         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
4919         when its absolute value is greater than 0x1.0p52.
4920         [_IEEE_FP_INEXACT] Remove.
4921         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
4922         when its absolute value is greater than 0x1.0p23.
4923         [_IEEE_FP_INEXACT] Remove.
4925 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
4927         * version.h (RELEASE): Set to "development"
4928         (VERSION): Set to 2.24.90.
4929         * NEWS: Add 2.25 section.
4931         * version.h (RELEASE): Set to "stable"
4932         (VERSION): Set to 2.24.
4933         * include/features.h (__GLIBC_MINOR__): Set to 24.
4935         * NEWS: Add 2.24 fixed bugs.
4936         * po/libc.pot: Regenerate.
4938 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
4940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
4941         [$(subdir) = math] (libm-sysdep_routines): Remove.
4942         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
4943         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
4944         s_truncf-vis3, s_trunc-vis3.
4945         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
4947         file.
4948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
4949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
4950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
4951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
4954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
4955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
4957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
4958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
4959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
4960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
4961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
4962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
4963         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4964         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4965         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4966         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
4967         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
4968         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
4969         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
4970         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4971         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4972         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
4973         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4974         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4975         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
4976         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4977         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4978         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
4979         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4980         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4981         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
4982         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
4983         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
4984         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
4985         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4986         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4987         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
4988         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
4989         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
4990         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
4992 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
4994         [BZ #20384]
4995         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
4996         test-double-libmvec-sincos-avx-main.o,
4997         test-double-libmvec-sincos-avx2-main.o,
4998         test-double-libmvec-sincos-main.o,
4999         test-float-libmvec-sincosf-avx-main.o,
5000         test-float-libmvec-sincosf-avx2-main.o and
5001         test-float-libmvec-sincosf-main.o.
5002         test-float-libmvec-sincosf-avx512-main.o.
5003         ($(objpfx)test-double-libmvec-sincos): Also link with
5004         $(objpfx)test-double-libmvec-sincos-main.o.
5005         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
5006         $(objpfx)test-double-libmvec-sincos-avx-main.o.
5007         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
5008         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
5009         ($(objpfx)test-float-libmvec-sincosf): Also link with
5010         $(objpfx)test-float-libmvec-sincosf-main.o.
5011         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
5012         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
5013         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
5014         test-double-libmvec-sincos-avx512-main.o and
5015         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
5016         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
5017         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
5018         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
5019         (CFLAGS-test-double-libmvec-sincos.c): Removed.
5020         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
5021         (CFLAGS-test-double-libmvec-sincos-main.c): New.
5022         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
5023         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
5024         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
5025         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
5026         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
5027         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
5028         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
5029         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
5030         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
5031         -DREQUIRE_AVX2.
5032         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
5033         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
5034         -DREQUIRE_AVX512F.
5035         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
5036         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
5037         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
5038         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
5039         file.
5040         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
5041         Likewise.
5042         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
5043         Likewise.
5044         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
5045         Likewise.
5046         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
5047         Likewise.
5048         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
5049         Likewise.
5050         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
5051         Likewise.
5052         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
5053         Likewise.
5055 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
5057         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
5059 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
5061         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
5062         and typo in a comment about AT_HWCAP entry.
5064 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5066         * sysdeps/aarch64/libm-test-ulps: Updated.
5068 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5070         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
5071         of r13 as it is not restored in mvcle case.
5073 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
5075         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
5076         Rename "ret" to "__ret".
5077         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
5078         inline_syscall5, inline_syscall6): Likewise.
5080 2016-07-19   Will Newton  <will.newton@gmail.com>
5082         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
5083         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
5084         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
5085         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
5086         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
5088 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
5090         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
5091         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
5092         -mfpmath=387 with $(rtld-CFLAGS).
5093         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
5094         $(rtld-CFLAGS).
5096 2016-07-18   Ross Burton  <ross.burton@intel.com>
5097              Khem Raj  <raj.khem@gmail.com>
5099         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
5100         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
5101         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
5102         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
5103         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
5104         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
5105         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
5106         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
5107         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
5108         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
5109         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
5110         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
5111         R_METAG_TLS_DTPOFF): New.
5113 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5114             Matt Clay  <mclay@lycos.com>
5116         [BZ #20357]
5117         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
5118         to call __mpsin/__mpcos and to negate values.
5119         * math/auto-libm-test-in: Add test.
5120         * math/auto-libm-test-out: Regenerate.
5122 2016-07-18  Zack Weinberg  <zackw@panix.com>
5124         * grp/Makefile: Don't install the internal header grp-merge.h.
5126 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5128         * sysdeps/aarch64/libm-test-ulps: Regenerated.
5130 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5132         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
5134 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5136         [BZ #15368]
5137         * sysdeps/unix/sysv/linux/nptl-signals.h
5138         (__nptl_clear_internal_signals): New function.
5139         (__libc_signal_block_all): Likewise.
5140         (__libc_signal_block_app): Likewise.
5141         (__libc_signal_restore_set): Likewise.
5142         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
5143         implementation.
5144         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
5145         the cached pid/tid value in pthread structure.
5147 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
5149         [BZ #20347]
5150         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
5152 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
5154         [BZ #20348]
5155         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
5156         preadv64, pwrite64 and pwritev64.
5158 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
5160         [BZ #20350]
5161         * posix/tst-preadwrite.c: Renamed to ...
5162         * posix/tst-preadwrite-common.c: This.
5163         (PREAD): Removed.
5164         (PWRITE): Likewise.
5165         (STRINGIFY): Likewise.
5166         (STRINGIFY2): Likewise.
5167         (do_prepare): Make it static and remove function arguments.
5168         (do_test): Likewise.
5169         (PREPARE): Updated.
5170         (TEST_FUNCTION): New.
5171         (name): Make it static.
5172         (fd): Likewise.
5173         (do_prepare): Use create_temp_file.
5174         (do_test): Renamed to ...
5175         (do_test_with_offset): This.  Make it static and accept offset.
5176         Properly check return value of PWRITE and PREAD.  Return bytes
5177         read.  Don't close fd nor unlink name.
5178         * posix/tst-preadwrite.c: Rewrite.
5179         * posix/tst-preadwrite64.c: Likewise.
5181 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
5183         [BZ #20309]
5184         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
5185         -mtls-dialect=gnu2 works.
5186         * configure: Regenerated.
5187         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
5188         (tests): Add tst-gnu2-tls1.
5189         (modules-names): Add tst-gnu2-tls1mod.
5190         ($(objpfx)tst-gnu2-tls1): New.
5191         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
5192         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
5193         * elf/tst-gnu2-tls1.c: New file.
5194         * elf/tst-gnu2-tls1mod.c: Likewise.
5195         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
5196         bytes for push in the PLT entry to align the stack.
5198 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
5200         [BZ #20349]
5201         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
5203 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5205         [BZ #18707]
5206         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
5207         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
5209 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5211         * sysdeps/unix/sysv/linux/sysdep.h
5212         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
5213         guards.
5214         * misc/tst-preadvwritev-common.c: New file.
5215         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
5216         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
5217         a check for files larger than 2GB.
5219         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5220         (__ASSUME_OFF_DIFF_OFF64): Remove define.
5221         * sysdeps/unix/sysv/linux/pread.c
5222         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
5223         __OFF_T_MATCHES_OFF64_T.
5224         * sysdeps/unix/sysv/linux/pread64.c
5225         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
5226         * sysdeps/unix/sysv/linux/preadv.c
5227         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
5228         * sysdeps/unix/sysv/linux/preadv64.c
5229         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
5230         * sysdeps/unix/sysv/linux/pwrite.c
5231         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
5232         * sysdeps/unix/sysv/linux/pwrite64.c
5233         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
5234         * sysdeps/unix/sysv/linux/pwritev.c
5235         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
5236         * sysdeps/unix/sysv/linux/pwritev64.c
5237         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
5239 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
5241         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5242         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
5244 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
5246         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
5248 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
5250         [BZ #20240]
5251         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
5252         (CFLAGS-s_modf-ppc32.c): New variable.
5253         (CFLAGS-s_modff-ppc32.c): Likewise.
5254         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
5255         (CFLAGS-s_modf-ppc64.c): Likewise.
5256         (CFLAGS-s_modff-ppc64.c): Likewise.
5258 2016-07-07  Andreas Schwab  <schwab@suse.de>
5260         [BZ #20263]
5261         * nptl/tst-robust10.c: New test.
5262         * nptl/Makefile (tests): Add tst-robust10.
5264 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
5266         [BZ #20263]
5267         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
5269 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
5271         * sysdeps/s390/linkmap.h (struct link_map_machine):
5272         Remove member gotplt and add member jmprel.
5273         * sysdeps/s390/s390-32/dl-machine.h
5274         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
5275         instead of gotplt with &got[3].
5276         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
5277         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5279 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
5281         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
5283 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5285         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
5286         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
5287         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
5288         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
5289         * libio/vtables.c (_IO_vtable_check)
5290         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
5291         * libio/libioP.h (IO_set_accept_foreign_vtables)
5292         [!PTR_MANGLE]: Do not call PTR_MANGLE.
5294 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
5296         [BZ #20314]
5297         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
5298         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
5299         $(common-objpfx)cmath.
5300         ($(common-objpfx)cstdlib): New target.
5301         ($(common-objpfx)cmath): Likewise.
5303 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
5305         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
5307 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5309         [BZ #20327]
5310         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
5311         are not part of the string.
5313 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5315         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
5316         * nptl/tst-cancel4-common.h (fifoname): New variable.
5317         (fifofd): Likewise.
5318         (cl_fifo): New function.
5319         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
5320         SIGINT.
5321         (tf_open): Add early cancel test.
5323 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
5325         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
5327 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
5329         * sysdeps/generic/ldsodefs.h
5330         (dl_symbol_visibility_binds_local_p): New inline function.
5331         * elf/dl-addr.c (determine_info): Treat hidden and internal
5332         symbols as local.
5333         * elf/dl-lookup.c (do_lookup_x): Likewise.
5334         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
5336 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
5338         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
5339         invalid exception for a sNaN input.
5340         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
5341         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
5342         (__nearbyint_vis3): Likewise
5343         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
5344         (__nearbyintf_vis3): Likewise
5345         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
5346         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
5347         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
5348         Likewise.
5349         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
5350         Likewise.
5352 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
5354         [BZ #20139]
5355         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
5356         (HAVE_AVX512DQ_ASM_SUPPORT): This.
5357         * sysdeps/x86_64/configure.ac: Require assembler from binutils
5358         2.24 or above.
5359         (HAVE_AVX512_ASM_SUPPORT): Removed.
5360         (HAVE_AVX512DQ_ASM_SUPPORT): New.
5361         * sysdeps/x86_64/configure: Regenerated.
5362         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
5363         check unconditional.
5364         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
5365         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5366         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5367         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
5368         Likewise.
5369         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
5370         Likewise.
5371         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
5372         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
5373         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5374         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5375         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
5376         Likewise.
5377         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
5378         Likewise.
5379         * sysdeps/x86_64/multiarch/memset.S: Likewise.
5380         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5381         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
5382         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
5383         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
5384         Likewise.
5385         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
5386         Likewise.
5387         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
5388         Likewise.
5389         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
5390         Likewise.
5391         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
5392         Likewise.
5393         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
5394         Likewise.
5395         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
5396         Likewise.
5397         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
5398         Likewise.
5399         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
5400         Likewise.
5401         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
5402         Likewise.
5403         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
5404         Likewise.
5406 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
5408         [BZ #20024]
5409         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
5410         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
5411         of this implementation of vector function.
5412         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
5413         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
5414         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
5415         Likewise.
5416         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
5417         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
5418         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
5419         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
5420         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
5421         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
5422         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
5423         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
5424         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
5425         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
5426         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
5427         for testing vector sincos with fixed ABI.
5428         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5429         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5430         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5431         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
5432         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5433         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5434         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5435         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
5436         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
5437         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
5438         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
5439         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
5440         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
5441         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
5442         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
5443         * sysdeps/x86_64/fpu/Makefile: Added new tests.
5445 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
5447         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
5449 2016-06-30  Anton Blanchard  <anton@samba.org>
5451         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
5452         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
5453         s_sinf-ppc64.
5454         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
5455         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
5456         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
5457         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
5459 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5461         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5462         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
5463         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
5464         e_expf-ppc64.
5465         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
5466         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
5467         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
5468         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
5470 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
5472         [BZ #20277]
5473         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
5474         when SHARED is defined.
5476 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
5478         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
5479         (index_arch_Prefer_ERMS): Likewise.
5480         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
5481         __memcpy_erms for Prefer_ERMS.
5482         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
5483         (__memmove_erms): Enabled for libc.a.
5484         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
5485         __memmove_erms or Prefer_ERMS.
5486         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
5487         __mempcpy_erms for Prefer_ERMS.
5488         * sysdeps/x86_64/multiarch/memset.S (memset): Return
5489         __memset_erms for Prefer_ERMS.
5491 2016-06-30  Andreas Schwab  <schwab@suse.de>
5493         [BZ #20262]
5494         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
5495         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
5496         of memory.
5498 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
5500         [BZ #18645]
5501         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
5502         (test-extras): Add tst-cleanupx4aux.
5503         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
5504         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
5505         tst-cleanupx4aux.o.
5506         * nptl/tst-cleanupx4aux.c: New file.
5508 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
5510         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
5512 2016-06-29  Andreas Schwab  <schwab@suse.de>
5514         [BZ #20260]
5515         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
5516         address before the beginning of the string as an integer to avoid
5517         array-bounds warning.
5519 2016-06-28  Richard Henderson  <rth@redhat.com>
5521         * elf/elf.h (EM_BPF): New.
5522         (EM_NUM): Update.
5523         (R_BPF_NONE, R_BPF_MAP_FD): New.
5525         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
5526         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
5527         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
5528         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
5529         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
5530         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
5531         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
5532         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
5533         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
5534         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
5535         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
5536         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
5537         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
5538         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
5539         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
5540         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
5541         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
5542         (EM_NUM): Update.
5544 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
5546         [BZ #18960]
5547         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
5548         Set _nl_current_LC_CATEGORY_used to two instead of one.
5550 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
5552         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
5553         (do_test): ... this.
5554         (TEST_FUNCTION): New macro.
5555          Include test-skeleton.c.
5556         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
5557         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
5559 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
5561         [BZ #15479]
5562         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
5563         floating-point environment rather than just control word.
5564         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
5565         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
5566         floating-point environment, with "invalid" exceptions merged in,
5567         rather than just control word.
5568         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
5569         * math/libm-test.inc (trunc_test_data): Do not allow spurious
5570         "inexact" exceptions.
5572         [BZ #15479]
5573         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
5574         floating-point environment rather than just control word.
5575         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
5576         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
5577         floating-point environment, with "invalid" exceptions merged in,
5578         rather than just control word.
5579         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
5580         * math/libm-test.inc (floor_test_data): Do not allow spurious
5581         "inexact" exceptions.
5583         [BZ #15479]
5584         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
5585         floating-point environment rather than just control word.
5586         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
5587         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
5588         floating-point environment, with "invalid" exceptions merged in,
5589         rather than just control word.
5590         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
5591         * math/libm-test.inc (ceil_test_data): Do not allow spurious
5592         "inexact" exceptions.
5594 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
5596         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
5597         __libc_vfork.
5598         (__vfork) [IS_IN (libc)]: Remove alias.
5599         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
5600         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
5601         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
5603 2016-06-24  Torvald Riegel  <triegel@redhat.com>
5605         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
5606         of atomic_compare_and_exchange_bool_rel.
5607         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5608         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
5609         catomic_compare_and_exchange_bool_rel): Remove.
5610         * sysdeps/aarch64/atomic-machine.h
5611         (atomic_compare_and_exchange_bool_rel): Likewise.
5612         * sysdeps/alpha/atomic-machine.h
5613         (atomic_compare_and_exchange_bool_rel): Likewise.
5614         * sysdeps/arm/atomic-machine.h
5615         (atomic_compare_and_exchange_bool_rel): Likewise.
5616         * sysdeps/mips/atomic-machine.h
5617         (atomic_compare_and_exchange_bool_rel): Likewise.
5618         * sysdeps/microblaze/atomic-machine.h
5619         ( __arch_compare_and_exchange_bool_8_rel,
5620         __arch_compare_and_exchange_bool_16_rel): Likewise.
5621         * sysdeps/powerpc/atomic-machine.h
5622         ( __arch_compare_and_exchange_bool_8_rel,
5623         __arch_compare_and_exchange_bool_16_rel): Likewise.
5624         * sysdeps/powerpc/powerpc32/atomic-machine.h
5625         ( __arch_compare_and_exchange_bool_32_rel,
5626         __arch_compare_and_exchange_bool_64_rel): Likewise.
5627         * sysdeps/powerpc/powerpc64/atomic-machine.h
5628         ( __arch_compare_and_exchange_bool_32_rel,
5629         __arch_compare_and_exchange_bool_64_rel): Likewise.
5630         * sysdeps/tile/atomic-machine.h
5631         (atomic_compare_and_exchange_bool_rel): Likewise.
5633 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
5635         [BZ #20296]
5636         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
5637         when either argument is a NaN.
5638         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5639         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
5641         * math/libm-test.inc (snan_value_ld): New macro.
5642         (isgreater_test_data): Add sNaN tests.
5643         (isgreaterequal_test_data): Likewise.
5644         (isless_test_data): Likewise.
5645         (islessequal_test_data): Likewise.
5646         (islessgreater_test_data): Likewise.
5647         (isunordered_test_data): Likewise.
5648         (nextafter_test_data): Likewise.
5649         (nexttoward_test_data): Likewise.
5650         (remainder_test_data): Likewise.
5651         (remquo_test_data): Likewise.
5652         (significand_test_data): Likewise.
5653         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
5655 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5657         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
5658         environment macros are defined.
5659         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
5661 2016-06-23  Florian Weimer  <fweimer@redhat.com>
5663         [BZ #20191]
5664         Implement vtable verification in libio.
5665         * Makerules (shlib.lds): Place __libc_IO_vtables section.
5666         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
5667         * debug/vdprintf_chk.c (__vdprintf_chk): Call
5668         _IO_new_file_init_internal instead of _IO_file_init.
5669         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
5670         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
5671         * libio/Makefile (routines): Add vtables.
5672         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
5673         (_IO_init): Remove, not for internal use.
5674         (_IO_init_internal): Declare, internal replacement for _IO_init.
5675         (_IO_file_init): Remove, not for internal use.
5676         (_IO_new_file_init): Remove, not for internal use.
5677         (_IO_new_file_init_internal): Declare, internal replacement for
5678         _IO_new_file_init.
5679         (_IO_old_file_init): Remove, not for internal use.
5680         (_IO_old_file_init_internal): Declare, internal replacement for
5681         _IO_old_file_init.
5682         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
5683         internal use.
5684         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
5685         Declare.
5686         (libio_vtable): New macro.
5687         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
5688         functions.
5689         * libio/fileops.c (_IO_new_file_init_internal): Rename from
5690         _IO_new_file_init.
5691         (_IO_new_file_init): New externally visible wrapper which disables
5692         vtable verification.
5693         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
5694         Define as vtables.
5695         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
5696         (_IO_init): New externally visible wrapper which disables
5697         vtable verification.
5698         * libio/iofdopen.c (_IO_new_fdopen): Call
5699         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
5700         comment.
5701         * libio/iofopen.c (__fopen_internal): Call
5702         _IO_new_file_init_internal instead of _IO_file_init.
5703         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
5704         Define as vtables.
5705         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
5706         _IO_new_file_init_internal instead of _IO_file_init.
5707         * libio/iopopen.c (_IO_new_popen): Likewise.
5708         (_IO_proc_jumps): Define as vtable.
5709         * libio/iovdprintf.c (_IO_vdprintf): Call
5710         _IO_new_file_init_internal instead of _IO_file_init.
5711         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
5712         (__open_memstream): Call _IO_init_internal instead of _IO_init.
5713         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
5714         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
5715         _IO_old_file_init.
5716         (_IO_old_file_init): New externally visible wrapper which disables
5717         vtable verification.
5718         (_IO_old_file_jumps): Define as vtable.
5719         * libio/oldiofdopen.c (_IO_old_fdopen): Call
5720         _IO_old_file_init_internal instead of _IO_old_file_init.
5721         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5722         * libio/oldiopopen.c (_IO_old_popen): Likewise.
5723         (_IO_old_proc_jumps): Define as vtable.
5724         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
5725         Define as vtables.
5726         * libio/vtables.c: New file.
5727         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
5728         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
5729         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
5730         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
5731         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
5732         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
5733         instead of _IO_init.
5735 2016-06-23  Florian Weimer  <fweimer@redhat.com>
5737         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
5739 2016-06-23  Florian Weimer  <fweimer@redhat.com>
5741         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
5742         potentially unused.
5744 2016-06-22  Florian Weimer  <fweimer@redhat.com>
5746         * test-skeleton.c (write_message): New function.
5747         * malloc/tst-mallocfork2.c (write_message): Remove.
5748         * debug/tst-longjmp_chk2.c (write_indented): New function.
5749         (write_message): Remove.
5750         (stackoverflow_handler): Call write_indented.
5752 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
5754         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
5755         "inexact" exceptions after fnstenv.
5756         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
5757         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
5758         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
5760 2015-06-22  Zack Weinberg  <zackw@panix.com>
5762         * sysdeps/generic/bits/hwcap.h: Moved to ...
5763         * bits/hwcap.h: Here.
5765 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
5767         * sysdeps/aarch64/memcpy.S (memcpy):
5768         Further tuning for performance.
5770 2016-06-21  Florian Weimer  <fweimer@redhat.com>
5772         [BZ #20284]
5773         * malloc/arena.c (reused_arena): Do not return NULL if we start
5774         out with a non-corrupted arena.
5776 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5778         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
5779         * misc/tst-preadvwritev.c: New file.
5780         * misc/tst-preadvwritev64.c: Likewise.
5781         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
5782         usage.
5783         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
5784         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
5785         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
5786         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
5788 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
5790         [BZ #19654]
5791         * sysdeps/x86_64/fpu/Makefile: Added new tests.
5792         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
5793         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
5794         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
5795         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
5796         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
5797         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
5798         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
5799         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
5800         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
5801         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
5802         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
5803         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
5804         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
5805         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
5806         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
5807         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
5808         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
5809         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
5810         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
5811         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
5812         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
5813         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
5814         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
5815         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
5816         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
5818 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
5820         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
5821         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
5823 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
5825         * sysdeps/aarch64/memcpy.S (memcpy):
5826         Rewrite of optimized memcpy and memmove.
5827         * sysdeps/aarch64/memmove.S (memmove): Remove
5828         memmove code (merged into memcpy.S).
5830 2016-06-20  Florian Weimer  <fweimer@redhat.com>
5832         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
5833         * sysdeps/generic/dl-dtv.h: New file.
5834         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5835         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
5836         (dtv_t): Remove.
5837         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5838         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
5839         (dtv_t): Remove.
5840         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5841         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
5842         (dtv_t): Remove.
5843         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5844         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
5845         (dtv_t): Remove.
5846         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5847         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
5848         (dtv_t): Remove.
5849         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5850         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
5851         (dtv_t): Remove.
5852         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5853         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
5854         (dtv_t): Remove.
5855         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
5856         (dtv_t): Remove.
5857         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5858         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
5859         (dtv_t): Remove.
5860         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5861         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
5862         (dtv_t): Remove.
5863         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5864         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
5865         (dtv_t): Remove.
5866         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5867         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
5868         (dtv_t): Remove.
5869         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5870         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
5871         (dtv_t): Remove.
5872         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5873         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
5874         (dtv_t): Remove.
5875         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5876         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
5877         (dtv_t): Remove.
5878         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5879         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
5880         (dtv_t): Remove.
5882 2016-06-20  Florian Weimer  <fweimer@redhat.com>
5884         Revert symbol poisoning of  __malloc_initialize_hook.
5885         * include/stdc-predef.h (__malloc_initialize_hook): Remove
5886         poisoning.
5887         * malloc/Makefile: Remove un-poisoning.
5888         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
5889         instead of old__malloc_initialize_hook.
5890         * malloc/malloc-hooks.h: Likewise.
5891         * malloc/malloc.c: Likewise.
5892         * malloc/mcheck-init.c: Likewise.
5894 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
5896         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
5898 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
5900         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
5901         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
5902         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
5903         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
5905 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5907         * NEWS: Mention addition of nextup and nextdown.
5908         * manual/arith.texi: Document nextup and nextdown.
5909         * manual/libm-err-tab.pl: Add nextup and nextdown.
5910         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
5911         * math/Versions (libm): Add GLIBC_2.24.
5912         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
5913         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
5914         Add new test.
5915         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
5916         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
5917         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
5918         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
5919         (nextup_test_data): Likewise.
5920         (nextdown_test_data): Likewise.
5921         * math/s_nextdown.c: New file.
5922         * math/s_nextdownf.c: Likewise.
5923         * math/s_nextdownl.c: Likewise.
5924         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
5925         F(nextup): New function.
5926         F(nextdown): Likewise.
5927         * math/tgmath.h: Add nextup and nextdown.
5928         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
5929         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
5930         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
5931         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
5932         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
5933         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
5934         Add nextup and nextdown.
5935         (CFLAGS-nldbl-nextup.c): New variable.
5936         (CFLAGS-nldbl-nextdown.c): Likewise.
5937         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
5938         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
5939         * sysdeps/nacl/libm.abilist: Update.
5940         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5941         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5942         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5943         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5944         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5945         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5946         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5947         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5948         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5949         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5950         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5951         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
5953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5954         Likewise.
5955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
5956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
5957         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5958         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5959         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5960         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5961         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5962         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
5963         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
5964         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5965         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5966         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
5967         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5969 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5971         * manual/pattern.texi: Fix typos & grammar errors.
5973 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5975         * manual/search.texi: Fix typos & grammar errors.
5977 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5979         * manual/message.texi: Fix typos & grammar errors.
5981 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
5983         * manual/contrib.texi: Fix spelling typos.
5984         * manual/crypt.texi: Likewise.
5985         * manual/filesys.texi: Likewise.
5986         * manual/locale.texi: Likewise.
5987         * manual/message.texi: Likewise.
5988         * manual/nss.texi: Likewise.
5989         * manual/string.texi: Likewise.
5991 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5993         * manual/locale.texi: Fix typos & grammar errors.
5995 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5997         * manual/charset.texi: Fix typos & grammar errors.
5999 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6001         * manual/string.texi: Fix typos.
6003 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6005         * manual/ctype.texi: Fix typos.
6007 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6009         * manual/memory.texi: Fix various typos & grammar errors.
6011 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
6013         [BZ #20255]
6014         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
6015         * math/libm-test.inc (fdim_test_data): Add another test.
6017         [BZ #6796]
6018         [BZ #20255]
6019         [BZ #20256]
6020         * math/s_fdim.c: Include <math_private.h>.
6021         (__fdim): Use math_narrow_eval on result.
6022         * math/s_fdimf.c: Include <math_private.h>.
6023         (__fdimf): Use math_narrow_eval on result.
6024         * sysdeps/i386/fpu/s_fdim.S: Remove file.
6025         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
6026         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
6027         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
6028         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
6029         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
6030         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
6031         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
6032         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
6033         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
6034         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
6035         * math/libm-test.inc (fdim_test_data): Expect errno setting on
6036         overflow.  Add sNaN tests.
6038         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
6039         fpclassify.
6040         * math/s_fdimf.c (__fdimf): Likewise.
6041         * math/s_fdiml.c (__fdiml): Likewise.
6043 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6045         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6046         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
6047         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6048         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
6049         ifunc'ed strcasecmp/strncasecmp.
6050         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
6051         [EALIGN]: Removed.
6052         [END]: Likewise.
6053         [__strcasecmp]: Define instead of the above to control symbol name.
6054         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
6055         for __strcasecmp_power8.
6056         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
6057         for __strncasecmp_power8.
6058         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
6059         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
6060         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
6061         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
6062         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
6063         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
6065 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
6067         [BZ #20252]
6068         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
6069         arguments when second argument is a NaN.
6070         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
6071         qNaN tests.
6073         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
6074         (conj_test_data): Likewise.
6075         (copysign_test_data): Likewise.
6076         (creal_test_data): Likewise.
6077         (fma_test_data): Likewise.
6078         (fmod_test_data): Likewise.
6080         [BZ #20250]
6081         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
6082         itself.
6083         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
6084         zero input to itself.
6085         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
6086         Likewise.
6087         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
6088         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
6089         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
6090         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
6091         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
6093 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6095         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
6096         * nptl/tst-cancel4-common.c: New file.
6097         * nptl/tst-cancel4-common.h: Likewise.
6098         * nptl/tst-cancel4.c: Move common definitions to
6099         tst-cancel4-common.{c,h} file.
6100         * nptl/tst-cancel4_1.c: New test.
6101         * nptl/tst-cancel4_2.c: New test.
6103 2016-06-13  Florian Weimer  <fweimer@redhat.com>
6105         [BZ #20248]
6106         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
6107         (write_message): New function.
6108         (stackoverflow_handler): Call it instead of printf, to avoid
6109         excessive stack usage by printf.
6110         (do_test): Restore SIGSEGV, SIGBUS default handlers.
6112 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6114         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
6115         (prio_inherit_missing): Remove define.
6116         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6117         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6118         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
6119         Likewise.
6120         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6121         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6122         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6123         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6124         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6125         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6127 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6129         [BZ #19670]
6130         [BZ #19672]
6132         * io/test-lfs.c (do_prepare): Use xmalloc.
6133         * io/tst-fcntl.c (do_prepare): Likewise.
6134         * libio/tst-fopenloc.c (do_bz17916): Likewise.
6135         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
6136         * login/tst-utmp.c (do_prepare): Likewise.
6137         * posix/tst-exec.c (do_prepare): Likewise.
6138         * posix/tst-pathconf.c (prepare): Likewise.
6139         * posix/tst-spawn.c (do_prepare): Likewise.
6140         * posix/tst-truncate.c (do_prepare): Likewise.
6141         * rt/tst-aio.c (do_prepare): Likewise.
6142         * rt/tst-aio64.c (do_prepare): Likewise.
6144 2016-06-11  Florian Weimer  <fweimer@redhat.com>
6146         [BZ #20237]
6147         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
6148         (get*ent): Set entidx to NULL during initialization.  If entidx is
6149         NULL, start iteration from the beginning.
6151 2016-06-11  Florian Weimer  <fweimer@redhat.com>
6153         * malloc/malloc.c (musable): Return correct size for dumped fake
6154         mmapped chunk.
6156 2016-06-11  Florian Weimer  <fweimer@redhat.com>
6158         [BZ #20222]
6159         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
6160         (_IO_cookie_write): Likewise.
6161         (_IO_cookie_seek): Likewise.
6162         (_IO_cookie_close): Likewise.
6163         (_IO_old_cookie_seek): Likewise.
6164         (set_callbacks): New function.
6165         (_IO_cookie_init): Call set_callbacks to copy callbacks.
6167 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
6169         * locale/programs/localedef.c (oldstyle_tables): Remove.
6170         * locale/programs/localedef.h (oldstyle_tables): Likewise.
6172 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
6174         [BZ #20240]
6175         * math/Makefile (CFLAGS-s_modf.c): New variable.
6176         (CFLAGS-s_modff.c): Likewise.
6177         (CFLAGS-s_modfl.c): Likewise.
6178         * math/libm-test.inc (modf_test_data): Add sNaN tests.
6180 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
6182         [BZ #20215]
6183         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
6184         [!__GNUC_PREREQ (3,2)]: Likewise.
6186 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
6188         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
6189         (msghdr.msg_controllen): Likewise.
6190         (cmsghdr.cmsg_len): Likewise.
6191         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
6192         ptw-oldsendmsg.
6193         (CFLAGS-oldrecvmsg.c): Remove rule.
6194         (CFLAGS-oldsendmsg.c): Likewise.
6195         (CFLAGS-recvmsg.c): Add rule.
6196         (CFLAGS-sendmsg.c): Likewise.
6197         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
6198         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
6199         (CFLAGS-recvmsg.c): Remove rule.
6200         (CFLAGS-sendmsg.c): Likewise.
6201         (CFLAGS-oldrecvmsg.c): Likewise.
6202         (CFLAGS-oldsendmsg.c): Likewise.
6203         (CFLAGS-recvmmsg.c): Likewise.
6204         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
6205         to kernel defined interfaces.
6206         (msghdr.msg_controllen): Likewise.
6207         (cmsghdr.cmsg_len): Likewise.
6208         (msghdr.__glibc_reserved1): Remove member.
6209         (msghdr.__glibc_reserved2): Likewise.
6210         (cmsghdr.__glibc_reserved1): Likewise.
6211         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
6212         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
6213         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
6214         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
6215         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
6216         version.
6217         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
6218         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
6219         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
6220         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
6221         Remove recvmsg and sendmsg.
6222         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
6223         Likewise.
6224         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
6225         Likewise.
6226         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
6227         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
6228         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
6229         Likewise.
6230         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
6231         Likewise.
6232         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
6233         [libc] (GLIBC_2.24): Likewise.
6234         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
6235         Likewise.
6236         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
6237         Likewise.
6238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
6239         [libc] (GLIBC_2.24): Likewise.
6240         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
6241         Likewise.
6242         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
6243         Likewise.
6244         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
6245         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
6246         Likewise.
6247         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
6248         Likewise.
6249         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
6250         Likewise.
6251         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
6252         Likewise.
6253         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
6254         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
6255         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
6256         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
6257         version for {recv,send,recm,sendm}msg.
6258         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6259         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6260         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6261         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6262         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6263         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6264         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6265         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6266         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6267         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
6268         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6269         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6271         Likewise.
6272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6273         Likewise.
6274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6276         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6277         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6278         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6279         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6280         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6281         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6282         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
6283         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
6284         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6285         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6286         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6288 2016-06-10  Florian Weimer  <fweimer@redhat.com>
6290         [BZ #19564]
6291         Remove __malloc_initialize_hook from the API.
6292         * malloc/malloc.h (__malloc_initialize_hook): Remove.
6293         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
6294         #pragma GCC poison.
6295         * malloc/malloc-hooks.h: New file.
6296         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
6297         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
6298         (old__malloc_initialize_hook): Rename from
6299         __malloc_initialize_hook to evade poisoning.  Turn into compat
6300         symbol.
6301         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
6302         __malloc_initialize_hook.
6303         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
6304         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
6305         * manual/memory.texi (Hooks for Malloc): Remove
6306         __malloc_initialize_hook.  Adjust hook example.
6308 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
6310         [BZ #20235]
6311         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
6312         itself.
6313         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
6314         * math/libm-test.inc (log2_test_data): Add sNaN tests.
6316         [BZ #20234]
6317         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
6318         infinity or NaN input to itself.
6320         [BZ #20233]
6321         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
6322         to itself.
6324         [BZ #20232]
6325         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
6326         itself.
6328 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
6330         * sysdeps/x86_64/start.S (_start): Always indirect branch to
6331         __libc_start_main via GOT.
6333 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
6335         * sysdeps/x86_64/memcopy.h: New file.
6336         * sysdeps/x86_64/wordcopy.c: Likewise.
6338 2016-06-09  Florian Weimer  <fweimer@redhat.com>
6340         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
6341         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
6342         <cstdlib>.
6343         (optimization_barrier): New.
6344         (do_test): Use it.  Call quick_exit in the global namespace.
6345         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
6346         instead of <cstdlib>, <thread>.
6347         (optimization_barrier): New.
6348         (non_main_thread): Adjust declaration.  Call optimization_barrier.
6349         Call quick_exit in the global namespace.
6350         (do_test): Call optimization_barrier.  Use pthread_create,
6351         pthread_join instead of std::thread.
6353 2016-06-09  Andreas Schwab  <schwab@suse.de>
6355         [BZ #19755]
6356         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
6357         new entries in auto-propagate mode.
6358         * nscd/grpcache.c (cache_addgr): Likewise.
6360 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6362         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
6363         New functions.
6364         (add_temp_file): Use them.
6366 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
6368         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
6370 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
6372         [BZ #20229]
6373         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
6374         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
6375         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
6377         [BZ #20228]
6378         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
6379         itself.
6380         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
6381         * math/libm-test.inc (log10_test_data): Add sNaN tests.
6383         [BZ #20227]
6384         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
6385         itself.
6386         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6387         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
6388         * math/libm-test.inc (log_test_data): Add sNaN tests.
6390         [BZ #20226]
6391         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
6392         itself.
6393         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
6394         * math/libm-test.inc (exp_test_data): Add sNaN tests.
6395         (exp10_test_data): Likewise.
6396         (expm1_test_data): Likewise.
6398         [BZ #20225]
6399         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
6400         itself.
6401         * math/s_ldexpf.c (__ldexpf): Likewise.
6402         * math/s_ldexpl.c (__ldexpl): Likewise.
6403         * math/w_scalbln.c (__w_scalbln): Likewise.
6404         * math/w_scalblnf.c (__w_scalblnf): Likewise.
6405         * math/w_scalblnl.c (__w_scalblnl): Likewise.
6406         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
6407         (scalbln_test_data): Likewise.
6409         [BZ #20224]
6410         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
6411         argument to itself.
6412         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
6414 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
6416         [BZ #19776]
6417         * sysdeps/x86_64/memcpy.S: Make it dummy.
6418         * sysdeps/x86_64/mempcpy.S: Likewise.
6419         * sysdeps/x86_64/memmove.S: New file.
6420         * sysdeps/x86_64/memmove_chk.S: Likewise.
6421         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
6422         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
6423         * sysdeps/x86_64/memmove.c: Removed.
6424         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
6425         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
6426         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
6427         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
6428         Likewise.
6429         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6430         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6431         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6432         memcpy-sse2-unaligned, memmove-avx-unaligned,
6433         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
6434         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6435         (__libc_ifunc_impl_list): Replace
6436         __memmove_chk_avx512_unaligned_2 with
6437         __memmove_chk_avx512_unaligned.  Remove
6438         __memmove_chk_avx_unaligned_2.  Replace
6439         __memmove_chk_sse2_unaligned_2 with
6440         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
6441         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
6442         with __memmove_avx512_unaligned.  Replace
6443         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
6444         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
6445         with __memcpy_chk_avx512_unaligned.  Remove
6446         __memcpy_chk_avx_unaligned_2.  Replace
6447         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
6448         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
6449         Replace __memcpy_avx512_unaligned_2 with
6450         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
6451         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
6452         with __mempcpy_chk_avx512_unaligned.  Remove
6453         __mempcpy_chk_avx_unaligned_2.  Replace
6454         __mempcpy_chk_sse2_unaligned_2 with
6455         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
6456         Replace __mempcpy_avx512_unaligned_2 with
6457         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
6458         Replace __mempcpy_sse2_unaligned_2 with
6459         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
6460         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
6461         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
6462         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
6463         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
6464         (ENTRY): Removed.
6465         (END): Likewise.
6466         (ENTRY_CHK): Likewise.
6467         (libc_hidden_builtin_def): Likewise.
6468         Don't include ../memcpy.S.
6469         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
6470         __memcpy_chk_avx512_unaligned_erms and
6471         __memcpy_chk_avx512_unaligned.  Use
6472         __memcpy_chk_avx_unaligned_erms and
6473         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
6474         Default to __memcpy_chk_sse2_unaligned.
6475         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
6476         Change function suffix from unaligned_2 to unaligned.
6477         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
6478         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
6479         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
6480         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
6481         (ENTRY): Removed.
6482         (END): Likewise.
6483         (ENTRY_CHK): Likewise.
6484         (libc_hidden_builtin_def): Likewise.
6485         Don't include ../mempcpy.S.
6486         (mempcpy): New.  Add a weak alias.
6487         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
6488         __mempcpy_chk_avx512_unaligned_erms and
6489         __mempcpy_chk_avx512_unaligned.  Use
6490         __mempcpy_chk_avx_unaligned_erms and
6491         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
6492         Default to __mempcpy_chk_sse2_unaligned.
6494 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
6496         [BZ #19881]
6497         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
6498         into ...
6499         * sysdeps/x86_64/memset.S: This.
6500         (__bzero): Removed.
6501         (__memset_tail): Likewise.
6502         (__memset_chk): Likewise.
6503         (memset): Likewise.
6504         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
6505         defined.
6506         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
6507         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
6508         (__memset_zero_constant_len_parameter): Check SHARED instead of
6509         PIC.
6510         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6511         memset-avx2 and memset-sse2-unaligned-erms.
6512         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6513         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
6514         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
6515         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
6516         (__bzero): Enabled.
6517         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
6518         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
6519         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
6520         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
6521         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
6522         (memset): Removed.
6523         (__memset_chk): Likewise.
6524         (MEMSET_SYMBOL): New.
6525         (libc_hidden_builtin_def): Replace __memset_sse2 with
6526         __memset_sse2_unaligned.
6527         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
6528         __memset_chk_sse2 and __memset_chk_avx2 with
6529         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
6530         Use __memset_chk_sse2_unaligned_erms or
6531         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
6532         __memset_chk_avx512_unaligned_erms and
6533         __memset_chk_avx512_unaligned.
6535 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6537         * math/gen-auto-libm-test.c (fp_format_desc): remove
6538         suffix member.
6539         (output_generic_value): Remove usage of suffix member,
6540         and the resulting unuse of the fp_format argument.
6541         (output_for_one_input_case): Remove unused fp_format
6542         parameter.
6544         * math/auto-libm-test-out: Regenerate.
6546         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
6547         usage with TEST_COND_ibm128.
6548         (TEST_COND_flt_32): Remove.
6549         (TEST_COND_dbl_64): Remove.
6550         (TEST_COND_ldbl_96_intel): Remove.
6551         (TEST_COND_ldbl_96_m68k): Remove.
6552         (TEST_COND_ldbl_128): Remove.
6554 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6556         * auto-libm-test-in:
6557         Replace flt-32 usage with binary32.
6558         Replace dbl-64 usage with binary64.
6559         Replace ldbl-intel-96 usage with intel96.
6560         Replace ldbl-m68k-96 usage with m68k96.
6561         Replace ldbl-128ibm usage with ibm128.
6562         Replace ldbl-128 usage with binary128.
6564         * auto-libm-test-out: Regenerate.
6566 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6568         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
6569         (parse_ulps): Dynamically generate type name matching
6570         string from all_floats.
6571         (get_ulps): Generate the ulps as an array instead.
6572         (output_ulps): Dynamically compose the type based
6573         on the number of supported formats, and print
6574         the indices as type specific helper macros.
6576         * math/libm-test.inc: Remove comment about CHOOSE.
6577         (ulp_data): Generate the type in libm-test-ulps.h.
6578         (ULP_IDX): New macro.
6579         (find_ulps): Update usage of max_ulp.
6581         * math/test-double-vlen2.h (CHOOSE): Remove.
6582         * math/test-double-vlen4.h (CHOOSE): Likewise.
6583         * math/test-double-vlen8.h (CHOOSE): Likewise.
6584         * math/test-float.c (CHOOSE): Likewise.
6585         * math/test-float-finite.c (CHOOSE): Likewise.
6586         * math/test-double.c (CHOOSE): Likewise.
6587         * math/test-double-finite.c (CHOOSE): Likewise.
6588         * math/test-idouble.c (CHOOSE): Likewise.
6589         * math/test-ifloat.c (CHOOSE): Likewise.
6590         * math/test-ildoubl.c (CHOOSE): Likewise.
6591         * math/test-ldouble-finite.c (CHOOSE): Likewise.
6592         * math/test-ldouble.c (CHOOSE): Likewise.
6594         * math/test-float.h (TEST_FLOAT): Remove.
6595         * math/test-double.h (TEST_DOUBLE): Likewise.
6596         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
6598 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6600         * math/gen-libm-test.pl: (apply_lit): New subroutine.
6601         (parse_args): Strip C suffix from floating point literals
6602         typed with 'f' and wrap them with LIT().
6604         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
6605         (test_ff_f_data_nexttoward): Rename to
6606         (test_fj_f_data): New struct.
6607         (nexttoward_test_data): Relabel tests as
6608         TEST_fj_f instead of TEST_ff_f.
6610 2016-06-08  Florian Weimer  <fweimer@redhat.com>
6612         Emacs bug 23726.
6613         * malloc/malloc.c (dumped_main_arena_start): Update comment.
6614         (__libc_realloc): Correct size computation for dumped fake mmapped
6615         chunks.
6617 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
6619         [BZ #20219]
6620         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
6621         to itself.
6622         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
6624         [BZ #20218]
6625         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
6626         to itself.
6627         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
6629 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
6631         [BZ #20195]
6632         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
6633         check to ...
6634         (init_cpu_features): Here.
6636 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
6638         [BZ #20214]
6639         * sysdeps/unix/sysv/linux/bits/in.h
6640         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
6641          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
6642         Define to 1.
6643         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
6644          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
6645         Define to 0.
6646         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
6647         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
6649 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
6651         [BZ #20198]
6652         * stdlib/Makefile (tests): Add tst-quick_exit, and
6653         tst-thread-quick_exit.
6654         [ifeq ($(have-cxx-thread_local),yes)]
6655         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
6656         (CFLAGS-tst-thread-quick_exit.o): Likewise.
6657         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
6658         (LDLIBS-tst-thread-quick_exit): Likewise.
6659         [ifneq ($(have-cxx-thread_local),yes)]
6660         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
6661         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
6662         If run_dtors is true call __call_tls_dtors.
6663         (exit): Call __run_exit_handlers with run_dtors set to true.
6664         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
6665         definition.
6666         * stdlib/quick_exit.c (quick_exit): Remove function.
6667         (__new_quick_exit): New function.
6668         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
6669         function.
6670         * stdlib/tst-quick_exit.cc: New file.
6671         * stdlib/tst-thread-quick_exit.cc: New file.
6672         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
6673         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
6674         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
6675         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
6676         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
6677         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
6678         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
6679         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
6680         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
6681         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
6682         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
6683         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
6684         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
6685         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
6686         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
6687         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
6688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
6689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
6690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
6691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
6692         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
6693         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
6694         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
6695         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
6696         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
6697         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
6698         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
6699         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
6700         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
6701         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
6703 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
6705         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
6706         a typo in comments.
6708 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
6710         [BZ #20213]
6711         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
6712         argument to itself.
6713         * math/libm-test.inc (asin_test_data): Add sNaN tests.
6715 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6717         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
6718         required flags.
6719         (CFLAGS-pwritev64.c): Likewise.
6720         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
6721         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
6722         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
6723         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
6724         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
6725         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
6726         syscall from auto-generation.
6727         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
6728         [WORDSIZE == 64] (pwritev64): Remove macro.
6729         [!PWRITEV] (PWRITEV): Likewise.
6730         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
6731         [!PWRITEV] (PWRITE): Likewise.
6732         [!PWRITEV] (OFF_T): Likewise.
6733         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
6734         (LO_HI_LONG): Remove macro.
6735         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
6736         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
6737         (PWRITEV): Remove macro.
6738         (PWRITEV_REPLACEMENTE): Likewise.
6739         (PWRITE): Likewise.
6740         (OFF_T): Likewise.
6741         (pwritev64): New function.
6742         * nptl/tst-cancel4.c (tf_writev): Add test.
6744         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
6745         required flags.
6746         (CFLAGS-preadv64.c): Likewise.
6747         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
6748         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
6749         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
6750         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
6751         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
6752         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
6753         syscall from auto-generation.
6754         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
6755         [WORDSIZE == 64] (preadv64): Remove macro.
6756         [!PREADV] (PREADV): Likewise.
6757         [!PREADV] (PREADV_REPLACEMENT): Likewise.
6758         [!PREADV] (PREAD): Likewise.
6759         [!PREADV] (OFF_T): Likewise.
6760         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
6761         (LO_HI_LONG): Remove macro.
6762         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
6763         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
6764         (PREADV): Remove macro.
6765         (PREADV_REPLACEMENTE): Likewise.
6766         (PREAD): Likewise.
6767         (OFF_T): Likewise.
6768         (preadv64): New function.
6769         * nptl/tst-cancel4.c (tf_preadv): Add test.
6771 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
6773         [BZ #20212]
6774         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
6775         argument to itself.
6776         * math/libm-test.inc (acos_test_data): Add sNaN tests.
6778 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6780         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
6781         New symbol defined as libc_hidden_def.
6782         (strcasestr): Became a weak alias to __strcasestr.
6783         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
6784         according to multi-arch support.  Move __stpncpy hidden
6785         definition from here to...
6786         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
6787         symbol stpncpy.
6788         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
6789         libc_hidden_builtin_def.
6790         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
6791         memset symbol to use when multi-arch support is available.
6793 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
6795         * dlfcn/tst-rec-dlopen.c: Include string.h.
6797 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
6799         * manual/install.texi: Remove mention of --without-tls
6800         * INSTALL: Regenerate.
6802 2016-06-05  Florian Weimer  <fweimer@redhat.com>
6804         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
6805         Remove.
6806         (call_function, interposed_malloc_called): New variables.
6807         (malloc): New function.
6808         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
6809         and clear call_function as needed.
6811 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
6813         * include/wchar.h (__wmemset): Use __typeof.
6815 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
6817         * include/wchar.h (__wmemset): Declare function without typeof.
6819 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
6821         [BZ #20205]
6822         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
6823         exponent when incrementing negative subnormal with low mantissa
6824         word zero.
6825         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
6826         Add another test.
6828 2016-06-03  Florian Weimer  <fweimer@redhat.com>
6830         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
6831         __wmemset instead of wmemset.
6833 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
6835         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
6836         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
6837         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
6838         __USE_KERNEL_IPV6_DEFS to 0.
6839         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
6840         Update comment.
6842 2016-06-01  Florian Weimer  <fweimer@redhat.com>
6844         [BZ #19861]
6845         Do not use IFUNC resolver with potentially unrelocated symbol.
6846         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
6847         (DEFINE_FORK): Remove macro and inline definition.
6848         (fork_alias): Renamed from fork_ifunc.
6849         (__fork_alias): Renamed from __fork_ifunc.
6851 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
6853         [BZ 19653]
6854         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
6855         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
6857 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6859         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
6860         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
6861         i386-linux-gnu).
6862         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
6863         Set to no.
6864         * sysdeps/mach/hurd/configure: Refresh.
6866 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6868         [BZ #20178]
6869         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
6870         on failure instead of exit.
6872 2016-05-30  Roland McGrath  <roland@hack.frob.com>
6874         [BZ #3629]
6875         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
6876         of POSIX.1-2008.
6878 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6880         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
6881           Use PLT entry for calling _hurd_self_sigstate.
6883 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
6885         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
6886         available logical processors with SMT level type sharing L2
6887         cache for Intel processors.
6889 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
6891         [BZ #20160]
6892         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
6893         argument to itself before returning the result.
6894         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
6895         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
6896         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
6897         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
6898         Likewise.
6899         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
6900         Likewise.
6901         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
6902         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
6903         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
6904         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
6905         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
6906         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
6908         [BZ #20160]
6909         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
6910         argument to itself before returning the result.
6911         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
6912         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
6913         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
6914         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
6915         Likewise.
6916         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6917         Likewise.
6918         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
6919         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
6920         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
6921         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
6922         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
6923         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
6925 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6927         * libm-test.inc: Replace usage of M_El with
6928         (lit_e): New macro.
6930 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6932         * libm-test.inc: Replace usage of M_PI_4l with
6933         (lit_pi_4_d): New macro.
6935 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6937         * libm-test.inc: Replace usage of M_PIl with
6938         (lit_pi): New macro.
6940 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6942         * libm-test.inc: Replace usage of M_PI2l with
6943         (lit_pi_2_d): New macro.
6945         * math/test-double.h (LITM): New macro.
6946         * math/test-float.h (LITM): Likewise.
6947         * math/test-ldouble.h (LITM): Likewise.
6949 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6951         * libm-test.inc (M_PI_34l): Rename to
6952         (lit_pi_3_m_4_d): New Macro.
6953         (M_PI_34_LOG10El): Rename to
6954         (lit_pi_3_m_4_ln10_m_d): New Macro.
6955         (M_PI2_LOG10El): Rename to
6956         (lit_pi_2_ln10_m_d):  New Macro.
6957         (M_PI4_LOG10El): Rename to
6958         (lit_pi_4_ln10_m_d):  New Macro.
6959         (M_PI_LOG10El): Rename to
6960         (lit_pi_ln10_d):  New Macro.
6962 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
6964         [BZ #20157]
6965         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
6966         determine whether to negate low half if [_ARCH_PPCGR], and integer
6967         comparison otherwise.
6968         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
6969         determine whether to negate low half.
6971         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
6972         (NO_TEST_INLINE_DOUBLE): Likewise.
6973         (TEST_COND_x86_64): Likewise.
6974         (TEST_COND_x86): Likewise.
6975         (M_PI_6l): Likewise.
6977 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6979         * math/libm-test.inc:
6980         (TEST_FLOAT): Change usage to TEST_COND_binary32.
6981         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
6982         (TEST_LDOUBLE): Update usage to evaluate as true if
6983         the guarded tests match the property being tested.
6984         (LDBL_MAX_EXP): Change to MAX_EXP.
6985         (LDBL_MIN_EXP): Change to MIN_EXP.
6986         (LDBL_MANT_DIG): Change to MANT_DIG, except for
6987         nexttoward tests.
6989 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6991         * math/libm-test.inc:
6992         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
6993         (TYPE_MIN): Likewise.
6994         (TYPE_TRUE_MIN): Likewise.
6995         (TYPE_MAX): Likewise.
6996         (MIN_EXP): Likewise.
6997         (MAX_EXP): Likewise.
6998         (MANT_DIG): Likewise.
7000         (FSTR_MAX): New macro.
7001         (__CONCATX): Likewise.
7002         (QTYPE_STR): Likewise.
7003         (TEST_COND_binary32): Likewise.
7004         (TEST_COND_binary64): Likewise.
7005         (TEST_COND_binary128): Likewise.
7006         (TEST_COND_ibm128): Likewise.
7007         (TEST_COND_intel96): Likewise.
7008         (TEST_COND_m68k96): Likewise.
7010         (TEST_COND_flt_32): Redefine as equivalent format test macro.
7011         (TEST_COND_dbl_64): Likewise.
7012         (TEST_COND_ldbl_96_intel): Likewise.
7013         (TEST_COND_ldbl_96_m68k): Likewise.
7014         (TEST_COND_ldbl_128): Likewise.
7015         (TEST_COND_ldbl_128ibm): Likewise.
7017         (plus_zero): Redefine using LIT macro.
7018         (minus_zero): Likewise.
7019         (plus_infty): Redefine as (INF).
7020         (minux_infty): Redefine as (-INF).
7021         (max_value): Redefine as TYPE_MAX.
7022         (min_value): Redefine as TYPE_MIN.
7023         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
7025         (print_float): Refactor to use snprintf to convert FLOAT values
7026         to string. This brings it closer to dropin replacement of strtof
7027         for the TS 18661 defined types.
7028         (update_stats): Likewise.
7029         (print_complex_function_ulps): Likewise.
7030         (print_max_error): Likewise.
7031         (print_complex_max_error): Likewise.
7032         (check_float_internal): Likewise.
7034         * math/test-float.h (PREFIX): New macro.
7035         (LIT): Likewise.
7036         (TYPE_STR): Likewise.
7037         (FTOSTR): Likewise.
7039         * math/test-double.h (PREFIX): New macro.
7040         (LIT): Likewise.
7041         (TYPE_STR): Likewise.
7042         (FTOSTR): Likewise.
7044         * math/test-ldouble.h (PREFIX): New macro.
7045         (LIT): Likewise.
7046         (TYPE_STR): Likewise.
7047         (FTOSTR): Likewise.
7049 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
7051         [BZ #20156]
7052         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
7053         to itself when zero or not finite.
7054         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
7055         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7056         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
7057         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7059 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
7061         [BZ #20153]
7062         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
7063         x * x + x for infinities and NaNs.
7065         [BZ #20151]
7066         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
7067         argument to itself before returning result.
7068         (__ieee754_y0l): Likewise.
7069         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
7070         (__ieee754_y1l).
7072         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
7073         (atan_test_data): Likewise.
7074         (ceil_test_data): Likewise.
7075         (cos_test_data): Likewise.
7076         (cosh_test_data): Likewise.
7077         (erf_test_data): Likewise.
7078         (exp2_test_data): Likewise.
7079         (fabs_test_data): Likewise.
7080         (floor_test_data): Likewise.
7081         (ilogb_test_data): Likewise.
7082         (j0_test_data): Likewise.
7083         (j1_test_data): Likewise.
7084         (jn_test_data): Likewise.
7085         (lgamma_test_data): Likewise.
7086         (lrint_test_data): Likewise.
7087         (llrint_test_data): Likewise.
7088         (logb_test_data): Likewise.
7089         (lround_test_data): Likewise.
7090         (llround_test_data): Likewise.
7091         (nearbyint_test_data): Likewise.
7092         (rint_test_data): Likewise.
7093         (round_test_data): Likewise.
7094         (sin_test_data): Likewise.
7095         (sincos_test_data): Likewise.
7096         (sinh_test_data): Likewise.
7097         (sqrt_test_data): Likewise.
7098         (tan_test_data): Likewise.
7099         (tanh_test_data): Likewise.
7100         (tgamma_test_data): Likewise.
7101         (trunc_test_data): Likewise.
7102         (y0_test_data): Likewise.
7103         (y1_test_data): Likewise.
7104         (yn_test_data): Likewise.
7106         * math/libm-test.inc: Update comment about NaN testing.
7107         (TEST_SNAN): New macro.
7108         (snan_value): Likewise.
7109         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
7110         (fpclassify_test_data): Add sNaN tests.
7111         (isfinite_test_data): Likewise.
7112         (isinf_test_data): Likewise.
7113         (isnan_test_data): Likewise.
7114         (isnormal_test_data): Likewise.
7115         (issignaling_test_data): Likewise.
7116         (signbit_test_data): Likewise.
7117         * math/gen-libm-test.pl (%beautify): Add snan_value.
7118         (show_exceptions): Add argument $test_snan.
7119         (parse_args): Handle snan_value as non-finite.  Update call to
7120         show_exceptions.
7121         * math/Makefile (libm-test-no-inline-cflags): Add
7122         -fsignaling-nans.
7124 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7126         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
7127         (CFLAGS-oldsendmsg.c): Add rule.
7128         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
7129         Correct recvmsg symbol name.
7130         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
7131         Likewise.
7133 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7135         * sysdeps/unix/sysv/linux/Makefile
7136         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
7137         oldsendmmsg.
7138         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
7139         sendmmsg.
7140         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7141         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7142         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7143         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7145         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7146         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7147         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
7148         Likewise.
7149         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7150         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
7151         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
7152         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
7153         iovlen and controllen fields to adjust to POSIX specification.
7154         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
7156         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
7157         and change to correct expected type.
7158         (msghdr.msg_controllen): Likewise.
7159         (cmsghdr.cmsg_len): Likewise.
7160         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
7161         expected POSIX assumption about the size.
7162         (msghdr.msg_controllen): Likewise.
7163         (msghdr.__glibc_reserved1): Likewise.
7164         (msghdr.__glibc_reserved2): Likewise.
7165         (cmsghdr.cmsg_len): Likewise.
7166         (cmsghdr.__glibc_reserved1): Likewise.
7167         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
7168         Add ptw-oldrecvmsg and ptw-oldsendmsg.
7169         (CFLAGS-sendmsg.c): Remove rule.
7170         (CFLAGS-recvmsg.c): Likewise.
7171         (CFLAGS-oldsendmsg.c): Add rule.
7172         (CFLAGS-oldrecvmsg.c): Likewise.
7173         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
7174         recvmsg and sendmsg.
7175         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
7176         Likewise.
7177         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
7178         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
7179         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
7180         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
7181         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
7182         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
7183         Likewise.
7184         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
7185         Likewise.
7186         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
7187         Likewise.
7188         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
7189         Likewise.
7190         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
7191         Likewise.
7192         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
7193         Likewise.
7194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
7195         (GLIBC_2.24): Likewise.
7196         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
7197         Likewise.
7198         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
7199         Likewise.
7200         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
7201         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
7202         Likewise.
7203         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
7204         Likewise.
7205         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
7206         Likewise.
7207         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
7208         (GLIBC_2.24): Likewise.
7209         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
7210         Likewise.
7211         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
7212         Likewise.
7213         * sysdeps/unix/sysv/linux/Makefile
7214         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
7215         (CFLAGS-sendmsg.c): Add rule.
7216         (CFLAGS-recvmsg.c): Likewise.
7217         (CFLAGS-oldsendmsg.c): Likewise.
7218         (CFLAGS-oldrecvmsg.c): Likewise.
7219         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
7220         initialization.
7221         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
7222         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
7223         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
7224         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
7225         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
7226         iovlen and controllen fields to adjust to POSIX specification.
7227         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
7228         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
7229         added recvmsg and sendmsg.
7230         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7231         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7232         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7233         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7234         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7235         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7236         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7237         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7238         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7239         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7240         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7241         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
7242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7243         Likewise.
7244         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
7245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7246         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7247         Likewise.
7248         Likewise.
7249         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7250         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7251         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7252         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7253         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7254         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7255         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7256         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7257         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7258         Likewise.
7259         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7260         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7262         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
7263         from auto-generation.
7264         (sendmsg): Likewise.
7265         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
7266         (sendmsg): Likewise.
7267         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
7268         (sendmsg): Likewise.
7269         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
7270         (sendmsg): Likewise.
7271         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
7272         (sendmsg): Likewise.
7273         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
7274         (sendmsg): Likewise.
7275         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
7276         Likewise.
7277         (sendmsg): Likewise.
7278         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
7279         (sendmsg): Likewise.
7280         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7281         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7282         Remove.
7283         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7284         Likewise.
7285         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7286         Undefine.
7287         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7288         Likewise.
7289         * sysdeps/unix/sysv/linux/kernel-features.h
7290         (__ASSUME_SENDMSG_SYSCALL): Define.
7291         (__ASSUME_RECVMSG_SYSCALL): Likewise.
7292         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7293         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7294         Remove.
7295         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7296         Likewise.
7297         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7298         Undefine.
7299         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7300         Likewise.
7301         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7302         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7303         Remove.
7304         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7305         Likewise.
7306         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7307         Undefine.
7308         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7309         Likewise.
7310         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7311         (__ASSUME_SENDMSG_SYSCALL): Undefine.
7312         (__ASSUME_RECVMSG_SYSCALL): Likewise.
7313         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7314         (__ASSUME_SENDMSG_SYSCALL): Likewise.
7315         (__ASSUME_RECVMSG_SYSCALL): Likewise.
7316         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7317         (__ASSUME_SENDMSG_SYSCALL): Likewise.
7318         (__ASSUME_RECVMSG_SYSCALL): Likewise.
7320 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7322         * stdlib/gen-tst-strtod-round.c: Add backslash to
7323         compile command in comment.
7324         (printfp): Remove the literal suffix, and define an infinite
7325         value as INF to avoid expansion clash with INFINITY.
7326         (round_str): Remove the literal suffix.
7327         (round_for_all): Likewise, remove the now duplicate ldbl-64
7328         entry, and remove some magic constants.
7330         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
7331         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
7332         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
7333         (_CONCAT): New macro.
7334         (CONCAT): Likewise.
7335         (CHOOSE_ld): Likewise.
7336         (CHOOSE_f): Likewise.
7337         (CHOOSE_d): Likewise.
7338         (FTYPE_MEMBER): Likewise.
7339         (BOOL_MEMBER): Likewise.
7340         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
7341         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
7342         (_XNTRY): Likewise.
7343         (XNTRY): Likewise.
7344         (_ENTRY): Likewise.
7345         (ENTRY): Likewise.
7346         (test_exactness): Generate members via macro.
7347         (test_results): Likewise.
7348         (test): Update members.
7349         (TEST): Redefine using new macros.
7350         (INF): New macro.
7351         (fetestmodes): New structure.
7352         (do_test): Refactor to be type generic.
7353         (test_in_one_mode): Refactor duplicate code into
7354         (GEN_ONE_TEST): New macro.
7356         * stdlib/tst-strtod-round-data.h: Regenerate.
7358         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
7359         Extend to pass additional arbitrary parameters to
7360         generators.
7362 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
7364         [BZ #15479]
7365         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
7366         floating-point state after first floating-point operation on
7367         input.  Restore full floating-point state instead of just rounding
7368         mode.
7369         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
7370         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
7371         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
7372         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
7373         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
7375         [BZ #15479]
7376         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
7377         floating-point state after first floating-point operation on
7378         input.  Restore full floating-point state instead of just rounding
7379         mode.
7380         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
7381         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
7382         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
7383         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
7384         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
7386 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7388         [BZ #19727]
7389         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
7390         valid high surrogate.
7391         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
7392         of an utf16 surrogate.
7393         * iconv/gconv_simple.c (BODY): Likewise.
7394         * iconvdata/bug-iconv12.c: New file.
7395         * iconvdata/Makefile (tests): Add bug-iconv12.
7397 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7399         [BZ #19726]
7400         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
7401         outptrp in case of an illegal input.
7402         * iconv/tst-iconv6.c: New file.
7403         * iconv/Makefile (tests): Add tst-iconv6.
7405 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7407         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
7408         an error in case of a value in range of an utf16 low surrogate.
7410 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7412         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
7413         an error in case of a value in range of an utf16 low surrogate.
7415 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7417         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
7418         Move to ...
7419         * sysdeps/s390/Makefile: ... here.
7420         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
7421         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
7422         (BRANCH_ON_COUNT): New define.
7423         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
7424         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
7425         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
7426         run on s390-32, too.
7427         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
7428         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
7429         run on s390-32, too.
7430         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
7431         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
7432         run on s390-32, too.
7434 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7436         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
7437         etf3eh or new vector loop-variant.
7439 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7441         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
7442         etf3eh or new vector loop-variant.
7444 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7446         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
7447         or new vector loop-variant.
7449 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7451         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
7452         Rename to TR_LOOP and usage of tr instead of troo instruction.
7454 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7456         * sysdeps/s390/multiarch/gconv_simple.c: New File.
7457         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
7459 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7461         * sysdeps/s390/multiarch/8bit-generic.c: New File.
7462         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
7463         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
7464         New override define.
7465         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
7467 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7469         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
7470         * sysdeps/s390/configure.ac: Add test for S390 vector register
7471         support in gcc.
7472         * sysdeps/s390/configure: Regenerated.
7474 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7476         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
7477         Install file from $(objpfx)gconv-modules.
7478         ($(objpfx)gconv-modules): Concatenate architecture specific file
7479         in variable sysdeps-gconv-modules and gconv-modules in src dir.
7480         * sysdeps/s390/gconv-modules: New file.
7481         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
7482         Deleted.
7483         ($(objpfx)gconv-modules-s390): Deleted.
7484         (sysdeps-gconv-modules): New variable.
7486 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
7488         [BZ #15479]
7489         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
7490         of immediate operand to rounding instruction.
7491         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
7492         Likewise.
7493         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
7494         Likewise.
7495         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
7496         Likewise.
7498 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7500         * math/libm-test.inc (MIN_EXP): Directly define as
7501         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
7503 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7505         * math/libm-test.inc (MANT_DIG): Directly define as
7506         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
7508 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7510         * stdlib/gen-tst-strtod-round.c (main):
7511           Change usage to more closely match the generated
7512           output.  Add usage and compilation instructions.
7513           (string_to_fp): Add and use FILE* parameter as
7514           output target.
7515           (print_fp): Likewise.
7516           (round_str): Likewise.
7517           (round_for_all): Likewise.
7518         * stdlib/tst-strtod-round.c (tests): Move into
7519         * stdlib/tst-strtod-round-data.h: New file.
7521 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
7523         [BZ #15479]
7524         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
7525         (__round): Do not force "inexact" exception.
7526         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
7527         variable.
7528         (__round): Do not force "inexact" exception.
7529         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
7530         (__roundf): Do not force "inexact" exception.
7531         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
7532         (__roundl): Do not force "inexact" exception.
7533         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
7534         (__roundl): Do not force "inexact" exception.
7535         * math/libm-test.inc (round_test_data): Do not allow spurious
7536         "inexact" exceptions.
7538         [BZ #15479]
7539         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
7540         exception in comment.
7541         (huge): Remove variable.
7542         (__floor): Do not force "inexact" exception.
7543         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
7544         "inexact" exception in comment.
7545         (huge): Remove variable.
7546         (__floor): Do not force "inexact" exception.
7547         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
7548         exception in comment.
7549         (huge): Remove variable.
7550         (__floorf): Do not force "inexact" exception.
7551         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
7552         exception in comment.
7553         (huge): Remove variable.
7554         (__floorl): Do not force "inexact" exception.
7556         [BZ #15479]
7557         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
7558         exception in comment.
7559         (huge): Remove variable.
7560         (__ceil): Do not force "inexact" exception.
7561         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
7562         "inexact" exception in comment.
7563         (huge): Remove variable.
7564         (__ceil): Do not force "inexact" exception.
7565         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
7566         (__ceilf): Do not force "inexact" exception.
7567         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
7568         exception in comment.
7569         (huge): Remove variable.
7570         (__ceill): Do not force "inexact" exception.
7572 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
7574         * config.h.in (BIND_NOW): New.
7575         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
7576         * configure: Regenerated.
7577         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
7578         indirect branch via the GOT slot.
7580 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
7582         [BZ #19765]
7583         * sysdeps/s390/mempcpy.S: New File.
7584         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
7585         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
7586         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7587         Add mempcpy variants.
7588         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
7589         (memcpy): Adjust to be usable from mempcpy entry point.
7590         (__memcpy_mvcle): Likewise.
7591         * sysdeps/s390/s390-64/memcpy.S: Likewise.
7592         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
7593         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
7594         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
7595         (__memcpy_z10): Likewise.
7596         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
7598 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
7600         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
7601         Remove __GI_ symbol.
7602         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
7603         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
7604         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
7605         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
7606         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
7607         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
7609 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
7611         * sysdeps/s390/s390-64/memcpy.S (memcpy):
7612         Use cghi instead of chi to compare 64bit value.
7614 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
7616         * sysdeps/s390/s390-32/memcpy.S (memcpy):
7617         Jump to 1MB check before executing mvc-loop.
7619 2016-05-24  Florian Weimer  <fweimer@redhat.com>
7621         [BZ #6527]
7622         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
7623         unconditionally.
7624         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
7626 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7628         * stdlib/tst-strtod6.c (do_test): Use new type generic
7629         invocation of the test function.
7630         (test): Refactor into ...
7631         (TEST_STRTOD): New macro base function.
7633 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7635         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
7636         (TEST_STRTOD): New macro.
7637         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
7639 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7641         * stdlib/tst-strtod6.c (do_test): Use new type generic
7642         invocation of the test function.
7643         (test): Refactor into ...
7644         (TEST_STRTOD): New macro base function.
7646 2016-05-23  Florian Weimer  <fweimer@redhat.com>
7648         CVE-2016-4429
7649         [BZ #20112]
7650         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
7651         payload.
7653 2016-05-23  Florian Weimer  <fweimer@redhat.com>
7655         [BZ #20111]
7656         * bits/sockaddr.h (_SS_SIZE): Define.
7657         * bits/socket.h (_SS_SIZE): Remove.
7658         (_SS_PADSIZE): Adjust to account for all padding.
7659         (struct sockaddr_storage): Update comment.  Avoid implicit
7660         padding.
7661         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
7662         (_SS_PADSIZE): Adjust to account for all padding.
7663         (struct sockaddr_storage): Update comment.  Avoid implicit
7664         padding.
7665         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
7666         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
7667         (_SS_PADSIZE): Adjust to account for all padding.
7668         (struct sockaddr_storage): Update comment.  Avoid implicit
7669         padding.
7670         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
7671         __SS_SIZE is 126 in this version.
7672         * inet/tst-sockaddr.c: New file.
7673         * inet/Makefile (tests): Add tst-sockaddr.c
7674         (tst-sockaddr.c): Compile with non-strict aliasing.
7676 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
7678         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
7679         [XPG3 || XPG4].
7680         (NL_ARGMAX): Also expect for [XPG3].
7681         (NL_LANGMAX): Likewise.
7682         (NL_MSGMAX): Likewise.
7683         (NL_NMAX): Likewise.
7684         (NL_SETMAX): Likewise.
7685         (NL_TEXTMAX): Likewise.
7686         (NZERO): Likewise.
7687         (TMP_MAX): Likewise.
7688         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
7689         variable.
7691         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
7692         (PF_MAX): Update value.
7693         (AF_KCM): New macro.
7694         (SOL_NETBEUI): Likewise.
7695         (SOL_LLC): Likewise.
7696         (SOL_DCCP): Likewise.
7697         (SOL_NETLINK): Likewise.
7698         (SOL_TIPC): Likewise.
7699         (SOL_RXRPC): Likewise.
7700         (SOL_PPPOL2TP): Likewise.
7701         (SOL_BLUETOOTH): Likewise.
7702         (SOL_PNPIPE): Likewise.
7703         (SOL_RDS): Likewise.
7704         (SOL_IUCV): Likewise.
7705         (SOL_CAIF): Likewise.
7706         (SOL_ALG): Likewise.
7707         (SOL_NFC): Likewise.
7708         (SOL_KCM): Likewise.
7709         (MSG_BATCH): New enum value and macro.
7711 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
7713         [BZ #18185]
7714         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
7715         sharing L2 cache to 2 for Knights Landing.
7717 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
7719         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
7720         (FTW_DP): Do not expect for [XPG3 || XPG4].
7721         (FTW_SL): Do not expect for [XPG3].
7722         (FTW_SLN): Likewise.
7723         (FTW_PHYS): Likewise.
7724         (FTW_MOUNT): Likewise.
7725         (FTW_DEPTH): Likewise.
7726         (FTW_CHDIR): Likewise.
7727         (nftw): Likewise.
7728         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
7729         variable.
7731 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
7733         * manual/errno.texi: Fix various typos & grammar errors.
7735 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
7737         * manual/intro.texi: Fix duplicated typo.
7739 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
7741         [BZ #13304]
7742         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
7743         <float.h>, <math_private.h> and <stdlib.h>.
7744         (add_split): New function.
7745         (mul_split): Likewise.
7746         (ext_val): New typedef.
7747         (store_ext_val): New function.
7748         (mul_ext_val): New function.
7749         (compare): New function.
7750         (add_split_ext): New function.
7751         (__fmal): After checking for Inf, NaN and zero, compute result as
7752         an exact sum of scaled double values in round-to-nearest before
7753         adding those up and adjusting for other rounding modes.
7754         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
7755         tests of fma.
7756         * math/auto-libm-test-out: Regenerated.
7758 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
7760         [BZ #20119]
7761         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
7762         processor level type mask for CPUID with EAX == 11.
7764 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
7766         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
7767         logical threads if the HTT bit is 0.
7768         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
7769         (index_cpu_HTT): Likewise.
7770         (reg_HTT): Likewise.
7772 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
7774         [BZ #20115]
7775         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
7776         Remove alignments on jump targets.
7778 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
7780         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
7781         (getpwent): Likewise.
7782         (setpwent): Likewise.
7783         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
7784         variable.
7786         * conform/data/search.h-data (insque): Do not expect for [XPG3].
7787         (remque): Likewise.
7788         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
7789         variable.
7791 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
7793         * math/libm-test.inc: Update comment not to refer to signs of NaNs
7794         not being tested.
7796 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
7798         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
7799         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
7800         call.
7801         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
7802         (__condvar_cleanup1): Likewise.
7804 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
7806         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
7807         New
7808         (__pthread_unwind): Renamed to ...
7809         (PTHREAD_UNWIND): This.
7810         (__pthread_enable_asynccancel): Replace
7811         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
7813 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
7815         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
7816         (CLONE_NEWCGROUP): New macro.
7818         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
7819         (Q_GETNEXTQUOTA): New macro.
7821 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
7823         [BZ #19907]
7824         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
7825         buffer updated by the previous run.
7826         * string/test-memcpy.c (do_one_test): Likewise.
7827         * benchtests/bench-memmove.c (do_one_test): Add a comment.
7828         * string/test-memmove.c (do_one_test): Likewise.
7830 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
7832         [BZ #20094]
7833         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
7834         not [__USE_XOPEN].
7835         (unlockpt): Likewise.
7836         (ptsname): Likewise.
7837         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
7838         variable.
7840         [BZ #20076]
7841         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
7842         instead of [__USE_UNIX98].
7843         (S_ISSOCK): Likewise.
7844         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
7845         variable.
7847         [BZ #20074]
7848         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
7849         [__USE_POSIX].
7850         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
7851         variable.
7853         [BZ #20051]
7854         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
7855         (ttyslot): Do not declare.
7856         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
7857         (ttyslot): New prototype.
7858         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
7859         variable.
7860         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7862 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7864         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
7866 2016-05-13  Florian Weimer  <fweimer@redhat.com>
7868         Fix race condition in tst-mallocfork2, use fewer resources.
7869         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
7870         to current process group.
7871         (signal_sender): Yield in the non-sleeping case.
7873 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
7875         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
7876         (ecvt): Likewise.
7877         (fcvt): Likewise.
7878         (gcvt): Likewise.
7879         (getsubopt): Likewise.
7880         (grantpt): Likewise.
7881         (initstate): Likewise.
7882         (l64a): Likewise.
7883         (mktemp): Likewise.
7884         (mkstemp): Likewise.
7885         (ptsname): Likewise.
7886         (random): Likewise.
7887         (realpath): Likewise.
7888         (setstate): Likewise.
7889         (srandom): Likewise.
7890         (ttyslot): Likewise.
7891         (unlockpt): Likewise.
7892         (valloc): Likewise.
7894         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
7895         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
7896         variable.
7898 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
7900         [BZ #20072]
7901         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
7902         init_cpu_features only if SHARED is defined.
7903         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
7905 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
7907         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
7908         non-inclusive caches on Intel processors.
7910 2016-05-13  Florian Weimer  <fweimer@redhat.com>
7912         * malloc/malloc.c (dumped_main_arena_start)
7913         (dumped_main_arena_end): New variables.
7914         (DUMPED_MAIN_ARENA_CHUNK): New macro.
7915         (do_check_chunk): Skip dumped fake mmapped chunks.
7916         (munmap_chunk): Likewise.
7917         (__libc_free): Do not adjust statistics for fake mmapped chunks.
7918         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
7919         mmapped chunks.
7920         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
7921         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
7922         and dumped_main_arena_end to cover the dumped heap.
7924 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
7926         * conform/data/time.h-data (getdate_err): Do not expect for
7927         [XPG3].
7928         (getdate): Likewise.
7929         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
7930         variable.
7932         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
7933         (F_ULOCK): Likewise.
7934         (F_TEST): Likewise.
7935         (F_TLOCK): Likewise.
7936         (useconds_t): Likewise.
7937         (intptr_t): Do not expect for [XPG3] or [XPG4].
7938         (brk): Do not expect for [XPG3]
7939         (fchown): Likewise.
7940         (fchdir): Likewise.
7941         (ftruncate): Likewise.
7942         (getdtablesize): Likewise.
7943         (gethostid): Likewise.
7944         (getpagesize): Likewise.
7945         (getpgid): Likewise.
7946         (getsid): Likewise.
7947         (getwd): Likewise.
7948         (lchown): Likewise.
7949         (lockf): Likewise.
7950         (readlink): Likewise.
7951         (sbrk): Likewise.
7952         (setpgrp): Likewise.
7953         (setregid): Likewise.
7954         (setreuid): Likewise.
7955         (symlink): Likewise.
7956         (sync): Likewise.
7957         (truncate): Likewise.
7958         (ualarm): Likewise.
7959         (usleep): Likewise.
7960         (vfork): Likewise.
7961         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
7962         variable.
7964         [BZ #20054]
7965         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
7966         not [__USE_UNIX98].
7967         * conform/data/unistd.h-data (gethostname): Do not expect for
7968         [XPG3].
7970         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
7971         [!POSIX] (S_IFBLK): Likewise.
7972         [!POSIX] (S_IFCHR): Likewise.
7973         [!POSIX] (S_IFIFO): Likewise.
7974         [!POSIX] (S_IFREG): Likewise.
7975         [!POSIX] (S_IFDIR): Likewise.
7976         [!POSIX] (S_IFLNK): Likewise.
7977         [!POSIX] (S_IFSOCK): Likewise.
7978         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
7979         variable.
7980         (test-xfail-XPG4/fcntl.h/conform): Likewise.
7982 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
7984         * sysdeps/aarch64/memset.S (__memset):
7985         Rewrite of optimized memset.
7987 2016-05-12  Florian Weimer  <fweimer@redhat.com>
7989         [BZ #19703]
7990         Partially async-signal-safe fork for single-threaded processes.
7991         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
7992         variable.  Do not acquire and reset/release malloc and libio locks
7993         in single-threaded processes.
7994         * malloc/tst-mallocfork2.c: New file.
7995         * malloc/Makefile (tests): Add it.
7997 2016-05-12  Florian Weimer  <fweimer@redhat.com>
7999         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
8000         argument.  Use scratch buffer instead of extend_alloca.
8001         (gethosts): Use scratch buffer instead of extend_alloca.
8002         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
8003         extend_alloca.
8004         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
8006 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
8008         [BZ #20055]
8009         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
8010         instead of [__USE_UNIX98].
8011         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
8012         [__USE_UNIX98].
8013         * conform/data/termios.h-data (tcgetsid): Do not expect for
8014         [XPG3].
8015         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
8016         variable.
8017         (test-xfail-XPG4/termios.h/conform): Likewise.
8019 2016-05-11  Florian Weimer  <fweimer@redhat.com>
8021         Do not use mcheck in localedef.
8022         * locale/programs/localedef.c (turn_on_mcheck)
8023         (__malloc_initialize_hook): Remove.
8025 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8027         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
8028         * sysdeps/s390/s390-64/Makefile: Likewise.
8030 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
8032         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
8033         Remove ifunc-defines.sym.
8034         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
8035         Likewise.
8036         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
8037         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
8038         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
8039         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
8040         rtld-global-offsets.sym.
8041         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
8042         * sysdeps/x86/cpu-features-offsets.sym: This.
8043         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
8044         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
8046 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
8048         [BZ #20073]
8049         * io/sys/stat.h (fchmod): Declare for
8050         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
8051         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
8052         variable.
8054         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
8055         [XPG3] (S_IFSOCK): Likewise.
8056         [XPG3] (S_ISVTX): Likewise.
8057         [XPG3] (S_ISLNK): Likewise.
8058         [XPG3] (S_ISSOCK): Likewise.
8059         [XPG3] (fchmod): Likewise.
8060         [XPG3] (lstat): Likewise.
8061         [XPG3] (mknod): Likewise.
8063         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
8064         [XPG3].  Expect type long and XFAIL for [XPG4].
8065         (st_blocks): Likewise.
8067         [BZ #20044]
8068         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
8069         (pthread_atfork): New prototype.
8070         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
8071         variable.
8073         [BZ #20043]
8074         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
8075         prototype.
8077 2016-05-10  Florian Weimer  <fweimer@redhat.com>
8079         [BZ #20017]
8080         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
8081         gmtime.
8083 2016-05-10  Florian Weimer  <fweimer@redhat.com>
8085         [BZ #19994]
8086         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
8087         flag in _res.options.
8089 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
8091         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
8092         [XPG3 || XPG4].
8093         (blksize_t): Likewise.
8094         (clockid_t): Likewise.
8095         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
8096         variable.
8097         (test-xfail-XPG4/sys/types.h/conform): Likewise.
8099 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
8101         * sysdeps/unix/sysv/linux/s390/init-first.c:
8102         Add VDSO_SYMBOL(getcpu).
8103         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
8104         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
8105         Add VDSO_SYMBOL(getcpu).
8106         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
8107         New define HAVE_GETCPU_VSYSCALL.
8108         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8110 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
8112         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
8113         instead of <sysdeps/x86_64/cacheinfo.c>.
8114         * sysdeps/x86_64/cacheinfo.c: Moved to ...
8115         * sysdeps/x86/cacheinfo.c: Here.
8117 2016-05-04  Florian Weimer  <fweimer@redhat.com>
8119         * malloc/malloc-internal.h: Adjust header file guard.
8121 2016-05-04  Florian Weimer  <fweimer@redhat.com>
8123         [BZ #19787]
8124         * inet/getnameinfo.c (check_sprintf_result): New function.
8125         (CHECKED_SNPRINTF): New macro.
8126         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
8127         to the host buffer.
8128         (gni_host_local): Use checked_copy to copy the host name.
8129         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
8130         (gni_serv_local): Use checked_copy to copy the service name.
8131         (getnameinfo): Remove unnecessary truncation of result buffers.
8133 2016-05-04  Florian Weimer  <fweimer@redhat.com>
8135         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
8136         in case of inet_ntop failure.
8138 2016-05-04  Florian Weimer  <fweimer@redhat.com>
8140         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
8141         avoid long lines.
8142         (gni_host_inet_numeric): Likewise.  Reduce scope of local
8143         variables.
8144         (gni_host_inet, gni_host_local): Add comment.
8145         (gni_host): Add comment.  Use temporary to avoid long lines.
8147 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8149         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
8150         registers specifiers where general purpose registers specifiers should
8151         have been used.
8153 2016-05-04  Florian Weimer  <fweimer@redhat.com>
8155         [BZ #19779]
8156         CVE-2016-1234
8157         Avoid copying names of directory entries.
8158         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
8159         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
8160         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
8161         (struct readdir_result): New type.
8162         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
8163         (GL_READDIR): New macros.
8164         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
8165         (convert_dirent, convert_dirent64): New functions.
8166         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
8167         convert_dirent64.  Adjust references to the readdir result.
8168         * sysdeps/unix/sysv/linux/i386/glob64.c:
8169         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
8170         * posix/bug-glob2.c (LONG_NAME): Define.
8171         (filesystem): Add LONG_NAME.
8172         (my_DIR): Increase the size of room_for_dirent.
8174 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
8176         [BZ #20041]
8177         * misc/sys/select.h (__need_timespec): Only define if
8178         [__USE_XOPEN2K].
8179         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
8180         variable.
8181         (test-xfail-XPG4/utmpx.h/conform): Likewise.
8182         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8183         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8185 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8186             Segher Boessenkool  <segher@gcc.gnu.org>
8188         [BZ #20004]
8189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
8190         (__novec_swapcontext): Add missing load.
8192 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
8194         [BZ #20023]
8195         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
8196         <time.h>.
8197         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
8198         variable.
8199         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8201 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
8204         flags CLONE_VM compare.
8206 2016-05-02  Florian Weimer  <fweimer@redhat.com>
8208         [BZ #20031]
8209         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
8210         completely empty.
8212 2016-05-02  Florian Weimer  <fweimer@redhat.com>
8214         [BZ #19573]
8215         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
8216         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
8217         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
8218         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
8219         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
8220         (hesiod_free_list): Mark as hidden.
8221         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
8222         res_set, res_get.
8223         * hesiod/hesiod.c: Remove unnecessary forward declarations.
8224         (init, __hesiod_res_get, __hesiod_res_set): Remove.
8225         (hesiod_init): Remove obsolete res_ninit call.
8226         (hesiod_end): Do not free resolver state.  Do not invoke callback.
8227         (hesiod_bind): Do not call init.
8228         (get_txt_records): Use res_mkquery, res_send instead of
8229         res_nmkquery, res_nsend.
8230         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
8231         instead of _nss_hesiod_init.
8232         (_nss_hesiod_initgroups_dyn): Likewise.
8233         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
8234         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
8235         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
8237 2016-05-02  Florian Weimer  <fweimer@redhat.com>
8239         * hesiod/hesiod_p.h (DEF_RHS): Remove.
8240         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
8242 2016-05-02  Florian Weimer  <fweimer@redhat.com>
8244         * hesiod/hesiod.h: Remove RCS keyword.
8245         * hesiod/hesiod_p.h: Likewise.
8247         * hesiod/hesiod.c: Likewise.
8249 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
8251         [BZ #12450]
8252         * locale/iso-639.def: Add Samogitian/sgs.
8254 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
8256         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
8258         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
8260 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
8261             Carlos O'Donell  <carlos@redhat.com>
8263         [BZ #19072]
8264         * grp/Makefile (headers): Add grp-merge.h
8265         (routines): Add grp-merge.
8266         * grp/getgrgid_r.c: Include grp-merge.h.
8267         (DEEPCOPY_FN): Define.
8268         (MERGE_FN): Define.
8269         * grp/getgrname_r.c: Include grp-merge.h.
8270         (DEEPCOPY_FN): Define.
8271         (MERGE_FN): Define.
8272         * grp/grp-merge.c: New file.
8273         * grp/grp-merge.h: New file.
8274         * include/grp-merge.h: New file.
8275         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
8276         __copy_grp@GLIBC_PRIVATE.
8277         * manual/nss.texi (Actions in the NSS configuration): Describe
8278         return, continue, and merge.
8279         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
8280         (DEEPCOPY_FN): Define.
8281         (MERGE_FN): Define.
8282         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
8283         (DEEPCOPY_FN): Define.
8284         (MERGE_FN): Define.
8285         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
8286         [!MERGE_FN]: Define __merge_einval.
8287         (CHECK_MERGE): Define.
8288         (REENTRANT_NAME): Process merge if do_merge is true.
8289         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
8290         (__nss_getent_r): Likewise.
8291         * nss/nsswitch.c (nss_parse_service_list): Likewise.
8292         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
8294 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8296         [BZ #20012]
8297         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
8298         length to calculate the buffer to read.
8299         (fmemopen_write): Set the buffer position based on bytes written.
8300         (fmemopen_seek): Return EINVAL for invalid whence modes.
8302         [BZ #19957]
8303         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
8304         tst-getpid2.
8305         (test): Add tst-clone2.
8306         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
8307         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
8308         pid/tid fields for CLONE_VM.
8309         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
8310         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
8311         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
8312         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
8313         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
8314         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
8315         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
8316         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
8317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
8318         Likewise.
8319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8320         Likewise.
8321         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
8322         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
8323         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
8324         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
8325         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
8326         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
8327         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
8328         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
8330 2016-04-29  Florian Weimer  <fweimer@redhat.com>
8332         [BZ #19642]
8333         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
8334         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
8335         (gni_serv_local, gni_serv): New functions extracted from
8336         getnameinfo.
8337         (getnameinfo): Call gni_host and gni_serv to perform the
8338         processing.  Always free scratch buffer.
8340 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8342         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
8343         remaining bytes in the dest string, with zeros.
8345 2016-04-29  Florian Weimer  <fweimer@redhat.com>
8347         [BZ #20010]
8348         CVE-2016-3706
8349         * sysdeps/posix/getaddrinfo.c
8350         (convert_hostent_to_gaih_addrtuple): New function.
8351         (gethosts): Call convert_hostent_to_gaih_addrtuple.
8352         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
8353         AF_INET data.
8355 2016-04-29  Florian Weimer  <fweimer@redhat.com>
8357         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
8358         callback function gl_readdir.
8359         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
8360         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
8361         (glob_in_dir): Remove len.  Use strdup instead of malloc and
8362         memcpy to copy the name.
8363         * manual/pattern.texi (Calling Glob): Document requirements for
8364         implementations of the gl_readdir callback function.
8365         * manual/examples/mkdirent.c: New example.
8366         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
8367         per the manual guidance.
8368         * posix/tst-gnuglob.c (my_readdir): Likewise.
8370 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
8372         [BZ #20014]
8373         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
8374         not [__USE_POSIX].
8375         (getchar_unlocked): Likewise.
8376         (putc_unlocked): Likewise.
8377         (putchar_unlocked): Likewise.
8378         (flockfile): Likewise.
8379         (ftrylockfile): Likewise.
8380         (funlockfile): Likewise.
8381         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
8382         variable.
8383         (test-xfail-XPG4/stdio.h/conform): Likewise.
8385         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
8386         Expect constant.
8387         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
8388         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
8389         variable.
8390         (test-xfail-XPG4/langinfo.h/conform): Likewise.
8391         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8393         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
8394         [__USE_LARGEFILE64] (off64_t): Likewise.
8395         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
8396         variable.
8398 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8400         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
8402 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8404         * resolv/inet_addr.c: Reindent preprocessor conditionals.
8405         * resolv/res_init.c: Likewise.
8406         * resolv/res_mkquery.c: Likewise.
8408 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8410         * resolv/res_init.c (isascii): Do not define.  Use definition in
8411         <ctype.h>.
8412         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
8413         (LOG_AUTH): Remove.
8414         (SPRINTF): Remove, adjust caller.
8415         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
8417 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8419         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
8420         SUNSECURITY conditional.
8421         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
8423 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8425         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
8426         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
8427         Remove BSD-related preprocessor conditionals.
8428         * conf/portability.h: Remove.
8430 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8432         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
8433         * resolv/res_data.c: Likewise.
8435 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8437         * resolv/res_comp.c: Remove code conditional on __ultrix__.
8438         * resolv/res_data.c: Remove code conditional on ultrix.
8440 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8442         * resolv/res_init.c (RFC1535): Do not define.  Remove
8443         RFC1535 preprocessor conditionals.
8444         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
8445         because there configuration options which make the resolver
8446         behavior different.
8448 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8450         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
8451         RESOLVSORT preprocessor conditionals.
8452         * resolv/nss_dns/dns-host.c: Likewise.
8453         * resolv/res_init.c: Likewise.
8455 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8457         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
8458         is never defined.
8460 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8462         * inet/inet_lnaof.c: Remove SCSS keyword.
8463         * inet/inet_mkadr.c: Likewise.
8464         * inet/inet_net.c: Likewise.
8465         * inet/inet_netof.c: Likewise.
8466         * inet/rcmd.c: Likewise.
8467         * inet/rexec.c: Likewise.
8468         * inet/ruserpass.c: Likewise.
8470 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8472         * resolv/inet_addr.c: Remove _LIBC conditionals.
8473         * resolv/res_data.c: Likewise.
8474         * resolv/res_init.c: Likewise.
8475         * resolv/res_mkquery.c: Likewise.
8476         * resolv/res_libc.c: Update comment.
8477         * resolv/README: Update.
8479 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8481         * resolv/gethnamaddr.c: Remove SCSS keyword.
8482         * resolv/herror.c: Likewise.
8483         * resolv/inet_addr.c: Likewise.
8484         * resolv/inet_net_ntop.c: Likewise.
8485         * resolv/inet_net_pton.c: Likewise.
8486         * resolv/inet_neta.c: Likewise.
8487         * resolv/inet_ntop.c: Likewise.
8488         * resolv/inet_pton.c: Likewise.
8489         * resolv/ns_date.c: Remove RCS keyword.
8490         * resolv/ns_name.c: Likewise.
8491         * resolv/ns_netint.c: Likewise.
8492         * resolv/ns_parse.c: Likewise.
8493         * resolv/ns_print.c: Likewise.
8494         * resolv/ns_samedomain.c: Likewise.
8495         * resolv/ns_ttl.c: Likewise.
8496         * resolv/nsap_addr.c: Likewise.
8497         * resolv/res_comp.c: Remove SCSS and RCS keyword.
8498         * resolv/res_data.c: Remove RCS keyword.
8499         * resolv/res_debug.c: Remove SCSS and RCS keyword.
8500         * resolv/res_init.c: Likewise.
8501         * resolv/res_mkquery.c: Likewise.
8502         * resolv/res_query.c: Likewise.
8503         * resolv/res_send.c: Likewise.
8505 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
8507         * conform/data/stdio.h-data (fdopen): Expect also for
8508         [XPG3 || XPG4].
8510         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
8511         (fseeko): Likewise.
8512         (ftello): Likewise.
8513         (ftrylockfile): Likewise.
8514         (funlockfile): Likewise.
8515         (getc_unlocked): Likewise.
8516         (getchar_unlocked): Likewise.
8517         (putc_unlocked): Likewise.
8518         (putchar_unlocked): Likewise.
8520 2016-04-27  Florian Weimer  <fweimer@redhat.com>
8522         [BZ #19868]
8523         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
8524         DNS packet syntax checks (which were not needed before).  Skip
8525         over non-PTR records.
8527 2016-04-27  Florian Weimer  <fweimer@redhat.com>
8529         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
8530         definition.  Include <stddef.h> instead.
8532 2016-04-27  Florian Weimer  <fweimer@redhat.com>
8534         [BZ #19831]
8535         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
8536         function.
8537         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
8538         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
8540 2016-04-27  Florian Weimer  <fweimer@redhat.com>
8542         [BZ #19862]
8543         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
8544         (getanswer_r): Do not call syslog.
8545         (gaih_getanswer_slice): Likewise.
8546         * resolv/gethnamaddr.c (AskedForGot): Remove.
8547         (getanswer): Do not call syslog.
8548         (gethostbyaddr): Likewise.
8550 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
8552         * conform/data/signal.h-data (union sigval): Expect also if
8553         [XOPEN2K].
8554         (struct sigevent): Likewise.
8555         (SIGEV_NONE): Likewise.
8556         (SIGEV_SIGNAL): Likewise.
8557         (SIGEV_THREAD): Likewise.
8558         (SIGRTMIN): Likewise.
8559         (SIGRTMAX): Likewise.
8560         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
8561         variable.
8562         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8564 2016-04-27  Florian Weimer  <fweimer@redhat.com>
8566         [BZ #19830]
8567         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
8568         (gaih_getanswer_slice): Likewise.
8569         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
8570         Also check for availability of RR metadata.
8572 2016-04-27  Florian Weimer  <fweimer@redhat.com>
8574         [BZ #19825]
8575         * resolv/res_send.c (send_vc): Remove early *resplen2
8576         initialization.  Set *resplen2 on socket error.  Call
8577         close_and_return_error for other errors.
8579 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
8581         * sysdeps/unix/sysv/linux/netiucv/iucv.h
8582         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
8583         (SCM_IUCV_TRGCLS): New define.
8585 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8587         [BZ #20005]
8588         * libio/fmemopen.c (fmemopen_write): Update internal position after
8589         write.
8590         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
8591         * stdio-common/tst-fmemopen4.c: New file..
8593 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
8595         [BZ #19996]
8596         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
8597         not [__USE_XOPEN2K].
8598         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
8599         variable.
8601         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
8602         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
8603         variable.
8605         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
8606         [__USE_XOPEN2K8].
8607         [__USE_LARGEFILE64] (off64_t): Likewise.
8608         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
8609         variable.
8611 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
8613         [BZ #19989]
8614         * libio/stdio.h (cuserid): Do not declare if
8615         [__USE_XOPEN2K && !__USE_GNU].
8616         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
8617         variable.
8619 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8621         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
8622         (sysdep_routines): Add P8 and PPC64 strcspn targets.
8623         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8624         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
8625         ifunc'ed strcspn.
8626         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
8627         [EALIGN]: Removed.
8628         [END]: Likewise
8629         [STRSPN]: Define instead of the above to control symbol name.
8630         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
8631         New file.
8632         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
8633         Likewise.
8634         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
8635         Likewise.
8636         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
8637         Likewise.
8638         * sysdeps/powerpc/powerpc64/power8/strspn.S:
8639         [INITIAL_MASK]: New macro.
8640         [STRCSPN]: Likewise.
8641         [UPDATE_MASK]: Likewise.
8642         [USE_AS_STRCSPN]: Lisewise.
8644 2016-04-25  Florian Weimer  <fweimer@redhat.com>
8646         [BZ #19931]
8647         * stdio-common/tst-vfprintf-width-prec.c: New file.
8648         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
8649         (tests-special): Add tst-vfprintf-width-prec-mem.out.
8650         (generated): Add mtrace-related files.
8651         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
8652         (tst-%-mem.out): New pattern rule, replaces
8653         tst-printf-bz18872-mem.out.
8654         * stdio-common/vfprintf.c (vfprintf): When handling a precision
8655         specifier, deallocate any previously allocated work buffer.
8657 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
8659         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
8660         Add nop before __startcontext, add explaining comments.
8662 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
8664         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
8665         any more. Notably since IPV6_PKTINFO has been reintroduced with a
8666         completely different API.
8668         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
8669         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
8670         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
8671         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
8672         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
8673         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
8674         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
8675         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
8676         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
8677         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
8679 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
8681         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
8683 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
8685         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
8686         when it is the default of 0.
8688 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8690         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
8691         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
8692         (sysdep_routines): Add new strcasestr targets.
8693         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8694         (__libc_ifunc_impl_list): Likewise.
8695         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
8696         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
8697         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
8698         * sysdeps/powerpc/powerpc64/power8/Makefile:
8699         New file to add strcasestr-ppc64 to sysdep_routines.
8700         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
8701         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
8703 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
8705         * benchtests/Makefile (wcsmbs-benchset): Include only for
8706         native builds and runs.
8707         (LOCALES): Likewise.
8708         (bench-build): Build timing-type here instead of the bench
8709         target.  Generate locale only for native builds.
8710         * benchtests/README: Add note for cross-building.
8712         * benchtests/Makefile (bench-clean): Clean up extra-objs.
8714         * benchtests/README: Update README to include instructions on
8715         using bench-build.
8717         * Makefile.in (bench-build): New target.
8718         * Rules (PHONY): Add bench-build target.
8719         * benchtests/Makefile (bench): Depend on bench-build.
8720         (bench-build): New target.
8722 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8724         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
8725         profil_reply_port.
8726         (profile_waiter): Do not initialize profil_reply_port.
8727         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
8728         frequency instead of tick length in us.
8730 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
8732         [BZ #18712]
8733         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
8734         (__old_mempcpy_small): Likewise.
8735         (__old_strcpy_small): Likewise.
8736         (__old_stpcpy_small): Likewise.
8737         (__old_strpbrk_c2): Fix compat symbol name.
8738         (__old_strpbrk_c3): Likewise.
8739         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
8740         (__mempcpy_small): Remove.
8741         (__strcpy_small): Remove.
8742         (__stpcpy_small): Remove.
8744 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
8746         [BZ #19400]
8747         * locale/iso-639.def: Add the Talossan/tzl language.
8749 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
8751         [BZ #16983]
8752         * locale/programs/ld-address.c (address_finish): Update postal_fmt
8753         comment.  Add "ln" to strchr check on postal_fmt.
8755 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
8757         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
8758         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
8759         tel_dom_fmt.
8761 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8763         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
8764         (sysdep_routines): Added __strlen_power8.
8765         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
8766         __strlen_power8 entry.
8767         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
8768         Implementation for POWER8.
8769         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
8770         for __strlen_power8.
8771         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
8772         Implementation for POWER8.
8774 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
8776         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
8778 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
8780         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
8781         Goldmont and Airmont processors.
8783 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
8785         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
8786         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
8787         (__STRING2_SMALL_GET32): Remove.
8788         (memset): Remove.
8789         (__memset_1): Remove.
8790         (__memset_gc): Remove.
8791         (__mempcpy): Remove.
8792         (mempcpy): Remove.
8793         (__mempcpy_args): Remove.
8794         (strchr): Remove.
8795         (strcpy): Remove.
8796         (strcpy_args): Remove.
8797         (__stpcpy_args): Remove.
8798         (__strcmp_cc): Remove.
8799         (__strcmp_gc): Remove.
8800         (strstr): Remove.
8802 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
8804         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
8805         * nis/nis_call.c (nis_server_cache_add): Likewise.
8807 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8809         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
8811 2016-04-14  Florian Weimer  <fweimer@redhat.com>
8813         * malloc/arena.c (__malloc_fork_lock_parent)
8814         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
8815         internal_function attribute.
8817 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
8819         * stdio-common/printf_fp.c (__printf_fp_l):
8820         Rename ___printf_fp_l to __printf_fp_l and
8821         remove strong alias. Use libc_hidden_def instead
8822         of ldbl_hidden_def macro.
8824 2016-04-14  Florian Weimer  <fweimer@redhat.com>
8826         Remove malloc hooks from fork handler.  They are no longer needed
8827         because malloc runs right before fork, and no malloc calls from
8828         other fork handlers are not possible anymore.
8829         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
8830         declarations.
8831         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
8832         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
8833         (atfork_recursive_cntr): Remove.
8834         (__malloc_fork_lock_parent): Do not override malloc hooks and
8835         thread_arena.
8836         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
8837         thread_arena.
8838         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
8839         thread_arena instead of save_arena.
8841 2016-04-14  Florian Weimer  <fweimer@redhat.com>
8843         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
8844         (thread_atfork, thread_atfork_static): Remove.
8845         * sysdeps/mach/hurd/malloc-machine.h:
8846         (thread_atfork, thread_atfork_static): Remove.
8848 2016-04-14  Florian Weimer  <fweimer@redhat.com>
8850         [BZ #19431]
8851         Run the malloc fork handler as late as possible to avoid deadlocks.
8852         * malloc/malloc-internal.h: New file.
8853         * malloc/malloc.c: Include it.
8854         * malloc/arena.c (ATFORK_MEM): Remove.
8855         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
8856         Update comment.
8857         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
8858         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
8859         Remove outdated comment.
8860         (ptmalloc_init): Do not call thread_atfork.  Remove
8861         thread_atfork_static.
8862         * malloc/tst-malloc-fork-deadlock.c: New file.
8863         * Makefile (tests): Add tst-malloc-fork-deadlock.
8864         (tst-malloc-fork-deadlock): Link against libpthread.
8865         * manual/memory.texi (Aligned Memory Blocks): Update safety
8866         annotation comments.
8867         * sysdeps/nptl/fork.c (__libc_fork): Call
8868         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
8869         __malloc_fork_unlock_child.
8870         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
8872 2016-04-14  Florian Weimer  <fweimer@redhat.com>
8874         [BZ #19613]
8875         Remove union wait.
8876         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
8877         (w_stopsig, w_stopval): Remove.
8878         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
8879         stat_loc argument.
8880         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
8881         (__WAIT_STATUS_DEFN): Remove.
8882         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
8883         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
8884         (wait, wait3, wait4): Use int * for the stat_loc argument.
8885         * posix/wait.c (__wait): Likewise.
8886         * posix/wait3.c (__wait3): Likewise.
8887         * posix/wait4.c (__wait4): Likewise.
8888         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
8889         (__WAIT_STATUS_DEFN): Remove.
8890         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
8891         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
8892         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
8893         argument.
8894         * sysdeps/posix/wait.c (__libc_wait): Likewise.
8895         * sysdeps/posix/wait3.c (__wait3): Likewise.
8896         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
8897         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
8898         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
8899         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
8900         stat_loc argument.
8901         * manual/process.texi (BSD Wait Functions): Remove union wait.
8903 2016-04-13  Andreas Schwab  <schwab@suse.de>
8905         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
8906         (test-extras): Add tst-tlsalign-vars.
8907         * math/Makefile: Wrap long lines.
8908         (libm-vec-test-wrappers): Define.
8909         (test-extras): Add $(libm-vec-test-wrappers).
8910         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
8911         * nss/Makefile (extra-test-objs): Add nss_test1.os.
8912         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
8913         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
8914         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
8915         (extra-test-objs): Add corresponding objects.
8917 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
8919         [BZ #19928]
8920         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
8921         New.
8922         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
8923         times of shared cache size.
8924         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
8925         (VMOVNT): New.
8926         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
8927         (VMOVNT): Likewise.
8928         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
8929         (VMOVNT): Likewise.
8930         (VMOVU): Changed to movups for smaller code sizes.
8931         (VMOVA): Changed to movaps for smaller code sizes.
8932         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
8933         comments.
8934         (PREFETCH): New.
8935         (PREFETCH_SIZE): Likewise.
8936         (PREFETCHED_LOAD_SIZE): Likewise.
8937         (PREFETCH_ONE_SET): Likewise.
8938         Rewrite to use forward and backward loops, which move 4 vector
8939         registers at a time, to support overlapping addresses and use
8940         non temporal store if size is above the threshold and there is
8941         no overlap between destination and source.
8943 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
8945         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
8946         Include dl-vdso.
8947         * sysdeps/unix/sysv/linux/mips/Versions: Add
8948         __vdso_clock_gettime.
8949         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
8950         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
8951         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
8952         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
8953         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
8954         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
8955         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
8956         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
8957         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
8959 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8961         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
8962         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
8963         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
8964         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
8965         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
8966         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
8967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
8968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
8969         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
8970         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
8971         syscalls generation.
8972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8973         [__NR_pwrite64] (__NR_write): Remove define.
8974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8975         [__NR_pwrite64] (__NR_write): Remove define.
8976         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
8977         Remove define.
8978         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
8979         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
8980         Remove define.
8981         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
8982         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
8983         Linux implementation as base.
8984         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
8986         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
8987         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
8988         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
8989         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
8990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
8991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
8992         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
8993         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
8994         syscall generation.
8995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8996         [__NR_pread64] (__NR_pread): Remove define.
8997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8998         [__NR_pread64] (__NR_pread): Likewise.
8999         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
9000         define.
9001         (__libc_pread): Use SYSCALL_LL macro on offset argument.
9002         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
9003         Remove define.
9004         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
9005         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
9006         Linux implementation as base.
9007         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9008         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9009         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9011         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
9012         definition.
9013         (__ALIGNMENT_COUNT): Likewise.
9014         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
9015         (__ALIGNMENT_COUNT): Likewise.
9016         (SYSCALL_LL): New define.
9017         (SYSCALL_LL64): Likewise.
9018         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
9019         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
9020         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
9021         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
9023         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9024         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
9025         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9026         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
9027         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9028         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
9030 2016-04-11  Florian Weimer  <fweimer@redhat.com>
9032         [BZ #19865]
9033         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
9034         original buffer before retry.
9036 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9038         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
9039         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
9040         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
9041         GLRO(dl_auxv) list.
9042         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
9043         including <ldsodefs.h>.
9044         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
9046 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
9048         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
9049         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
9050         $(CPPFLAGS).
9052 2016-04-09  Khem Raj  <raj.khem@gmail.com>
9054         [BZ #17950]
9055         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
9056         Add -mfpmath=387.
9058 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
9060         * sysdeps/i386/configure.ac: Change == to = when calling test.
9061         * sysdeps/x86_64/configure.ac: Likewise.
9062         * sysdeps/i386/configure: Regenerated.
9063         * sysdeps/x86_64/configure: Likewise.
9065 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
9067         [BZ #16137]
9068         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
9069         * benchtests/bench-strcoll.c (input_files): Likewise.
9070         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
9071         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
9072         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
9074 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
9076         [BZ #19929]
9077         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
9078         [__USE_XOPEN2K8 && !__USE_GNU].
9079         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
9080         variable.
9082         [BZ #19925]
9083         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
9084         define if [!__USE_MISC && __USE_XOPEN2K].
9085         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
9086         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
9087         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
9088         Likewise.
9089         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
9090         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
9091         variable.
9092         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9094 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9096         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9097         (sysdep_routines): Add new strspn targets.
9098         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9099         (__libc_ifunc_impl_list): Add strspn.
9100         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
9101         New file.
9102         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
9103         Likewise.
9104         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
9105         Likewise.
9106         * sysdeps/powerpc/powerpc64/power8/strspn.S:
9107         Likewise.
9109 2016-04-07  Florian Weimer  <fweimer@redhat.com>
9111         * misc/hsearch_r.c: Include <limits.h>.
9113 2016-04-07  Florian Weimer  <fweimer@redhat.com>
9115         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
9117 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
9119         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
9120         (MEMCPY_SYMBOL): New.
9121         (MEMPCPY_SYMBOL): Likewise.
9122         (MEMMOVE_CHK_SYMBOL): Likewise.
9123         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
9124         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
9125         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
9126         Provide alias for memcpy in libc.a and ld.so.
9128 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
9130         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
9131         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
9132         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
9133         Disabled fro now.
9134         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
9135         symbols.  Properly check USE_MULTIARCH on __memset symbols.
9137 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
9139         * benchtests/Makefile (string-benchset): Add memcpy-large,
9140         memmove-large and memset-large.
9141         * benchtests/bench-memcpy-large.c: New file.
9142         * benchtests/bench-memmove-large.c: Likewise.
9143         * benchtests/bench-memmove-large.c: Likewise.
9144         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
9146 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
9148         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
9149         32-bit displacement to avoid long nop between instructions.
9151 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
9153         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
9154         a comment on VMOVU and VMOVA.
9156 2016-04-04  Florian Weimer  <fweimer@redhat.com>
9158         [BZ #19633]
9159         Use specified locale for number formatting in strfmon_l.
9160         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
9161         (__nl_lookup_word): New inline functions.
9162         * include/printf.h (__print_fp_l): Declare.
9163         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
9164         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
9165         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
9166         (___printf_fp): New function.
9167         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
9168         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
9169         * stdlib/tst-strfmon_l.c (do_test): New test.
9170         * stdlib/Makefile (tests): Add kt.
9171         (LOCALES): Build additional locales.
9172         (tst-strfmon_l.out): Require locales.
9174 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
9176         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
9177         if not in libc.
9178         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
9179         Likewise.
9180         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
9181         Likewise.
9182         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
9183         Likewise.
9185 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
9187         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
9188         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
9189         with unaligned_erms.
9190         (__memmove_erms): Skip if source == destination.
9191         (__memmove_unaligned_erms): Don't check source == destination
9192         first.
9194 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
9196         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
9197         bit_arch_Fast_Copy_Backward for Intel Core proessors.
9199 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9201         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
9202         * string/strspn.c (strspn): Likewise.
9204 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
9206         * benchtests/bench-memset.c (do_test): Support 64-byte
9207         alignment.
9208         (test_main): Test 64-byte alignment.
9210 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
9212         * benchtests/bench-memmove.c (test_main): Test 64-byte
9213         alignment.
9215 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
9217         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
9219 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9221         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
9222         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
9223         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
9225         * string/strpbrk.c (strpbrk): Rewrite function.
9226         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
9227         (__strpbrk_c2): Likewise.
9228         (__strpbrk_c3): Likewise.
9229         * string/string-inlines.c
9230         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
9231         Likewise.
9232         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
9233         Likewise.
9235         * string/strspn.c (strcspn): Rewrite function.
9236         * string/bits/string2.h (strspn): Use __builtin_strcspn.
9237         (__strspn_c1): Remove inline function.
9238         (__strspn_c2): Likewise.
9239         (__strspn_c3): Likewise.
9240         * string/string-inlines.c
9241         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
9242         compatibility symbol.
9243         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
9244         Likewise.
9245         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
9246         Likewise.
9247         * string/string-inlines.c: Include generic version.
9249 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
9250             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9252         * string/Version (libc): Add GLIBC_2.24.
9253         * string/strcspn.c (strcspn): Rewrite function.
9254         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
9255         (__strcspn_c1): Remove inline function.
9256         (__strcspn_c2): Likewise.
9257         (__strcspn_c3): Likewise.
9258         * string/string-inline.c
9259         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
9260         compatibility symbol.
9261         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
9262         Likewise.
9263         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
9264         Likewise.
9265         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
9267 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
9269         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
9270         Use ahi instead of aghi to adjust stack pointer.
9272 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9274         [BZ #19853]
9275         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
9276         TEST to take significant digits as second parameter.
9277         [TEST]: Redefine in terms of TEST_N taking 30
9278         significant digits.
9279         (do_test): Add test case to demonstrate precision
9280         failure in the ldbl-128ibm printf.
9281         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
9282         (__mpn_extract_long_double): Carry 7 extra intermediate
9283         bits of precision to aide computing difference when
9284         signs differ.
9286 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
9288         [BZ #19881]
9289         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9290         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
9291         memset-avx512-unaligned-erms.
9292         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9293         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
9294         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
9295         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
9296         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
9297         __memset_sse2_unaligned_erms, __memset_erms,
9298         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
9299         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
9300         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
9301         file.
9302         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
9303         Likewise.
9304         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
9305         Likewise.
9306         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
9307         Likewise.
9309 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
9311         [BZ #19776]
9312         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9313         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
9314         memmove-avx512-unaligned-erms.
9315         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9316         (__libc_ifunc_impl_list): Test
9317         __memmove_chk_avx512_unaligned_2,
9318         __memmove_chk_avx512_unaligned_erms,
9319         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
9320         __memmove_chk_sse2_unaligned_2,
9321         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
9322         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
9323         __memmove_avx512_unaligned_erms, __memmove_erms,
9324         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
9325         __memcpy_chk_avx512_unaligned_2,
9326         __memcpy_chk_avx512_unaligned_erms,
9327         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
9328         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
9329         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
9330         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
9331         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
9332         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
9333         __mempcpy_chk_avx512_unaligned_erms,
9334         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
9335         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
9336         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
9337         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
9338         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
9339         __mempcpy_erms.
9340         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
9341         file.
9342         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
9343         Likwise.
9344         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
9345         Likwise.
9346         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
9347         Likwise.
9349 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
9351         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
9352         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
9353         (La_s390_64_regs): Likewise.
9354         (La_s390_32_retval): Append vector register lrv_v24.
9355         (La_s390_64_retval): Likeweise.
9356         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
9357         Handle extended structs La_s390_32_regs and La_s390_32_retval.
9358         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
9359         Handle extended structs La_s390_64_regs and La_s390_64_retval.
9361 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
9363         [BZ #19916]
9364         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
9365         to create a non-vector/vector version for _dl_runtime_resolve and
9366         _dl_runtime_profile. Move implementation to ...
9367         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
9368         (_dl_runtime_resolve) Save and restore fpr/vrs.
9369         (_dl_runtime_profile) Save and restore vrs and fix some issues
9370         if _dl_call_pltexit is called.
9371         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
9372         Choose the correct resolver function if running on a machine with vx.
9373         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
9374         to create a non-vector/vector version for _dl_runtime_resolve and
9375         _dl_runtime_profile. Move implementation to ...
9376         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
9377         (_dl_runtime_resolve) Save and restore fpr/vrs.
9378         (_dl_runtime_profile) Save and restore vrs and fix some issues
9379         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
9380         Choose the correct resolver function if running on a machine with vx.
9382 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9384         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
9386 2016-03-31  Florian Weimer  <fweimer@redhat.com>
9388         [BZ #19509]
9389         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
9390         skip_map != NULL.
9391         * elf/tst-dlsym-error.c: New file.
9392         * elf/Makefile (tests): Add tst-dlsym-error.
9393         (tst-dlsym-error): Link against libdl.
9395 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
9397         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9398         (__ASSUME_FUTIMESAT): Remove macro.
9399         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
9401 2016-03-29  Florian Weimer  <fweimer@redhat.com>
9403         [BZ #19879]
9404         CVE-2016-3075
9405         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
9406         copy name.
9408 2016-03-29  Florian Weimer  <fweimer@redhat.com>
9410         [BZ #19837]
9411         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
9412         error if parse_line fails.
9414 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
9416         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
9417         (index_cpu_ERMS): Likewise.
9418         (reg_ERMS): Likewise.
9420 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
9422         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
9423         PER_LINUX_FDPIC): Add.
9425 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
9427         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9428         memcpy-avx512-no-vzeroupper.
9429         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
9430         to ...
9431         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
9432         (MEMCPY): Don't define.
9433         (MEMCPY_CHK): Likewise.
9434         (MEMPCPY): Likewise.
9435         (MEMPCPY_CHK): Likewise.
9436         (MEMPCPY_CHK): Renamed to ...
9437         (__mempcpy_chk_avx512_no_vzeroupper): This.
9438         (MEMPCPY_CHK): Renamed to ...
9439         (__mempcpy_chk_avx512_no_vzeroupper): This.
9440         (MEMCPY_CHK): Renamed to ...
9441         (__memmove_chk_avx512_no_vzeroupper): This.
9442         (MEMCPY): Renamed to ...
9443         (__memmove_avx512_no_vzeroupper): This.
9444         (__memcpy_avx512_no_vzeroupper): New alias.
9445         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
9447 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
9449         [BZ #18858]
9450         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9451         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
9452         and mempcpy-avx512-no-vzeroupper.
9453         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
9454         New.
9455         (MEMPCPY): Likewise.
9456         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
9457         (MEMPCPY_CHK): New.
9458         (MEMPCPY): Likewise.
9459         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
9460         (MEMPCPY): Likewise.
9461         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
9462         (MEMPCPY): Likewise.
9463         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
9464         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
9465         Likewise.
9466         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
9467         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
9469 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
9470              Amit Pawar  <Amit.Pawar@amd.com>
9472         [BZ #19583]
9473         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
9474         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
9475         processors.  Set Fast_Copy_Backward for AMD Excavator
9476         processors.
9477         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
9478         New.
9479         (index_arch_Fast_Unaligned_Copy): Likewise.
9480         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
9481         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
9483 2016-03-25  Florian Weimer  <fweimer@redhat.com>
9485         [BZ #19791]
9486         * resolv/res_send.c (close_and_return_error): New function.
9487         (send_dg): Initialize *resplen2 after reopen failure.  Call
9488         close_and_return_error for error returns.  On error paths without
9489         __res_iclose, initialze *resplen2 explicitly.  Update comment for
9490         successful return.
9492 2016-03-25  Florian Weimer  <fweimer@redhat.com>
9494         [BZ# 19860]
9495         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
9496         zero if the compiler does not provide the AVX512F bit.
9498 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
9500         [BZ #19848]
9501         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
9502         from 8 to 4.
9503         (__ieee754_powl): Compare integer exponent against 4 not 8.
9504         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
9505         from 8 to 4.
9506         (__ieee754_powl): Compare integer exponent against 4 not 8.
9507         * math/auto-libm-test-in: Add more tests of pow.
9508         * math/auto-libm-test-out: Regenerated.
9509         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
9510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9512 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
9514         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
9515         Make code unconditional.
9516         [!__NR_utimensat]: Remove conditional code.
9517         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
9518         Make code unconditional.
9519         [!__NR_utimensat]: Remove conditional code.
9520         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
9521         Make code unconditional.
9522         [!__NR_utimensat]: Remove conditional code.
9524 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
9526         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
9527         Make code unconditional.
9529 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
9531         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
9532         call-clobbered %eax on retry path.
9533         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
9535 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
9537         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
9538         Don't set %rcx twice before "rep movsb".
9540 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
9542         [BZ #19583]
9543         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
9544         inline.  Check family before setting family, model and
9545         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
9546         bits here.
9547         (init_cpu_features): Replace HAS_CPU_FEATURE and
9548         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
9549         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
9550         for Intel processors with usable AVX2.  Call get_common_indeces
9551         for other processors with family == NULL.
9552         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
9553         (CPU_FEATURES_ARCH_P): Likewise.
9554         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
9555         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
9557 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9559         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
9560         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
9561         $(shared-thread-library) instead of hardcoding the path to libpthread.
9563 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
9565         * sysdeps/unix/sysv/linux/kernel-features.h
9566         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
9567         * sysdeps/unix/sysv/linux/getdents.c
9568         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
9569         [!have_no_getdents64_defined]: Likewise.
9570         (__GETDENTS): Remove __have_no_getdents64 conditional.
9572 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
9574         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
9575         Remove macro.
9576         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
9577         <kernel-features.h>.
9578         (signalfd) [__NR_signalfd4]: Make code unconditional.
9579         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
9581 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9583         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
9584         style.
9586 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
9588         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
9589         (__pthread_enable_asynccancel): Use JUMPTARGET to call
9590         __pthread_unwind.
9591         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
9592         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
9593         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
9594         (__condvar_cleanup1): Likewise.
9596 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
9598         [BZ #19822]
9599         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
9600         move it to the final $@ location.
9602 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9604         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
9605         access where posix_spawn success and pid argument is null.
9606         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
9607         success case.
9609 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
9611         * sysdeps/mach/hurd/i386/c++-types.data: New file.
9613         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
9615         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
9616         and __fcntl.
9617         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
9618         __fcntl only.
9619         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
9620         adding attribute_hidden to __open and __fcntl.
9622         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
9623         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
9624         depend on libc-modules.h,
9625         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
9627 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
9629         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
9630         Remove macro.
9631         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
9632         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
9633         entry.
9635         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
9636         Remove macro.
9637         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
9638         include <kernel-features.h>.
9639         [!__ASSUME_FALLOCATE]: Remove conditional code.
9640         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
9642 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
9644         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
9645         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
9646         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
9647         (_ZGVdN4v_cos_avx2): Likewise.
9648         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
9649         (_ZGVdN4v_cos): Likewise.
9650         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
9651         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
9652         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
9653         (_ZGVdN4v_exp_avx2): Likewise.
9654         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
9655         (_ZGVdN4v_exp): Likewise.
9656         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
9657         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
9658         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
9659         (_ZGVdN4v_log_avx2): Likewise.
9660         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
9661         (_ZGVdN4v_log): Likewise.
9662         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
9663         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
9664         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
9665         (_ZGVdN4vv_pow_avx2): Likewise.
9666         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
9667         (_ZGVdN4vv_pow): Likewise.
9668         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
9669         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
9670         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
9671         (_ZGVdN4v_sin_avx2): Likewise.
9672         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
9673         (_ZGVdN4v_sin): Likewise.
9674         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
9675         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
9676         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
9677         (_ZGVdN4vvv_sincos_avx2): Likewise.
9678         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
9679         (_ZGVdN4vvv_sincos): Likewise.
9680         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
9681         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
9682         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
9683         (_ZGVbN4v_cosf_sse4): Likewise.
9684         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
9685         (_ZGVdN8v_cosf_avx2): Likewise.
9686         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
9687         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
9688         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
9689         (_ZGVbN4v_expf_sse4): Likewise.
9690         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
9691         (_ZGVdN8v_expf_avx2): Likewise.
9692         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
9693         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
9694         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
9695         (_ZGVbN4v_logf_sse4): Likewise.
9696         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
9697         (_ZGVdN8v_logf_avx2): Likewise.
9698         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
9699         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
9700         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
9701         (_ZGVbN4vv_powf_sse4): Likewise.
9702         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
9703         (_ZGVdN8vv_powf_avx2): Likewise.
9704         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
9705         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
9706         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
9707         (_ZGVbN4vvv_sincosf_sse4): Likewise.
9708         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
9709         (_ZGVdN8vvv_sincosf_avx2): Likewise.
9710         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
9711         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
9712         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
9713         (_ZGVbN4v_sinf_sse4): Likewise.
9714         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
9715         (_ZGVdN8v_sinf_avx2): Likewise.
9716         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
9717         Use JUMPTARGET to call callee.
9718         (WRAPPER_IMPL_SSE2_ff): Likewise.
9719         (WRAPPER_IMPL_SSE2_fFF): Likewise.
9720         (WRAPPER_IMPL_AVX): Likewise.
9721         (WRAPPER_IMPL_AVX_ff): Likewise.
9722         (WRAPPER_IMPL_AVX_fFF): Likewise.
9723         (WRAPPER_IMPL_AVX512): Likewise.
9724         (WRAPPER_IMPL_AVX512_ff): Likewise.
9725         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
9726         Likewise.
9727         (WRAPPER_IMPL_SSE2_ff): Likewise.
9728         (WRAPPER_IMPL_SSE2_fFF): Likewise.
9729         (WRAPPER_IMPL_AVX): Likewise.
9730         (WRAPPER_IMPL_AVX_ff): Likewise.
9731         (WRAPPER_IMPL_AVX_fFF): Likewise.
9732         (WRAPPER_IMPL_AVX512): Likewise.
9733         (WRAPPER_IMPL_AVX512_ff): Likewise.
9734         (WRAPPER_IMPL_AVX512_fFF): Likewise.
9736 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9738         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
9739         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
9740         qualifier.
9741         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
9742         internal_function qualifiers.
9744 2016-03-15  Carlos O'Donell <carlos@redhat.com>
9746         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
9747         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
9748         * math/atest-exp.c (exp_mpn): Mark chk unused.
9749         * math/atest-exp2.c (exp_mpn): Likwise.
9750         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
9751         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
9753 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
9755         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
9756         Remove macro.
9757         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
9758         <kernel-features.h>.
9759         [__NR_ppoll]: Make code unconditional.
9760         [!__ASSUME_PPOLL]: Remove conditional code.
9762         * sysdeps/unix/sysv/linux/kernel-features.h
9763         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
9764         (__ASSUME_ACCEPT4): Likewise.
9765         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9766         Define.
9767         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
9768         Likewise.
9769         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9770         Likewise.
9771         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
9772         Likewise.
9773         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
9774         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
9775         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9776         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
9777         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9778         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9779         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9780         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9781         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9782         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9783         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9784         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9785         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9786         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9787         * sysdeps/unix/sysv/linux/i386/kernel-features.h
9788         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9789         Likewise.
9790         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9791         Likewise.
9792         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
9793         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
9794         0x040300].
9795         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9796         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
9797         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9798         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
9799         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
9800         0x030300].
9801         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
9802         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9803         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
9804         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
9805         0x040300].
9806         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9807         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9808         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9809         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9810         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9811         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
9812         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
9813         0x030300].
9814         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9815         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9816         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9817         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9818         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9819         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9820         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9821         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9822         * sysdeps/unix/sysv/linux/s390/kernel-features.h
9823         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
9824         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
9825         0x040300].
9826         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9827         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9828         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9829         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9830         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9831         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9832         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9833         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9834         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9835         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9836         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9837         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9838         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9839         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9840         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
9841         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9842         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9843         Likewise.
9844         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9845         Likewise.
9847 2016-03-15  Andreas Schwab  <schwab@suse.de>
9849         [BZ #19257]
9850         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
9851         statp->_u._ext.nscount as loop count.
9853 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
9855         * math/test-signgam-finite-c99.c: Also #undef
9856         __LIBC_INTERNAL_MATH_INLINES.
9857         * math/test-signgam-main.c: Likewise.
9859 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
9861         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
9862         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
9863         (MADV_FREE): Likewise.
9864         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
9865         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
9866         EPOLLEXCLUSIVE.
9868 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
9870         * timezone/README: Remove mention of checktab.awk. Mention wiki
9871         SharedSourceFiles.
9873 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
9875         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
9876         WUNTRACED.
9878 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9880         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
9881         order to match the type of p when calling atomic_exchange_acq().
9883 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9885         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
9886         cfi_offset calls.
9887         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
9888         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
9889         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
9890         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
9891         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
9893 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
9895         * timezone/checktab.awk: Removed.
9897 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
9899         * manual/math.texi (Errors in Math Functions): Document relaxed
9900         accuracy goals for IBM long double.
9901         * math/libm-test.inc (test_exceptions): Always allow spurious
9902         "underflow" and "inexact" exceptions for IBM long double.
9904 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
9906         [BZ #19762]
9907         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
9908         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
9909         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
9910         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
9911         (bit_arch_*): This for feature array.
9912         (bit_*): Renamed to ...
9913         (bit_cpu_*): This for cpu array.
9914         (index_*): Renamed to ...
9915         (index_arch_*): This for feature array.
9916         (index_*): Renamed to ...
9917         (index_cpu_*): This for cpu array.
9918         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
9919         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
9920         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
9921         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
9922         bit_##name with index_cpu_##name and bit_cpu_##name.
9923         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
9924         bit_##name with index_arch_##name and bit_arch_##name.
9926 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
9928         [BZ #19792]
9929         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
9930         Terminate FDE before return label.
9932 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
9934         [BZ #19790]
9935         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
9936         (rintl): Define as macro.
9937         [USE_AS_NEARBYINTL] (__rintl): Likewise.
9938         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
9939         of fesetround.  Ensure results are evaluated before end of scope.
9940         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
9941         USE_AS_NEARBYINTL and include s_rintl.c.
9942         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
9943         Disable exception traps in new environment.
9944         (libc_feholdsetround_ppc_ctx): Likewise.
9946 2016-03-08  Roland McGrath  <roland@hack.frob.com>
9948         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
9949         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
9950         (tst_audit10_aux) [__AVX512F__]: ... here.
9952 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
9954         * include/sys/auxv.h: New file.
9956 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
9958         [BZ #19759]
9959         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
9961 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9963         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
9964         operand modifier.
9965         (feclearexcept): Likewise.
9967 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9969         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
9970         to reflect the entire 32-bit HWCAP.
9971         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
9972         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
9974 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
9976         [BZ #19783]
9977         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
9978         $(test-via-rtld-prefix).
9979         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
9981 2016-03-08  Florian Weimer  <fweimer@redhat.com>
9983         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
9984         union wait.  Report any non-zero exit status as error.
9986 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9988         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
9989         configured with --enable-hardcoded-path-in-tests.
9991 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
9993         [BZ #19677]
9994         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
9995         (__ieee754_remainderl): Put zero low parts in canonical form.
9996         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
9997         file.  Based on
9998         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
9999         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
10000         with wrapper round test-fmodrem-ldbl-128ibm.c.
10001         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
10002         file.
10003         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
10004         Likewise.
10005         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
10006         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
10008 2016-03-07  Florian Weimer  <fweimer@redhat.com>
10010         [BZ #19610]
10011         * elf/ldconfig.c (opt_link): Update comment.
10012         (options): Update help string for option -X.
10013         (search_dir): Unlink stale symbolic link only if updating symbolic
10014         links.
10015         * elf/tst-ldconfig-X.sh: New file.
10016         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
10017         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
10019 2016-03-07  Andreas Schwab  <schwab@suse.de>
10021         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
10022         needed arguments.
10024 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
10026         [BZ #15333]
10027         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
10028         to lstat64.
10030 2016-03-07  Florian Weimer  <fweimer@redhat.com>
10032         * libio/filedoalloc.c (isatty): Remove.
10033         (local_isatty): Add comment.  Call __isatty directly.
10034         (_IO_file_doallocate): Update comment.  Assume _LIBC.
10035         * libio/wfiledoalloc.c (isatty): Remove.
10036         (_IO_wfile_doallocate): Update comment.
10038 2016-03-07  Florian Weimer  <fweimer@redhat.com>
10040         [BZ #19269]
10041         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
10042         tst-audit4-aux.o.
10043         (tst-audit10): Depend on tst-audit10-aux.o.
10044         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
10045         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
10046         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
10047         instead of inline AVX code.
10048         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
10049         instead of inline AVX512 code.
10050         * sysdeps/x86_64/tst-audit4-aux.c: New file
10051         * sysdeps/x86_64/tst-audit10-aux.c: New file
10053         [BZ #19648]
10054         * test-skeleton.c (main): Do not set RLIMIT_DATA.
10056 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10058         [BZ #14750]
10059         [BZ #10354]
10060         [BZ #18433]
10061         * include/sched.h (__clone): Add hidden prototype.
10062         (__clone2): Likewise.
10063         * include/unistd.h (__dup): Likewise.
10064         * posix/Makefile (tests): Add tst-spawn2.
10065         * posix/tst-spawn2.c: New file.
10066         * sysdeps/posix/dup.c (__dup): Add hidden definition.
10067         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
10068         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
10069         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
10070         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
10071         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
10072         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
10073         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
10074         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
10075         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
10076         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
10077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
10078         Likewise.
10079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10080         Likewise.
10081         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
10082         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
10083         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
10084         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
10085         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
10086         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
10087         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
10088         * sysdeps/unix/sysv/linux/nptl-signals.h
10089         (____nptl_is_internal_signal): New function.
10090         * sysdeps/unix/sysv/linux/spawni.c: New file.
10092         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
10093         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
10094         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
10095         * posix/tst-execvp2.c (do_test): Likewise.
10096         * posix/tst-execvp3.c (do_test): Likewise.
10097         * posix/tst-execvp4.c (do_test): Likewise.
10098         * posix/tst-execvpe1.c: New file.
10099         * posix/tst-execvpe2.c: Likewise.
10100         * posix/tst-execvpe3.c: Likewise.
10101         * posix/tst-execvpe4.c: Likewise.
10102         * posix/tst-execvpe5.c: Likewise.
10103         * posix/tst-execvpe6.c: Likewise.
10105         [BZ #19534]
10106         * posix/execl.c (execl): Remove dynamic memory allocation.
10107         * posix/execle.c (execle): Likewise.
10108         * posix/execlp.c (execlp): Likewise.
10110 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
10112         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
10113         Replace .text with .text.avx512.
10114         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
10115         Likewise.
10117 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
10119         * sysdeps/generic/libnsl.abilist: New file.
10120         * sysdeps/generic/libutil.abilist: New file.
10122 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
10124         [BZ #19762]
10125         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
10126         HAS_ARCH_FEATURE with Fast_Rep_String.
10127         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
10128         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
10129         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
10130         Likewise.
10131         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
10132         Likewise.
10133         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
10134         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
10135         Likewise.
10136         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
10137         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
10138         Likewise.
10140 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
10142         [BZ #19745]
10143         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
10144         with *%rax in call.
10146 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
10148         [BZ #19745]
10149         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
10150         with *__libc_start_main@GOTPCREL(%rip) in call.
10152 2016-03-04  Roland McGrath  <roland@hack.frob.com>
10154         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
10155         inside conditional for nonempty $(CXX).
10157         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
10158         nonempty.
10160         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
10161         to test for empty $(CXX) rather than $(CXX) of "no".
10163 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
10165         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
10167 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
10168             H.J. Lu  <hongjiu.lu@intel.com>
10170         [BZ #18880]
10171         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
10172         instead of Slow_BSF, and also check for Fast_Copy_Backward to
10173         enable __memcpy_ssse3_back.
10175 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
10177         [BZ #19758]
10178         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
10179         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
10181 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
10183         [BZ #19490]
10184         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
10185         (__fentry__): Likewise.
10187 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
10189         * gmon/Makefile (noprof): Add $(sysdep_noprof).
10190         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
10192 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
10194         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
10195         __mcount_internal directly.
10196         (C_LABEL(__fentry__)): Likewise.
10197         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
10198         directly.
10200 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
10202         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10203         (__start_context): Call __setcontext directly.
10205 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
10207         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10208         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
10209         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
10210         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
10211         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10212         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
10213         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
10214         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
10215         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10216         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
10217         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
10218         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
10219         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10220         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
10221         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
10222         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10223         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
10224         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10225         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
10226         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
10227         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
10228         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10229         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
10230         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
10231         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
10232         Remove conditional code.
10233         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10234         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
10235         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
10236         * sysdeps/unix/sysv/linux/sh/kernel-features.h
10237         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
10238         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
10239         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
10240         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10241         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
10242         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
10243         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10244         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
10246 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
10248         * NEWS (2.23): Fix typo in bug 19048 text.
10250 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
10252         [BZ #14259]
10253         * Makeconfig: Rename msgcatdir to localedir.
10254         Rename inst_msgcatdir to inst_localedir.
10255         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
10256         * config.make.in: Add localedir.
10257         * elf/Makefile ($(objpfx)sotruss): Use localedir.
10258         (ldd-rewrite): Likewise.
10259         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
10260         (install-others): Use inst_localedir.
10261         (CPPFLAGS): Use localedir.
10262         * locale/Makefile (locale-CPPFLAGS): Likewise.
10263         * po/Makefile (mo-installed): Use inst_localedir.
10265         [BZ #19575]
10266         * localedata/charmaps/GB18030: Update comments regarding PAU to
10267         non-PUA mappings.
10269 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
10271         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
10272         test for header.
10273         * sysdeps/unix/sysv/linux/configure: Regenerated.
10274         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
10275         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
10276         Remove conditional code.
10277         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
10279         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
10280         Define to 3.2.0.
10281         (arch_minimum_kernel): Likewise.
10282         * sysdeps/unix/sysv/linux/configure: Regenerated.
10283         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
10284         Define to 2.6.32.
10285         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
10286         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
10287         (arch_minimum_kernel): Define to 2.6.32.
10288         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
10289         * README: Document Linux 3.2 requirement.
10290         * manual/install.texi (Linux): Document Linux 3.2 headers
10291         requirement.
10292         * INSTALL: Regenerated.
10294 2016-02-24  Andreas Schwab  <schwab@suse.de>
10296         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
10297         if !NO_LONG_DOUBLE.
10299 2016-02-22  Roland McGrath  <roland@hack.frob.com>
10301         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
10302         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
10304 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
10306         [BZ #19512]
10307         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
10309 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
10311         * posix/tst-dir.c: Include libc-internal.h.
10313 2016-02-20  Florian Weimer  <fweimer@redhat.com>
10315         [BZ #19056]
10316         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
10317         * manual/filesys.texi (Reading/Closing Directory): Mention
10318         deprecaion.
10319         * posix/tst-dir.c (main): Disable deprecation warning in test.
10321 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
10323         [BZ #19679]
10324         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
10325         Renamed to ...
10326         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
10327         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
10328         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
10329         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
10330         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
10331         * sysdeps/x86_64/dl-trampoline.h
10332         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
10333         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
10335 2016-02-19  Mark Wielaard  <mjw@redhat.com>
10337         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
10339 2016-02-19  Mark Wielaard  <mjw@redhat.com>
10341         * elf/elf.h (R_386_GOT32X): New.
10342         (R_386_NUM): Update.
10343         (R_X86_64_GOTPCRELX: New.
10344         (R_X86_64_REX_GOTPCRELX): New.
10345         (R_X86_64_NUM): Update.
10347 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
10349         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
10351 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
10353         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
10354         assign attr->stackaddr to it, and adjust it down when
10355         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
10356         [_STACK_GROWS_UP]: Delete assert.
10357         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
10358         Implement stack grows up logic.
10359         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
10360         stack grows up logic.
10362 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10364         * NEWS: Update with 2.24 template.
10366 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
10368         [BZ #19678]
10369         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
10370         Ensure +0.0 is returned when taking the next value below the least
10371         positive value.
10373 2016-02-19  Florian Weimer  <fweimer@redhat.com>
10375         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
10376         available.  Do not define NO_THREADS.
10377         * malloc/malloc.c: Do not check NO_THREADS.
10378         * malloc/arena.c: Likewise.
10380 2016-02-19  Florian Weimer  <fweimer@redhat.com>
10382         * malloc/malloc.c (__libc_mallinfo): Update comment.
10383         (struct malloc_par): Remove max_total_mem member, it was always 0.
10384         (int_mallinfo): Store 0 into usmblks (no functional change).
10385         * malloc/hooks.c (struct malloc_state): Document that
10386         max_total_mem is always 0.
10387         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
10388         always 0.
10389         * manual/memory.texi (Statistics of Malloc): Likewise.
10391 2016-02-19  Florian Weimer  <fweimer@redhat.com>
10393         * malloc/malloc.c (sysmalloc): Do not update arena_max.
10394         * malloc/arena.c (arena_max): Remove.
10395         (heap_trim, _int_new_arena): Do not update arena_max.
10397 2016-02-19  Florian Weimer  <fweimer@redhat.com>
10399         * resolv/res_init.c (res_ninit): Update comment.
10401 2016-02-19  Florian Weimer  <fweimer@redhat.com>
10403         [BZ #19505]
10404         * posix/spawn_int.h: Add headers and include guard.
10405         (__spawn_valid_fd): New function.
10406         * posix/spawn_faction_addopen.c
10407         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
10408         * posix/spawn_faction_addclose.c
10409         (posix_spawn_file_actions_addclose): Likewise.
10410         * posix/spawn_faction_adddup2.c
10411         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
10412         second file descriptor.
10413         * posix/spawn_valid_fd.c: New file.
10414         * posix/tst-posix_spawn-fd.c: New file.
10415         * posix/Makefile (routines): Add spawn_valid_fd.
10416         (tests): Add tst-posix_spawn-fd.
10418 2016-02-19  Florian Weimer  <fweimer@redhat.com>
10420         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
10421         (do_test): Limit the number of arenas, so that we can use fewer
10422         outer threads.  Limit timeout to 3 seconds, in preparation for a
10423         larger TIMEOUT value.
10425 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
10427         [BZ #19674]
10428         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
10429         sign in overflowing and underflowing results when overflow or
10430         underflow is detected early.  Include sign in result before rather
10431         than after scaling.
10433         [BZ #19603]
10434         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
10435         (__ieee754_remainderl): Adjust sign of integer version of low part
10436         when taking absolute value of high part.
10437         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10438         * math/libm-test.inc (remainder_test_data): Add another test.
10439         (remquo_test_data): Likewise.
10441 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
10443         [BZ #19602]
10444         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
10445         equal high parts and both low parts zero specially.
10446         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
10447         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
10448         Add test-fmodl-ldbl-128ibm.
10450         [BZ #19595]
10451         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
10452         common logic for all cases of shifting subnormal results.  Do not
10453         insert sign bit in shifted mantissa.  Always pass -1023 as biased
10454         exponent to ldbl_insert_mantissa in subnormal case.
10456         [BZ #19594]
10457         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
10458         on high and low parts then adjust result and use
10459         ldbl_canonicalize_int if needed.
10461         [BZ #19593]
10462         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
10463         on high part and __floor or __ceil on low part then use
10464         ldbl_canonicalize_int if needed.
10466         [BZ #19592]
10467         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
10468         high and low parts then use ldbl_canonicalize_int if needed.
10470         [BZ #17899]
10471         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
10472         New function.
10473         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
10474         on high and low parts then use ldbl_canonicalize_int if needed.
10476 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10478         * configure: Regenerated.
10480         * po/libc.pot: Regenerated.
10482         * po/be.po: Updated translation.
10483         * po/bg.po: Likewise.
10484         * po/ca.po: Likewise.
10485         * po/cs.po: Likewise.
10486         * po/da.po: Likewise.
10487         * po/el.po: Likewise.
10488         * po/eo.po: Likewise.
10489         * po/es.po: Likewise.
10490         * po/fi.po: Likewise.
10491         * po/fr.po: Likewise.
10492         * po/gl.po: Likewise.
10493         * po/hr.po: Likewise.
10494         * po/hu.po: Likewise.
10495         * po/ia.po: Likewise.
10496         * po/id.po: Likewise.
10497         * po/it.po: Likewise.
10498         * po/ja.po: Likewise.
10499         * po/lt.po: Likewise.
10500         * po/nb.po: Likewise.
10501         * po/nl.po: Likewise.
10502         * po/pt_BR.po: Likewise.
10503         * po/rw.po: Likewise.
10504         * po/sk.po: Likewise.
10505         * po/sl.po: Likewise.
10506         * po/sv.po: Likewise.
10507         * po/tr.po: Likewise.
10508         * po/zh_CN.po: Likewise.
10509         * po/zh_TW.po: Likewise.
10511         * version.h (RELEAES): Set to "development".
10512         (VERSION): Set to 2.23.90.
10514         * version.h (RELEASE): Set to "stable".
10515         (VERSION): Set to 2.23.
10516         * include/feature.h (__GLIBC_MINOR__): Set to 23.
10518         * NEWS: Updated fixed bugs.
10520 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
10521             Wilco Dijkstra  <wdijkstr@arm.com>
10523         [BZ #19462]
10524         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
10525         (_STRING_INLINE_unaligned): This.
10526         * include/string.h: Include <string_private.h>.
10527         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
10528         _STRING_INLINE_unaligned.
10529         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
10530         (_STRING_INLINE_unaligned): New.
10531         * sysdeps/aarch64/string_private.h: New file.
10532         * sysdeps/generic/string_private.h: Likewise.
10533         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
10534         * sysdeps/s390/string_private.h: Likewise.
10535         * sysdeps/x86/string_private.h: Likewise.
10536         * sysdeps/m68k/m680x0/m68020/bits/string.h
10537         (_STRING_ARCH_unaligned): Renamed to ...
10538         (_STRING_INLINE_unaligned): This.
10539         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
10540         to ...
10541         (_STRING_INLINE_unaligned): This.
10542         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
10543         to ...
10544         (_STRING_INLINE_unaligned): This.
10545         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
10546         to ...
10547         (_STRING_INLINE_unaligned): This.
10549 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
10550             H.J. Lu  <hongjiu.lu@intel.com>
10552         [BZ #19590]
10553         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
10554         relocation.
10556 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
10558         [BZ #18665]
10559         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
10560         *herrno_p.
10561         (gaih_getanswer): Document functional behviour. Return tryagain
10562         if any result is tryagain.
10563         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
10564         when freed.
10565         * resolv/res_send.c: Add copyright text.
10566         (__libc_res_nsend): Document that MAXPACKET is expected.
10567         (send_vc): Document. Remove buffer reuse.
10568         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
10569         size of the buffer. Add Dprint for truncated UDP buffer.
10571 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
10573         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
10574         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
10575         * INSTALL: Regenerate.
10577 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
10578             Jonathan Wakely  <jwakely@redhat.com>
10579             Carlos O'Donell  <carlos@redhat.com>
10581         [BZ 19439]
10582         * math/Makefile (tests): Add test-math-isinff.
10583         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
10584         * math/bits/mathcalls.h [__USE_MISC]: Use
10585         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
10586         functions not in C++11 and which don't conflict e.g. isinff,
10587         isinfl etc.
10588         * math/test-math-isinff.cc: New file.
10590 2016-02-12  Florian Weimer  <fweimer@redhat.com>
10592         * misc/bug18240.c (do_test): Set RLIMIT_AS.
10594 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10596         [BZ #19529]
10597         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
10599 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10601         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
10603 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
10605         [BZ #19550]
10606         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
10607         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
10608         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
10609         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
10610         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
10611         New syscall entry.
10612         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
10613         New syscall entry.
10614         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
10615         syscall entry.
10617 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
10619         [BZ #18240]
10620         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
10621         unsigned int wraparound.
10623 2016-01-27  Florian Weimer  <fweimer@redhat.com>
10625         [BZ #18240]
10626         * misc/bug18240.c: New test.
10627         * misc/Makefile (tests): Add it.
10629 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
10630             Joseph Myers  <joseph@codesourcery.com>
10632         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
10633         load in branch delay slot when less than a word of input left.
10635 2016-01-27  Andreas Schwab  <schwab@suse.de>
10637         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
10638         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
10639         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
10640         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
10642 2016-01-26  David S. Miller  <davem@davemloft.net>
10644         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
10646 2016-01-25  David S. Miller  <davem@davemloft.net>
10648         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
10649         __sqrtl_finite.
10650         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
10651         instead using versioned_symbol.
10652         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
10653         of entries.
10655         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
10656         __sqrtl_finite to GLIBC_2.23
10658 2016-01-25  Ricchard Henderson  <rth@redhat.com>
10660         * sysdeps/alpha/fpu/libm-test-ulps: Update.
10662 2016-01-25  Andreas Schwab  <schwab@suse.de>
10664         [BZ #17514]
10665         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
10666         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
10667         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
10668         * nptl/tst-mutex-errorcheck.c: New file.
10670 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10672         [BZ #18560]
10673         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
10674         (IPCOP_semop): Likewise.
10675         (IPCOP_semget): Likewise.
10676         (IPCOP_semctl): Likewise.
10677         (IPCOP_msgsnd): Likewise.
10678         (IPCOP_msgrcv): Likewise.
10679         (IPCOP_msgget): Likewise.
10680         (IPCOP_msgctl): Likewise.
10681         (IPCOP_shmat): Likewise.
10682         (IPCOP_shmdt): Likewise.
10683         (IPCOP_shmget): Likewise.
10684         (IPCOP_shmctl): Likewise.
10686 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
10688         * string/tst-endian.c: Include <libc-internal.h>.
10689         (do_test): Ignore tautological-compare warnings around
10690         "htobeXX (beXXtoh (i)) != i" and
10691         "htoleXX (leXXtoh (i)) != i" if-statements.
10693 2016-01-24  David S. Miller  <davem@davemloft.net>
10695         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
10696         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
10697         alias.
10698         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
10699         __sqrtl_finite.
10701         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10703 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
10705         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
10706         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
10707         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10709 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10711         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
10712         (thread_func): Use new function to simplify barrier check.
10713         (do_test): Use new function to simplify checking barrier exit
10714         code, and actually join the child thread.
10716 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10718         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
10719         semicolon.
10720         (__libc_tend): Likewise.
10721         (__libc_tabort): Likewise.
10723 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
10725         * sysdeps/nios2/libm-test-ulps: Update.
10726         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
10727         (__gtsf2): Likewise.
10728         (__unorddf2): Likewise.
10729         (__unordsf2): Likewise.
10730         (__ledf2): Likewise.
10732 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
10734         * nis/nis_table.c (__follow_path): Disable diagnostic for
10735         uninitialized variable that is a false positive for gcc 4.7.
10736         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
10738 2016-01-20  Roland McGrath  <roland@hack.frob.com>
10740         * sysdeps/nacl/lowlevellock-futex.h
10741         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
10742         Always evaluate PRIVATE argument.
10744 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
10746         [BZ #19490]
10747         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
10748         (pthread_cond_broadcast): Use ENTRY/END
10749         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
10750         (pthread_cond_signal): Likewise.
10751         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
10752         Likewise.
10753         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
10754         Likewise.
10755         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
10756         Likewise.
10758 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
10760         * sysdeps/ieee754/dbl-64/s_finite.c
10761         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
10762         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
10763         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
10764         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
10765         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
10767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
10768         (__gtsf2): Add as optional for libc.so.
10769         (__unordsf2): Likewise.
10770         (__signbit): Remove for libc.so.
10771         (__signbitl): Likewise.
10773 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
10775         * iconvdata/bug-iconv11.c (test_ibm93x):
10776         Use %zu printf format specifier for size_t argument.
10778 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
10780         * math/gen-libm-test.pl (parse_ulps): Do not reduce
10781         already-recorded ulps.
10782         * sysdeps/arm/libm-test-ulps: Regenerated.
10783         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10784         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10785         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
10787 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
10788             Paul Pluzhnikov  <ppluzhnikov@google.com>
10790         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
10791         assembler not supporting AVX-512.
10793 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
10795         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10797 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
10799         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10800         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10802         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10804         * sysdeps/arm/libm-test-ulps: Regenerated.
10806 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
10808         [BZ #19451]
10809         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
10811 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
10813         [BZ #19486]
10814         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
10815         * sysdeps/generic/fix-fp-int-convert-overflow.h
10816         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
10817         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
10818         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
10819         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
10820         Likewise.
10821         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
10822         Avoid conversions to long int where inexact exceptions
10823         could be raised.
10824         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
10825         Likewise.
10826         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
10827         Avoid conversions to long long int where inexact exceptions
10828         could be raised.
10829         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
10830         Likewise.
10832 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
10834         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
10835         * configure: Regenerated.
10837 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
10839         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
10841 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
10843         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
10844         outside of comment.
10846 2016-01-15  Torvald Riegel  <triegel@redhat.com>
10848         * nptl/tst-barrier1.c: Add description on first line.
10849         * nptl/tst-barrier2.c: Likewise.
10850         * nptl/tst-barrier3.c: Likewise.
10851         * nptl/tst-barrier4.c: Likewise.
10852         * nptl/tst-barrier5.c: Likewise.
10854 2016-01-15  Torvald Riegel  <triegel@redhat.com>
10856         [BZ #18868]
10857         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
10859 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
10861         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
10862         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
10863         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
10864         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
10865         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
10866         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
10867         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10868         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10869         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10870         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10871         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10873 2016-01-15  Torvald Riegel  <triegel@redhat.com>
10875         [BZ #13065]
10876         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
10877         new implementation.
10878         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
10879         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
10880         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
10881         (BARRIER_IN_THRESHOLD): New macro.
10882         * nptl/pthread_barrierattr_setpshared.c
10883         (pthread_barrierattr_setpshared): Clean up.
10884         * nptl/tst-barrier4.c: Correct comment.
10885         * nptl/tst-barrier5.c: New file.
10886         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
10887         (gen-as-const-headers): Remove lowlevelbarrier.sym.
10888         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
10889         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
10890         * nptl/lowlevelbarrier.sym: Remove.
10891         * nptl/DESIGN-barrier.txt: Remove.
10892         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
10893         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
10894         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
10895         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
10896         error.
10897         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
10898         implementation.
10900 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10902         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
10903         (do_child): Mask SIGRTMIN while thr is running.
10905 2016-01-15  Martin Sebor  <msebor@redhat.com>
10907         [BZ #19432]
10908         * iconvdata/Makefile: Add bug-iconv11.
10909         * iconvdata/bug-iconv11.c: New test.
10910         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
10911         * iconvdata/ibm933.c: Same.
10912         * iconvdata/ibm935.c: Same.
10913         * iconvdata/ibm937.c: Same.
10914         * iconvdata/ibm939.c: Same.
10916 2016-01-15  Martin Sebor  <msebor@redhat.com>
10918         [BZ #19443]
10919         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
10920         [DEBUG] (_ufc_set_bits): Declare used.
10921         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
10922         [DEBUG] (print_all): Declare used.
10923         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
10924         operands of the ternary ?: expression to target type.
10925         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
10926         calling the undeclared abort.
10927         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
10929 2016-01-15  Martin Sebor  <msebor@redhat.com>
10931         [BZ #18755]
10932         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
10933         warnings.
10934         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
10935         (__gai_create_helper_thread): Same.
10936         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
10937         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
10938         to suppress -Wmaybe-uninitialized warnings.
10940 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
10942         [BZ #19465]
10943         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
10944         inside if.
10945         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10946         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10947         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10949 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
10951         [BZ #19466]
10952         * time/tst-mktime2.c (time_t_max): Removed.
10953         (time_t_min): Likewise.
10954         (TYPE_SIGNED): New.
10955         (TYPE_MINIMUM): Likewise.
10956         (TYPE_MAXIMUM): Likewise.
10957         (TIME_T_MIN): Likewise.
10958         (TIME_T_MAX): Likewise.
10959         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
10960         and TIME_T_MIN.
10961         (do_test): Likewise.
10963 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
10965         [BZ #19467]
10966         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
10967         index_Fast_Unaligned_Load flag for Excavator family CPUs.
10969 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
10971         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
10973 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
10975         * benchtests/Makefile (PYTHON): Define.
10976         (bench-func): Use $(PYTHON) to run python scripts.
10977         ($(objpfx)bench-%.c): Likewise.
10979 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
10981         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
10982         leading slash when `file_name' is "/".
10984 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
10986         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
10987         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
10988         Likewise.
10989         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
10990         Likewise.
10991         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
10992         Likewise.
10993         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
10994         enum constant and macro.
10995         (PTRACE_SETSIGMASK): Likewise.
10996         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10997         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
10998         (PTRACE_GETSIGMASK): Likewise.
10999         (PTRACE_SETSIGMASK): Likewise.
11000         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11001         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
11002         Likewise.
11003         (PTRACE_SETSIGMASK): Likewise.
11004         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11005         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
11006         (PTRACE_GETSIGMASK): Likewise.
11007         (PTRACE_SETSIGMASK): Likewise.
11008         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11009         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
11010         Likewise.
11011         (PTRACE_SETSIGMASK): Likewise.
11012         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11013         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
11014         Likewise.
11015         (PTRACE_SETSIGMASK): Likewise.
11016         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11017         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
11018         Likewise.
11019         (PTRACE_SETSIGMASK): Likewise.
11020         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11022 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
11023             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11025         [BZ #19439]
11026         * math/bits/mathcalls.h
11027         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
11028         prototype.
11029         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
11031 2016-01-11  Andreas Schwab  <schwab@suse.de>
11033         [BZ #19253]
11034         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
11035         cache when TZDEFRULES was used.
11036         * time/tst-tzname.c: New file.
11037         * time/Makefile (test): Add tst-tzname.
11038         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
11039         * timezone/Makefile (test-zones): Add $(posixrules-file).
11040         ($(testdata)/$(posixrules-file)): New rule.
11042 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
11044         Fix doc quoting problems with Texinfo 5
11045         Without this change, in the info file output, Texinfo 5 quotes code
11046         in text with undirected single quotes 'like this' and generates
11047         code examples that with many PDF readers cannot be cut out of PDFs
11048         and pasted into code.
11049         * manual/libc.texinfo: Configure the libc manual like the GNU
11050         Emacs manual, by using @documentencoding and setting
11051         txicodequoteundirected and txicodequotebacktick.  This way,
11052         Texinfo 5 quotes code in text with directed single quotes ‘like
11053         this’ and produces examples that can be cut out of PDFs.  This
11054         change causes Texinfo 5 to generate info files that contain UTF-8
11055         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
11056         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
11058 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11060         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
11061         __libc_tabort, __libc_tend): New wrappers that enforce compiler
11062         barriers to their respective compiler built-ins.
11063         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
11064         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
11065         * sysdeps/powerpc/sysdep.h: Likewise.
11066         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
11067         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
11068         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
11070 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
11072         * scripts/config.guess: Revert previous shebang change.
11073         * scripts/config.sub: Likewise.
11074         * scripts/mkinstalldirs: Likewise.
11076 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11078         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
11079         PPC_FEATURE2_HAS_IEEE128.
11080         * sysdeps/powerpc/dl-procinfo.c:
11081         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
11083 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
11085         [BZ #19415]
11086         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
11087         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
11088         (_dl_lookup_address): Rewrite using function resolver trampoline.
11089         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
11090         two bits in address.
11092 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
11094         * longlong.h: Change !__SHMEDIA__ to
11095         (!defined (__SHMEDIA__) || !__SHMEDIA__).
11096         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
11098 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
11099             Joseph Myers  <joseph@codesourcery.com>
11100             Mark Shinwell  <shinwell@codesourcery.com>
11101             Andrew Stubbs  <ams@codesourcery.com>
11102             Rich Felker <dalias@libc.org>
11104         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
11106 2016-01-07  Richard Henderson  <rth@redhat.com>
11108         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
11110 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
11112         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
11113         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
11114         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11115         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
11116         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
11118 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
11119             Joseph Myers  <joseph@codesourcery.com>
11121         * timezone/private.h: Update from tzcode 2015g.
11122         * timezone/tzfile.h: Likewise.
11123         * timezone/tzselect.ksh: Likewise.
11124         * timezone/zdump.c: Likewise.
11125         * timezone/zic.c: Likewise.
11126         * timezone/ialloc.c: Remove file.
11127         * timezone/scheck.c: Likewise.
11128         * timezone/Makefile (extra-objs): Remove variable.
11129         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
11130         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
11131         -Wno-maybe-uninitialized.
11132         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
11133         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
11134         (CFLAGS-ialloc.c): Remove variable.
11135         (CFLAGS-scheck.c): Likewise.
11136         * timezone/README: Update list of files from tzcode.
11138 2016-01-07  Khem Raj  <raj.khem@gmail.com>
11140         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
11141         instead of __fxprintf when _LIBC is undefined.
11143 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
11145         * catgets/test-gencat.sh: Remove space after shebang.
11146         * conform/GlibcConform.pm: Likewise.
11147         * conform/check-header-lists.sh: Likewise.
11148         * conform/conformtest.pl: Likewise.
11149         * conform/linknamespace.pl: Likewise.
11150         * conform/list-header-symbols.pl: Likewise.
11151         * debug/catchsegv.sh: Likewise.
11152         * elf/genrtldtbl.awk: Likewise.
11153         * elf/tst-pathopt.sh: Likewise.
11154         * elf/tst-rtld-load-self.sh: Likewise.
11155         * grp/tst_fgetgrent.sh: Likewise.
11156         * iconvdata/gen-8bit-gap-1.sh: Likewise.
11157         * iconvdata/gen-8bit-gap.sh: Likewise.
11158         * iconvdata/gen-8bit.sh: Likewise.
11159         * iconvdata/run-iconv-test.sh: Likewise.
11160         * intl/tst-gettext.sh: Likewise.
11161         * intl/tst-gettext2.sh: Likewise.
11162         * intl/tst-gettext4.sh: Likewise.
11163         * intl/tst-gettext6.sh: Likewise.
11164         * intl/tst-translit.sh: Likewise.
11165         * io/ftwtest-sh: Likewise.
11166         * libio/test-freopen.sh: Likewise.
11167         * locale/gen-translit.pl: Likewise.
11168         * malloc/tst-mtrace.sh: Likewise.
11169         * manual/check-safety.sh: Likewise.
11170         * manual/libc-texinfo.sh: Likewise.
11171         * manual/tsort.awk: Likewise.
11172         * manual/xtract-typefun.awk: Likewise.
11173         * nptl/tst-cancel-wrappers.sh: Likewise.
11174         * nptl/tst-tls6.sh: Likewise.
11175         * posix/globtest.sh: Likewise.
11176         * posix/tst-getconf.sh: Likewise.
11177         * posix/wordexp-tst.sh: Likewise.
11178         * scripts/check-c++-types.sh: Likewise.
11179         * scripts/check-local-headers.sh: Likewise.
11180         * scripts/config.guess: Likewise.
11181         * scripts/config.sub: Likewise.
11182         * scripts/cpp: Likewise.
11183         * scripts/cross-test-ssh.sh: Likewise.
11184         * scripts/documented.sh: Likewise.
11185         * scripts/evaluate-test.sh: Likewise.
11186         * scripts/gen-libc-abis: Likewise.
11187         * scripts/gen-sorted.awk: Likewise.
11188         * scripts/list-fixed-bugs.py: Likewise.
11189         * scripts/merge-test-results.sh: Likewise.
11190         * scripts/mkinstalldirs: Likewise.
11191         * scripts/rellns-sh: Likewise.
11192         * scripts/test-installation.pl: Likewise.
11193         * scripts/update-copyrights: Likewise.
11194         * stdio-common/tst-printf.sh: Likewise.
11195         * stdio-common/tst-unbputc.sh: Likewise.
11196         * stdlib/tst-fmtmsg.sh: Likewise.
11197         * stdlib/tst-setcontext3.sh: Likewise.
11198         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
11199         * sysdeps/unix/make-syscalls.sh: Likewise.
11201 2016-01-06  John David Anglin  <dave.anglin@bell.net>
11203         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
11204         asm stw with atomic_exchange_rel.  Add explanatory comment.
11205         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
11206         Likewise.
11208 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
11210         [BZ #19122]
11211         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
11212         * sysdeps/generic/dl-unistd.h: New file.
11213         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
11215 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
11217          [BZ #19122]
11218          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
11219          * sysdeps/generic/dl-mman.h: New file.
11220          * sysdeps/mach/hurd/dl-mman.h: Likewise.
11222 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
11224         * manual/texinfo.tex: Update to version 2016-01-04.21 with
11225         trailing whitespace removed.
11226         * scripts/config.guess: Update to version 2016-01-01.
11227         * scripts/config.sub: Update to version 2016-01-01.
11228         * scripts/move-if-change: Update from gnulib.
11230 2016-01-04  Anton Blanchard  <anton@samba.org>
11232         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
11233         for array indices.
11234         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
11236 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
11238         * NEWS: Update copyright dates.
11239         * catgets/gencat.c (print_version): Likewise.
11240         * csu/version.c (banner): Likewise.
11241         * debug/catchsegv.sh: Likewise.
11242         * debug/pcprofiledump.c (print_version): Likewise.
11243         * debug/xtrace.sh (do_version): Likewise.
11244         * elf/ldconfig.c (print_version): Likewise.
11245         * elf/ldd.bash.in: Likewise.
11246         * elf/pldd.c (print_version): Likewise.
11247         * elf/sotruss.sh: Likewise.
11248         * elf/sprof.c (print_version): Likewise.
11249         * iconv/iconv_prog.c (print_version): Likewise.
11250         * iconv/iconvconfig.c (print_version): Likewise.
11251         * locale/programs/locale.c (print_version): Likewise.
11252         * locale/programs/localedef.c (print_version): Likewise.
11253         * login/programs/pt_chown.c (print_version): Likewise.
11254         * malloc/memusage.sh (do_version): Likewise.
11255         * malloc/memusagestat.c (print_version): Likewise.
11256         * malloc/mtrace.pl: Likewise.
11257         * manual/libc.texinfo: Likewise.
11258         * nptl/version.c (banner): Likewise.
11259         * nscd/nscd.c (print_version): Likewise.
11260         * nss/getent.c (print_version): Likewise.
11261         * nss/makedb.c (print_version): Likewise.
11262         * posix/getconf.c (main): Likewise.
11263         * scripts/test-installation.pl: Likewise.
11264         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
11266         * All files with FSF copyright notices: Update copyright dates
11267         using scripts/update-copyrights.
11268         * intl/plural.c: Regenerated.
11269         * locale/programs/charmap-kw.h: Likewise.
11270         * locale/programs/locfile-kw.h: Likewise.
11272 2016-01-02  Helge Deller  <deller@gmx.de>
11274         [BZ #19285]
11275         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
11276         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
11277         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
11278         (MADV_xxK_PAGES): Remove.
11280 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
11282         [BZ #15421]
11283         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
11284         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
11285         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
11286         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
11288 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
11290         [BZ #19408]
11291         * sysdeps/unix/sysv/linux/personality.c: New file.
11292         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
11293         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
11294         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
11295         (sysdep_routines): Add personality.
11296         (tests): Add tst-personality.
11297         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
11298         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
11299         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
11300         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
11301         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
11302         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
11303         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
11304         Likewise.
11305         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
11306         Likewise.
11307         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
11308         Likewise.
11309         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
11310         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
11311         Likewise.
11313 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
11315         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
11316         (PATH_ARM_SYSTYPE): Remove.
11317         (PATH_CPUINFO): Likewise.
11318         (IO_BASE_FOOTBRIDGE): Likewise.
11319         (IO_SHIFT_FOOTBRIDGE): Likewise.
11320         (struct platform): Likewise.
11321         (init_iosys): Remove compatibility code for 2.4 kernels.
11322         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
11324 2015-12-29  Florian Weimer  <fweimer@redhat.com>
11326         * malloc/tst-malloc-thread-fail.c: New file.
11327         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
11328         (tst-malloc-thread-fail): Link against libpthread.
11330 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
11332         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
11333         (get_parser): New function.
11334         (main): New function.
11336 2015-12-29  Rob Wu  <rob@robwu.nl>
11338         [BZ #19369]
11339         * resolv/res_init.c (__res_vinit): Reset defdname before use.
11341 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
11343         [BZ #19270]
11344         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
11346 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
11348         [BZ #15421]
11349         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
11351 2015-12-23  Torvald Riegel  <triegel@redhat.com>
11353         [BZ #13690]
11354         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
11355         after releasing it.
11356         (__lll_robust_unlock): Likewise.
11357         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11358         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
11359         (lll_robust_unlock): Likewise.
11360         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
11361         Prevent warnings in callers.
11363 2015-12-23  Florian Weimer  <fweimer@redhat.com>
11365         * malloc/arena.c (list_lock): Update comment.
11367 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11369         * sysdeps/powerpc/hwcapinfo.c: Export symbol
11370         __parse_hwcap_and_convert_at_platform to libc.a.
11372 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11374         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
11375         platform and feature support for POWER9.
11376         * sysdeps/powerpc/dl-procinfo.h: Likewise.
11377         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
11378         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
11379         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
11380         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
11381         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
11382         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
11383         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
11385 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11387         Harmonize generic stdio-lock support with nptl
11389         This fixes build when _IO_funlockfile is a macro, fixes build where
11390         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
11391         stack unwind.
11393         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
11394         _IO_release_lock ): Use cleanup attribute on new
11395         _IO_acquire_lock_file variable instead of assuming that
11396         _IO_release_lock will be called.
11397         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
11398         _IO_acquire_lock_needs_exceptions_enabled.
11399         (_IO_acquire_lock_clear_flags2): New macro.
11401 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11403         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
11405 2015-12-21  Florian Weimer  <fweimer@redhat.com>
11407         [BZ #19182]
11408         * malloc/arena.c (list_lock): Document lock ordering requirements.
11409         (free_list_lock): New lock.
11410         (ptmalloc_lock_all): Comment on free_list_lock.
11411         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
11412         (detach_arena): Update comment.  free_list_lock is now needed.
11413         (_int_new_arena): Use free_list_lock around detach_arena call.
11414         Acquire arena lock after list_lock.  Add comment, including FIXME
11415         about incorrect synchronization.
11416         (get_free_list): Switch to free_list_lock.
11417         (reused_arena): Acquire free_list_lock around detach_arena call
11418         and attached threads counter update.  Add two FIXMEs about
11419         incorrect synchronization.
11420         (arena_thread_freeres): Switch to free_list_lock.
11421         * malloc/malloc.c (struct malloc_state): Update comments to
11422         mention free_list_lock.
11424 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
11426         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
11427         Remove functions.
11428         (sloww, sloww1): Accept argument to offset quadrant.
11429         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
11430         quadrant.
11431         (__sin, __cos): Consolidate common code into new functions.
11432         (reduce_sincos_1, do_sincos_1): New functions.
11433         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
11435         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
11436         code to new functions.
11437         (reduce_sincos_2, do_sincos_2): New functions.
11438         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
11440         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
11441         common code for sincos.
11442         (__cos) [!IN_SINCOS]: Likewise.
11443         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
11444         New function.
11445         (__sincos): Use it.
11447 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
11449         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
11450         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
11451         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
11453 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
11455         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
11456         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
11457         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
11458         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
11459         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11460         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
11461         index_Prefer_No_VZEROUPPER): New feature.
11462         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
11463         Prefer_No_VZEROUPPER for Knights Landing.
11465 015-12-18  Torvald Riegel  <triegel@redhat.com>
11467         * math/atest-exp2.c (mp_exp_m1): Remove.
11469 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11471         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
11472         syscalls.
11473         (__SYSCALL0): New macro.
11474         (__SYSCALL1): Likewise.
11475         (__SYSCALL2): Likewise.
11476         (__SYSCALL3): Likewise.
11477         (__SYSCALL4): Likewise.
11478         (__SYSCALL5): Likewise.
11479         (__SYSCALL6): Likewise.
11480         (__SYSCALL_CONCAT_X): Likewise.
11481         (__SYSCALL_CONCAT): Likewise.
11482         (__SYSCALL_DIST): Likewise.
11483         (__SYSCALL_CALL): Likewise.
11485 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
11487         [BZ #19363]
11488         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
11490 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11492         [BZ #19375]
11493         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
11494         negative subnormals.
11496 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
11498         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
11499         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
11500         (INTERNAL_SYSCALL_NCS): Use it.
11501         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
11503 2015-12-16  Florian Weimer  <fweimer@redhat.com>
11505         [BZ #19243]
11506         * malloc/arena.c (get_free_list): Remove assert and adjust
11507         reference count handling.  Add comment about reused_arena
11508         interaction.
11509         (reused_arena): Add comments abount get_free_list interaction.
11510         * malloc/tst-malloc-thread-exit.c: New file.
11511         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
11512         (tst-malloc-thread-exit): Link against libpthread.
11514 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
11516         [BZ #19367]
11517         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
11518         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
11519         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
11520         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
11521         (index_Prefer_MAP_32BIT_EXEC): Likewise.
11523 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
11525         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
11526         Silvermont optimizations for Knights Landing.
11528 2015-12-15  Andreas Schwab  <schwab@suse.de>
11530         [BZ #17197]
11531         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
11532         immediately after emitting SI.
11533         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
11534         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
11535         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
11536         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
11537         * iconvdata/bug-iconv10.c: New file.
11538         * iconvdata/Makefile (tests): Add bug-iconv10.
11539         ($(objpfx)bug-iconv10.out): New rule.
11541 2015-12-15  Florian Weimer  <fweimer@redhat.com>
11543         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
11544         aliasing violation.
11546 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
11548         [BZ #18472]
11549         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
11550         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
11551         conditionals for them.
11552         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
11553         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
11554         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
11555         sys/kdaemon.h.
11556         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
11557         compat-only syscall, obsoleted in glibc 2.23.
11558         (create_module): Likewise.
11559         (get_kernel_syms): Likewise.
11560         (query_module): Likewise.
11561         (uselib): Likewise.
11562         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
11564 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
11566         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
11567         <linux/version.h>.
11568         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
11569         conditional code.
11570         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
11571         and ioshift_name initialization.
11573 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
11575         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11576         Fix indentation.
11578 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
11580         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
11582 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
11584         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
11586 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
11587             Jakub Wilk  <jwilk@debian.org>
11589         [BZ #19347]
11590         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
11591         to change the group of the device to the tty group.
11593 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
11595         Split large string section; add truncation advice
11596         * manual/examples/strncat.c: Remove.
11597         This example was misleading, as the code would have undefined
11598         behavior if "hello" was longer than SIZE.  Anyway, the manual
11599         shouldn't encourage strncpy+strncat for this sort of thing.
11600         * manual/string.texi (Copying Strings and Arrays): Split into
11601         three sections Copying Strings and Arrays, Concatenating Strings,
11602         and Truncating Strings, as this section was way too long.  All
11603         cross-referenced changed.  Add advice about string-truncation
11604         functions.  Remove misleading strncat example.
11606 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
11608         * manual/nss.texi (NSS Modules Interface): Document
11609         NSS_STATUS_NOTFOUND and SUCCESS.
11611 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
11613         [BZ 18568]
11614         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
11615         201505L, for Unicode 8.
11617 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
11619         * locale/C-translit.h: Regenerate.
11621 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
11623         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
11624         and U+0153.
11626 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
11628         [BZ #19351]
11629         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
11630         expanding log(1+z), compare z rather than its square with epsilon
11631         to determine when to avoid evaluating the expansion.
11633         [BZ #19350]
11634         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
11635         Increase overflow threshold.
11637         [BZ #19349]
11638         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
11639         when small.
11641         * sysdeps/unix/sysv/linux/i386/kernel-features.h
11642         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
11643         New macro.
11644         [__LINUX_KERNEL_VERSION >= 0x040300]
11645         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
11646         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
11647         Likewise.
11648         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
11649         Likewise.
11650         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
11651         Likewise.
11652         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
11653         Likewise.
11654         [__LINUX_KERNEL_VERSION >= 0x040300]
11655         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
11656         [__LINUX_KERNEL_VERSION >= 0x040300]
11657         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
11658         [__LINUX_KERNEL_VERSION >= 0x040300]
11659         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
11660         [__LINUX_KERNEL_VERSION >= 0x040300]
11661         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
11662         [__LINUX_KERNEL_VERSION >= 0x040300]
11663         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
11664         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
11665         Likewise.
11666         [__LINUX_KERNEL_VERSION >= 0x040300]
11667         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
11668         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
11669         Likewise.
11670         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
11671         Likewise.
11672         [__LINUX_KERNEL_VERSION >= 0x040300]
11673         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
11674         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
11675         Likewise.
11676         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
11677         Likewise.
11678         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11679         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
11680         Likewise.
11681         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
11682         Likewise.
11683         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
11684         Likewise.
11685         [__LINUX_KERNEL_VERSION >= 0x040300]
11686         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
11687         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
11688         Likewise.
11689         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
11690         Likewise.
11691         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
11692         Likewise.
11693         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
11694         Likewise.
11695         [__LINUX_KERNEL_VERSION >= 0x040300]
11696         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
11697         [__LINUX_KERNEL_VERSION >= 0x040300]
11698         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
11699         [__LINUX_KERNEL_VERSION >= 0x040300]
11700         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
11701         [__LINUX_KERNEL_VERSION >= 0x040300]
11702         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
11703         [__LINUX_KERNEL_VERSION >= 0x040300]
11704         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
11705         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
11706         Likewise.
11707         [__LINUX_KERNEL_VERSION >= 0x040300]
11708         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
11709         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
11710         Likewise.
11711         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
11712         Likewise.
11713         [__LINUX_KERNEL_VERSION >= 0x040300]
11714         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
11715         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
11716         Likewise.
11717         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
11718         Likewise.
11719         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11720         (__ASSUME_SOCKET_SYSCALL): Likewise.
11721         (__ASSUME_BIND_SYSCALL): Likewise.
11722         (__ASSUME_CONNECT_SYSCALL): Likewise.
11723         (__ASSUME_LISTEN_SYSCALL): Likewise.
11724         (__ASSUME_ACCEPT_SYSCALL): Likewise.
11725         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
11726         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
11727         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
11728         (__ASSUME_SEND_SYSCALL): Likewise.
11729         (__ASSUME_SENDTO_SYSCALL): Likewise.
11730         (__ASSUME_RECV_SYSCALL): Likewise.
11731         (__ASSUME_RECVFROM_SYSCALL): Likewise.
11732         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
11733         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
11734         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
11735         (__ASSUME_SENDMSG_SYSCALL): Likewise.
11736         (__ASSUME_RECVMSG_SYSCALL): Likewise.
11737         * sysdeps/unix/sysv/linux/sh/kernel-features.h
11738         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
11739         Likewise.
11740         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
11741         Likewise.
11742         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
11743         Likewise.
11744         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
11745         Likewise.
11746         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
11747         Likewise.
11748         [__LINUX_KERNEL_VERSION >= 0x020625]
11749         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
11750         [__LINUX_KERNEL_VERSION >= 0x020625]
11751         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
11752         [__LINUX_KERNEL_VERSION >= 0x020625]
11753         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
11754         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
11755         Likewise.
11756         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
11757         Likewise.
11758         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
11759         Likewise.
11760         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
11761         Likewise.
11762         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
11763         Likewise.
11764         [__LINUX_KERNEL_VERSION >= 0x020625]
11765         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
11766         [__LINUX_KERNEL_VERSION >= 0x020625]
11767         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
11768         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
11769         Likewise.
11770         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
11771         Likewise.
11773 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
11775         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
11776         record the current if the current ABI and CPU support the FP64
11777         extension.
11778         (has-modd-spreg): Define to record the current if the current ABI and
11779         CPU support 32-bit floating point values in odd FPU registers.
11780         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
11781         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
11782         $(has-modd-spreg) equals yes.
11783         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
11784         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
11785         $(has-modd-spreg) equal yes.
11787 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
11789         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
11790         basename.
11792 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
11794         * benchtests/Makefile (bench-math): Move ffs and ffsll...
11795         (bench-string): ... here.
11796         (bench): Add bench-string.
11797         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
11798         to *-benchset to reflect what they are.
11799         (benchset): Adjust.
11801         * benchtests/sincos-inputs: Add inputs from sin-inputs and
11802         cos-inputs.
11804 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
11806         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
11807         __attribute__ ((__simd__)) for vector math function declarations.
11809 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
11811         Fix typo in strncat, wcsncat manual entries
11812         * manual/string.texi (Copying and Concatenation): Fix typos in
11813         sample implementations of strncat and wcsncat, by having them use
11814         the old value of the destination length, not the new one.
11816 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
11818         [BZ #16961]
11819         [BZ #16962]
11820         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
11821         string on the stack for strtod.
11822         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
11823         a string on the stack for strtof.
11824         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
11825         constructing a string on the stack for strtold.
11826         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
11827         __strtold_nan to GLIBC_PRIVATE.
11828         * math/test-nan-overflow.c: New file.
11829         * math/test-nan-payload.c: Likewise.
11830         * math/Makefile (tests): Add test-nan-overflow and
11831         test-nan-payload.
11833 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
11835         Consistency about byte vs character in string.texi
11836         * manual/string.texi (String and Array Utilities):
11837         Distinguish more carefully among bytes, multibyte characters,
11838         and wide characters.  Use "byte" when talking about C 'char',
11839         to distinguish it more clearly from multibyte characters.
11840         Say "wide character" or "multibyte character" instead of
11841         "character", when a wide or multibyte character is intended.
11842         Similarly for "multibyte string" versus "string".
11843         Define these terms more carefully.
11845 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
11847         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
11848         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
11849         Likewise.
11850         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
11851         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
11852         * sysdeps/sh/math_private.h: New file.
11853         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
11854         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
11855         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
11856         long double function name.
11857         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11858         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11859         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
11860         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
11861         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11862         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
11863         Remove __finitel, __isinfl, and __isnanl.
11864         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
11865         Likewise.
11866         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11867         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11868         Remove __finitel.
11869         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11870         Likewise.
11871         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11873 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
11875         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
11876         installed libmvec_nonshared.a.
11878 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11880         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
11881         (sysdep_routines): Likewise.
11882         (sysdep-rtld-routines): Likewise.
11883         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
11884         [$(subdir) = nptl](tests-static): test-get_hwcap-static
11885         * sysdeps/powerpc/Versions: Added new
11886         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
11887         * sysdeps/powerpc/hwcapinfo.c: New file.
11888         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
11889         and parse hwcap, hwcap2 and platform number information.
11890         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
11891         to store HWCAP+HWCAP2 and platform number.
11892         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
11893         for HWCAP+HWCAP2 and platform number in the TCB.
11894         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
11895         the HWCAP, HWCAP2 and platform number in the TCB.
11896         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
11897         (TLS_INIT_TP): Included calls to add the hwcap and
11898         at_platform values in the TCB in TP initialization.
11899         (TLS_DEFINE_INIT_TP): Likewise.
11900         (THREAD_GET_HWCAP): New macro.
11901         (THREAD_SET_HWCAP): Likewise.
11902         (THREAD_GET_AT_PLATFORM): Likewise.
11903         (THREAD_SET_AT_PLATFORM): Likewise.
11904         * sysdeps/powerpc/powerpc32/dl-machine.h:
11905         (dl_platform_init): New function that calls
11906         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
11907         powerpc32.
11908         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
11909         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
11910         this functionality, static linking case.
11911         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
11912         linking case.
11913         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
11914         __parse_hwcap_and_convert_at_platform for the static linking case.
11915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
11916         Included the new __parse_hwcap_and_convert_at_platform symbol in the
11917         ABI list for GLIBC 2.23.
11918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
11919         Likewise.
11920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
11921         Likewise.
11923 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
11925         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
11926         * configure: Regenerate.
11927         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
11928         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
11930 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
11932         * iconvdata/ibm930.c: Add comment explaining encoding uses.
11933         * iconvdata/ibm933.c: Likewise.
11934         * iconvdata/ibm935.c: Likewise.
11935         * iconvdata/ibm937.c: Likewise.
11936         * iconvdata/ibm939.c: Likewise.
11938 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11940         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
11941         pthread_join.
11942         * nptl/tst-cancel21.c (tf): Likewise.
11944 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
11946         [BZ #19313]
11947         * bits/typesizes.h (__CPU_MASK_TYPE): New.
11948         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
11949         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
11950         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
11951         Likewise.
11952         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
11953         Likewise.
11954         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
11955         Likewise.
11956         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
11957         Likewise.
11958         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
11959         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
11960         unsigned long int with __CPU_MASK_TYPE.
11962 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11964         * sysdeps/aarch64/libm-test-ulps: Regenerated.
11966 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
11968         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
11969         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
11970         t512.x.
11971         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
11973 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
11975         [BZ #19214]
11976         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
11977         argument to return extended model.  Update family and model
11978         with extended family and model when family == 0x0f.
11979         (init_cpu_features): Updated.
11981 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11983         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
11984         signed off_t, so 32bit bigger than 2GiB values are fine actually.
11986         * sysdeps/mach/hurd/mmap64.c: New file.
11988 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
11990         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
11991         rights for its main user thread in NEWTASK.
11993 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
11995         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
11996         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
11998 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
12000         [BZ #14259]
12001         * Makeconfig: Rename localedir to complocaledir.
12002         Rename inst_localedir to inst_complocaledir.
12003         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
12004         * config.make.in: Use complocaledir and libc_cv_complocaledir.
12005         * configure.ac: Use libc_cv_complocaledir.
12006         * configure: Regenerate.
12007         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
12008         -DCOMPLOCALEDIR.
12009         * locale/findlocale.c: Use COMPLOCALEDIR.
12010         * locale/loadarchive.c: Likewise.
12011         * locale/programs/locale.c: Likewise.
12012         * locale/programs/localedef.c: Likewise.
12013         * locale/programs/locarchive.c: Likewise.
12014         * localedata/Makefile: Use inst_complocaledir.
12015         * sysdeps/gnu/configure: Regenerate.
12016         * sysdeps/hppa/configure: Regenerate.
12017         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
12018         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
12019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
12020         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
12021         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
12022         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
12023         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
12025 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
12027         [BZ #19058]
12028         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
12029         AS_NEEDED.
12030         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
12031         workaround.
12032         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
12033         libmvec-static-only-routines): Added new file.
12034         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
12036 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12038         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
12039         of interrupted RPC instead of restoring it.
12041         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
12042         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
12043         libc_hidden_def.
12044         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
12045         into initialized data instead of common. Define rtld_hidden_data_def.
12046         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
12047         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
12048         libc_hidden_def.
12049         (if_freenameindex): Add libc_hidden_weak.
12050         (if_nameindex): Add libc_hidden_weak.
12051         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
12052         __open64.
12053         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
12054         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
12055         * sysdeps/mach/nanosleep.c: Include <time.h>
12056         (__nanosleep): Rename to __libc_nanosleep.
12057         (__nanosleep): Add weak_alias.
12058         (nanosleep): Update alias.
12060 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
12062         * stdlib/strtod_nan.c: New file.
12063         * stdlib/strtod_nan_double.h: Likewise.
12064         * stdlib/strtod_nan_float.h: Likewise.
12065         * stdlib/strtod_nan_main.c: Likewise.
12066         * stdlib/strtod_nan_narrow.h: Likewise.
12067         * stdlib/strtod_nan_wide.h: Likewise.
12068         * stdlib/strtof_nan.c: Likewise.
12069         * stdlib/strtold_nan.c: Likewise.
12070         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
12071         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
12072         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
12073         * wcsmbs/wcstod_nan.c: Likewise.
12074         * wcsmbs/wcstof_nan.c: Likewise.
12075         * wcsmbs/wcstold_nan.c: Likewise.
12076         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
12077         strtold_nan.
12078         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
12079         wcstof_nan.
12080         * include/stdlib.h (__strtof_nan): Declare and use
12081         libc_hidden_proto.
12082         (__strtod_nan): Likewise.
12083         (__strtold_nan): Likewise.
12084         (__wcstof_nan): Likewise.
12085         (__wcstod_nan): Likewise.
12086         (__wcstold_nan): Likewise.
12087         * include/wchar.h (____wcstoull_l_internal): Declare.
12088         * stdlib/strtod_l.c: Do not include <ieee754.h>.
12089         (____strtoull_l_internal): Remove declaration.
12090         (STRTOF_NAN): Define macro.
12091         (SET_MANTISSA): Remove macro.
12092         (STRTOULL): Likewise.
12093         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
12094         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
12095         (STRTOF_NAN): Define macro.
12096         (SET_MANTISSA): Remove macro.
12097         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
12098         (SET_MANTISSA): Remove macro.
12099         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
12100         macro.
12101         (SET_MANTISSA): Remove macro.
12102         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
12103         macro.
12104         (SET_MANTISSA): Remove macro.
12105         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
12106         (SET_MANTISSA): Remove macro.
12107         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
12108         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
12109         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
12111         [BZ #19266]
12112         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
12113         upper case and lower case letters inside NAN(), not using TOLOWER.
12114         * stdlib/tst-strtod-nan-locale-main.c: New file.
12115         * stdlib/tst-strtod-nan-locale.c: Likewise.
12116         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
12117         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
12118         Depend on $(gen-locales).
12119         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
12120         * wcsmbs/tst-wcstod-nan-locale.c: New file.
12121         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
12122         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
12123         Depend on $(gen-locales).
12124         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
12126 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
12128         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
12130         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
12131         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
12132         __finitel, __isinfl, and __isnanl.
12133         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
12134         Likewise.
12135         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12136         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
12137         __finitel.
12138         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12139         Likewise.
12140         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12142 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
12144         * malloc/memusage.c (me): Remove redundant getenv call.
12146 2015-10-24  Florian Weimer  <fweimer@redhat.com>
12148         [BZ #19143]
12149         [BZ #19164]
12150         * nptl/check-cpuset.h: Remove.
12151         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
12152         Remove CPU set size check.
12153         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
12154         Likewise.
12155         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
12156         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
12157         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
12158         (__pthread_setaffinity_new): Remove CPU set size check.
12159         * sysdeps/unix/sysv/linux/sched_setaffinity.c
12160         (__kernel_cpumask_size): Remove.
12161         (__sched_setaffinity_new): Remove CPU set size check.
12162         * manual/threads.texi (Default Thread Attributes): Remove stale
12163         reference to check_cpuset_attr, determine_cpumask_size in comment.
12164         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
12165         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
12166         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
12167         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
12168         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
12169         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
12170         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
12171         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
12172         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
12173         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
12174         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
12175         skeleton test file.
12176         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
12177         tst-affinity-pid.
12179 2015-11-24  Florian Weimer  <fweimer@redhat.com>
12181         * scripts/update-abilist.sh: New file.
12182         * Makefile (+subdir_targets): Add subdir_update-all-abi.
12183         * Makerules (update-all-abi-%, update-all-abi)
12184         (subdir_update-all-abi): New targets.
12185         * elf/Makefile (update-all-abi): New target.
12187 2015-11-24  Florian Weimer  <fweimer@redhat.com>
12189         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
12190         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
12191         (__libc_lock_define_initialized): Use it.
12192         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
12193         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
12194         * malloc/malloc.c (main_arena): Likewise.
12195         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
12196         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
12198 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
12200         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
12201         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
12202         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
12203         (PTRACE_O_MASK): Update value.
12204         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
12205         New value in enum __ptrace_setoptions.
12206         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
12207         (PTRACE_O_MASK): Update value.
12208         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
12209         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
12210         (PTRACE_O_MASK): Update value.
12211         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
12212         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
12213         (PTRACE_O_MASK): Update value.
12214         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
12215         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
12216         (PTRACE_O_MASK): Update value.
12217         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
12218         New value in enum __ptrace_setoptions.
12219         (PTRACE_O_MASK): Update value.
12220         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
12221         New value in enum __ptrace_setoptions.
12222         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
12223         (PTRACE_O_MASK): Update value.
12225         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
12226         New macro.
12227         (PACKET_AUXDATA): Likewise.
12228         (PACKET_ORIGDEV): Likewise.
12229         (PACKET_VERSION): Likewise.
12230         (PACKET_HDRLEN): Likewise.
12231         (PACKET_RESERVE): Likewise.
12232         (PACKET_TX_RING): Likewise.
12233         (PACKET_LOSS): Likewise.
12234         (PACKET_VNET_HDR): Likewise.
12235         (PACKET_TX_TIMESTAMP): Likewise.
12236         (PACKET_TIMESTAMP): Likewise.
12237         (PACKET_FANOUT): Likewise.
12238         (PACKET_TX_HAS_OFF): Likewise.
12239         (PACKET_QDISC_BYPASS): Likewise.
12240         (PACKET_ROLLOVER_STATS): Likewise.
12241         (PACKET_FANOUT_DATA): Likewise.
12242         (PACKET_MR_UNICAST): Likewise.
12244         [BZ #19242]
12245         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
12246         (TOUPPER): Likewise.
12247         * stdlib/tst-strtol-locale-main.c: New file.
12248         * stdlib/tst-strtol-locale.c: Likewise.
12249         * stdlib/Makefile (tests): Add tst-strtol-locale.
12250         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
12251         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
12252         Depend on $(gen-locales).
12253         * wcsmbs/tst-wcstol-locale.c: New file.
12254         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
12255         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
12256         tr_TR.ISO-8859-9.
12257         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
12258         Depend on $(gen-locales).
12260 2015-11-20  Roland McGrath  <roland@hack.frob.com>
12262         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
12263         __glibc_likely instead of __builtin_expect.  After falling back to
12264         dyncode_create in a non-ET_DYN case, use the allocate_code_data
12265         system interface to register the code pages as occupied.
12267 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
12269         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
12270         [!ARM_MATH_PRIVATE_H].
12271         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
12272         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
12273         [!HPPA_MATH_PRIVATE_H].
12274         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
12275         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
12276         to [!I386_MATH_PRIVATE_H].
12277         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
12278         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
12279         Change guard to [!M68K_MATH_PRIVATE_H].
12280         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
12281         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
12282         guard to [!MICROBLAZE_MATH_PRIVATE_H].
12283         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
12284         macro.
12285         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
12286         [!MIPS_MATH_PRIVATE_H].
12287         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
12288         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
12289         [!NIO2_MATH_PRIVATE_H].
12290         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
12291         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
12292         [!TILE_MATH_PRIVATE_H].
12293         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
12295         [BZ #15421]
12296         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
12297         initialize with 0 and define as weak alias of __signgam.
12298         * include/math.h [!_ISOMAC] (__signgam): Declare.
12299         * math/Makefile (libm-calls): Add w_lgamma_compat.
12300         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
12301         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
12302         test-signgam-ullong-init.
12303         (tests-static): Add test-signgam-uchar-static,
12304         test-signgam-uchar-init-static, test-signgam-uint-static,
12305         test-signgam-uint-init-static, test-signgam-ullong-static and
12306         test-signgam-ullong-init-static.
12307         (CFLAGS-test-signgam-uchar.c): New variable.
12308         (CFLAGS-test-signgam-uchar-init.c): Likewise.
12309         (CFLAGS-test-signgam-uchar-static.c): Likewise.
12310         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
12311         (CFLAGS-test-signgam-uint.c): Likewise.
12312         (CFLAGS-test-signgam-uint-init.c): Likewise.
12313         (CFLAGS-test-signgam-uint-static.c): Likewise.
12314         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
12315         (CFLAGS-test-signgam-ullong.c): Likewise.
12316         (CFLAGS-test-signgam-ullong-init.c): Likewise.
12317         (CFLAGS-test-signgam-ullong-static.c): Likewise.
12318         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
12319         * math/Versions (libm): Add GLIBC_2.23.
12320         * math/lgamma-compat.h: New file.
12321         * math/test-signgam-main.c: Likewise.
12322         * math/test-signgam-uchar-init-static.c: Likewise.
12323         * math/test-signgam-uchar-init.c: Likewise.
12324         * math/test-signgam-uchar-static.c: Likewise.
12325         * math/test-signgam-uchar.c: Likewise.
12326         * math/test-signgam-uint-init-static.c: Likewise.
12327         * math/test-signgam-uint-init.c: Likewise.
12328         * math/test-signgam-uint-static.c: Likewise.
12329         * math/test-signgam-uint.c: Likewise.
12330         * math/test-signgam-ullong-init-static.c: Likewise.
12331         * math/test-signgam-ullong-init.c: Likewise.
12332         * math/test-signgam-ullong-static.c: Likewise.
12333         * math/test-signgam-ullong.c: Likewise.
12334         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
12335         wrapper of w_lgamma_main.c.
12336         * math/w_lgamma_compat.c: New file.
12337         * math/w_lgamma_compatf.c: Likewise.
12338         * math/w_lgamma_compatl.c: Likewise.
12339         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
12340         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
12341         defining compatibility symbols.
12342         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
12343         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
12344         wrapper of w_lgammaf_main.c.
12345         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
12346         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
12347         defining compatibility symbols.
12348         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
12349         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
12350         wrapper of w_lgammal_main.c.
12351         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
12352         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
12353         defining compatibility symbols.
12354         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
12355         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
12356         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
12357         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
12358         <lgamma-compat.h>.
12359         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
12360         (__ieee754_gamma): Define as alias.
12361         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
12362         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
12363         <lgamma-compat.h>.
12364         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
12365         (__ieee754_gammaf): Define as alias.
12366         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
12367         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
12368         <lgamma-compat.h>.
12369         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
12370         (__ieee754_gammal): Define as alias.
12371         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
12372         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
12373         <math/w_lgamma_compat.c>.
12374         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
12375         Define as alias of __lgamma_compat and use in defining lgammal.
12376         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
12377         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
12378         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
12379         (USE_AS_COMPAT): New macro.
12380         (LGAMMA_OLD_VER): Undefine and redefine.
12381         (lgammal): Do not define here.
12382         (gammal): Only define here if [GAMMA_ALIAS].
12383         * conform/linknamespace.pl (@whitelist): Remove signgam.
12384         * sysdeps/nacl/libm.abilist: Update.
12385         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12386         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12387         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12388         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12389         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12390         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12391         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12392         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12393         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12394         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12395         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12396         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12398         Likewise.
12399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12400         Likewise.
12401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12402         Likewise.
12403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12404         Likewise.
12405         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12406         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12407         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12408         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12409         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12410         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12411         Likewise.
12412         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12413         Likewise.
12414         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12415         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12416         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12418 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12420         [BZ #16364]
12421         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
12422         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
12424 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12426         * sysdeps/s390/fpu/bits/mathinline.h:
12427         Use __asm__ [__volatile__] instead of asm [volatile].
12428         * sysdeps/s390/abort-instr.h: Likewise.
12429         * sysdeps/s390/atomic-machine.h: Likewise.
12430         * sysdeps/s390/bits/string.h: Likewise.
12431         * sysdeps/s390/dl-tls.h: Likewise.
12432         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
12433         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
12434         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
12435         * sysdeps/s390/fpu/fesetround.c: Likewise.
12436         * sysdeps/s390/fpu/fpu_control.h: Likewise.
12437         * sysdeps/s390/fpu/s_fma.c: Likewise.
12438         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
12439         * sysdeps/s390/memusage.h: Likewise.
12440         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
12441         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
12442         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
12443         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
12444         * sysdeps/s390/nptl/tls.h: Likewise.
12445         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
12446         * sysdeps/s390/s390-32/backtrace.c: Likewise.
12447         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12448         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
12449         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12450         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
12451         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
12452         * sysdeps/s390/s390-64/backtrace.c: Likewise.
12453         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12454         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
12455         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
12456         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12457         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
12458         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
12459         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12460         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12461         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
12462         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12463         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
12464         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12465         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
12466         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12467         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
12469 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12470             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12472         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
12473         Add lwarx hint, and use macro for acquire instruction.
12474         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
12475         Likewise.
12476         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
12477         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
12478         update to use new atomic macros.
12480 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12482         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
12483         (__lll_trylock_elision): Fix setting of adapt_count.
12484         * sysdeps/unix/sysv/linux/powerpc/htm.h
12485         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
12486         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
12487         (_ABORT_SYSCALL): Renumber, and clarify definition.
12488         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
12490 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12492         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
12493         after system headers to prevent MIN/MAX redefinition.  Define
12494         HAVE_ALLOCA to preserve builtin alloca usage.
12496 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
12498         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
12499         static and don't set or restore rounding.
12500         (__cos)[IN_SINCOS]: Likewise.
12501         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
12502         (__sincos): Set and restore rounding mode.  Remove check for infinite
12503         or NaN input.
12505         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
12507         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
12508         as used.
12510 2015-11-16  Florian Weimer  <fweimer@redhat.com>
12512         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
12514 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
12516         * config.make.in (have-glob-dat-reloc): New.
12517         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
12518         target supports GLOB_DAT relocaton. AC_SUBST.
12519         * configure: Regenerated.
12520         * elf/Makefile (tests): Add tst-prelink.
12521         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
12522         (tst-prelink-ENV): New.
12523         ($(objpfx)tst-prelink-conflict.out): Likewise.
12524         ($(objpfx)tst-prelink-cmp.out): Likewise.
12525         * sysdeps/x86/tst-prelink.c: Moved to ...
12526         * elf/tst-prelink.c: Here.
12527         * sysdeps/x86/tst-prelink.exp: Moved to ...
12528         * elf/tst-prelink.exp: Here.
12529         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
12530         (tst-prelink-ENV): Removed.
12531         ($(objpfx)tst-prelink-conflict.out): Likewise.
12532         ($(objpfx)tst-prelink-cmp.out): Likewise.
12533         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
12535 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
12537         [BZ #14551]
12538         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
12539         (__mpn_construct_long_double): If high part overflows to infinity,
12540         set errno and recompute overflowed result of the correct sign.
12541         * sysdeps/ieee754/ldbl-128ibm/Makefile
12542         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
12543         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
12544         $(libm).
12545         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
12547 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
12549         [BZ #15479]
12550         [BZ #19238]
12551         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
12552         floating-point state after first operation on input.  Restore full
12553         state rather than just rounding mode.
12554         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
12555         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
12556         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
12558         [BZ #19235]
12559         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
12560         add 0.5 to integer arguments.
12561         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
12562         Likewise.
12563         (.LC2): New object.
12565 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
12567         * scripts/pylintrc (reports): Set to no.
12569 2015-11-10  Roland McGrath  <roland@hack.frob.com>
12571         * elf/dl-load.c (open_verify): Take new argument FD.
12572         Skip __open call if passed FD is not -1.
12573         (_dl_map_object, open_path): Update callers.
12574         * elf/dl-sysdep-open.h: New file.
12575         * elf/dl-load.c: Include it.
12576         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
12577         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
12578         * sysdeps/nacl/dl-sysdep-open.h: New file.
12579         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
12580         from libc to rtld.
12582 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
12584         [BZ #19228]
12585         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
12586         and restore full floating-point state.
12587         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
12588         Likewise.
12589         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
12590         Likewise.
12591         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
12592         Likewise.
12593         * math/test-nearbyint-except-2.c: New file.
12594         * math/Makefile (tests): Add test-nearbyint-except-2.
12596 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
12598         [BZ #19178]
12599         * sysdeps/x86/Makefile (tests): Add tst-prelink.
12600         (tst-prelink-ENV): New.
12601         ($(objpfx)tst-prelink-conflict.out): Likewise.
12602         ($(objpfx)tst-prelink-cmp.out): Likewise.
12603         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
12604         * sysdeps/x86/tst-prelink.c: New file.
12605         * sysdeps/x86/tst-prelink.exp: Likewise.
12607 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
12609         * math/auto-libm-test-in: Add another test of pow.
12610         * math/auto-libm-test-out: Regenerated.
12611         * math/libm-test.inc (pow_test_data): Add another test.
12613 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12615         [BZ #19219]
12616         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
12617         weak_alias to nearbyintl.
12619 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
12621         * sysdeps/aarch64/bits/string.h: New file.
12622         (_STRING_ARCH_unaligned): Define.
12624 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
12626         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
12627         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
12628         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
12629         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
12630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
12632 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
12634         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
12635         for original name of the DSO.  Add it to the name list of the DSO
12636         if it is actually given.
12637         (_dl_map_object): Keep track of whether an audit module rewrote
12638         the file name.  If yes, pass the original name to
12639         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
12640         debugging is enabled, log the change of the file name.
12641         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
12642         _dl_map_object_from_fd.
12643         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
12644         * elf/tst-audit11.c: New file
12645         * elf/tst-auditmod11.c: New file.
12646         * elf/tst-audit11mod1.c: New file.
12647         * elf/tst-audit11mod2.c: New file.
12648         * elf/tst-audit11mod2.map: New file.
12649         * elf/tst-audit12.c: New file
12650         * elf/tst-auditmod12.c: New file.
12651         * elf/tst-audit12mod1.c: New file.
12652         * elf/tst-audit12mod2.c: New file.
12653         * elf/tst-audit12mod2.map: New file.
12654         * elf/tst-audit12mod3.c: New file.
12656 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
12658         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
12659         Don't create weak aliases,
12660         because versioned symbols are created later.
12661         * sysdeps/s390/s390-32/setjmp.S
12662         (setjmp, _setjmp): Remove weak and rename to an unique name
12663         in SHARED case due to existing versioned symbols.
12664         * sysdeps/s390/s390-64/setjmp.S: Likewise.
12665         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
12666         (getcontext): Create weak alias only in non SHARED case.
12667         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
12669 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
12671         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
12672         (__ASSUME_*_SYSCALL) Define new macros.
12673         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
12674         Remove socketcall syscalls.
12675         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
12676         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
12677         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
12678         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
12679         * sysdeps/unix/sysv/linux/send.c (__libc_send):
12680         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
12682 2015-11-09  Florian Weimer  <fweimer@redhat.com>
12684         [BZ #12926]
12685         Terminate process on invalid netlink response.
12686         * sysdeps/unix/sysv/linux/netlinkaccess.h
12687         (__netlink_assert_response): Declare.
12688         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
12689         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
12690         (sysdep_routines): Add netlink_assert_response.
12691         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
12692         __netlink_assert_response.
12693         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
12694         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
12695         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
12696         __netlink_assert_response.
12698 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
12700         [BZ #19178]
12701         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
12702         (RTYPE_CLASS_PLT): Likewise.
12703         (RTYPE_CLASS_COPY): Likewise.
12704         (RTYPE_CLASS_TLS): Likewise.
12705         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
12706         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
12707         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
12708         DL_DEBUG_PRELINK.
12710 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
12712         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
12713         calls with argument -0.5.
12714         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
12716         * configure.ac (libc_cv_z_nodelete): Remove configure test.
12717         (libc_cv_z_nodlopen): Likewise.
12718         (libc_cv_z_initfirst): Likewise.
12719         * configure: Regenerated.
12721 2015-11-06  Florian Weimer  <fweimer@redhat.com>
12723         Simplify abilist format to be line-based.
12724         * scripts/abilist.awk: Collect descriptors in the descs variable.
12725         (emit): Write descs variable and sort it
12726         externally, with sort.
12727         * sysdeps/**/*.abilist: Convert to new format.
12729 2015-11-06  Mark Wielaard  <mjw@redhat.com>
12731         [BZ #11460]
12732         * io/Makefile (routines): Add fts64.
12733         (tests): Add tst-fts and tst-fts-lfs.
12734         (CFLAGS-fts64.c): New.
12735         * io/Versions (GLIBC_2.23): New.
12736         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
12737         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
12738         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
12739         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
12740         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
12741         (FTSENT64): Likewise.
12742         (fts64_children): Likewise.
12743         (fts64_close): Likewise.
12744         (fts64_open): Likewise.
12745         (fts64_read): Likewise.
12746         (fts64_set): Likewise.
12747         * io/fts64.c: New file.
12748         * io/tst-fts.c: New test.
12749         * io/tst-fts-lfs.c: Likewise.
12750         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
12751         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
12752         fts64_set.
12753         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12754         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12755         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12756         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12757         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12758         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12759         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12760         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12761         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12762         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12763         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12764         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12765         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12767         Likewise.
12768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12769         Likewise.
12770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12772         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12773         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12774         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12775         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12776         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12777         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
12778         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
12779         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12780         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12781         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12782         * sysdeps/wordsize-64/fts.c: New file.
12783         * sysdeps/wordsize-64/fts64.c: Likewise.
12784         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
12785         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
12786         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
12787         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
12789 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
12791         * math/libm-test.inc (NON_FINITE): New macro.
12792         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
12793         * math/gen-libm-test.pl (show_exceptions): Add argument
12794         $non_finite.
12795         (parse_args): Update call to show_exceptions.
12796         * math/test-math-finite.h: New file.
12797         * math/test-math-no-finite.h: Likewise.
12798         * math/test-double-finite.c: Likewise.
12799         * math/test-float-finite.c: Likewise.
12800         * math/test-ldouble-finite.c: Likewise.
12801         * math/test-double.c: Include "test-math-no-finite.h".
12802         * math/test-float.c: Include "test-math-no-finite.h".
12803         * math/test-ldouble.c: Include "test-math-no-finite.h".
12804         * math/test-math-inline.h (TEST_FINITE): New macro.
12805         * math/test-math-vector.h (TEST_FINITE): Likewise.
12806         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
12807         (libm-tests): Add test-float-finite and test-double-finite.
12808         ($(objpfx)test-float-finite.o): New dependency on
12809         $(objpfx)libm-test.stmp.
12810         ($(objpfx)test-double-finite.o): Likewise.
12811         ($(objpfx)test-ldouble-finite.o): Likewise.
12812         (libm-test-no-inline-cflags): New variable.
12813         (libm-test-finite-cflags): Likewise.
12814         (CFLAGS-test-float-finite.c): Likewise.
12815         (CFLAGS-test-double-finite.c): Likewise.
12816         (CFLAGS-test-ldouble-finite.c): Likewise.
12817         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
12818         (CFLAGS-test-double.c): Likewise.
12819         (CFLAGS-test-ldouble.c): Likewise.
12821 2015-11-05  Roland McGrath  <roland@hack.frob.com>
12823         * io/fcntl.c (__fcntl): Add ... to prototype.
12824         * misc/ioctl.c (__ioctl): Likewise.
12825         * misc/syscall.c (syscall): Likewise.
12827 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
12829         * scripts/list-fixed-bugs.py: New file.
12831         [BZ #19213]
12832         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
12833         returned for argument 1.
12834         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
12835         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
12836         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
12837         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
12838         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
12839         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
12841         [BZ #19211]
12842         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
12843         __USE_XOPEN], not if [!__USE_ISOC99].
12844         (lgammaf): Likewise.
12845         (lgammal): Likewise.
12846         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
12847         (gammaf): Likewise.
12848         (gammal): Likewise.
12849         * math/test-signgam-finite-c11.c: New file.
12850         * math/test-signgam-finite-c99.c: Likewise.
12851         * math/test-signgam-finite.c: Likewise.
12852         * math/Makefile (tests): Add test-signgam-finite,
12853         test-signgam-finite-c99 and test-signgam-finite-c11.
12854         (CFLAGS-test-signgam-finite.c): New variable.
12855         (CFLAGS-test-signgam-finite-c99.c): Likewise.
12856         (CFLAGS-test-signgam-finite-c11.c): Likewise.
12858         [BZ #19212]
12859         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
12860         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
12861         500].
12862         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
12863         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
12864         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
12865         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
12866         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
12867         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
12868         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
12869         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
12870         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
12871         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
12873         [BZ #19209]
12874         * math/bits/math-finite.h (ldexp): Remove declaration.
12875         (ldexpf): Likewise.
12876         (ldexpl): Likewise.
12878         [BZ #19205]
12879         * math/bits/math-finite.h (acosf): Condition declaration on
12880         [__USE_ISOC99].
12881         (acosl): Likewise.
12882         (acoshf): Likewise.
12883         (acoshl): Likewise.
12884         (asinf): Likewise.
12885         (asinl): Likewise.
12886         (atan2f): Likewise.
12887         (atan2l): Likewise.
12888         (atanhf): Likewise.
12889         (atanhl): Likewise.
12890         (coshf): Likewise.
12891         (coshl): Likewise.
12892         (expf): Likewise.
12893         (expl): Likewise.
12894         (fmodf): Likewise.
12895         (fmodl): Likewise.
12896         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
12897         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
12898         (j0l): Likewise.
12899         (y0f): Likewise.
12900         (y0l): Likewise.
12901         (j1f): Likewise.
12902         (j1l): Likewise.
12903         (y1f): Likewise.
12904         (y1l): Likewise.
12905         (jnf): Likewise.
12906         (jnl): Likewise.
12907         (ynf): Likewise.
12908         (ynl): Likewise.
12909         (lgammaf_r): Condition declaration on [__USE_ISOC99].
12910         (lgammal_r): Likewise.
12911         (__lgamma_r_finite): New declaration.
12912         (__lgammaf_r_finite): Likewise.
12913         (__lgammal_r_finite): Likewise.
12914         (lgamma): Use __lgamma_r_finite.
12915         (lgammaf): Condition definition on [__USE_ISOC99].  Use
12916         __lgammaf_r_finite.
12917         (lgammal): Condition definition on [__USE_ISOC99].  Use
12918         __lgammal_r_finite.
12919         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
12920         __lgamma_r_finite.
12921         (gammaf): Condition definition on [__USE_ISOC99].  Use
12922         __lgammaf_r_finite.
12923         (gammal): Condition definition on [__USE_ISOC99].  Use
12924         __lgammal_r_finite.
12925         (logf): Condition declaration on [__USE_ISOC99].
12926         (logl): Likewise.
12927         (log10f): Likewise.
12928         (log10l): Likewise.
12929         (ldexpf): Likewise.
12930         (ldexpl): Likewise.
12931         (powf): Likewise.
12932         (powl): Likewise.
12933         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
12934         __USE_ISOC99].
12935         (remainderf): Condition declaration on [__USE_ISOC99].
12936         (remainderl): Likewise.
12937         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
12938         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
12939         (scalbl): Likewise.
12940         (sinhf): Condition declaration on [__USE_ISOC99].
12941         (sinhl): Likewise.
12942         (sqrtf): Likewise.
12943         (sqrtl): Likewise.
12945 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
12947         * sysdeps/arm/atomic-machine.h
12948         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
12949         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
12950         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
12951         Remove conditional code.
12952         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
12953         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
12954         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
12955         Change conditional to [__ASSEMBLER__].
12956         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
12957         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
12958         [!__ASSEMBLER__].
12959         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
12960         code.
12961         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
12962         conditional macro definitions.
12963         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
12964         (__arch_compare_and_exchange_val_16_acq): Likewise.
12965         (__arch_compare_and_exchange_val_32_acq): Likewise.
12966         (atomic_exchange_and_add): Likewise.
12967         (atomic_add): Likewise.
12968         (atomic_add_negative): Likewise.
12969         (atomic_add_zero): Likewise.
12970         (atomic_bit_set): Likewise.
12971         (atomic_bit_test_set): Likewise.
12972         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
12973         code unconditional.
12974         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12976         * math/test-math-errno.h: New file.
12977         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
12978         empty.
12979         (TEST_ERRNO): New macro.
12980         (TEST_EXCEPTIONS): Likewise.
12981         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
12982         (TEST_EXCEPTIONS): Likewise.
12983         * math/test-math-vector.h (TEST_ERRNO): Likewise.
12984         * math/test-double.c: Include "test-math-errno.h".
12985         * math/test-float.c: Likewise.
12986         * math/test-ldouble.c: Likewise.
12987         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
12988         code unconditional.
12989         (test_exceptions): Only run code if TEST_EXCEPTIONS.
12990         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
12991         unconditional.
12992         (test_errno): Only run code if TEST_ERRNO.
12993         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
12995 2015-11-04  Florian Weimer  <fweimer@redhat.com>
12997         * nptl/tst-once5.cc: Remove attribution.
12999 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
13001         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
13002         sqrt, tan, tanh, y0, y1 and yn.
13003         * math/auto-libm-test-out: Regenerated.
13004         * math/libm-test.inc (scalb_test_data): Add more tests.
13005         (scalbn_test_data): Likewise.
13006         (scalbln_test_data): Likewise.
13007         (signbit_test_data): Likewise.
13008         (sin_test_data): Likewise.
13009         (sincos_test_data): Likewise.
13010         (sinh_test_data): Likewise.
13011         (sqrt_test_data): Likewise.
13012         (tan_test_data): Likewise.
13013         (tanh_test_data): Likewise.
13014         (tgamma_test_data): Likewise.
13015         (y0_test_data): Likewise.
13016         (y1_test_data): Likewise.
13017         (yn_test_data): Likewise.
13018         (significand_test_data): Likewise.
13019         * sysdeps/i386/fpu/libm-test-ulps: Update.
13021 2015-11-03  David Kastrup  <dak@gnu.org>
13023         [BZ #18604]
13024         * assert/assert.h (assert): Don't macro-expand failed assertion
13025         expression in error message.
13026         * malloc/malloc.c (assert): Likewise.
13028 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
13030         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
13031         test.
13032         * configure: Regenerated.
13034 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
13036         * math/libm-test.inc (modf_test_data): Add more tests.
13037         (nearbyint_test_data): Likewise.
13038         (nextafter_test_data): Likewise.
13039         (nexttoward_test_data): Likewise.
13040         (pow_test_data): Likewise.
13041         (remainder_test_data): Likewise.
13042         (remquo_test_data): Likewise.
13043         (rint_test_data): Likewise.
13045         [BZ #19201]
13046         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
13047         Check for zero remainder in case of large exponents and ensure
13048         correct sign of result in that case.
13049         * math/libm-test.inc (remainder_test_data): Add more tests.
13051         [BZ #6799]
13052         * math/s_nextafter.c: Include <errno.h>.
13053         (__nextafter): Set errno on overflow and underflow.
13054         * math/s_nexttowardf.c: Include <errno.h>.
13055         (__nexttowardf): Set errno on overflow and underflow.
13056         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
13057         (__nextafterl): Set errno on overflow and underflow.
13058         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
13059         (__nexttoward): Set errno on overflow and underflow.
13060         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
13061         (__nexttowardf): Set errno on overflow and underflow.
13062         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
13063         (__nextafterf): Set errno on overflow and underflow.
13064         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
13065         (__nextafterl): Set errno on overflow and underflow.
13066         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
13067         (__nexttoward): Set errno on overflow and underflow.
13068         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
13069         (__nexttowardf): Set errno on overflow and underflow.
13070         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
13071         (__nextafterl): Set errno on overflow and underflow.
13072         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
13073         (__nexttoward): Set errno on overflow and underflow.
13074         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
13075         (__nexttowardf): Set errno on overflow and underflow.
13076         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
13077         (__nexttoward): Set errno on overflow and underflow.
13078         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
13079         (__nexttowardf): Set errno on overflow and underflow.
13080         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
13081         (__nldbl_nexttowardf): Set errno on overflow and underflow.
13082         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
13083         (__nextafterl): Set errno on overflow and underflow.
13084         * math/libm-test.inc (nextafter_test_data): Do not allow errno
13085         setting to be missing on overflow.  Add more tests.
13086         (nexttoward_test_data): Likewise.
13088         * configure.ac (libc_cv_initfini_array): Remove configure test.
13089         * configure: Regenerated.
13091 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
13093         [BZ #19189]
13094         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
13095         non-finite argument handle arguments with negative sign.
13097         * math/libm-test.inc (j0_test_data): Do not test sign of zero
13098         result from infinite argument.
13099         (j1_test_data): Likewise.
13100         (jn_test_data): Likewise.
13101         (y0_test_data): Likewise.
13102         (y1_test_data): Likewise.
13103         (yn_test_data): Likewise.
13105         [BZ #16171]
13106         * math/w_remainder.c (drem): Define as weak alias of __remainder.
13107         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
13108         * math/w_remainderf.c (dremf): Define as weak alias of
13109         __remainderf.
13110         * math/w_remainderl.c (dreml): Define as weak alias of
13111         __remainderl.
13112         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
13113         __remainder.
13114         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
13115         __remainderf.
13116         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
13117         __remainderl.
13118         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
13119         weak alias of remainderl.
13120         * sysdeps/ieee754/ldbl-opt/w_remainder.c
13121         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
13122         alias of __remainder.
13123         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
13124         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
13125         strong alias of __remainderl.
13126         (dreml): Use long_double_symbol.
13127         * math/Makefile (libm-calls): Remove w_drem.
13128         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
13129         (CFLAGS-nldbl-drem.c): Remove variable.
13130         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
13131         * math/w_drem.c: Remove file.
13132         * math/w_dremf.c: Likewise.
13133         * math/w_dreml.c: Likewise.
13134         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
13135         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
13136         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
13138         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
13139         * sysdeps/i386/configure: Regenerated.
13140         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
13141         * sysdeps/x86_64/configure: Regenerated.
13143         * configure.ac (libc_cv_asm_protected_directive): Remove configure
13144         test.
13145         (libc_cv_visibility_attribute): Likewise.
13146         (libc_cv_protected_data): Test unconditionally.
13147         (libc_cv_broken_visibility_attribute): Remove configure test.
13148         (libc_cv_have_sdata_section): Test unconditionally.
13149         * configure: Regenerated.
13151         * include/libc-internal.h (libc_max_align_t): Remove typedef.
13152         * include/scratch_buffer.h: Include <stddef.h> instead of
13153         <libc-internal.h>.
13154         (struct scratch_buffer): Use max_align_t instead of
13155         libc_max_align_t.
13157 2015-10-29  Florian Weimer  <fweimer@redhat.com>
13159         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
13160         instead of extend_alloca.  Change control flow to avoid a goto.
13161         Remove assert which is trivially always true.
13163 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
13165         [BZ #16068]
13166         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
13167         (FE_ALL_EXCEPT_X86): New macro.
13168         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
13169         FE_ALL_EXCEPT.  Ensure precision control is included in
13170         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
13171         handle "denormal operand exception" and clear FZ and DAZ bits.
13172         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
13173         (FE_ALL_EXCEPT_X86): New macro.
13174         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
13175         FE_ALL_EXCEPT.  Ensure precision control is included in
13176         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
13177         handle "denormal operand exception" and clear FZ and DAZ bits.
13178         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
13179         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
13180         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13181         test-fenv-x87 and test-fenv-sse-2.
13182         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
13184         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
13185         * math/test-double.h (BUILD_COMPLEX): New macro.
13186         * math/test-float.h (BUILD_COMPLEX): Likewise.
13187         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
13189         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
13190         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
13191         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
13192         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
13193         instead of DBL_DENORM_MIN in comment.
13194         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
13195         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
13196         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
13197         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
13198         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
13199         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
13201 2015-10-28  Florian Weimer  <fweimer@redhat.com>
13203         [BZ# 19048]
13204         * malloc/malloc.c (struct malloc_state): Update comment.  Add
13205         attached_threads member.
13206         (main_arena): Initialize attached_threads.
13207         * malloc/arena.c (list_lock): Update comment.
13208         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
13209         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
13210         (deattach_arena): New function.
13211         (_int_new_arena): Initialize arena reference count and deattach
13212         replaced arena.
13213         (get_free_list, reused_arena): Update reference count and deattach
13214         replaced arena.
13215         (arena_thread_freeres): Update arena reference count and only put
13216         unreferenced arenas on the free list.
13218 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
13220         [BZ #19181]
13221         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
13222         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
13223         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
13224         * math/test-fenv-clear-main.c: New file.
13225         * math/test-fenv-clear.c: Likewise.
13226         * math/Makefile (tests): Add test-fenv-clear.
13227         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
13228         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13229         test-fenv-clear-sse.
13230         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
13232         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
13233         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
13234         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
13236 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13238         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
13239         static libc.
13241 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
13243         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
13244         test.
13245         * sysdeps/i386/configure: Regenerated.
13246         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
13247         test.
13248         * sysdeps/x86_64/configure: Regenerated.
13249         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
13250         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13251         memset-avx2 unconditionally instead of conditionally on
13252         [$(config-cflags-avx2) = yes].
13253         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13254         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
13255         unconditional.
13256         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
13257         * sysdeps/x86_64/multiarch/memset_chk.S
13258         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
13259         to [IS_IN (libc) && SHARED].
13261 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
13263         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
13264         configure test.
13265         * sysdeps/arm/configure: Regenerated.
13266         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
13267         Define variable if not already defined.
13269         [BZ #17404]
13270         * sysdeps/mips/atomic-machine.h
13271         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
13272         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
13273         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
13275         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
13276         unconditional.
13277         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
13278         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13279         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
13280         unconditional.
13281         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13282         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
13283         unconditional.
13284         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13285         * stdlib/setenv.c
13286         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
13287         code unconditional.
13288         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
13289         Remove conditional code.
13290         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
13291         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
13292         unconditional.
13293         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
13294         code.
13295         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
13296         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
13297         unconditional.
13298         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
13299         code.
13300         * sysdeps/ieee754/ldbl-128/k_tanl.c
13301         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
13302         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13303         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
13304         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
13305         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13306         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
13307         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
13308         unconditional.
13309         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
13310         code.
13311         * sysdeps/ieee754/ldbl-96/k_tanl.c
13312         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
13313         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13315         * nptl/tst-initializers1-c11.c: New file.
13316         * nptl/tst-initializers1-gnu11.c: Likewise.
13317         * nptl/Makefile (tests): Add these new tests.
13318         (CFLAGS-tst-initializers1-c11.c): New variable.
13319         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
13321         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
13322         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
13323         instead of -std=gnu99.
13324         * configure.ac (systemtap): Test with -std=gnu11 instead of
13325         -std=gnu99.
13326         * configure: Regenerated.
13327         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
13328         in compilation command in comment.
13330         * sysdeps/nptl/configure.ac: Remove file.
13331         * sysdeps/nptl/configure: Remove generated file.
13332         * configure.ac (libc_cv_forced_unwind): Do not substitute.
13333         * configure: Regenerated.
13334         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
13335         * config.make.in (have-forced-unwind): Remove variable.
13336         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
13337         unconditional.
13338         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
13339         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
13340         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
13341         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
13342         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
13343         unconditional.
13345 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13347         [BZ #19174]
13348         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
13349         .skip_lock_out_of_tbegin_retries.
13350         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
13351         (__lll_lock_elision): Likewise, and respect a value of
13352         try_tbegin <= 0.
13354 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13356         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
13357         statement.
13359 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
13361         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
13362         variable.
13363         (test-xfail-ISO11/stdalign.h/conform): Likewise.
13364         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
13366         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
13367         of -std=c1x -D_ISOC11_SOURCE.
13369         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
13370         * configure: Regenerated.
13371         * manual/install.texi (Tools for Compilation): Document
13372         requirement for GCC 4.7 or later.
13373         * INSTALL: Regenerated.
13375 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
13377         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
13378         on CNT to a conditional jump to 'puntdata'.
13380 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
13382         * configure.ac (libc_cv_gcc___thread): Remove configure test.
13383         (libc_cv_gcc_tls_model_attr): Likewise.
13384         * configure: Regenerated.
13386         * configure.ac (libc_cv_need_minus_P): Remove configure test.
13387         * configure: Regenerated.
13388         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
13390 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
13392         * configure.ac (old_glibc_headers): Remove configure test.
13393         * configure: Regenerated.
13394         * config.make.in (old-glibc-headers): Remove variable.
13395         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
13396         (install): Remove dependency on remove-old-headers.
13397         (headers2_0): Remove variable.
13398         (remove-old-headers): Remove rule.
13400         * configure.ac (libc_cv_dot_text): Remove configure test.
13401         (libc_cv_asm_set_directive): Use .text instead of
13402         ${libc_cv_dot_text} in configure test.
13403         * configure: Regenerated.
13405 2015-10-26  Florian Weimer  <fweimer@redhat.com>
13407         [BZ #19168]
13408         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13410 2015-10-26  Florian Weimer  <fweimer@redhat.com>
13412         * configure.ac (CXX): Clear the variable if the C++ toolchain does
13413         not support static linking.
13414         * configure: Regenerate.
13416 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
13418         * math/libm-test.inc (check_float_internal): Do not special-case
13419         errors up to 0.5 ulp.
13421         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
13422         log2.
13423         * math/auto-libm-test-out: Regenerated.
13424         * math/libm-test.inc (MAX_EXP): New macro.
13425         (ilogb_test_data): Add more tests.
13426         (isfinite_test_data): Likewise.
13427         (isgreater_test_data): Likewise.
13428         (isgreaterequal_test_data): Likewise.
13429         (isinf_test_data): Likewise.
13430         (isless_test_data): Likewise.
13431         (islessequal_test_data): Likewise.
13432         (islessgreater_test_data): Likewise.
13433         (isnan_test_data): Likewise.
13434         (isnormal_test_data): Likewise.
13435         (issignaling_test_data): Likewise.
13436         (isunordered_test_data): Likewise.
13437         (j0_test_data): Likewise.
13438         (j1_test_data): Likewise.
13439         (jn_test_data): Likewise.
13440         (lgamma_test_data): Likewise.
13441         (log_test_data): Likewise.
13442         (log10_test_data): Likewise.
13443         (log1p_test_data): Likewise.
13444         (log2_test_data): Likewise.
13445         (logb_test_data): Likewise.
13446         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13448         [BZ #18611]
13449         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
13450         avoid excess range and precision on underflow.
13451         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13452         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
13453         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
13454         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
13455         underflow.
13456         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13457         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13458         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13459         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13460         * math/auto-libm-test-in: Do not allow missing errno setting for
13461         tests of j1 and jn.
13462         * math/auto-libm-test-out: Regenerated.
13464 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
13466         [BZ #15491]
13467         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
13468         floating-point environment instead of clearing all exceptions.
13469         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
13470         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
13471         merging in "invalid" exceptions from frndint.
13472         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
13473         * math/test-nearbyint-except.c: New file.
13474         * math/Makefile (tests): Add test-nearbyint-except.
13476 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
13478         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
13480         * sysdeps/tile/libm-test-ulps: Regenerated.
13482 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
13485         (__NR_sync_file_range2): Assume it is always defined.
13486         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
13487         (__NR_sync_file_range): Assume it is always defined.
13489 2015-10-22  Andreas Schwab  <schwab@suse.de>
13491         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
13492         INTERNAL_SYSCALL_ERRNO.
13493         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13494         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
13495         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13496         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
13497         Likewise.
13498         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13500 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
13502         * io/tst-fcntl.c (fd): New static variable.
13503         (do_prepare): Open temporary file here....
13504         (do_test): ...not here.
13506         * io/ftwtest-sh: Also trap on exit to remove temporary files.
13508 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
13510         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
13511         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
13512         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
13513         Moved before "#ifdef __ASSEMBLER__".
13515 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
13517         [BZ #19156]
13518         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
13519         arguments very close to 0.
13521 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
13523         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
13524         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
13526 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
13528         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
13529         New.  Defined for GCC 5 and above when not compiling for
13530         profiling.
13531         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
13533         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
13534         Renamed to ...
13535         (CFLAGS-epoll_pwait.o): This.
13536         (CFLAGS-mmap.c): Renamed to ...
13537         (CFLAGS-mmap.o): This.
13538         (CFLAGS-mmap64.c): Renamed to ...
13539         (CFLAGS-mmap64.o): This.
13540         (CFLAGS-epoll_pwait.os): New.
13541         (CFLAGS-mmap.os): Likewise.
13542         (CFLAGS-mmap64.os): Likewise.
13543         (CFLAGS-semtimedop.os): Likewise.
13544         (CFLAGS-semtimedop.c): Renamed to ...
13545         (CFLAGS-semtimedop.o): This.
13547 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13549         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
13550         warning message.
13552 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
13554         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
13555         * Makefile ($(objpfx)c++-types-check.out): Filter out
13556         $(+gccwarn-c) instead of -Wstrict-prototypes.
13558         * io/fts.c (fts_open): Convert to prototype-style function
13559         definition.
13560         * malloc/mcheck.c (mcheck): Likewise.
13561         (mcheck_pedantic): Likewise.
13562         * posix/regexec.c (re_search_2_stub): Likewise.  Use
13563         internal_function.
13564         (re_search_internal): Likewise.
13565         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
13566         prototype-style function definition.
13567         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
13568         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
13569         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
13570         (xdr_utmpptr): Likewise.
13571         (xdr_utmparr): Likewise.
13572         (xdr_utmpidle): Likewise.
13573         (xdr_utmpidleptr): Likewise.
13574         (xdr_utmpidlearr): Likewise.
13576         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
13577         log, log10 and log2.
13578         * math/auto-libm-test-out: Regenerated.
13579         * math/libm-test.inc (fmod_test_data): Add more tests.
13580         (fpclassify_test_data): Likewise.
13581         (frexp_test_data): Likewise.
13582         (hypot_test_data): Likewise.
13583         (ilogb_test_data): Likewise.
13585 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
13587         * debug/fortify_fail.c (__fortify_fail): Convert to
13588         prototype-style function definition.  Use internal_function.
13589         * libio/genops.c (save_for_backup): Convert to prototype-style
13590         function definition.
13591         * libio/wgenops.c (save_for_wbackup): Likewise.
13592         * login/grantpt.c (grantpt): Likewise.
13593         * login/ptsname.c (ptsname): Likewise.
13594         (__ptsname_r): Likewise.
13595         * login/unlockpt.c (unlockpt): Likewise.
13596         * mach/msgserver.c (__mach_msg_server): Likewise.
13597         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
13598         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
13599         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
13600         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
13601         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
13602         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
13603         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
13604         Likewise.
13605         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
13606         internal_function.
13607         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
13608         prototype-style function definition.
13609         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
13610         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
13611         (__pthread_create_2_0): Likewise.
13612         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
13613         * nptl/register-atfork.c (__register_atfork): Likewise.
13614         * posix/glob.c (glob): Likewise.
13615         * posix/regcomp.c (re_comp): Likewise.
13616         * posix/regexec.c (re_exec): Likewise.
13617         * stdlib/add_n.c [__STDC__]: Make code unconditional.
13618         [!__STDC__]: Remove conditional code.
13619         * stdlib/cmp.c [__STDC__]: Make code unconditional.
13620         [!__STDC__]: Remove conditional code.
13621         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
13622         [!__STDC__]: Remove conditional code.
13623         * stdlib/divrem.c [__STDC__]: Make code unconditional.
13624         [!__STDC__]: Remove conditional code.
13625         * stdlib/lshift.c [__STDC__]: Make code unconditional.
13626         [!__STDC__]: Remove conditional code.
13627         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
13628         [!__STDC__]: Remove conditional code.
13629         * stdlib/mul.c [__STDC__]: Make code unconditional.
13630         [!__STDC__]: Remove conditional code.
13631         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
13632         [!__STDC__]: Remove conditional code.
13633         * stdlib/rshift.c [__STDC__]: Make code unconditional.
13634         [!__STDC__]: Remove conditional code.
13635         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
13636         function definition.
13637         (STRTOF): Likewise.
13638         * stdlib/strtod_l.c (__STRTOF): Likewise.
13639         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
13640         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
13641         (__strtol_l): Likewise.
13642         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
13643         [!__STDC__]: Remove conditional code.
13644         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
13645         definition.
13646         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
13647         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
13648         type.
13649         (__strcasecmp): Convert to prototype-style function definition.
13650         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
13651         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
13652         type.
13653         (__strncasecmp): Convert to prototype-style function definition.
13654         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
13655         * sunrpc/xdr.c (xdr_union): Likewise.
13656         * sunrpc/xdr_array.c (xdr_array): Likewise.
13657         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
13658         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
13659         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
13660         Likewise.
13661         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
13662         Likewise.
13663         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
13664         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
13665         Likewise.
13666         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
13667         (LOCALE_PARAM_PROTO): Likewise.
13668         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
13669         argument type.
13670         (ut_argument_spec): Remove macro.
13671         (ut_argument_spec_iso): Rename to ut_argument_spec.
13672         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
13673         prototype-style function definition.
13674         (memcpy_uppcase): Likewise.
13675         (__strftime_internal): Likewise.
13676         (my_strftime): Likewise.
13677         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
13678         (LOCALE_PARAM_DECL): Likewise.
13679         [_LIBC] (LOCALE_PARAM): Include argument type.
13680         (__strptime_internal): Convert to prototype-style function
13681         definition.
13682         (strptime): Likewise.
13683         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
13684         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
13685         type.
13686         (__wcscasecmp): Convert to prototype-style function definition.
13687         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
13688         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
13689         type.
13690         (__wcsncasecmp): Convert to prototype-style function definition.
13692         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
13693         function definition.
13694         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
13695         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
13696         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
13697         * elf/dl-minimal.c (_itoa): Likewise.
13698         * hurd/hurdmalloc.c (malloc): Likewise.
13699         (free): Likewise.
13700         (realloc): Likewise.
13701         * inet/inet6_option.c (inet6_option_space): Likewise.
13702         (inet6_option_init): Likewise.
13703         (inet6_option_append): Likewise.
13704         (inet6_option_alloc): Likewise.
13705         (inet6_option_next): Likewise.
13706         (inet6_option_find): Likewise.
13707         * io/ftw.c (FTW_NAME): Likewise.
13708         (NFTW_NAME): Likewise.
13709         (NFTW_NEW_NAME): Likewise.
13710         (NFTW_OLD_NAME): Likewise.
13711         * libio/iofwide.c (_IO_fwide): Likewise.
13712         * libio/strops.c (_IO_str_init_static_internal): Likewise.
13713         (_IO_str_init_static): Likewise.
13714         (_IO_str_init_readonly): Likewise.
13715         (_IO_str_overflow): Likewise.
13716         (_IO_str_underflow): Likewise.
13717         (_IO_str_count): Likewise.
13718         (_IO_str_seekoff): Likewise.
13719         (_IO_str_pbackfail): Likewise.
13720         (_IO_str_finish): Likewise.
13721         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
13722         (_IO_wstr_overflow): Likewise.
13723         (_IO_wstr_underflow): Likewise.
13724         (_IO_wstr_count): Likewise.
13725         (_IO_wstr_seekoff): Likewise.
13726         (_IO_wstr_pbackfail): Likewise.
13727         (_IO_wstr_finish): Likewise.
13728         * locale/programs/localedef.c (normalize_codeset): Likewise.
13729         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13730         (add_locales_to_archive): Likewise.
13731         (delete_locales_from_archive): Likewise.
13732         * malloc/malloc.c (__libc_mallinfo): Likewise.
13733         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
13734         * misc/tsearch.c (__tfind): Likewise.
13735         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
13736         * nptl/pthread_attr_getdetachstate.c
13737         (__pthread_attr_getdetachstate): Likewise.
13738         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
13739         Likewise.
13740         * nptl/pthread_attr_getinheritsched.c
13741         (__pthread_attr_getinheritsched): Likewise.
13742         * nptl/pthread_attr_getschedparam.c
13743         (__pthread_attr_getschedparam): Likewise.
13744         * nptl/pthread_attr_getschedpolicy.c
13745         (__pthread_attr_getschedpolicy): Likewise.
13746         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
13747         Likewise.
13748         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
13749         Likewise.
13750         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
13751         Likewise.
13752         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
13753         Likewise.
13754         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
13755         (__pthread_attr_init_2_0): Likewise.
13756         * nptl/pthread_attr_setdetachstate.c
13757         (__pthread_attr_setdetachstate): Likewise.
13758         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
13759         Likewise.
13760         * nptl/pthread_attr_setinheritsched.c
13761         (__pthread_attr_setinheritsched): Likewise.
13762         * nptl/pthread_attr_setschedparam.c
13763         (__pthread_attr_setschedparam): Likewise.
13764         * nptl/pthread_attr_setschedpolicy.c
13765         (__pthread_attr_setschedpolicy): Likewise.
13766         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
13767         Likewise.
13768         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
13769         Likewise.
13770         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
13771         Likewise.
13772         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
13773         Likewise.
13774         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
13775         Likewise.
13776         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
13777         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
13778         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
13779         use internal_function.
13780         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
13781         prototype-style function definition.
13782         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
13783         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
13784         internal_function.
13785         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
13786         Convert to prototype-style function definition.
13787         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
13788         Likewise.
13789         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
13790         Likewise.
13791         (__pthread_mutex_unlock): Likewise.
13792         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
13793         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
13794         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
13795         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
13796         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
13797         * nss/makedb.c (process_input): Likewise.
13798         * posix/fnmatch.c (__strchrnul): Likewise.
13799         (__wcschrnul): Likewise.
13800         (fnmatch): Likewise.
13801         * posix/fnmatch_loop.c (FCT): Likewise.
13802         * posix/glob.c (globfree): Likewise.
13803         (__glob_pattern_type): Likewise.
13804         (__glob_pattern_p): Likewise.
13805         * posix/regcomp.c (re_compile_pattern): Likewise.
13806         (re_set_syntax): Likewise.
13807         (re_compile_fastmap): Likewise.
13808         (regcomp): Likewise.
13809         (regerror): Likewise.
13810         (regfree): Likewise.
13811         * posix/regexec.c (regexec): Likewise.
13812         (re_match): Likewise.
13813         (re_search): Likewise.
13814         (re_match_2): Likewise.
13815         (re_search_2): Likewise.
13816         (re_search_stub): Likewise.  Use internal_function
13817         (re_copy_regs): Likewise.
13818         (re_set_registers): Convert to prototype-style function
13819         definition.
13820         (prune_impossible_nodes): Likewise.  Use internal_function.
13821         * resolv/inet_net_pton.c (inet_net_pton): Convert to
13822         prototype-style function definition.
13823         (inet_net_pton_ipv4): Likewise.
13824         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13825         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
13826         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
13827         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
13828         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
13829         Make variadic.
13830         * time/strptime_l.c (localtime_r): Convert to prototype-style
13831         function definition.
13832         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
13833         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
13834         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
13835         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
13837         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
13838         definition.
13839         (_ufc_doit_r): Likewise.
13840         * crypt/crypt_util.c (_ufc_copymem): Likewise.
13841         (_ufc_output_conversion_r): Likewise.
13842         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
13843         * inet/rcmd.c (rcmd_af): Likewise.
13844         (rcmd): Likewise.
13845         (ruserok_af): Likewise.
13846         (ruserok): Likewise.
13847         (ruserok2_sa): Likewise.
13848         (ruserok_sa): Likewise.
13849         (iruserok_af): Likewise.
13850         (iruserok): Likewise.
13851         (__ivaliduser): Likewise.
13852         (__validuser2_sa): Likewise.
13853         * inet/rexec.c (rexec_af): Likewise.
13854         (rexec): Likewise.
13855         * inet/ruserpass.c (ruserpass): Likewise.
13856         * locale/programs/xmalloc.c (xcalloc): Likewise.
13857         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
13858         * math/w_drem.c (__drem): Likewise.
13859         * math/w_dremf.c (__dremf): Likewise.
13860         * math/w_dreml.c (__dreml): Likewise.
13861         * misc/daemon.c (daemon): Likewise.
13862         * resolv/res_debug.c (p_fqnname): Likewise.
13863         * stdlib/div.c (div): Likewise.
13864         * string/memcmp.c (memcmp_bytes): Likewise.
13865         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
13866         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
13868         * crypt/cert.c (main): Convert to prototype-style function
13869         definition.
13870         * io/pipe.c (__pipe): Likewise.
13871         * io/pipe2.c (__pipe2): Likewise.
13872         * misc/futimesat.c (futimesat): Likewise.
13873         * misc/utimes.c (__utimes): Likewise.
13874         * posix/execve.c (__execve): Likewise.
13875         * posix/execvp.c (execvp): Likewise.
13876         * posix/execvpe.c (__execvpe): Likewise.
13877         * posix/fexecve.c (fexecve): Likewise.
13878         * socket/socketpair.c (socketpair): Likewise.
13879         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
13880         * stdlib/erand48.c (erand48): Likewise.
13881         * stdlib/erand48_r.c (__erand48_r): Likewise.
13882         * stdlib/jrand48.c (jrand48): Likewise.
13883         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
13884         * stdlib/lcong48.c (lcong48): Likewise.
13885         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
13886         * stdlib/nrand48.c (nrand48): Likewise.
13887         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
13888         * stdlib/seed48.c (seed48): Likewise.
13889         * stdlib/seed48_r.c (__seed48_r): Likewise.
13890         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
13891         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
13892         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
13894 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
13896         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
13897         * configure: Regenerated.
13898         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
13899         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
13900         unconditional.
13901         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
13902         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
13903         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
13904         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
13905         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
13906         unconditional.
13907         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
13909         * posix/Makefile (CFLAGS-regex.c): Remove variable.
13910         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
13912         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
13913         function definition.
13914         * crypt/crypt_util.c (__encrypt_r): Likewise.
13915         * libio/genops.c (_IO_no_init): Likewise.
13916         * libio/iofopncook.c (_IO_fopencookie): Likewise.
13917         (_IO_old_fopencookie): Likewise.
13918         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
13919         * libio/iogetline.c (_IO_getline): Likewise.
13920         (_IO_getline_info): Likewise.
13921         * libio/iogetwline.c (_IO_getwline): Likewise.
13922         (_IO_getwline_info): Likewise.
13923         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
13924         * libio/vswprintf.c (_IO_vswprintf): Likewise.
13925         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
13926         (find_entry): Likewise.
13927         (iterate_table): Likewise.
13928         (lookup): Likewise.
13929         * login/forkpty.c (forkpty): Likewise.
13930         * misc/hsearch_r.c (__hsearch_r): Likewise.
13931         * misc/select.c (__select): Likewise.
13932         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
13933         Likewise.
13934         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
13935         Likewise.
13936         * nptl/old_pthread_cond_timedwait.c
13937         (__pthread_cond_timedwait_2_0): Likewise.
13938         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
13939         * nptl/pthread_barrierattr_getpshared.c
13940         (pthread_barrierattr_getpshared): Likewise.
13941         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
13942         Likewise.
13943         * nptl/pthread_mutex_setprioceiling.c
13944         (pthread_mutex_setprioceiling): Likewise.
13945         * nptl/pthread_mutexattr_getprioceiling.c
13946         (pthread_mutexattr_getprioceiling): Likewise.
13947         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
13948         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
13949         Likewise.
13950         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
13951         Likewise.
13952         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
13953         Likewise.
13954         * socket/recvfrom.c (__recvfrom): Likewise.
13955         * socket/sendto.c (__sendto): Likewise.
13956         * socket/setsockopt.c (__setsockopt): Likewise.
13957         * stdio-common/_itoa.c (_itoa): Likewise.
13958         * stdio-common/_itowa.c (_itowa): Likewise.
13959         * stdio-common/reg-printf.c (__register_printf_specifier):
13960         Likewise.
13961         (__register_printf_function): Likewise.
13962         * stdio-common/tempname.c (__path_search): Likewise.
13963         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
13964         * stdlib/mul_1.c (mpn_mul_1): Likewise.
13965         * stdlib/random_r.c (__initstate_r): Likewise.
13966         * stdlib/setenv.c (__add_to_environ): Likewise.
13967         * stdlib/submul_1.c (mpn_submul_1): Likewise.
13968         * streams/getpmsg.c (getpmsg): Likewise.
13969         * streams/putmsg.c (putmsg): Likewise.
13970         * streams/putpmsg.c (putpmsg): Likewise.
13971         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
13972         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
13973         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
13974         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
13975         * sunrpc/pm_getport.c (pmap_getport): Likewise.
13976         * sunrpc/svc_udp.c (cache_get): Likewise.
13977         * sunrpc/xdr_array.c (xdr_vector): Likewise.
13978         * sysdeps/mach/hurd/getcwd.c
13979         (__canonicalize_directory_name_internal): Likewise.
13980         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
13981         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
13982         * sysdeps/mach/hurd/select.c (__select): Likewise.
13983         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
13984         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
13985         * sysdeps/sparc/nptl/pthread_barrier_init.c
13986         (__pthread_barrier_init): Likewise.
13987         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
13988         (__pthread_cond_timedwait): Likewise.
13989         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
13990         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
13991         Likewise.
13992         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
13993         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
13994         Likewise.
13995         * sysvipc/semtimedop.c (semtimedop): Likewise.
13996         * time/setitimer.c (__setitimer): Likewise.
13997         * time/strftime_l.c (emacs_strftime): Likewise.
13999 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
14001         * config.make.in (have-ssp): Delete.
14002         (stack-protector): New variable.
14003         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
14004         cache test for -fstack-protector-strong.  Export stack_protector to
14005         the best ssp flag.
14006         * configure: Regenerated.
14007         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
14008         * nscd/Makefile (CFLAGS-nscd): Likewise.
14009         * resolv/Makefile (CFLAGS-libresolv): Likewise.
14011 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
14013         [BZ #19122]
14014         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
14015         attribute_hidden.
14017 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14019         [BZ #18743]
14020         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
14021         code to...
14022         (ELIDE_LOCK): ...here.
14023         (__get_new_count): New function with part of the code from
14024         __elide_lock that updates the value of adapt_count after a
14025         transaction abort.
14026         (__elided_trylock): Moved this code to...
14027         (ELIDE_TRYLOCK): ...here.
14029 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
14031         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
14032         * configure: Regenerate.
14033         * INSTALL: Regenerate.
14034         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
14035         and tweak grammar.
14037 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
14039         * login/programs/pt_chown.c: Include signal.h
14040         (main): Clear any signal mask from the parent process.
14042 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
14044         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
14045         * configure: Regenerated.
14046         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
14047         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
14048         $(gnu89-inline-CFLAGS).
14050         * configure.ac (libc_cv_asm_weak_directive): Remove configure
14051         test.
14052         (libc_cv_asm_weakext_directive): Likewise.
14053         * configure: Regenerated.
14054         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
14055         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
14056         * include/libc-symbols.h
14057         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
14058         #error.
14059         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
14060         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
14062         * sysdeps/arm/backtrace.c (__backtrace): Convert to
14063         prototype-style function definition.
14064         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
14065         * sysdeps/i386/ffs.c (__ffs): Likewise.
14066         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14067         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
14068         Likewise.
14069         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
14070         Likewise.
14071         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
14072         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
14073         Likewise.
14074         * sysdeps/m68k/ffs.c (__ffs): Likewise.
14075         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
14076         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
14077         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
14078         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
14079         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
14080         * sysdeps/mach/hurd/access.c (__access): Likewise.
14081         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
14082         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
14083         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
14084         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
14085         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
14086         (cthread_getspecific): Likewise.
14087         (cthread_setspecific): Likewise.
14088         (__libc_getspecific): Likewise.
14089         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
14090         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
14091         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
14092         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
14093         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
14094         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
14095         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
14096         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
14097         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
14098         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
14099         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
14100         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
14101         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
14102         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
14103         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
14104         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
14105         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
14106         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
14107         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
14108         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
14109         * sysdeps/mach/hurd/link.c (__link): Likewise.
14110         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
14111         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
14112         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
14113         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
14114         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
14115         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
14116         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
14117         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
14118         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
14119         * sysdeps/mach/hurd/rename.c (rename): Likewise.
14120         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
14121         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
14122         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
14123         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
14124         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
14125         * sysdeps/mach/hurd/send.c (__send): Likewise.
14126         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
14127         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
14128         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
14129         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
14130         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
14131         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
14132         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
14133         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
14134         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
14135         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
14136         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
14137         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
14138         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
14139         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
14140         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
14141         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
14142         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
14143         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
14144         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
14145         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
14146         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
14147         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
14148         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
14149         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
14150         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
14151         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
14152         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
14153         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
14154         * sysdeps/posix/alarm.c (alarm): Likewise.
14155         * sysdeps/posix/cuserid.c (cuserid): Likewise.
14156         * sysdeps/posix/dirfd.c (dirfd): Likewise.
14157         * sysdeps/posix/dup.c (__dup): Likewise.
14158         * sysdeps/posix/dup2.c (__dup2): Likewise.
14159         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
14160         (main): Likewise.
14161         * sysdeps/posix/flock.c (__flock): Likewise.
14162         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
14163         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
14164         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
14165         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
14166         * sysdeps/posix/isatty.c (__isatty): Likewise.
14167         * sysdeps/posix/killpg.c (killpg): Likewise.
14168         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
14169         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
14170         * sysdeps/posix/raise.c (raise): Likewise.
14171         * sysdeps/posix/remove.c (remove): Likewise.
14172         * sysdeps/posix/rename.c (rename): Likewise.
14173         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
14174         * sysdeps/posix/seekdir.c (seekdir): Likewise.
14175         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
14176         * sysdeps/posix/sigignore.c (sigignore): Likewise.
14177         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
14178         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
14179         * sysdeps/posix/sigset.c (sigset): Likewise.
14180         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
14181         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
14182         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
14183         * sysdeps/posix/time.c (time): Likewise.
14184         * sysdeps/posix/ttyname.c (getttyname): Likewise.
14185         (ttyname): Likewise.
14186         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
14187         * sysdeps/posix/utime.c (utime): Likewise.
14188         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
14189         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
14190         Likewise.
14191         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
14192         (pthread_spin_trylock): Likewise.
14193         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
14194         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
14195         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
14196         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
14197         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
14198         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
14199         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
14200         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
14201         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
14202         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
14203         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
14204         * sysdeps/s390/ffs.c (__ffs): Likewise.
14205         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
14206         Likewise.
14207         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
14208         Likewise.
14209         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
14210         Likewise.
14211         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
14212         (pthread_barrier_destroy): Likewise.
14213         * sysdeps/sparc/nptl/pthread_barrier_wait.c
14214         (__pthread_barrier_wait): Likewise.
14215         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
14216         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
14217         (__pthread_barrier_wait): Likewise.
14218         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
14219         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
14220         (memcmp_not_common_alignment): Likewise.
14221         (MEMCMP): Likewise.
14222         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
14223         (_wordcopy_fwd_dest_aligned): Likewise.
14224         (_wordcopy_bwd_aligned): Likewise.
14225         (_wordcopy_bwd_dest_aligned): Likewise.
14226         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
14227         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
14228         * sysdeps/unix/bsd/stty.c (stty): Likewise.
14229         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
14230         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
14231         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
14232         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
14233         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
14234         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
14235         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
14236         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
14237         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
14238         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
14239         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
14240         * sysdeps/unix/stime.c (stime): Likewise.
14241         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
14242         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
14243         Likewise.  Use internal_function.
14244         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
14245         Convert to prototype-style function definition.
14246         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
14247         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
14248         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
14249         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
14250         Likewise.  Use internal_function.
14251         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
14252         prototype-style function definition
14253         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14254         Likewise.
14255         (__getlogin_r): Likewise.
14256         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
14257         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
14258         (__pthread_cond_broadcast): Likewise.
14259         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
14260         (__pthread_cond_destroy): Likewise.
14261         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
14262         (__pthread_cond_init): Likewise.
14263         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
14264         (__pthread_cond_signal): Likewise.
14265         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
14266         (__pthread_cond_wait): Likewise.
14267         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
14268         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
14269         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
14270         Likewise.
14271         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
14272         Likewise.
14273         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
14274         Likewise.
14275         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
14276         Likewise.
14277         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
14278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
14279         (__ftruncate64): Likewise.
14280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
14281         (truncate64): Likewise.
14282         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
14283         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
14284         (pthread_getcpuclockid): Likewise.
14285         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
14286         Likewise.
14287         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
14288         Likewise.
14289         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
14290         Likewise.
14291         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
14292         Likewise.
14293         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
14294         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
14295         (__libc_sigaction): Likewise.
14296         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
14297         Likewise.
14298         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
14299         (__sigprocmask): Likewise.
14300         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
14301         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
14302         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
14303         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
14304         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
14305         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
14306         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
14307         Likewise.
14308         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
14309         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
14310         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
14311         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
14312         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
14313         Likewise.
14314         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
14315         (__sigprocmask): Likewise.
14316         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
14317         (cfgetispeed): Likewise.
14318         (cfsetospeed): Likewise.
14319         (cfsetispeed): Likewise.
14320         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
14321         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
14322         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
14323         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
14324         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
14325         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
14326         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
14327         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
14328         Likewise.
14329         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
14330         Likewise.
14331         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
14332         Likewise.
14333         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
14334         Likewise.
14335         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
14337 2015-10-17  Florian Weimer  <fweimer@redhat.com>
14339         sunrpc: Rewrite with explicit TLS access using __thread.
14340         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
14341         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
14342         directly.
14343         (__rpc_thread_variables): Access thread_rpc_vars directly.
14344         Eliminate redundant assignment of the tvp variable.
14346 2015-10-17  Florian Weimer  <fweimer@redhat.com>
14348         malloc: Rewrite with explicit TLS access using __thread.
14349         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
14350         (tsd_setspecific, tsd_getspecific): Remove.
14351         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
14352         (tsd_setspecific, tsd_getspecific): Likewise.
14353         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
14354         (tsd_setspecific, tsd_getspecific): Likewise.
14355         * malloc/arena.c (thread_arena): New TLS variable.
14356         (arena_key): Remove variable.
14357         (arena_get): Use thread_arena.
14358         (arena_lookup): Remove macro.
14359         (malloc_atfork, free_atfork, ptmalloc_lock_all)
14360         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
14361         (_int_new_arena, get_free_list, reused_arena)
14362         (arena_thread_freeres): Use thread_arena.
14363         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
14364         tsd_getspecific, tsd_setspecific from safety annotations.
14365         (Allocating Cleared Space): Remove arena_lookup from safety
14366         annotations.
14368 2015-10-17  Florian Weimer  <fweimer@redhat.com>
14370         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
14371         struct scratch_buffer instead of extend_alloca.
14373 2015-10-17  Florian Weimer  <fweimer@redhat.com>
14375         * sysdeps/unix/sysv/linux/kernel-features.h
14376         (__ASSUME_SOCK_CLOEXEC): Remove.
14377         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
14378         (__have_paccept): Remove unused macro.
14379         * include/unistd.h (__have_sock_cloexec): Remove declaration.
14380         * misc/syslog.c (openlog_internal): Remove fallback code for
14381         !__ASSUME_SOCK_CLOEXEC.
14382         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
14383         missing SOCK_CLOEXEC.
14384         * nscd/connections.c (have_sock_cloexec): Remove definition.
14385         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
14386         * nscd/nscd_helper.c (open_socket): Remove fallback code for
14387         !__ASSUME_SOCK_CLOEXEC.
14388         * resolv/res_send.c (__have_o_nonblock): Remove definition.
14389         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
14390         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
14391         definition.
14392         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
14393         code for !__ASSUME_SOCK_CLOEXEC.
14395 2015-10-17  Florian Weimer  <fweimer@redhat.com>
14397         [BZ #18982]
14398         * manual/stdio.texi (Variable Arguments Output): Add portability
14399         note, explaining that vfprintf clobbers the va_list pointer.
14401 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
14403         * math/libm-test.inc (fabs_test_data): Add more tests.
14404         (fdim_test_data): Likewise.
14405         (fma_test_data): Likewise.
14406         (fmax_test_data): Likewise.
14407         (fmin_test_data): Likewise.
14408         (fmod_test_data): Likewise.
14410 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
14412         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
14413         data.
14415 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
14417         * math/libm-test.inc (ceil_test_data): Add more tests and more
14418         expectations for "inexact".
14419         (floor_test_data): Add more tests.
14420         (round_test_data): Likewise.
14421         (trunc_test_data): Likewise.
14423         * crypt/cert.c (good_bye): Convert to prototype-style function
14424         definition.
14425         (get8): Likewise.
14426         (put8): Likewise.
14427         * crypt/crypt-entry.c (crypt): Likewise.
14428         (__fcrypt): Likewise.
14429         * crypt/crypt_util.c (_ufc_prbits): Likewise.
14430         (_ufc_set_bits): Likewise.
14431         (_ufc_clearmem): Likewise.
14432         (__init_des_r): Likewise.
14433         (shuffle_sb): Likewise.
14434         (shuffle_sb): Likewise.
14435         (_ufc_setup_salt_r): Likewise.
14436         (_ufc_mk_keytab_r): Likewise.
14437         (_ufc_dofinalperm_r): Likewise.
14438         (encrypt): Likewise.
14439         (__setkey_r): Likewise.
14440         (setkey): Likewise.
14441         * crypt/md5.c (md5_init_ctx): Likewise.
14442         (md5_read_ctx): Likewise.
14443         (md5_finish_ctx): Likewise.
14444         (md5_stream): Likewise.
14445         (md5_buffer): Likewise.
14446         (md5_process_bytes): Likewise.
14447         * crypt/sha256.c (__sha256_init_ctx): Likewise.
14448         (__sha256_finish_ctx): Likewise.
14449         (__sha256_process_bytes): Likewise.
14450         * crypt/sha512.c (__sha512_init_ctx): Likewise.
14451         (__sha512_finish_ctx): Likewise.
14452         (__sha512_process_bytes): Likewise.
14453         * ctype/isctype.c (__isctype): Likewise.
14454         * debug/backtrace.c (__backtrace): Likewise.
14455         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
14456         * debug/fgets_chk.c (__fgets_chk): Likewise.
14457         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
14458         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
14459         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14460         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14461         * debug/memset_chk.c (__memset_chk): Likewise.
14462         * debug/strcat_chk.c (__strcat_chk): Likewise.
14463         * debug/strncat_chk.c (__strncat_chk): Likewise.
14464         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
14465         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
14466         * dirent/dirfd.c (dirfd): Likewise.
14467         * dirent/getdents.c (__getdirentries): Likewise.
14468         * dirent/getdents64.c (getdirentries64): Likewise.
14469         * dirent/rewinddir.c (__rewinddir): Likewise.
14470         * dirent/seekdir.c (seekdir): Likewise.
14471         * dirent/telldir.c (telldir): Likewise.
14472         * elf/sln.c (makesymlinks): Likewise.
14473         (makesymlink): Likewise.
14474         * gmon/gmon.c (__moncontrol): Likewise.
14475         (__monstartup): Likewise.
14476         (write_hist): Likewise.
14477         (write_call_graph): Likewise.
14478         (write_bb_counts): Likewise.
14479         * grp/setgroups.c (setgroups): Likewise.
14480         * inet/inet_lnaof.c (inet_lnaof): Likewise.
14481         * inet/inet_net.c (inet_network): Likewise.
14482         * inet/inet_netof.c (inet_netof): Likewise.
14483         * inet/rcmd.c (rresvport_af): Likewise.
14484         (rresvport): Likewise.
14485         * io/access.c (__access): Likewise.
14486         * io/chdir.c (__chdir): Likewise.
14487         * io/chmod.c (__chmod): Likewise.
14488         * io/chown.c (__chown): Likewise.
14489         * io/close.c (__close): Likewise.
14490         * io/creat.c (creat): Likewise.
14491         * io/creat64.c (creat64): Likewise.
14492         * io/dup.c (__dup): Likewise.
14493         * io/dup2.c (__dup2): Likewise.
14494         * io/dup3.c (__dup3): Likewise.
14495         * io/euidaccess.c (__euidaccess): Likewise.
14496         * io/faccessat.c (faccessat): Likewise.
14497         * io/fchmod.c (__fchmod): Likewise.
14498         * io/fchmodat.c (fchmodat): Likewise.
14499         * io/fchown.c (__fchown): Likewise.
14500         * io/fchownat.c (fchownat): Likewise.
14501         * io/fcntl.c (__fcntl): Likewise.
14502         * io/flock.c (__flock): Likewise.
14503         * io/fts.c (fts_load): Likewise.
14504         (fts_close): Likewise.
14505         (fts_read): Likewise.
14506         (fts_set): Likewise.
14507         (fts_children): Likewise.
14508         (fts_build): Likewise.
14509         (fts_stat): Likewise.
14510         (fts_sort): Likewise.
14511         (fts_alloc): Likewise.
14512         (fts_lfree): Likewise.
14513         (fts_palloc): Likewise.
14514         (fts_padjust): Likewise.
14515         (fts_maxarglen): Likewise.
14516         (fts_safe_changedir): Likewise.
14517         * io/getwd.c (getwd): Likewise.
14518         * io/isatty.c (__isatty): Likewise.
14519         * io/lchown.c (__lchown): Likewise.
14520         * io/link.c (__link): Likewise.
14521         * io/linkat.c (linkat): Likewise.
14522         * io/lseek.c (__libc_lseek): Likewise.
14523         * io/mkdir.c (__mkdir): Likewise.
14524         * io/mkdirat.c (mkdirat): Likewise.
14525         * io/mkfifo.c (mkfifo): Likewise.
14526         * io/mkfifoat.c (mkfifoat): Likewise.
14527         * io/open.c (__libc_open): Likewise.
14528         * io/open64.c (__libc_open64): Likewise.
14529         * io/readlink.c (__readlink): Likewise.
14530         * io/readlinkat.c (readlinkat): Likewise.
14531         * io/rmdir.c (__rmdir): Likewise.
14532         * io/symlink.c (__symlink): Likewise.
14533         * io/symlinkat.c (symlinkat): Likewise.
14534         * io/ttyname.c (ttyname): Likewise.
14535         * io/ttyname_r.c (__ttyname_r): Likewise.
14536         * io/umask.c (__umask): Likewise.
14537         * io/unlink.c (__unlink): Likewise.
14538         * io/unlinkat.c (unlinkat): Likewise.
14539         * io/utime.c (utime): Likewise.
14540         * libio/clearerr.c (clearerr): Likewise.
14541         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
14542         * libio/feof.c (_IO_feof): Likewise.
14543         * libio/feof_u.c (feof_unlocked): Likewise.
14544         * libio/ferror.c (_IO_ferror): Likewise.
14545         * libio/ferror_u.c (ferror_unlocked): Likewise.
14546         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
14547         * libio/fileno.c (__fileno): Likewise.
14548         * libio/fputc.c (fputc): Likewise.
14549         * libio/fputc_u.c (fputc_unlocked): Likewise.
14550         * libio/fputwc.c (fputwc): Likewise.
14551         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
14552         * libio/freopen.c (freopen): Likewise.
14553         * libio/freopen64.c (freopen64): Likewise.
14554         * libio/fseek.c (fseek): Likewise.
14555         * libio/fseeko.c (fseeko): Likewise.
14556         * libio/fseeko64.c (fseeko64): Likewise.
14557         * libio/ftello.c (__ftello): Likewise.
14558         * libio/ftello64.c (ftello64): Likewise.
14559         * libio/fwide.c (fwide): Likewise.
14560         * libio/genops.c (_IO_un_link): Likewise.
14561         (_IO_link_in): Likewise.
14562         (_IO_least_marker): Likewise.
14563         (_IO_switch_to_main_get_area): Likewise.
14564         (_IO_switch_to_backup_area): Likewise.
14565         (_IO_switch_to_get_mode): Likewise.
14566         (_IO_free_backup_area): Likewise.
14567         (_IO_switch_to_put_mode): Likewise.
14568         (__overflow): Likewise.
14569         (__underflow): Likewise.
14570         (__uflow): Likewise.
14571         (_IO_setb): Likewise.
14572         (_IO_doallocbuf): Likewise.
14573         (_IO_default_underflow): Likewise.
14574         (_IO_default_uflow): Likewise.
14575         (_IO_default_xsputn): Likewise.
14576         (_IO_sgetn): Likewise.
14577         (_IO_default_xsgetn): Likewise.
14578         (_IO_sync): Likewise.
14579         (_IO_default_setbuf): Likewise.
14580         (_IO_default_seekpos): Likewise.
14581         (_IO_default_doallocate): Likewise.
14582         (_IO_init): Likewise.
14583         (_IO_old_init): Likewise.
14584         (_IO_default_sync): Likewise.
14585         (_IO_default_finish): Likewise.
14586         (_IO_default_seekoff): Likewise.
14587         (_IO_sputbackc): Likewise.
14588         (_IO_sungetc): Likewise.
14589         (_IO_set_column): Likewise.
14590         (_IO_set_column): Likewise.
14591         (_IO_adjust_column): Likewise.
14592         (_IO_get_column): Likewise.
14593         (_IO_init_marker): Likewise.
14594         (_IO_remove_marker): Likewise.
14595         (_IO_marker_difference): Likewise.
14596         (_IO_marker_delta): Likewise.
14597         (_IO_seekmark): Likewise.
14598         (_IO_unsave_markers): Likewise.
14599         (_IO_nobackup_pbackfail): Likewise.
14600         (_IO_default_pbackfail): Likewise.
14601         (_IO_default_seek): Likewise.
14602         (_IO_default_stat): Likewise.
14603         (_IO_default_read): Likewise.
14604         (_IO_default_write): Likewise.
14605         (_IO_default_showmanyc): Likewise.
14606         (_IO_default_imbue): Likewise.
14607         (_IO_iter_next): Likewise.
14608         (_IO_iter_file): Likewise.
14609         * libio/getc.c (_IO_getc): Likewise.
14610         * libio/getwc.c (_IO_getwc): Likewise.
14611         * libio/iofclose.c (_IO_new_fclose): Likewise.
14612         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
14613         * libio/iofflush.c (_IO_fflush): Likewise.
14614         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
14615         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
14616         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
14617         * libio/iofgets.c (_IO_fgets): Likewise.
14618         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
14619         * libio/iofgetws.c (fgetws): Likewise.
14620         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
14621         * libio/iofopen64.c (_IO_fopen64): Likewise.
14622         * libio/iofopncook.c (_IO_cookie_read): Likewise.
14623         (_IO_cookie_write): Likewise.
14624         (_IO_cookie_seek): Likewise.
14625         (_IO_cookie_close): Likewise.
14626         (_IO_cookie_seekoff): Likewise.
14627         (_IO_old_cookie_seek): Likewise.
14628         * libio/iofputs.c (_IO_fputs): Likewise.
14629         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
14630         * libio/iofputws.c (fputws): Likewise.
14631         * libio/iofputws_u.c (fputws_unlocked): Likewise.
14632         * libio/iofread.c (_IO_fread): Likewise.
14633         * libio/iofread_u.c (__fread_unlocked): Likewise.
14634         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
14635         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
14636         * libio/ioftell.c (_IO_ftell): Likewise.
14637         * libio/iofwrite.c (_IO_fwrite): Likewise.
14638         * libio/iogetdelim.c (_IO_getdelim): Likewise.
14639         * libio/iogets.c (_IO_gets): Likewise.
14640         * libio/iopadn.c (_IO_padn): Likewise.
14641         * libio/iopopen.c (_IO_new_proc_open): Likewise.
14642         (_IO_new_popen): Likewise.
14643         (_IO_new_proc_close): Likewise.
14644         * libio/ioputs.c (_IO_puts): Likewise.
14645         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
14646         (_IO_seekoff): Likewise.
14647         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
14648         (_IO_seekpos): Likewise.
14649         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
14650         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
14651         * libio/ioungetc.c (_IO_ungetc): Likewise.
14652         * libio/ioungetwc.c (ungetwc): Likewise.
14653         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
14654         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
14655         * libio/iowpadn.c (_IO_wpadn): Likewise.
14656         * libio/libc_fatal.c (__libc_fatal): Likewise.
14657         * libio/memstream.c (__open_memstream): Likewise.
14658         (_IO_mem_sync): Likewise.
14659         (_IO_mem_finish): Likewise.
14660         * libio/oldfileops.c (_IO_old_file_init): Likewise.
14661         (_IO_old_file_close_it): Likewise.
14662         (_IO_old_file_finish): Likewise.
14663         (_IO_old_file_fopen): Likewise.
14664         (_IO_old_file_attach): Likewise.
14665         (_IO_old_file_setbuf): Likewise.
14666         (_IO_old_do_write): Likewise.
14667         (old_do_write): Likewise.
14668         (_IO_old_file_underflow): Likewise.
14669         (_IO_old_file_overflow): Likewise.
14670         (_IO_old_file_sync): Likewise.
14671         (_IO_old_file_seekoff): Likewise.
14672         (_IO_old_file_write): Likewise.
14673         (_IO_old_file_xsputn): Likewise.
14674         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
14675         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
14676         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
14677         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
14678         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
14679         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
14680         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
14681         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
14682         (_IO_old_popen): Likewise.
14683         (_IO_old_proc_close): Likewise.
14684         * libio/oldpclose.c (__old_pclose): Likewise.
14685         * libio/pclose.c (__new_pclose): Likewise.
14686         * libio/peekc.c (_IO_peekc_locked): Likewise.
14687         * libio/putc.c (_IO_putc): Likewise.
14688         * libio/putc_u.c (putc_unlocked): Likewise.
14689         * libio/putchar.c (putchar): Likewise.
14690         * libio/putchar_u.c (putchar_unlocked): Likewise.
14691         * libio/putwc.c (putwc): Likewise.
14692         * libio/putwc_u.c (putwc_unlocked): Likewise.
14693         * libio/putwchar.c (putwchar): Likewise.
14694         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
14695         * libio/rewind.c (rewind): Likewise.
14696         * libio/setbuf.c (setbuf): Likewise.
14697         * libio/setlinebuf.c (setlinebuf): Likewise.
14698         * libio/vasprintf.c (_IO_vasprintf): Likewise.
14699         * libio/vscanf.c (_IO_vscanf): Likewise.
14700         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
14701         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
14702         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
14703         * libio/wgenops.c (_IO_least_wmarker): Likewise.
14704         (_IO_switch_to_main_wget_area): Likewise.
14705         (_IO_switch_to_wbackup_area): Likewise.
14706         (_IO_wsetb): Likewise.
14707         (_IO_wdefault_pbackfail): Likewise.
14708         (_IO_wdefault_finish): Likewise.
14709         (_IO_wdefault_uflow): Likewise.
14710         (__woverflow): Likewise.
14711         (__wuflow): Likewise.
14712         (__wunderflow): Likewise.
14713         (_IO_wdefault_xsputn): Likewise.
14714         (_IO_wdefault_xsgetn): Likewise.
14715         (_IO_wdoallocbuf): Likewise.
14716         (_IO_wdefault_doallocate): Likewise.
14717         (_IO_switch_to_wget_mode): Likewise.
14718         (_IO_free_wbackup_area): Likewise.
14719         (_IO_switch_to_wput_mode): Likewise.
14720         (_IO_sputbackwc): Likewise.
14721         (_IO_sungetwc): Likewise.
14722         (_IO_adjust_wcolumn): Likewise.
14723         (_IO_init_wmarker): Likewise.
14724         (_IO_wmarker_delta): Likewise.
14725         (_IO_seekwmark): Likewise.
14726         (_IO_unsave_wmarkers): Likewise.
14727         * libio/wmemstream.c (open_wmemstream): Likewise.
14728         (_IO_wmem_sync): Likewise.
14729         (_IO_wmem_finish): Likewise.
14730         * locale/nl_langinfo.c (nl_langinfo): Likewise.
14731         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
14732         * locale/programs/simple-hash.c (init_hash): Likewise.
14733         (delete_hash): Likewise.
14734         (insert_entry): Likewise.
14735         (set_entry): Likewise.
14736         (next_prime): Likewise.
14737         (is_prime): Likewise.
14738         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
14739         (xmalloc): Likewise.
14740         (xrealloc): Likewise.
14741         * locale/programs/xstrdup.c (xstrdup): Likewise.
14742         * localedata/collate-test.c (xstrcoll): Likewise.
14743         * localedata/xfrm-test.c (xstrcmp): Likewise.
14744         * login/getlogin_r.c (__getlogin_r): Likewise.
14745         * login/getpt.c (__posix_openpt): Likewise.
14746         * login/login_tty.c (login_tty): Likewise.
14747         * login/setlogin.c (setlogin): Likewise.
14748         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
14749         (mach_msg_destroy_port): Likewise.
14750         (mach_msg_destroy_memory): Likewise.
14751         * malloc/mcheck.c (flood): Likewise.
14752         * misc/acct.c (acct): Likewise.
14753         * misc/brk.c (__brk): Likewise.
14754         * misc/chflags.c (chflags): Likewise.
14755         * misc/chroot.c (chroot): Likewise.
14756         * misc/fchflags.c (fchflags): Likewise.
14757         * misc/fstab.c (getfsspec): Likewise.
14758         (getfsfile): Likewise.
14759         * misc/fsync.c (fsync): Likewise.
14760         * misc/ftruncate.c (__ftruncate): Likewise.
14761         * misc/ftruncate64.c (__ftruncate64): Likewise.
14762         * misc/getdomain.c (getdomainname): Likewise.
14763         (getdomainname): Likewise.
14764         * misc/gethostname.c (__gethostname): Likewise.
14765         * misc/getpass.c (getpass): Likewise.
14766         * misc/getttyent.c (skip): Likewise.
14767         (value): Likewise.
14768         * misc/gtty.c (gtty): Likewise.
14769         * misc/hsearch.c (hsearch): Likewise.
14770         (hcreate): Likewise.
14771         * misc/hsearch_r.c (__hcreate_r): Likewise.
14772         (__hdestroy_r): Likewise.
14773         * misc/ioctl.c (__ioctl): Likewise.
14774         * misc/mkdtemp.c (mkdtemp): Likewise.
14775         * misc/mkostemp.c (mkostemp): Likewise.
14776         * misc/mkostemp64.c (mkostemp64): Likewise.
14777         * misc/mkostemps.c (mkostemps): Likewise.
14778         * misc/mkostemps64.c (mkostemps64): Likewise.
14779         * misc/mkstemp.c (mkstemp): Likewise.
14780         * misc/mkstemp64.c (mkstemp64): Likewise.
14781         * misc/mkstemps.c (mkstemps): Likewise.
14782         * misc/mkstemps64.c (mkstemps64): Likewise.
14783         * misc/mktemp.c (__mktemp): Likewise.
14784         * misc/preadv.c (preadv): Likewise.
14785         * misc/preadv64.c (preadv64): Likewise.
14786         * misc/pwritev.c (pwritev): Likewise.
14787         * misc/pwritev64.c (pwritev64): Likewise.
14788         * misc/readv.c (__readv): Likewise.
14789         * misc/revoke.c (revoke): Likewise.
14790         * misc/setdomain.c (setdomainname): Likewise.
14791         * misc/setegid.c (setegid): Likewise.
14792         * misc/seteuid.c (seteuid): Likewise.
14793         * misc/sethostid.c (sethostid): Likewise.
14794         * misc/sethostname.c (sethostname): Likewise.
14795         * misc/setregid.c (__setregid): Likewise.
14796         * misc/setreuid.c (__setreuid): Likewise.
14797         * misc/sstk.c (sstk): Likewise.
14798         * misc/stty.c (stty): Likewise.
14799         * misc/syscall.c (syscall): Likewise.
14800         * misc/syslog.c (setlogmask): Likewise.
14801         * misc/truncate.c (__truncate): Likewise.
14802         * misc/truncate64.c (truncate64): Likewise.
14803         * misc/ualarm.c (ualarm): Likewise.
14804         * misc/usleep.c (usleep): Likewise.
14805         * misc/ustat.c (ustat): Likewise.
14806         * misc/writev.c (__writev): Likewise.
14807         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
14808         * nptl/old_pthread_cond_broadcast.c
14809         (__pthread_cond_broadcast_2_0): Likewise.
14810         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
14811         Likewise.
14812         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
14813         Likewise.
14814         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
14815         Likewise.
14816         * nptl/pt-raise.c (raise): Likewise.
14817         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
14818         Likewise.
14819         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
14820         * nptl/pthread_barrierattr_destroy.c
14821         (pthread_barrierattr_destroy): Likewise.
14822         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
14823         Likewise.
14824         * nptl/pthread_barrierattr_setpshared.c
14825         (pthread_barrierattr_setpshared): Likewise.
14826         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
14827         Likewise.
14828         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
14829         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
14830         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
14831         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
14832         Likewise.
14833         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
14834         Likewise.
14835         * nptl/pthread_condattr_getpshared.c
14836         (pthread_condattr_getpshared): Likewise.
14837         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
14838         Likewise.
14839         * nptl/pthread_condattr_setpshared.c
14840         (pthread_condattr_setpshared): Likewise.
14841         * nptl/pthread_detach.c (pthread_detach): Likewise.
14842         * nptl/pthread_equal.c (__pthread_equal): Likewise.
14843         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
14844         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
14845         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
14846         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
14847         Likewise.
14848         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
14849         Likewise.
14850         * nptl/pthread_mutex_getprioceiling.c
14851         (pthread_mutex_getprioceiling): Likewise.
14852         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
14853         Likewise.
14854         * nptl/pthread_mutexattr_getprotocol.c
14855         (pthread_mutexattr_getprotocol): Likewise.
14856         * nptl/pthread_mutexattr_getpshared.c
14857         (pthread_mutexattr_getpshared): Likewise.
14858         * nptl/pthread_mutexattr_getrobust.c
14859         (pthread_mutexattr_getrobust): Likewise.
14860         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
14861         Likewise.
14862         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
14863         Likewise.
14864         * nptl/pthread_mutexattr_setprioceiling.c
14865         (pthread_mutexattr_setprioceiling): Likewise.
14866         * nptl/pthread_mutexattr_setprotocol.c
14867         (pthread_mutexattr_setprotocol): Likewise.
14868         * nptl/pthread_mutexattr_setpshared.c
14869         (pthread_mutexattr_setpshared): Likewise.
14870         * nptl/pthread_mutexattr_setrobust.c
14871         (pthread_mutexattr_setrobust): Likewise.
14872         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
14873         Likewise.
14874         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
14875         Likewise.
14876         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
14877         Likewise.
14878         * nptl/pthread_rwlockattr_getkind_np.c
14879         (pthread_rwlockattr_getkind_np): Likewise.
14880         * nptl/pthread_rwlockattr_getpshared.c
14881         (pthread_rwlockattr_getpshared): Likewise.
14882         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
14883         Likewise.
14884         * nptl/pthread_rwlockattr_setkind_np.c
14885         (pthread_rwlockattr_setkind_np): Likewise.
14886         * nptl/pthread_rwlockattr_setpshared.c
14887         (pthread_rwlockattr_setpshared): Likewise.
14888         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
14889         Likewise.
14890         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
14891         Likewise.
14892         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
14893         Likewise.
14894         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
14895         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
14896         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
14897         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
14898         * nptl/sem_close.c (sem_close): Likewise.
14899         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
14900         * nptl/sem_init.c (__old_sem_init): Likewise.
14901         * nptl/sigaction.c (__sigaction): Likewise.
14902         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
14903         * posix/_exit.c (_exit): Likewise.
14904         * posix/alarm.c (alarm): Likewise.
14905         * posix/confstr.c (confstr): Likewise.
14906         * posix/fpathconf.c (__fpathconf): Likewise.
14907         * posix/getgroups.c (__getgroups): Likewise.
14908         * posix/getpgid.c (__getpgid): Likewise.
14909         * posix/group_member.c (__group_member): Likewise.
14910         * posix/pathconf.c (__pathconf): Likewise.
14911         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
14912         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
14913         * posix/setgid.c (__setgid): Likewise.
14914         * posix/setpgid.c (__setpgid): Likewise.
14915         * posix/setuid.c (__setuid): Likewise.
14916         * posix/sleep.c (__sleep): Likewise.
14917         * posix/sysconf.c (__sysconf): Likewise.
14918         * posix/times.c (__times): Likewise.
14919         * posix/uname.c (__uname): Likewise.
14920         * posix/waitid.c (__waitid): Likewise.
14921         * pwd/getpw.c (__getpw): Likewise.
14922         * resolv/base64.c (b64_pton): Likewise.
14923         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
14924         * resolv/gethnamaddr.c (Dprintf): Likewise.
14925         (gethostbyname): Likewise.
14926         (gethostbyname2): Likewise.
14927         (gethostbyaddr): Likewise.
14928         (_sethtent): Likewise.
14929         (_gethtbyname): Likewise.
14930         (_gethtbyname2): Likewise.
14931         (_gethtbyaddr): Likewise.
14932         (map_v4v6_address): Likewise.
14933         (map_v4v6_hostent): Likewise.
14934         (addrsort): Likewise.
14935         (ht_sethostent): Likewise.
14936         (ht_gethostbyname): Likewise.
14937         (ht_gethostbyaddr): Likewise.
14938         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
14939         (inet_net_ntop_ipv4): Likewise.
14940         * resolv/inet_neta.c (inet_neta): Likewise.
14941         * resolv/inet_ntop.c (inet_ntop): Likewise.
14942         (inet_ntop4): Likewise.
14943         (inet_ntop6): Likewise.
14944         * resolv/inet_pton.c (__inet_pton): Likewise.
14945         (inet_pton4): Likewise.
14946         (inet_pton6): Likewise.
14947         * resolv/res_debug.c (loc_aton): Likewise.
14948         (loc_ntoa): Likewise.
14949         * resource/getpriority.c (__getpriority): Likewise.
14950         * resource/getrusage.c (__getrusage): Likewise.
14951         * resource/nice.c (nice): Likewise.
14952         * resource/setpriority.c (__setpriority): Likewise.
14953         * resource/setrlimit64.c (setrlimit64): Likewise.
14954         * resource/vlimit.c (vlimit): Likewise.
14955         * resource/vtimes.c (vtimes): Likewise.
14956         * rt/aio_error.c (aio_error): Likewise.
14957         * rt/aio_return.c (aio_return): Likewise.
14958         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
14959         * signal/kill.c (__kill): Likewise.
14960         * signal/killpg.c (killpg): Likewise.
14961         * signal/raise.c (raise): Likewise.
14962         * signal/sigaction.c (__sigaction): Likewise.
14963         * signal/sigaddset.c (sigaddset): Likewise.
14964         * signal/sigaltstack.c (sigaltstack): Likewise.
14965         * signal/sigandset.c (sigandset): Likewise.
14966         * signal/sigblock.c (__sigblock): Likewise.
14967         * signal/sigdelset.c (sigdelset): Likewise.
14968         * signal/sigempty.c (sigemptyset): Likewise.
14969         * signal/sigfillset.c (sigfillset): Likewise.
14970         * signal/sighold.c (sighold): Likewise.
14971         * signal/sigignore.c (sigignore): Likewise.
14972         * signal/sigintr.c (siginterrupt): Likewise.
14973         * signal/sigisempty.c (sigisemptyset): Likewise.
14974         * signal/sigismem.c (sigismember): Likewise.
14975         * signal/signal.c (signal): Likewise.
14976         * signal/sigorset.c (sigorset): Likewise.
14977         * signal/sigpause.c (__sigpause): Likewise.
14978         * signal/sigpending.c (sigpending): Likewise.
14979         * signal/sigprocmask.c (__sigprocmask): Likewise.
14980         * signal/sigrelse.c (sigrelse): Likewise.
14981         * signal/sigreturn.c (__sigreturn): Likewise.
14982         * signal/sigset.c (sigset): Likewise.
14983         * signal/sigsetmask.c (__sigsetmask): Likewise.
14984         * signal/sigstack.c (sigstack): Likewise.
14985         * signal/sigsuspend.c (__sigsuspend): Likewise.
14986         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
14987         * signal/sysv_signal.c (__sysv_signal): Likewise.
14988         * socket/accept.c (accept): Likewise.
14989         * socket/accept4.c (__libc_accept4): Likewise.
14990         * socket/bind.c (__bind): Likewise.
14991         * socket/connect.c (__connect): Likewise.
14992         * socket/getpeername.c (getpeername): Likewise.
14993         * socket/getsockname.c (__getsockname): Likewise.
14994         * socket/getsockopt.c (getsockopt): Likewise.
14995         * socket/listen.c (__listen): Likewise.
14996         * socket/recv.c (__recv): Likewise.
14997         * socket/recvmsg.c (__recvmsg): Likewise.
14998         * socket/send.c (__send): Likewise.
14999         * socket/sendmsg.c (__sendmsg): Likewise.
15000         * socket/shutdown.c (shutdown): Likewise.
15001         * socket/sockatmark.c (sockatmark): Likewise.
15002         * socket/socket.c (__socket): Likewise.
15003         * stdio-common/ctermid.c (ctermid): Likewise.
15004         * stdio-common/cuserid.c (cuserid): Likewise.
15005         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
15006         * stdio-common/remove.c (remove): Likewise.
15007         * stdio-common/rename.c (rename): Likewise.
15008         * stdio-common/renameat.c (renameat): Likewise.
15009         * stdio-common/tempname.c (__gen_tempname): Likewise.
15010         * stdio-common/xbug.c (InitBuffer): Likewise.
15011         (AppendToBuffer): Likewise.
15012         (ReadFile): Likewise.
15013         * stdlib/a64l.c (a64l): Likewise.
15014         * stdlib/drand48_r.c (drand48_r): Likewise.
15015         * stdlib/getcontext.c (getcontext): Likewise.
15016         * stdlib/getenv.c (getenv): Likewise.
15017         * stdlib/l64a.c (l64a): Likewise.
15018         * stdlib/llabs.c (llabs): Likewise.
15019         * stdlib/lldiv.c (lldiv): Likewise.
15020         * stdlib/lrand48_r.c (lrand48_r): Likewise.
15021         * stdlib/mrand48_r.c (mrand48_r): Likewise.
15022         * stdlib/putenv.c (putenv): Likewise.
15023         * stdlib/random.c (__srandom): Likewise.
15024         (__initstate): Likewise.
15025         (__setstate): Likewise.
15026         * stdlib/random_r.c (__srandom_r): Likewise.
15027         (__setstate_r): Likewise.
15028         (__random_r): Likewise.
15029         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
15030         * stdlib/setcontext.c (setcontext): Likewise.
15031         * stdlib/setenv.c (setenv): Likewise.
15032         (unsetenv): Likewise.
15033         * stdlib/srand48.c (srand48): Likewise.
15034         * stdlib/srand48_r.c (__srand48_r): Likewise.
15035         * stdlib/swapcontext.c (swapcontext): Likewise.
15036         * stdlib/system.c (__libc_system): Likewise.
15037         * stdlib/tst-strtod.c (expand): Likewise.
15038         * stdlib/tst-strtol.c (expand): Likewise.
15039         * stdlib/tst-strtoll.c (expand): Likewise.
15040         * streams/fattach.c (fattach): Likewise.
15041         * streams/fdetach.c (fdetach): Likewise.
15042         * streams/getmsg.c (getmsg): Likewise.
15043         * streams/isastream.c (isastream): Likewise.
15044         * string/ffs.c (__ffs): Likewise.
15045         * string/ffsll.c (ffsll): Likewise.
15046         * string/memcmp.c (memcmp_common_alignment): Likewise.
15047         (memcmp_not_common_alignment): Likewise.
15048         (MEMCMP): Likewise.
15049         * string/memcpy.c (memcpy): Likewise.
15050         * string/memmove.c (MEMMOVE): Likewise.
15051         * string/memset.c (memset): Likewise.
15052         * string/rawmemchr.c (RAWMEMCHR): Likewise.
15053         * string/strchrnul.c (STRCHRNUL): Likewise.
15054         * string/strerror.c (strerror): Likewise.
15055         * string/strndup.c (__strndup): Likewise.
15056         * string/strverscmp.c (__strverscmp): Likewise.
15057         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
15058         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
15059         (clnttcp_freeres): Likewise.
15060         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
15061         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
15062         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
15063         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
15064         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
15065         (xdr_callhdr): Likewise.
15066         * sunrpc/rpcinfo.c (udpping): Likewise.
15067         (tcpping): Likewise.
15068         (pstatus): Likewise.
15069         (pmapdump): Likewise.
15070         (brdcst): Likewise.
15071         (deletereg): Likewise.
15072         (getprognum): Likewise.
15073         (getvers): Likewise.
15074         (get_inet_address): Likewise.
15075         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
15076         * sunrpc/svc_udp.c (svcudp_create): Likewise.
15077         (svcudp_stat): Likewise.
15078         (svcudp_recv): Likewise.
15079         (svcudp_reply): Likewise.
15080         (svcudp_getargs): Likewise.
15081         (svcudp_freeargs): Likewise.
15082         (svcudp_destroy): Likewise.
15083         * sunrpc/xdr.c (xdr_bytes): Likewise.
15084         (xdr_netobj): Likewise.
15085         (xdr_string): Likewise.
15086         (xdr_wrapstring): Likewise.
15087         * sunrpc/xdr_float.c (xdr_float): Likewise.
15088         (xdr_double): Likewise.
15089         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
15090         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
15091         * sysvipc/ftok.c (ftok): Likewise.
15092         * sysvipc/msgctl.c (msgctl): Likewise.
15093         * sysvipc/msgget.c (msgget): Likewise.
15094         * sysvipc/msgrcv.c (msgrcv): Likewise.
15095         * sysvipc/msgsnd.c (msgsnd): Likewise.
15096         * sysvipc/semget.c (semget): Likewise.
15097         * sysvipc/semop.c (semop): Likewise.
15098         * sysvipc/shmat.c (shmat): Likewise.
15099         * sysvipc/shmctl.c (shmctl): Likewise.
15100         * sysvipc/shmdt.c (shmdt): Likewise.
15101         * sysvipc/shmget.c (shmget): Likewise.
15102         * termios/cfmakeraw.c (cfmakeraw): Likewise.
15103         * termios/speed.c (cfgetospeed): Likewise.
15104         (cfgetispeed): Likewise.
15105         (cfsetospeed): Likewise.
15106         (cfsetispeed): Likewise.
15107         * termios/tcflow.c (tcflow): Likewise.
15108         * termios/tcflush.c (tcflush): Likewise.
15109         * termios/tcgetattr.c (__tcgetattr): Likewise.
15110         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
15111         * termios/tcgetsid.c (tcgetsid): Likewise.
15112         * termios/tcsendbrk.c (tcsendbreak): Likewise.
15113         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
15114         * time/adjtime.c (__adjtime): Likewise.
15115         * time/dysize.c (dysize): Likewise.
15116         * time/ftime.c (ftime): Likewise.
15117         * time/getitimer.c (__getitimer): Likewise.
15118         * time/gettimeofday.c (__gettimeofday): Likewise.
15119         * time/gmtime.c (__gmtime_r): Likewise.
15120         (gmtime): Likewise.
15121         * time/localtime.c (__localtime_r): Likewise.
15122         (localtime): Likewise.
15123         * time/offtime.c (__offtime): Likewise.
15124         * time/settimeofday.c (__settimeofday): Likewise.
15125         * time/stime.c (stime): Likewise.
15126         * time/strftime_l.c (tm_diff): Likewise.
15127         (iso_week_days): Likewise.
15128         * time/strptime.c (strptime): Likewise.
15129         * time/time.c (time): Likewise.
15130         * time/timespec_get.c (timespec_get): Likewise.
15131         * time/tzset.c (tzset_internal): Likewise.
15132         (compute_change): Likewise.
15133         (__tz_compute): Likewise.
15134         * wcsmbs/btowc.c (__btowc): Likewise.
15135         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
15136         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
15137         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
15138         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
15139         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
15140         * wcsmbs/wcscat.c (__wcscat): Likewise.
15141         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15142         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
15143         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
15144         * wcsmbs/wcscspn.c (wcscspn): Likewise.
15145         * wcsmbs/wcsdup.c (wcsdup): Likewise.
15146         * wcsmbs/wcslen.c (__wcslen): Likewise.
15147         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
15148         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
15149         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
15150         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
15151         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15152         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
15153         * wcsmbs/wcsspn.c (wcsspn): Likewise.
15154         * wcsmbs/wcsstr.c (wcsstr): Likewise.
15155         * wcsmbs/wcstok.c (wcstok): Likewise.
15156         * wcsmbs/wctob.c (wctob): Likewise.
15157         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
15158         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15159         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
15160         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
15161         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
15162         * wcsmbs/wmemset.c (__wmemset): Likewise.
15163         * wctype/wcfuncs.c (__towlower): Likewise.
15164         (__towupper): Likewise.
15166         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
15167         (lll_unlock_elision): Add adapt_count parameter.
15169 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
15171         * sysdeps/nptl/configure.ac: Do not give errors based on the
15172         results of top-level configure tests.
15173         * sysdeps/nptl/configure: Regenerated.
15175         * configure.ac (libc_cv_Bgroup): Remove configure test.
15176         * configure: Regenerated.
15177         * config.make.in (have-Bgroup): Remove variable.
15179         * configure.ac (sizeof_long_double): Remove configure test.
15180         * configure: Regenerated.
15181         * config.make.in (sizeof-long-double): Remove variable.
15183         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
15184         * configure: Regenerated.
15185         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
15186         variable.
15187         (exceptions): Likewise.
15188         * sysdeps/arm/configure: Regenerated.
15189         * config.make.in (exceptions): Remove variable.
15190         * Makeconfig (uses-callbacks): Use -fexceptions instead of
15191         $(exceptions).
15192         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
15193         (CFLAGS-vdprintf_chk.c): Likewise.
15194         (CFLAGS-printf_chk.c): Likewise.
15195         (CFLAGS-fprintf_chk.c): Likewise.
15196         (CFLAGS-vprintf_chk.c): Likewise.
15197         (CFLAGS-vfprintf_chk.c): Likewise.
15198         (CFLAGS-gets_chk.c): Likewise.
15199         (CFLAGS-fgets_chk.c): Likewise.
15200         (CFLAGS-fgets_u_chk.c): Likewise.
15201         (CFLAGS-fread_chk.c): Likewise.
15202         (CFLAGS-fread_u_chk.c): Likewise.
15203         (CFLAGS-wprintf_chk.c): Likewise.
15204         (CFLAGS-fwprintf_chk.c): Likewise.
15205         (CFLAGS-vwprintf_chk.c): Likewise.
15206         (CFLAGS-vfwprintf_chk.c): Likewise.
15207         (CFLAGS-fgetws_chk.c): Likewise.
15208         (CFLAGS-fgetws_u_chk.c): Likewise.
15209         * libio/Makefile (CFLAGS-fileops.c): Likewise.
15210         (CFLAGS-fputc.c): Likewise.
15211         (CFLAGS-fputwc.c): Likewise.
15212         (CFLAGS-freopen64.c): Likewise.
15213         (CFLAGS-freopen.c): Likewise.
15214         (CFLAGS-fseek.c): Likewise.
15215         (CFLAGS-fseeko64.c): Likewise.
15216         (CFLAGS-fseeko.c): Likewise.
15217         (CFLAGS-ftello64.c): Likewise.
15218         (CFLAGS-ftello.c): Likewise.
15219         (CFLAGS-fwide.c): Likewise.
15220         (CFLAGS-genops.c): Likewise.
15221         (CFLAGS-getc.c): Likewise.
15222         (CFLAGS-getchar.c): Likewise.
15223         (CFLAGS-getwc.c): Likewise.
15224         (CFLAGS-getwchar.c): Likewise.
15225         (CFLAGS-iofclose.c): Likewise.
15226         (CFLAGS-iofflush.c): Likewise.
15227         (CFLAGS-iofgetpos64.c): Likewise.
15228         (CFLAGS-iofgetpos.c): Likewise.
15229         (CFLAGS-iofgets.c): Likewise.
15230         (CFLAGS-iofgetws.c): Likewise.
15231         (CFLAGS-iofputs.c): Likewise.
15232         (CFLAGS-iofputws.c): Likewise.
15233         (CFLAGS-iofread.c): Likewise.
15234         (CFLAGS-iofsetpos64.c): Likewise.
15235         (CFLAGS-iofsetpos.c): Likewise.
15236         (CFLAGS-ioftell.c): Likewise.
15237         (CFLAGS-iofwrite.c): Likewise.
15238         (CFLAGS-iogetdelim.c): Likewise.
15239         (CFLAGS-iogetline.c): Likewise.
15240         (CFLAGS-iogets.c): Likewise.
15241         (CFLAGS-iogetwline.c): Likewise.
15242         (CFLAGS-ioputs.c): Likewise.
15243         (CFLAGS-ioseekoff.c): Likewise.
15244         (CFLAGS-ioseekpos.c): Likewise.
15245         (CFLAGS-iosetbuffer.c): Likewise.
15246         (CFLAGS-iosetvbuf.c): Likewise.
15247         (CFLAGS-ioungetc.c): Likewise.
15248         (CFLAGS-ioungetwc.c): Likewise.
15249         (CFLAGS-oldfileops.c): Likewise.
15250         (CFLAGS-oldiofclose.c): Likewise.
15251         (CFLAGS-oldiofgetpos64.c): Likewise.
15252         (CFLAGS-oldiofgetpos.c): Likewise.
15253         (CFLAGS-oldiofsetpos64.c): Likewise.
15254         (CFLAGS-oldiofsetpos.c): Likewise.
15255         (CFLAGS-peekc.c): Likewise.
15256         (CFLAGS-putc.c): Likewise.
15257         (CFLAGS-putchar.c): Likewise.
15258         (CFLAGS-putwc.c): Likewise.
15259         (CFLAGS-putwchar.c): Likewise.
15260         (CFLAGS-rewind.c): Likewise.
15261         (CFLAGS-wfileops.c): Likewise.
15262         (CFLAGS-wgenops.c): Likewise.
15263         (CFLAGS-oldiofopen.c): Likewise.
15264         (CFLAGS-iofopen.c): Likewise.
15265         (CFLAGS-iofopen64.c): Likewise.
15266         (CFLAGS-oldtmpfile.c): Likewise.
15267         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
15268         (CFLAGS-fprintf.c): Likewise.
15269         (CFLAGS-printf.c): Likewise.
15270         (CFLAGS-vfwprintf.c): Likewise.
15271         (CFLAGS-vfscanf.c): Likewise.
15272         (CFLAGS-vfwscanf.c): Likewise.
15273         (CFLAGS-fscanf.c): Likewise.
15274         (CFLAGS-scanf.c): Likewise.
15275         (CFLAGS-isoc99_vfscanf.c): Likewise.
15276         (CFLAGS-isoc99_vscanf.c): Likewise.
15277         (CFLAGS-isoc99_fscanf.c): Likewise.
15278         (CFLAGS-isoc99_scanf.c): Likewise.
15279         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
15280         (CFLAGS-isoc99_fwscanf.c): Likewise.
15281         (CFLAGS-isoc99_vwscanf.c): Likewise.
15282         (CFLAGS-isoc99_vfwscanf.c): Likewise.
15284         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
15285         after mkstemp64.
15286         * login/tst-utmp.c (do_prepare): Likewise.
15287         * rt/tst-aio.c (do_prepare): Likewise.
15288         * rt/tst-aio64.c (do_prepare): Likewise.
15290 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15292         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
15293         (__lll_lock_elision): Remove adapt_count decrement...
15294         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
15295         (__lll_trylock_elision): Likewise.
15296         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
15297         (__lll_unlock_elision): ... to here. And utilize
15298         new adapt_count parameter.
15299         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
15300         (__lll_unlock_elision): Update to include adapt_count
15301         parameter.
15302         (lll_unlock_elision): Pass pointer to adapt_count
15303         variable.
15305 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15307         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
15308         Add elision adapt_count parameter to list of arguments.
15309         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
15310         (lll_unlock_elision): Update with new parameter list
15311         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
15312         (lll_unlock_elision): Likewise.
15313         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
15314         (lll_unlock_elision): Likewise.
15316 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
15318         [BZ #19122]
15319         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
15320         attribute_hidden.
15322         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
15323         attribute_hidden.
15324         [IS_IN (rtld)] (__strdup): Likewise.
15325         [IS_IN (rtld)] (__strerror_r): Likewise.
15326         [IS_IN (rtld)] (__strsep_g): Likewise.
15327         [IS_IN (rtld)] (memchr): Likewise.
15328         [IS_IN (rtld)] (memcmp): Likewise.
15329         [IS_IN (rtld)] (memcpy): Likewise.
15330         [IS_IN (rtld)] (memmove): Likewise.
15331         [IS_IN (rtld)] (memset): Likewise.
15332         [IS_IN (rtld)] (rawmemchr): Likewise.
15333         [IS_IN (rtld)] (stpcpy): Likewise.
15334         [IS_IN (rtld)] (strchr): Likewise.
15335         [IS_IN (rtld)] (strcmp): Likewise.
15336         [IS_IN (rtld)] (strlen): Likewise.
15337         [IS_IN (rtld)] (strnlen): Likewise.
15338         [IS_IN (rtld)] (strsep): Likewise.
15340         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
15341         attribute_hidden.
15342         [IS_IN (rtld)] (__strtoul_internal): Likewise.
15344         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
15345         attribute_hidden.
15346         [IS_IN (rtld)] (__libc_sigaction): Likewise.
15348         * include/setjmp.h (__longjmp): Add attribute_hidden.
15349         [IS_IN (rtld)] (__sigsetjmp): Likewise.
15351         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
15352         Add attribute_hidden.
15354         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
15355         [IS_IN (rtld)] (__open): Likewise.
15356         [IS_IN (rtld)] (__fcntl): Likewise.
15358         * include/dirent.h (__opendirat): Add attribute_hidden.
15359         (__getdents): Likewise.
15360         (__getdents64): Likewise.
15361         (__alloc_dir): Likewise.
15362         [IS_IN (rtld)] (__closedir): Likewise.
15363         [IS_IN (rtld)] (__fdopendir): Likewise.
15364         [IS_IN (rtld)] (__readdir): Likewise.
15365         [IS_IN (rtld)] (__readdir64): Likewise.
15366         [IS_IN (rtld)] (__rewinddir): Likewise.
15368         * include/dlfcn.h (_dl_catch_error): Moved to ...
15369         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
15370         attribute_hidden.
15372         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
15373         (_itoa_word): Likewise.
15375         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
15376         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
15377         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
15378         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
15379         (_dl_higher_prime_number): Likewise.
15380         (_dl_debug_printf_c): Likewise.
15381         (_dl_signal_cerror): Likewise.
15382         (_dl_receive_error): Likewise.
15383         (_dl_reloc_bad_type): Likewise.
15384         (_dl_resolve_conflicts): Likewise.
15385         (_dl_check_all_versions): Likewise.
15386         (_dl_check_map_versions): Likewise.
15387         (_dl_sort_fini): Likewise.
15388         (_dl_debug_initialize): Likewise.
15389         (_dl_init_paths): Likewise.
15390         (_dl_show_auxv): Likewise.
15391         (_dl_next_ld_env_entry): Likewise.
15392         (_dl_important_hwcaps): Likewise.
15393         (_dl_load_cache_lookup): Likewise.
15394         (_dl_update_slotinfo): Likewise.
15395         (_dl_show_scope): Likewise.
15397         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
15398         attribute_hidden.
15399         (_wordcopy_fwd_dest_aligned): Likewise.
15400         (_wordcopy_bwd_aligned): Likewise.
15401         (_wordcopy_bwd_dest_aligned): Likewise.
15403         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
15404         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
15405         Likewise.
15406         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
15407         Likewise.
15408         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
15410 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
15412         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
15413         GCC 5 requirement.
15415 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
15417         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
15418         test.
15419         * sysdeps/i386/configure: Regenerated.
15420         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
15421         code unconditional.
15423         * configure.ac (libc_cv_asm_previous_directive): Remove configure
15424         test.
15425         (libc_cv_asm_popsection_directive): Likewise.
15426         * configure: Regenerated.
15427         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
15428         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
15429         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
15430         (__make_section_unallocated): Make definition unconditional.
15431         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
15432         Remove conditional definition.
15433         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
15434         (__make_section_unallocated): Likewise.
15436         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
15437         * configure: Regenerated.
15438         * config.make.in (static-libgcc): Remove variable.
15439         * Makerules (build-shlib-helper): Use -static-libgcc instead of
15440         $(static-libgcc).
15441         (build-module-helper): Likewise.
15443         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
15444         * configure: Regenerated.
15446 2015-10-15  Florian Weimer  <fweimer@redhat.com>
15448         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
15449         (struct char_buffer): New type.
15450         (char_buffer_start, char_buffer_size, char_buffer_error)
15451         (char_buffer_rewind, char_buffer_add): New functions.
15452         (ADDW): Remove macro, replaced by the char_buffer_add function.
15453         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
15454         of extend_alloca.  Make control flow more explicit.
15456 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
15458         [BZ #19137]
15459         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
15460         Add -fomit-frame-pointer.
15461         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
15463 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
15465         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
15466         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
15467         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
15468         only if !__GNUC_PREREQ (5,0).
15469         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
15470         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
15471         (INTERNAL_SYSCALL_NCS): Likewise.
15472         (LOADREGS_0): New macro for GCC 5.
15473         (ASMARGS_0): Likewise.
15474         (LOADREGS_1): Likewise.
15475         (ASMARGS_1): Likewise.
15476         (LOADREGS_2): Likewise.
15477         (ASMARGS_2): Likewise.
15478         (LOADREGS_3): Likewise.
15479         (ASMARGS_3): Likewise.
15480         (LOADREGS_4): Likewise.
15481         (ASMARGS_4): Likewise.
15482         (LOADREGS_5): Likewise.
15483         (ASMARGS_5): Likewise.
15484         (LOADREGS_6): Likewise.
15485         (ASMARGS_6): Likewise.
15487 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
15489         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
15490         -fomit-frame-pointer.
15491         (CFLAGS-mmap64.c): Likewise.
15492         (CFLAGS-semtimedop.c): Likewise.
15493         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
15494         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
15495         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15496         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
15498 2015-10-15  Florian Weimer  <fweimer@redhat.com>
15500         [BZ #18928]
15501         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
15502         _dl_pointer_guard member.
15503         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
15504         initializer.
15505         (security_init): Always set up pointer guard.
15506         (process_envvars): Do not process LD_POINTER_GUARD.
15508 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
15510         [BZ #19134]
15511         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
15512         (.LC2): Likewise.
15513         (.LC3): Likewise.
15514         (__lround): Do not add 0.5 to integer or out-of-range arguments.
15516 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15518         [BZ #19129]
15519         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
15520         r0 and r1.
15522 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
15524         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
15526 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
15528         * include/stap-probe.h: Fix macro definition formatting.
15530 2015-10-14  Florian Weimer  <fweimer@redhat.com>
15532         [BZ #19074]
15533         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
15534         load and store num_ifs.
15536 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
15538         [BZ #18822]
15539         * sysdeps/unix/sysv/linux/sched_getaffinity.c
15540         (__sched_getaffinity_new): Add libc_hidden_proto and
15541         libc_hidden_def.
15543 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
15545         [BZ #19007]
15546         * scripts/localplt.awk: Also allow GOT references.
15547         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
15548         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
15549         with "+ REL R_386_GLOB_DAT".
15550         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
15551         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
15553 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
15555         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
15556         INLINE_SYSCALL_ERROR_RETURN_VALUE.
15557         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
15558         Likewise.
15559         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
15560         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
15561         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
15562         INTERNAL_SYSCALLINTERNAL_SYSCALL and
15563         INLINE_SYSCALL_ERROR_RETURN_VALUE.
15564         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
15565         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
15566         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
15567         Likewise.
15568         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15570 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
15572         [BZ #19125]
15573         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
15574         <math_private.h> and <stdint.h>.
15575         (__llround): Avoid conversions to and from long long int, and
15576         subtractions, where those might raise spurious exceptions.
15577         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
15578         <math_private.h> and <stdint.h>.
15579         (__llroundf): Avoid conversions to and from long long int, and
15580         subtractions, where those might raise spurious exceptions.
15582 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
15584         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
15585         INLINE_SYSCALL_ERROR_RETURN_VALUE.
15586         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
15587         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
15588         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
15589         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
15590         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
15591         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
15592         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
15593         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
15594         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
15595         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15596         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
15597         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
15598         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
15599         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
15600         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
15601         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
15602         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
15603         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
15604         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
15605         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
15606         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
15607         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
15608         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
15609         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
15610         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
15611         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
15612         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
15613         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
15614         (__xstat64_conv): Likewise.
15615         (__xstat32_conv): Likewise.
15617 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
15619         * sysdeps/unix/sysv/linux/sysdep.h: New file.
15620         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
15621         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
15622         <sysdeps/unix/sysv/linux/sysdep.h>.
15623         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
15624         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
15625         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
15626         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
15627         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
15628         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
15629         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
15630         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
15631         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
15632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15634         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15635         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15636         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15637         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
15638         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15639         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
15640         (sysdep-dl-routines): Add sysdep.
15641         [$(subdir) == nptl] (libpthread-routines): Likewise.
15642         [$(subdir) == rt] (librt-routines): Likewise.
15643         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
15644         PIC when branching to SYSCALL_ERROR_LABEL.
15645         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
15646         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
15647         <sysdeps/unix/sysv/linux/sysdep.h>.
15648         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
15649         (SYSCALL_ERROR_ERRNO): Removed.
15650         (SYSCALL_ERROR_HANDLER): Changed to empty.
15651         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
15652         (__syscall_error): New prototype.
15653         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
15654         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
15656 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
15658         [BZ #19124]
15659         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
15660         (_dl_runtime_resolve_avx512): Make it a hidden alias of
15661         _dl_runtime_resolve_avx.
15662         (_dl_runtime_profile_avx512): Make it a hidden alias of
15663         _dl_runtime_profile_avx.
15665 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
15667         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
15668         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
15669         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
15670         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
15672         [BZ #16422]
15673         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
15674         New configure test.
15675         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
15676         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
15677         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
15678         <math_private.h> and <stdint.h>.
15679         (__llrint): Avoid conversions to long long int where those might
15680         raise spurious exceptions.
15681         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
15682         <math_private.h> and <stdint.h>.
15683         (__llrintf): Avoid conversions to long long int where those might
15684         raise spurious exceptions.
15686 2015-10-12  Andreas Schwab  <schwab@suse.de>
15688         [BZ #18969]
15689         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
15690         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
15691         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
15692         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
15693         $(gen-locales).
15694         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
15695         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
15696         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
15697         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
15698         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
15699         $(gen-locales).
15700         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
15701         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
15702         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
15703         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
15704         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
15705         ($(objpfx)tst-ftell-active-handler.out)
15706         ($(objpfx)tst-ftell-append.out)
15707         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
15708         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
15709         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
15710         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
15711         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
15712         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
15713         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
15714         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
15715         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
15716         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
15717         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
15718         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
15719         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
15720         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
15721         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
15722         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
15723         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
15724         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
15725         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
15726         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
15727         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
15728         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
15729         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
15730         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
15731         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
15732         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
15733         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
15734         $(gen-locales).
15735         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
15736         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
15737         $(gen-locales).
15738         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
15739         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
15740         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
15741         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
15742         $(gen-locales).
15743         * libio/tst_wprintf2.c (main): Use explicit locale.
15744         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
15746 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15748         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
15749         __msg_sig_post.
15750         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
15752 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
15754         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15755         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15757         * sysdeps/arm/libm-test-ulps: Regenerated.
15759         [BZ #15470]
15760         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
15762         [BZ #16399]
15763         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
15764         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
15765         and <fix-fp-int-convert-overflow.h>.
15766         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
15767         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15768         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
15769         and <fix-fp-int-convert-overflow.h>.
15770         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
15771         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15772         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
15773         <fix-fp-int-convert-overflow.h>.
15774         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
15775         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15776         * sysdeps/ieee754/dbl-64/s_lround.c: Include
15777         <fix-fp-int-convert-overflow.h>.
15778         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
15779         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15780         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
15781         and <fix-fp-int-convert-overflow.h>.
15782         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
15783         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15784         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
15785         <limits.h> and <fix-fp-int-convert-overflow.h>.
15786         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
15787         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15788         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
15789         and <fix-fp-int-convert-overflow.h>.
15790         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
15791         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15792         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
15793         and <fix-fp-int-convert-overflow.h>.
15794         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
15795         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15796         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
15798 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
15800         [BZ #18589]
15801         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
15802         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
15803         $(gen-locales).
15805 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15806             Phil Blundell <pb@pbcl.net>
15808         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
15809         * nptl/tst-cancel26.c: New file.
15810         * nptl/tst-cancel27.c: Likewise.
15812 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
15814         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
15815         __ILP32__ isn't defined.
15816         (lrint): Likewise.
15817         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
15818         (lrintf): Likewise.
15819         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
15820         (lrintl): Likewise.
15821         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
15822         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
15823         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
15825 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15827         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
15828         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
15830         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
15831         file.
15832         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
15833         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
15835 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
15837         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
15838         configure test.
15839         * sysdeps/i386/configure: Regenerated.
15840         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
15841         configure test.
15842         * sysdeps/x86_64/configure: Regenerated.
15843         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
15844         Make code unconditional.
15846         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
15847         test.
15848         * sysdeps/i386/configure: Regenerated.
15849         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
15850         test.
15851         * sysdeps/x86_64/configure: Regenerated.
15852         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
15853         Make code unconditional.
15854         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
15855         Likewise.
15856         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
15857         Likewise.
15858         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15859         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
15860         code unconditional.
15861         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15862         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
15863         code unconditional.
15864         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15865         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
15866         code unconditional.
15867         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
15868         code unconditional.
15869         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15870         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
15871         code unconditional.
15872         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15873         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
15874         code unconditional.
15875         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15876         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
15877         code unconditional.
15878         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15879         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
15880         code unconditional.
15881         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15882         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
15884         [BZ #19095]
15885         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
15886         mantissa to long int before shifting left.
15888 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
15890         [BZ #19094]
15891         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
15892         <limits.h>.
15893         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
15894         when result overflows but exception would not result from cast.
15895         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
15896         <limits.h>.
15897         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
15898         when result overflows but exception would not result from cast.
15899         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
15900         <limits.h>.
15901         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
15902         when result overflows but exception would not result from cast.
15903         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
15904         <limits.h>.
15905         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
15906         when result overflows but exception would not result from cast.
15907         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
15908         <limits.h>.
15909         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
15910         when result overflows but exception would not result from cast.
15911         * math/libm-test.inc (lrint_test_data): Add more tests.
15912         (llrint_test_data): Likewise.
15914 2015-10-08  Roland McGrath  <roland@hack.frob.com>
15916         [BZ #18872]
15917         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
15918         Move out from under [$(run-built-tests) = yes] conditional.
15919         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
15920         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
15922 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
15924         [BZ #18589]
15925         * string/Makefile (tests): Add bug-strcoll2.
15926         (LOCALES): Add cs_CZ.UTF-8.
15927         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
15929         [BZ #18589]
15930         * string/bug-strcoll2.c: New file.
15931         * locale/categories.def: Revert commit
15932         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
15933         * locale/langinfo.h: Likewise.
15934         * locale/localeinfo.h: Likewise.
15935         * locale/C-collate.c: Likewise.
15936         * locale/programs/ld-collate.c (collate_output): Likewise.
15937         * string/strcoll_l.c (STRDIFF): Likewise.
15938         (STRCOLL): Likewise.
15939         * wcsmbs/wcscoll_l.c: Likewise.
15941 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
15943         * math/libm-test.inc (lround_test_data): Do not expect the absence
15944         of "inexact" for some tests with non-integer arguments.
15945         (llround_test_data): Likewise.
15947         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
15948         test.
15949         (libc_cv_cc_sse2avx): Likewise.
15950         * sysdeps/i386/configure: Regenerated.
15951         * sysdeps/i386/i686/multiarch/Makefile
15952         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
15953         [$(subdir) = math].
15954         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
15955         code unconditional.
15956         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
15957         Likewise.
15958         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
15959         Likewise.
15960         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
15961         Likewise.
15962         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
15963         test.
15964         (libc_cv_cc_sse2avx): Likewise.
15965         * sysdeps/x86_64/configure: Regenerated.
15966         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
15967         unconditional.
15968         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
15969         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
15970         unconditional.
15971         (_dl_runtime_profile)
15972         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
15973         conditional code.
15974         * sysdeps/x86_64/fpu/multiarch/Makefile
15975         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
15976         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
15977         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15978         * sysdeps/x86_64/fpu/multiarch/e_exp.c
15979         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15980         * sysdeps/x86_64/fpu/multiarch/e_log.c
15981         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15982         * sysdeps/x86_64/fpu/multiarch/s_atan.c
15983         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15984         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
15985         Likewise.
15986         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
15987         Likewise.
15988         * sysdeps/x86_64/fpu/multiarch/s_sin.c
15989         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15990         * sysdeps/x86_64/fpu/multiarch/s_tan.c
15991         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15992         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
15993         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
15994         (HAVE_SSE2AVX_SUPPORT): Likewise.
15996 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
15998         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
15999         instead of #pragma optimize.
16001 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
16003         [BZ #17195]
16004         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
16005         as is similarly done in systrim and _int_free already.
16007 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16009         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
16011 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
16013         [BZ #19088]
16014         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
16015         <limits.h>.
16016         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
16017         overflows but exception would not result from cast.
16018         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
16019         and <limits.h>.
16020         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
16021         overflows but exception would not result from cast.
16022         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
16023         <limits.h>.
16024         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
16025         overflows but exception would not result from cast.
16026         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
16027         <limits.h>.
16028         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
16029         overflows but exception would not result from cast.
16030         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
16031         <limits.h>.
16032         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
16033         overflows but exception would not result from cast.
16034         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
16035         <limits.h>.
16036         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
16037         overflows but exception would not result from cast.
16038         * math/libm-test.inc (lround_test_data): Add more tests.
16039         (llround_test_data): Likewise.
16041 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
16043         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
16044         (CFLAGS-ialloc.c): Ditto.
16045         (CFLAGS-scheck.c): Ditto.
16047 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
16049         [BZ #19086]
16050         * manual/filesys.texi (Storage Allocation): Fix argument order for
16051         posix_fallocate64.
16053 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
16055         [BZ #19085]
16056         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
16057         exponent below 48 inside case for non-overflowing exponent.
16058         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
16060 2015-10-07  Florian Weimer  <fweimer@redhat.com>
16062         * iconvdata/cp737.h (from_idx): Add const.
16063         * iconvdata/cp775.h (from_idx): Likewise.
16065 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
16067         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
16068         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
16069         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
16071         [BZ #19079]
16072         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
16073         file, conditioned on [!_LP64].
16074         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
16075         [!_LP64] (__lround): Do not define as function or alias.
16076         [!_LP64] (lround): Likewise.
16077         [!_LP64] (__lroundl): Likewise.
16078         [!_LP64] (lroundl): Likewise.
16079         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
16080         macro.
16081         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
16082         Likewise.
16084 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
16086         * math/libm-test.inc (lrint_test_data): Add more tests.
16087         (llrint_test_data): Likewise.
16088         (lround_test_data): Likewise.
16089         (llround_test_data): Likewise.
16091         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
16092         (llrint_test_data): Add tests used for lrint.
16094         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
16095         test.
16096         * sysdeps/i386/configure: Regenerated.
16097         * sysdeps/i386/i686/multiarch/Makefile
16098         [$(config-cflags-sse4) = yes]: Make code unconditional.
16099         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
16100         Likewise.
16101         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
16102         Likewise.
16103         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
16104         test.
16105         * sysdeps/x86_64/configure: Regenerated.
16106         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
16107         Make code unconditional.
16108         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
16109         Likewise.
16110         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
16111         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
16113         * scripts/rpm2dynsym.sh: Remove file.
16115 2015-10-06  Florian Weimer  <fweimer@redhat.com>
16117         * configure.ac (libc_cv_cxx_thread_local): Define.
16118         * configure: Regenerate.
16119         * config.make.in (have-cxx-thread_local): Define.
16120         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
16121         (LDLIBS-tst-thread_local1): Define.
16122         (tests): Add tst-thread_local1.
16123         [have-cxx-thread_local != yes] (tests-unsupported): Add
16124         tst-thread_local1.
16125         * nptl/tst-thread_local1.cc: New file.
16127 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
16129         [BZ #19078]
16130         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
16131         (u_thres): Likewise.
16132         (__expl): Determine whether to call __kernel_standard_l based on
16133         value of result, not argument.
16135         * math/libm-test.inc (scalb_test_data): Add more expectations for
16136         the "inexact" exception.
16138         [BZ #19077]
16139         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
16140         0.0L for argument 1.0L.
16142         [BZ #19076]
16143         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
16144         constant 0.0L when computing infinite result.
16146 2015-10-06  Florian Weimer  <fweimer@redhat.com>
16148         [BZ #10432]
16149         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
16150         malloc_usable_size.
16152 2015-10-06  Florian Weimer  <fweimer@redhat.com>
16154         [BZ #19018]
16155         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
16156         Mangle function pointer before storing it.
16157         (__call_tls_dtors): Demangle function pointer before calling it.
16159 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
16161         [BZ #19012]
16162         * iconv/gconv_db.c (gen_steps): Check for additional errors.
16163         Clean up on failure.
16165 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
16167         [BZ #19071]
16168         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
16169         long int variable to store possibly incremented high part of
16170         mantissa.
16171         * math/libm-test.inc (lround_test_data): Add tests used for
16172         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
16173         for tests requiring 64-bit long.  Do not condition tests on
16174         [TEST_FLOAT] unnecessarily.
16175         (llround_test_data): Add tests used for lround.  Add another
16176         expectation for the "inexact" exception.  Do not condition tests
16177         on [TEST_FLOAT] unnecessarily.
16179         [BZ #887]
16180         [BZ #19049]
16181         [BZ #19050]
16182         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
16183         * sysdeps/ieee754/dbl-64/e_log10.c: Include
16184         <fix-int-fp-convert-zero.h>.
16185         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16186         * sysdeps/ieee754/dbl-64/e_log2.c: Include
16187         <fix-int-fp-convert-zero.h>.
16188         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16189         * sysdeps/ieee754/dbl-64/s_erf.c: Include
16190         <fix-int-fp-convert-zero.h>.
16191         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16192         * sysdeps/ieee754/dbl-64/s_logb.c: Include
16193         <fix-int-fp-convert-zero.h>.
16194         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16195         * sysdeps/ieee754/flt-32/e_log10f.c: Include
16196         <fix-int-fp-convert-zero.h>.
16197         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16198         * sysdeps/ieee754/flt-32/e_log2f.c: Include
16199         <fix-int-fp-convert-zero.h>.
16200         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16201         * sysdeps/ieee754/flt-32/s_erff.c: Include
16202         <fix-int-fp-convert-zero.h>.
16203         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16204         * sysdeps/ieee754/flt-32/s_logbf.c: Include
16205         <fix-int-fp-convert-zero.h>.
16206         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16207         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
16208         <fix-int-fp-convert-zero.h>.
16209         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16210         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
16211         <fix-int-fp-convert-zero.h>.
16212         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16213         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
16214         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
16215         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
16216         file.
16217         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
16219 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
16221         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16223 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
16225         [BZ #19059]
16226         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
16227         overflowing computation.
16228         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16229         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
16230         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
16231         Likewise.
16232         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
16233         Likewise.
16234         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
16235         Likewise.
16236         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16237         Likewise.
16238         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16239         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16240         Likewise.
16241         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16242         Likewise.
16243         * math/libm-test.inc (nexttoward_test_data): Add more tests.
16245         * nss/rewrite_field.c (__nss_rewrite_field): Use
16246         internal_function.
16247         * nss/valid_field.c (__nss_valid_field): Likewise.
16248         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
16250 2015-10-02  Florian Weimer  <fweimer@redhat.com>
16252         [BZ #18724]
16253         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
16254         (__nss_invalid_field_characters, __nss_valid_field)
16255         (__nss_valid_list_field, __nss_rewrite_field): Declare.
16256         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
16257         tst-field.c: New file.
16258         * nss/Makefile (routines): Add valid_field, rewrite_field.
16259         (tests-static): Define unconditionally.
16260         (tests): Include tests-static.
16261         [build-static-nss] (tests-static): Use append.
16262         [build-static-nss] (tests): Remove modification.
16263         * nss/getent.c (print_group): Call putgrent.  Report error.
16264         (print_gshadow): Call putsgent.  Report error.
16265         (print_passwd): Call putpwent.  Report error.
16266         (print_shadow): Call putspent.  Report error.
16267         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
16268         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
16269         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
16270         name, password, directory, shell fields for valid syntax.  Rewrite
16271         GECOS field to match syntax.
16272         * pwd/Makefile (tests): Add tst-putpwent.
16273         * pwd/tst-putpwent.c: New file.
16274         * grp/putgrent.c (putgrent): Convert to ISO function definition.
16275         Check grName, grpasswd, gr_mem fields for valid syntax.
16276         Change loop variable i to size_t.
16277         * grp/Makefile (tests): Add tst-putgrent.
16278         * grp/tst-putgrent.c: New file.
16279         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
16280         valid syntax.
16281         * shadow/Makefile (tests): Add tst-putspent.
16282         * shadow/tst-putspent.c: New file.
16283         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
16284         sg_mem fields for valid syntax.
16285         * gshadow/Makefile (tests): Add tst-putsgent.
16286         * gshadow/tst-putsgent.c: New file.
16288 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16290         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
16291         assembly instructions.
16293 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16295         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
16296         prefix from operands.
16298 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
16300         [BZ #16347]
16301         [BZ #19046]
16302         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
16303         <libc-internal.h>.
16304         (MAXLGM): Do not use diagnostic control macros.
16305         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
16306         threshold for ldbl-128ibm.
16307         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
16308         instead of multiplying by log then subtracting.
16309         * math/auto-libm-test-in: Add more tests of lgamma.
16310         * math/auto-libm-test-out: Regenerated.
16312         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
16313         (TYPE_HEX_DIG): Likewise.
16314         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
16315         precisions when printing floating-point numbers.
16316         (check_float_internal): Likewise.
16318 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
16320         [BZ #16620]
16321         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
16322         of log (10) rounded downward to 48 bits.
16323         (log10_low): Use corresponding low part of log (10).
16325         [BZ #19032]
16326         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
16327         compute result as (x - x) / (x - x) not as 0 / 0.
16328         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
16329         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
16331         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16332         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
16333         and expm1.
16334         * math/auto-libm-test-out: Regenerated.
16335         * math/libm-test.inc (acos_test_data): Add more tests.
16336         (asin_test_data): Likewise.
16337         (asinh_test_data): Likewise.
16338         (atan_test_data): Likewise.
16339         (atanh_test_data): Likewise.
16340         (atan2_test_data): Likewise.
16341         (cbrt_test_data): Likewise.
16342         (ceil_test_data): Likewise.
16343         (copysign_test_data): Likewise.
16344         (cos_test_data): Likewise.
16345         (cosh_test_data): Likewise.
16346         (erf_test_data): Likewise.
16347         (erfc_test_data): Likewise.
16348         (exp_test_data): Likewise.
16349         (exp10_test_data): Likewise.
16350         (exp2_test_data): Likewise.
16351         (expm1_test_data): Likewise.
16352         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16354 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
16356         [BZ #19006]
16357         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
16358         to ...
16359         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
16360         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
16361         to ...
16362         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
16363         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
16364         to ...
16365         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
16366         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
16367         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
16368         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
16369         to ...
16370         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
16371         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
16372         Moved to ...
16373         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
16374         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
16375         Moved to ...
16376         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
16377         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
16378         to ...
16379         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
16380         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
16381         Moved to ...
16382         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
16383         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
16384         to ...
16385         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
16386         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
16387         Removed.
16388         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
16389         Likewise.
16390         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
16391         Likewise.
16392         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
16393         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
16394         Likewise.
16395         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
16396         Likewise.
16397         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
16398         Likewise.
16399         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
16400         Likewise.
16401         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
16402         Likewise.
16403         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
16404         Likewise.
16405         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
16406         Likewise.
16407         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
16408         Likewise.
16409         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
16410         Likewise.
16411         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
16412         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
16413         Likewise.
16414         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
16415         Likewise.
16416         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
16417         Likewise.
16418         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
16419         Likewise.
16420         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
16421         Likewise.
16422         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
16423         Replace ../i486/pthread_cond_timedwait.S with
16424         ../pthread_cond_timedwait.S.
16426 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
16428         * math/libm-test.inc (acos_test_data): Refine expectations for
16429         errno and "inexact" exceptions.
16430         (acosh_test_data): Likewise.
16431         (asin_test_data): Likewise.
16432         (asinh_test_data): Likewise.
16433         (atan_test_data): Likewise.
16434         (atanh_test_data): Likewise.
16435         (atan2_test_data): Likewise.
16436         (cbrt_test_data): Likewise.
16437         (ceil_test_data): Likewise.
16438         (copysign_test_data): Likewise.
16439         (cosh_test_data): Likewise.
16440         (erf_test_data): Likewise.
16441         (erfc_test_data): Likewise.
16442         (exp_test_data): Likewise.
16443         (exp10_test_data): Likewise.
16444         (exp2_test_data): Likewise.
16445         (expm1_test_data): Likewise.
16446         (fabs_test_data): Likewise.
16447         (floor_test_data): Likewise.
16448         (fma_test_data): Likewise.
16449         (fmax_test_data): Likewise.
16450         (fmin_test_data): Likewise.
16451         (fmod_test_data): Likewise.
16452         (fpclassify_test_data): Likewise.
16453         (frexp_test_data): Likewise.
16454         (hypot_test_data): Likewise.
16455         (ilogb_test_data): Likewise.
16456         (isgreater_test_data): Likewise.
16457         (isgreaterequal_test_data): Likewise.
16458         (isinf_test_data): Likewise.
16459         (isless_test_data): Likewise.
16460         (islessequal_test_data): Likewise.
16461         (islessgreater_test_data): Likewise.
16462         (isnan_test_data): Likewise.
16463         (isnormal_test_data): Likewise.
16464         (issignaling_test_data): Likewise.
16465         (isunordered_test_data): Likewise.
16466         (j0_test_data): Likewise.
16467         (j1_test_data): Likewise.
16468         (jn_test_data): Likewise.
16469         (lgamma_test_data): Likewise.
16470         (lrint_test_data): Likewise.
16471         (llrint_test_data): Likewise.
16472         (log_test_data): Likewise.
16473         (log10_test_data): Likewise.
16474         (log1p_test_data): Likewise.
16475         (log2_test_data): Likewise.
16476         (logb_test_data): Likewise.
16477         (lround_test_data): Likewise.
16478         (llround_test_data): Likewise.
16479         (modf_test_data): Likewise.
16480         (nearbyint_test_data): Likewise.
16481         (nextafter_test_data): Likewise.
16482         (nexttoward_test_data): Likewise.
16483         (pow_test_data): Likewise.
16484         (remainder_test_data): Likewise.
16485         (remquo_test_data): Likewise.
16486         (rint_test_data): Likewise.
16487         (round_test_data): Likewise.
16488         (signbit_test_data): Likewise.
16489         (sinh_test_data): Likewise.
16490         (sqrt_test_data): Likewise.
16491         (tanh_test_data): Likewise.
16492         (tgamma_test_data): Likewise.
16493         (trunc_test_data): Likewise.
16494         (y0_test_data): Likewise.
16495         (y1_test_data): Likewise.
16496         (yn_test_data): Likewise.
16497         (significand_test_data): Likewise.
16499 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
16501         * manual/filesys.texi (Storage Allocation): Document that
16502         posix_fallocate emulation fails when fd is open with O_WRONLY.
16504 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
16506         [BZ #19016]
16507         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
16508         allow more cases with X^2 + Y^2 >= 0.5.
16509         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
16510         normal element in sum instead of special-casing based on values of
16511         arguments.
16512         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
16513         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
16514         -1 as normal element in sum instead of special-casing based on
16515         values of arguments.
16516         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
16517         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
16518         (__x2y2m1): Update comment.
16519         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
16520         as normal element in sum instead of special-casing based on values
16521         of arguments.
16522         * math/s_clog.c (__clog): Handle more cases using log1p without
16523         hypot.
16524         * math/s_clog10.c (__clog10): Likewise.
16525         * math/s_clog10f.c (__clog10f): Likewise.
16526         * math/s_clog10l.c (__clog10l): Likewise.
16527         * math/s_clogf.c (__clogf): Likewise.
16528         * math/s_clogl.c (__clogl): Likewise.
16529         * math/auto-libm-test-in: Add more tests of clog and clog10.
16530         * math/auto-libm-test-out: Regenerated.
16531         * sysdeps/i386/fpu/libm-test-ulps: Update.
16532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16534 2015-09-28  Martin Sebor  <msebor@redhat.com>
16536         [BZ #18969]
16537         * string/Makefile (LOCALES): Define.
16538         (gen-locales.mk): Include.
16539         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
16540         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
16541         * string/tst-strxfrm2.c (do_test): Print the name of the locale
16542         on setlocale failure.
16544 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
16546         [BZ #18985]
16547         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
16548         (__strftime_internal): Likewise.
16549         * time/tst-strftime.c (do_bz18985): New test.
16550         (do_test): Call it.
16552 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
16554         [BZ #18956]
16555         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
16556         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
16557         extracting high part.
16558         * math/auto-libm-test-in: Add another test of pow.
16559         * math/auto-libm-test-out: Regenerated.
16560         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16562 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
16564         [BZ #18825]
16565         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
16566         New macro.
16567         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
16568         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
16569         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
16570         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
16571         DBL_NARROW_EVAL, reloading the PIC register as needed.
16572         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
16573         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
16574         FLT_NARROW_EVAL.  Use separate return path for case when first
16575         argument is NaN.
16576         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
16577         DEFINE_LDBL_MIN.
16578         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
16579         PIC register.
16580         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
16581         math_check_force_underflow_nonneg.
16582         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
16583         underflow for subnormal result.
16584         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
16585         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
16586         math_check_force_underflow_nonneg.
16587         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
16588         math_check_force_underflow.
16589         * sysdeps/x86_64/fpu/x86_64-math-asm.h
16590         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
16591         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
16592         DEFINE_LDBL_MIN.
16593         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
16594         * math/auto-libm-test-in: Add more tests of pow.
16595         * math/auto-libm-test-out: Regenerated.
16597 2015-09-25  Florian Weimer  <fweimer@redhat.com>
16599         * nss/bug17079.c (init_test_items): Add diagnostic for
16600         inconsistent entries.
16601         (test_buffer_size): Skip inconsistent entries.
16603 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
16605         [BZ #13304]
16606         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
16607         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
16608         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
16610         [BZ #13304]
16611         * sysdeps/microblaze/s_fma.c: New file.
16612         * sysdeps/microblaze/s_fmaf.c: Likewise.
16613         * sysdeps/microblaze/sfp-machine.h: Likewise.
16615 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
16617         [BZ #17250]
16618         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
16619         member.
16621 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
16623         [BZ #18803]
16624         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
16625         (MO): New macro.
16626         (__ieee754_hypot) [PIC]: Load PIC register.
16627         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
16628         DBL_NARROW_EVAL.
16629         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
16630         math_check_force_underflow_nonneg in case where result might be
16631         tiny.
16632         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
16633         Likewise.
16634         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
16635         Likewise.
16636         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
16637         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
16638         * math/auto-libm-test-in: Add more tests of hypot.
16639         * math/auto-libm-test-out: Regenerated.
16641 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
16643         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
16645 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
16647         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
16648         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
16649         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
16650         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
16651         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
16652         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
16653         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
16655         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
16656         LOAD_PIC_REG.
16658         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
16659         (FLT_CHECK_FORCE_UFLOW): Likewise.
16660         (DBL_CHECK_FORCE_UFLOW): Likewise.
16661         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
16662         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
16663         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
16664         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
16665         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
16666         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
16667         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
16668         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
16669         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
16670         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16671         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
16672         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
16673         (flt_min): Replace with use of DEFINE_FLT_MIN.
16674         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
16675         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
16676         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16677         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
16678         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
16679         (flt_min): Replace with use of DEFINE_FLT_MIN.
16680         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
16681         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
16682         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16683         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
16684         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
16685         (flt_min): Replace with use of DEFINE_FLT_MIN.
16686         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
16687         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
16688         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
16689         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
16690         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
16691         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
16692         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
16693         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
16694         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16695         (__atan): Use DBL_CHECK_FORCE_UFLOW.
16696         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
16697         (flt_min): Replace with use of DEFINE_FLT_MIN.
16698         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
16699         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
16700         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16701         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
16702         main computation.
16703         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
16704         (flt_min): Replace with use of DEFINE_FLT_MIN.
16705         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
16706         main computation.
16707         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
16708         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16709         (MO): New macro.
16710         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
16711         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
16712         (flt_min): Replace with use of DEFINE_FLT_MIN.
16713         (MO): New macro.
16714         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
16715         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
16716         (__log1pl): Use MO.
16718         [BZ #19003]
16719         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
16720         $(config-cflags-nofma).
16722 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16724         * sysdeps/aarch64/libm-test-ulps: Regenerated.
16726 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
16728         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
16729         (TWO127): Likewise.
16731         * sysdeps/generic/math_private.h (fabs_tg): New macro.
16732         (min_of_type): Likewise.
16733         (math_check_force_underflow): Likewise.
16734         (math_check_force_underflow_nonneg): Likewise.
16735         (math_check_force_underflow_complex): Likewise.
16736         * math/e_exp2l.c (__ieee754_exp2l): Use
16737         math_check_force_underflow_nonneg.
16738         * math/k_casinh.c (__kernel_casinh): Likewise.
16739         * math/k_casinhf.c (__kernel_casinhf): Likewise.
16740         * math/k_casinhl.c (__kernel_casinhl): Likewise.
16741         * math/s_catan.c (__catan): Use
16742         math_check_force_underflow_complex.
16743         * math/s_catanf.c (__catanf): Likewise.
16744         * math/s_catanh.c (__catanh): Likewise.
16745         * math/s_catanhf.c (__catanhf): Likewise.
16746         * math/s_catanhl.c (__catanhl): Likewise.
16747         * math/s_catanl.c (__catanl): Likewise.
16748         * math/s_ccosh.c (__ccosh): Likewise.
16749         * math/s_ccoshf.c (__ccoshf): Likewise.
16750         * math/s_ccoshl.c (__ccoshl): Likewise.
16751         * math/s_cexp.c (__cexp): Likewise.
16752         * math/s_cexpf.c (__cexpf): Likewise.
16753         * math/s_cexpl.c (__cexpl): Likewise.
16754         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
16755         * math/s_clog10.c (__clog10): Likewise.
16756         * math/s_clog10f.c (__clog10f): Likewise.
16757         * math/s_clog10l.c (__clog10l): Likewise.
16758         * math/s_clogf.c (__clogf): Likewise.
16759         * math/s_clogl.c (__clogl): Likewise.
16760         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
16761         * math/s_csinf.c (__csinf): Likewise.
16762         * math/s_csinh.c (__csinh): Likewise.
16763         * math/s_csinhf.c (__csinhf): Likewise.
16764         * math/s_csinhl.c (__csinhl): Likewise.
16765         * math/s_csinl.c (__csinl): Likewise.
16766         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
16767         * math/s_csqrtf.c (__csqrtf): Likewise.
16768         * math/s_csqrtl.c (__csqrtl): Likewise.
16769         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
16770         * math/s_ctanf.c (__ctanf): Likewise.
16771         * math/s_ctanh.c (__ctanh): Likewise.
16772         * math/s_ctanhf.c (__ctanhf): Likewise.
16773         * math/s_ctanhl.c (__ctanhl): Likewise.
16774         * math/s_ctanl.c (__ctanl): Likewise.
16775         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
16776         instead of volatile.
16777         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
16778         math_check_force_underflow.
16779         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
16780         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
16781         volatile when forcing underflow.
16782         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
16783         math_check_force_underflow_nonneg.
16784         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
16785         Likewise.
16786         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
16787         math_check_force_underflow.
16788         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16789         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16790         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16791         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
16792         math_check_force_underflow_nonneg.
16793         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
16794         math_check_force_underflow.
16795         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
16796         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
16797         instead of volatile.
16798         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
16799         math_check_force_underflow.
16800         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
16801         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
16802         math_check_force_underflow_nonneg.
16803         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
16804         math_check_force_underflow.
16805         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
16806         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
16807         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
16808         math_check_force_underflow_nonneg.
16809         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
16810         Likewise.
16811         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
16812         math_check_force_underflow.
16813         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16814         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
16815         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
16816         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
16817         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
16818         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
16819         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
16820         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
16821         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
16822         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
16823         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
16824         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
16825         Likewise.
16826         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
16827         math_check_force_underflow_nonneg.
16828         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
16829         Likewise.
16830         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
16831         math_check_force_underflow.
16832         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16833         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
16834         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16835         Likewise.
16836         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
16837         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
16838         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
16839         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
16840         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
16841         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
16842         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
16843         instead of volatile.
16844         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
16845         math_check_force_underflow.
16846         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
16847         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
16848         math_check_force_underflow.
16849         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
16850         Likewise.
16851         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16852         Use math_check_force_underflow_nonneg.
16853         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
16854         math_check_force_underflow.
16855         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
16856         Likewise.
16857         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16858         Likewise.
16859         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16860         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16861         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16862         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16863         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
16864         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16865         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
16866         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
16867         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
16868         math_check_force_underflow_nonneg.
16869         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
16870         math_check_force_underflow.
16871         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16872         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
16873         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
16874         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
16875         math_check_force_underflow_nonneg.
16876         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
16877         math_check_force_underflow.
16878         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
16879         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
16880         instead of volatile.
16881         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
16882         math_check_force_underflow.
16884         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
16885         * stdlib/strtod_l.c: Include <math_private.h>.
16886         (overflow_value): Use math_narrow_eval.
16887         (underflow_value): Likewise.
16888         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16889         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
16890         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
16891         (__ieee754_gamma_r): Likewise.
16892         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
16893         Likewise.
16894         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
16895         Likewise.
16896         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
16897         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
16898         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
16899         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
16900         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
16901         (__ieee754_gammaf_r): Likewise.
16902         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
16903         Likewise.
16904         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
16905         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
16906         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
16907         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
16908         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
16909         volatile.
16910         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
16911         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
16912         math_narrow_eval.
16913         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
16914         Likewise.
16915         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16916         Likewise.
16917         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
16918         Likewise.
16919         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
16920         volatile.
16921         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
16922         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
16923         math_narrow_eval.
16924         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16925         Likewise.
16926         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16927         Likewise.
16929 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
16931         * nptl/Versions: Remove ignored symbols.
16933 2015-09-22  Florian Weimer  <fweimer@redhat.com>
16935         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
16936         * nss/Makefile (tests): Update.
16938 2015-09-22  Florian Weimer  <fweimer@redhat.com>
16940         * nss/bug18287.c: New file.
16941         * nss/Makefile (tests): Add bug18287.
16943 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16945         * mach/Versions (__mach_host_self_): Add symbol.
16947 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16949         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
16950         vm_page_size.
16952 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16954         Really fix sysdeps/i386/fpu/s_scalbn.S build
16956         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
16957         (libc: GLIBC_2_22): Remove unused version set.
16959 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
16961         * config.make.in (enable-timezone-tools): New variable.
16962         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
16963         (enable_timezone_tools): Export to generated files.
16964         * configure: Regenerate.
16965         * INSTALL: Regenerate.
16966         * manual/install.texi (--disable-timezone-tools): Document new flag.
16967         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
16968         ifeq ($(enable-timezone-tools),yes) check.
16970 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
16972         * timezone/Makefile: Revert previous change.
16974         [BZ #18980]
16975         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
16976         (DEFINE_DBL_MIN): Likewise.
16977         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
16978         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
16979         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
16980         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
16981         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
16982         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16983         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
16984         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
16985         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
16986         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16987         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
16988         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
16989         (flt_min): Replace with use of DEFINE_FLT_MIN.
16990         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
16991         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
16992         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16993         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
16994         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
16995         (flt_min): Replace with use of DEFINE_FLT_MIN.
16996         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
16997         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
16998         (flt_min): Replace with use of DEFINE_FLT_MIN.
16999         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
17000         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
17001         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
17002         (__ieee754_hypot): Use DBL_NARROW_EVAL.
17003         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
17004         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
17005         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
17006         (__ieee754_pow): Use DBL_NARROW_EVAL.
17007         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
17008         (__ieee754_powf): Use FLT_NARROW_EVAL.
17009         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
17010         (__ieee754_expf_sse2): Convert double-precision result to single
17011         precision.
17012         * sysdeps/i386/fpu/libm-test-ulps: Update.
17014 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17016         * timezone/Makefile: Ignore unused variable errors due to private.h
17017         (time_t_min) and (time_t_max).
17018         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
17019         Likewise.
17021 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
17023         [BZ #18981]
17024         * sysdeps/i386/fpu/i386-math-asm.h: New file.
17025         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
17026         (__ieee754_scalb): Use DBL_NARROW_EVAL.
17027         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
17028         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
17029         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
17030         (__scalbn): Use DBL_NARROW_EVAL.
17031         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
17032         (__scalbnf): Use FLT_NARROW_EVAL.
17034 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17036         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
17037         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
17038         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
17039         * stdio-common/printf_fp.c (___printf_fp):
17040         Use signbit to get the sign. Use isinf macro to allow inlining.
17041         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
17042         * stdio-common/printf_size.c (__printf_size): Likewise.
17044 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
17046         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
17048 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
17050         [BZ #18980]
17051         * sysdeps/generic/math_private.h: Include <float.h>.
17052         (math_narrow_eval): New macro.
17053         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
17054         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
17055         math_narrow_eval on overflowing return value.
17056         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
17057         Likewise.
17058         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17059         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
17060         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
17061         Likewise.
17062         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
17064 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17066         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
17067         * math/Makefile: Remove isinf_ns.c.
17068         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
17069         * math/multc3.c (__multc3): Likewise.
17070         * math/s_casin.c (__casin): Likewise.
17071         * math/s_casinf.c (__casinf): Likewise.
17072         * math/s_casinl.c (__casinl): Likewise.
17073         * math/s_cproj.c (__cproj): Likewise.
17074         * math/s_cprojf.c (__cprojf): Likewise.
17075         * math/s_cprojl.c (__cprofl): Likewise.
17076         * math/s_ctan.c (__ctan): Likewise.
17077         * math/s_ctanf.c (__ctanf): Likewise.
17078         * math/s_ctanh.c (__ctanh): Likewise.
17079         * math/s_ctanhf.c (__ctanhf): Likewise.
17080         * math/s_ctanhl.c (__ctanhl): Likewise.
17081         * math/s_ctanl.c (__ctanl): Likewise.
17082         * math/w_fmod.c (__fmod): Likewise.
17083         * math/w_fmodf.c (__fmodf): Likewise.
17084         * math/w_fmodl.c (_fmodl): Likewise.
17085         * math/w_remainder.c (__remainder): Likewise.
17086         * math/w_remainderf.c (__remainderf): Likewise.
17087         * math/w_remainderl.c (__remainderl): Likewise.
17088         * math/w_scalb.c (__scalb): Likewise.
17089         * math/w_scalbf.c (__scalbf): Likewise.
17090         * math/w_scalbl.c (__scalbl): Likewise.
17091         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
17092         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
17093         with isinf.
17094         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
17095         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
17096         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
17097         __isinf_nsf with isinf.
17098         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
17099         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
17100         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
17101         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
17102         with isinf.
17103         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
17104         __isinf_nsl with isinf.
17105         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
17106         with isinf.
17107         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
17108         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
17109         __isinf_nsl with isinf.
17110         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
17111         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
17112         with isinf.
17114 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17116         * resolv/base64.c (rcsid): Remove unused static.
17117         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
17118         static.  (tqpi1): Likewise.
17119         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
17120         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
17121         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
17122         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
17123         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
17124         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
17125         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
17126         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
17127         Likewise.
17129 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
17131         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
17132         <nptl/pthreadP.h>.
17133         (_longjmp_unwind): Use __libc_ptf_call.
17134         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
17136 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
17138         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
17139         * sysdeps/arm/__longjmp.S: Likewise.
17141 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17143         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
17144         Use __builtin_signbit.
17145         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
17146         Use __builtin_signbitf.
17147         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
17148         Use __builtin_signbitl.
17149         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
17150         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
17152 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17154         [BZ #15367]
17155         [BZ #17441]
17157         * math/Makefile: Build test-snan.c with -fsignaling-nans.
17158         * math/math.h (fpclassify): Use __builtin_fpclassify when
17159         available.  (signbit): Use __builtin_signbit(f/l).
17160         (isfinite): Use__builtin_isfinite.  (isnormal): Use
17161         __builtin_isnormal.  (isnan): Use __builtin_isnan.
17162         (isinf): Use __builtin_isinf_sign.
17164 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17166         * benchtests/Makefile: Add bench-math-inlines, link with libm.
17167         * benchtests/bench-math-inlines.c: New benchmark.
17168         * benchtests/bench-util.h: New file.
17169         * benchtests/bench-util.c: New file.
17170         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
17172 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
17174         * elf/tst-dlmopen1.c: Define TEST_SO.
17175         (do_test): Use TEST_SO.
17177         * elf/dl-load.c: Include libc-internal.h.
17178         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
17180 2015-09-18  Vincent Bernat  <vincent@bernat.im>
17182         [BZ #17887]
17183         * time/strptime_l.c (__strptime_internal): Make %z accept
17184         [+-]HH:MM time zones.
17186 2015-09-18  Vincent Bernat  <vincent@bernat.im>
17188         [BZ #17886]
17189         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
17190         valid time zone.
17192 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
17194         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
17195         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
17196         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17197         (__ASSUME_FDATASYNC): Delete.
17199 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
17201         * conform/linknamespace.pl: Require weak undefined symbols to be
17202         in the standard namespace.
17203         (%strong_syms): Rename to %seen_syms.
17204         (%strong_seen): Rename to %seen_where.
17206 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
17208         [BZ #18970]
17209         * misc/error.c (error): Replace pthread_setcancelstate with
17210         __pthread_setcancelstate.
17211         (error_at_line): Likewise.
17212         * posix/wordexp.c (parse_comm): Likewise.
17213         * stdlib/fmtmsg.c (fmtmsg): Likewise.
17214         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
17215         (__pthread_setcancelstate): This.
17216         (pthread_setcancelstate): Add an alias.
17217         * nptl/nptl-init.c (pthread_functions): Replace
17218         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
17219         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
17220         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
17221         hidden_proto.
17222         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
17223         it with hidden_def.
17224         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
17225         (pthread_setcancelstate): Renamed to ...
17226         (__pthread_setcancelstate): This.
17227         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
17228         __libc_ptf_call with __pthread_setcancelstate.
17230 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
17231             Andreas Schwab  <schwab@suse.de>
17233         [BZ #17118]
17234         * math/s_ctan.c (__ctan): Determine sign of zero real part of
17235         result when imaginary part of argument is infinite using sine and
17236         cosine.
17237         * math/s_ctanf.c (__ctanf): Likewise.
17238         * math/s_ctanl.c (__ctanl): Likewise.
17239         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
17240         of result when real part of argument is infinite using sine and
17241         cosine.
17242         * math/s_ctanhf.c (__ctanhf): Likewise.
17243         * math/s_ctanhl.c (__ctanhl): Likewise.
17244         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
17245         (ctanh_test_data): Add more tests of ctanh.
17247 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
17249         [BZ #15384]
17250         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
17251         bit-mask as in subtraction.
17252         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
17253         Likewise.
17254         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
17255         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
17256         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
17258         [BZ #18951]
17259         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
17260         underflow exception for small results.
17261         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
17262         Likewise.
17263         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
17264         Likewise.
17265         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
17266         Likewise.
17267         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
17268         Likewise.
17269         * math/auto-libm-test-in: Add more tests of tgamma.
17270         * math/auto-libm-test-out: Regenerated.
17272 2015-09-17  Andreas Schwab  <schwab@suse.de>
17274         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
17276 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
17278         [BZ #18977]
17279         * math/bits/mathcalls.h
17280         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
17281         not declare.
17282         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
17283         Likewise.
17284         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
17285         Likewise.
17286         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
17287         Likewise.
17288         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
17289         Likewise.
17290         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
17291         Likewise.
17292         * conform/data/math.h-data
17293         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
17294         function.
17295         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
17296         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
17297         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
17298         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
17299         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
17300         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
17301         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
17302         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
17303         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
17304         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
17305         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
17307         [BZ #6803]
17308         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
17309         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
17310         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
17311         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
17312         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
17313         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
17314         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
17315         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
17316         [NO_LONG_DOUBLE] (scalbnl): Likewise.
17317         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
17318         Likewise.
17319         [NO_LONG_DOUBLE] (scalbnl): Likewise.
17320         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
17321         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
17322         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
17323         long_double_symbol calls.
17324         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
17325         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
17326         strong alias of __ldexpl.
17327         (scalbnl): Define using long_double_symbol.
17328         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
17329         Remove alias.
17330         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
17331         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
17332         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
17333         (scalbln_test_data): Add more errno expectations.
17335 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
17337         Cache the host port like we cache the task port.  This way we do not
17338         need to call the kernel just to get the port.  Furthermore, we no
17339         longer increase the reference count on every invocation of
17340         `mach_host_self'.
17342         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
17343         Protect declarations against the macro expansion.
17344         * mach/mach_init.c (__mach_host_self_): New variable.
17345         (mach_init): Initialize `__mach_host_self_'.
17346         * mach/mach_init.h (__mach_host_self_): New declaration.
17347         (__mach_host_self, mach_host_self): New macros.
17348         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
17349         Release reference.
17351 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
17353         [BZ #4404]
17354         * po/de.po: Update from Translation Project.
17356         [BZ #16415]
17357         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
17358         (__expm1l): Remove code to handle positive infinity and overflow.
17359         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
17360         variable.
17361         (__expm1l): Remove code to handle positive infinity and overflow.
17363 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
17364             Paul Pluzhnikov  <ppluzhnikov@google.com>
17366         [BZ #18872]
17367         * stdio-common/Makefile (tst-printf-bz18872): New test.
17368         (tst-printf-bz18872-mem.out): Likewise.
17369         * stdio-common/tst-printf-bz18872.sh: Generate new test.
17370         * stdio-common/vfprintf.c: Fix memory leaks.
17372 2015-09-16  Andreas Schwab  <schwab@suse.de>
17374         [BZ #17244]
17375         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
17376         Remove extra va_start/va_end calls.
17378         [BZ #17243]
17379         * posix/execl.c (execl): Add missing va_end.
17380         * posix/execle.c (execle): Likewise.
17381         * posix/execlp.c (execlp): Likewise.
17383 2015-09-15  Roland McGrath  <roland@hack.frob.com>
17385         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
17386         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
17388 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
17390         [BZ #18967]
17391         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
17392         undefine around includes of <bits/mathcalls.h>.
17393         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
17394         not declare function.
17395         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
17396         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
17397         (scalb): Likewise.
17398         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
17399         not define macro.
17400         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
17401         variable.
17402         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
17403         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
17404         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
17406         [BZ #18857]
17407         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
17408         return non-finite argument without doing ordered comparisons on
17409         it.
17411         [BZ #16296]
17412         * math/fenv.h (fegetround): Use __attribute_pure__.
17413         * include/fenv.h (__fegetround): Likewise.
17415         [BZ #18595]
17416         * math/s_ctan.c (__ctan): Force underflow exception for results
17417         whose real or imaginary part has small absolute value.
17418         * math/s_ctanf.c (__ctanf): Likewise.
17419         * math/s_ctanh.c (__ctanh): Likewise.
17420         * math/s_ctanhf.c (__ctanhf): Likewise.
17421         * math/s_ctanhl.c (__ctanhl): Likewise.
17422         * math/s_ctanl.c (__ctanl): Likewise.
17423         * math/auto-libm-test-in: Do not allow missing underflow for ctan
17424         and ctanh.  Add more tests of ctan and ctanh.
17426         [BZ #15918]
17427         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
17428         handling of cases where one argument is an infinity.
17430         [BZ #18875]
17431         [BZ #18966]
17432         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
17433         (MO): New macro.
17434         (__ieee754_exp10): For small results, force underflow exception
17435         and remove excess range and precision from return value.
17436         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
17437         (MO): New macro.
17438         (__ieee754_exp10f): For small results, force underflow exception
17439         and remove excess range and precision from return value.
17440         * math/auto-libm-test-in: Add more tests of exp10.
17441         * math/auto-libm-test-out: Regenerated.
17443 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
17445         [BZ #18875]
17446         [BZ #18961]
17447         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
17448         (MO): New macro.
17449         (__ieee754_exp): For small results, force underflow exception and
17450         remove excess range and precision from return value.
17451         (__exp_finite): Likewise.
17452         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
17453         (MO): New macro.
17454         (__ieee754_expf): For small results, force underflow exception and
17455         remove excess range and precision from return value.
17456         (__expf_finite): Likewise.
17457         * math/auto-libm-test-in: Add more tests of exp.
17458         * math/auto-libm-test-out: Regenerated.
17460         [BZ #16521]
17461         [BZ #18875]
17462         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
17463         small results.
17464         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
17465         (MO): New macro.
17466         (__ieee754_exp2): For small results, force underflow exception and
17467         remove excess range and precision from return value.
17468         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
17469         (MO): New macro.
17470         (__ieee754_exp2f): For small results, force underflow exception
17471         and remove excess range and precision from return value.
17472         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
17473         (MO): New macro.
17474         (__ieee754_exp2l): Force underflow exception for small results.
17475         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17476         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
17477         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
17478         (MO): New macro.
17479         (__ieee754_exp2l): Force underflow exception for small results.
17480         * math/auto-libm-test-in: Add more tests or exp2.
17481         * math/auto-libm-test-out: Regenerated.
17483 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
17485         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
17487         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
17488         /dev/null.
17490 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17492         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
17493         io fs process)): Drop spurious backslash.
17495 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
17497         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
17498         Use sysinfo system call instead of parsing /proc/meminfo.
17499         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
17500         Likewise.
17502 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
17504         [BZ #16985]
17505         * programs/localedef.c (main): Display argv[remaining] when
17506         output_path is NULL.
17508 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
17510         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17511         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
17512         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
17513         tanh.
17514         * math/auto-libm-test-out: Regenerated.
17515         * sysdeps/i386/fpu/libm-test-ulps: Update.
17516         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17517         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17520 2015-09-11  Roland McGrath  <roland@hack.frob.com>
17522         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
17523         Use 'override' keyword to freeze the value here, preventing
17524         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
17526 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
17528         [BZ #14912]
17529         * sysdeps/aarch64/bits/atomic.h: Move to ...
17530         * sysdeps/aarch64/atomic-machine.h: ...here.
17531         (_AARCH64_BITS_ATOMIC_H): Rename macro to
17532         _AARCH64_ATOMIC_MACHINE_H.
17533         * sysdeps/alpha/bits/atomic.h: Move to ...
17534         * sysdeps/alpha/atomic-machine.h: ...here.
17535         * sysdeps/arm/bits/atomic.h: Move to ...
17536         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
17537         * bits/atomic.h: Move to ...
17538         * sysdeps/generic/atomic-machine.h: ...here.
17539         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
17540         * sysdeps/i386/bits/atomic.h: Move to ...
17541         * sysdeps/i386/atomic-machine.h: ...here.
17542         * sysdeps/ia64/bits/atomic.h: Move to ...
17543         * sysdeps/ia64/atomic-machine.h: ...here.
17544         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
17545         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
17546         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
17547         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
17548         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
17549         * sysdeps/microblaze/bits/atomic.h: Move to ...
17550         * sysdeps/microblaze/atomic-machine.h: ...here.
17551         * sysdeps/mips/bits/atomic.h: Move to ...
17552         * sysdeps/mips/atomic-machine.h: ...here.
17553         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
17554         * sysdeps/powerpc/bits/atomic.h: Move to ...
17555         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
17556         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
17557         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
17558         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
17559         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
17560         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
17561         <atomic-machine.h> instead of <bits/atomic.h>.
17562         * sysdeps/s390/bits/atomic.h: Move to ...
17563         * sysdeps/s390/atomic-machine.h: ...here.
17564         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
17565         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
17566         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
17567         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
17568         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
17569         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
17570         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
17571         * sysdeps/tile/bits/atomic.h: Move to ...
17572         * sysdeps/tile/atomic-machine.h: ...here.
17573         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
17574         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
17575         <sysdeps/tile/atomic-machine.h> instead of
17576         <sysdeps/tile/bits/atomic.h>.
17577         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
17578         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
17579         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
17580         <sysdeps/tile/atomic-machine.h> instead of
17581         <sysdeps/tile/bits/atomic.h>.
17582         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
17583         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
17584         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
17585         <sysdeps/arm/atomic-machine.h> instead of
17586         <sysdeps/arm/bits/atomic.h>.
17587         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
17588         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
17589         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
17590         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
17591         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
17592         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
17593         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
17594         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
17595         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
17596         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
17597         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
17598         * sysdeps/x86_64/bits/atomic.h: Move to ...
17599         * sysdeps/x86_64/atomic-machine.h: ...here.
17600         * include/atomic.h: Include <atomic-machine.h> instead of
17601         <bits/atomic.h>.
17603         * sysdeps/mips/mips32/libm-test-ulps: Update.
17604         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17606         [BZ #18952]
17607         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
17608         not convert non-integer negative arguments to int to determine the
17609         value of signgam.
17610         * math/auto-libm-test-in: Add more tests of lgamma.
17611         * math/auto-libm-test-out: Regenerated.
17613         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
17614         cosh, csqrt, erfc, expm1 and lgamma.
17615         * math/auto-libm-test-out: Regenerated.
17616         * sysdeps/i386/fpu/libm-test-ulps: Update.
17617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17619 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
17621         [BZ #2542]
17622         [BZ #2543]
17623         [BZ #2558]
17624         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
17625         __lgamma_neg for arguments from -28.0 to -2.0.
17626         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
17627         __lgamma_negf for arguments from -15.0 to -2.0.
17628         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17629         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
17630         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
17631         Call __lgamma_negl for arguments from -33.0 to -2.0.
17632         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
17633         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
17634         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
17635         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
17636         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
17637         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
17638         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
17639         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
17640         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
17641         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
17642         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
17643         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
17644         (__lgamma_neg): Likewise.
17645         (__lgamma_negl): Likewise.
17646         (__lgamma_product): Likewise.
17647         (__lgamma_productl): Likewise.
17648         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
17649         * math/auto-libm-test-in: Add more tests of lgamma.
17650         * math/auto-libm-test-out: Regenerated.
17651         * sysdeps/i386/fpu/libm-test-ulps: Update.
17652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17654 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
17656         [BZ #18675]
17657         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
17659 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
17661         [BZ #14912]
17662         * bits/libc-lock.h: Move to ...
17663         * sysdeps/generic/libc-lock.h: ...here.
17664         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
17665         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
17666         * sysdeps/mach/hurd/libc-lock.h: ...here.
17667         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
17668         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
17669         * sysdeps/mach/bits/libc-lock.h: Move to ...
17670         * sysdeps/mach/libc-lock.h: ...here.
17671         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
17672         * sysdeps/nptl/bits/libc-lock.h: Move to ...
17673         * sysdeps/nptl/libc-lock.h: ...here.
17674         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
17675         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
17676         * sysdeps/nptl/libc-lockP.h: ...here.
17677         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
17678         * crypt/crypt_util.c: Include <libc-lock.h> instead of
17679         <bits/libc-lock.h>.
17680         * dirent/scandir-tail.c: Likewise.
17681         * dlfcn/dlerror.c: Likewise.
17682         * elf/dl-close.c: Likewise.
17683         * elf/dl-iteratephdr.c: Likewise.
17684         * elf/dl-lookup.c: Likewise.
17685         * elf/dl-open.c: Likewise.
17686         * elf/dl-support.c: Likewise.
17687         * elf/dl-writev.h: Likewise.
17688         * elf/rtld.c: Likewise.
17689         * grp/fgetgrent.c: Likewise.
17690         * gshadow/fgetsgent.c: Likewise.
17691         * gshadow/sgetsgent.c: Likewise.
17692         * iconv/gconv_conf.c: Likewise.
17693         * iconv/gconv_db.c: Likewise.
17694         * iconv/gconv_dl.c: Likewise.
17695         * iconv/gconv_int.h: Likewise.
17696         * iconv/gconv_trans.c: Likewise.
17697         * include/link.h: Likewise.
17698         * inet/getnameinfo.c: Likewise.
17699         * inet/getnetgrent.c: Likewise.
17700         * inet/getnetgrent_r.c: Likewise.
17701         * intl/bindtextdom.c: Likewise.
17702         * intl/dcigettext.c: Likewise.
17703         * intl/finddomain.c: Likewise.
17704         * intl/gettextP.h: Likewise.
17705         * intl/loadmsgcat.c: Likewise.
17706         * intl/localealias.c: Likewise.
17707         * intl/textdomain.c: Likewise.
17708         * libidn/idn-stub.c: Likewise.
17709         * libio/libioP.h: Likewise.
17710         * locale/duplocale.c: Likewise.
17711         * locale/freelocale.c: Likewise.
17712         * locale/newlocale.c: Likewise.
17713         * locale/setlocale.c: Likewise.
17714         * login/getutent_r.c: Likewise.
17715         * login/getutid_r.c: Likewise.
17716         * login/getutline_r.c: Likewise.
17717         * login/utmp-private.h: Likewise.
17718         * login/utmpname.c: Likewise.
17719         * malloc/mtrace.c: Likewise.
17720         * misc/efgcvt.c: Likewise.
17721         * misc/error.c: Likewise.
17722         * misc/fstab.c: Likewise.
17723         * misc/getpass.c: Likewise.
17724         * misc/mntent.c: Likewise.
17725         * misc/syslog.c: Likewise.
17726         * nis/nis_call.c: Likewise.
17727         * nis/nis_callback.c: Likewise.
17728         * nis/nss-default.c: Likewise.
17729         * nis/nss_compat/compat-grp.c: Likewise.
17730         * nis/nss_compat/compat-initgroups.c: Likewise.
17731         * nis/nss_compat/compat-pwd.c: Likewise.
17732         * nis/nss_compat/compat-spwd.c: Likewise.
17733         * nis/nss_nis/nis-alias.c: Likewise.
17734         * nis/nss_nis/nis-ethers.c: Likewise.
17735         * nis/nss_nis/nis-grp.c: Likewise.
17736         * nis/nss_nis/nis-hosts.c: Likewise.
17737         * nis/nss_nis/nis-network.c: Likewise.
17738         * nis/nss_nis/nis-proto.c: Likewise.
17739         * nis/nss_nis/nis-pwd.c: Likewise.
17740         * nis/nss_nis/nis-rpc.c: Likewise.
17741         * nis/nss_nis/nis-service.c: Likewise.
17742         * nis/nss_nis/nis-spwd.c: Likewise.
17743         * nis/nss_nisplus/nisplus-alias.c: Likewise.
17744         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
17745         * nis/nss_nisplus/nisplus-grp.c: Likewise.
17746         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
17747         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
17748         * nis/nss_nisplus/nisplus-network.c: Likewise.
17749         * nis/nss_nisplus/nisplus-proto.c: Likewise.
17750         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
17751         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
17752         * nis/nss_nisplus/nisplus-service.c: Likewise.
17753         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
17754         * nis/ypclnt.c: Likewise.
17755         * nptl/libc_pthread_init.c: Likewise.
17756         * nss/getXXbyYY.c: Likewise.
17757         * nss/getXXent.c: Likewise.
17758         * nss/getXXent_r.c: Likewise.
17759         * nss/nss_db/db-XXX.c: Likewise.
17760         * nss/nss_db/db-netgrp.c: Likewise.
17761         * nss/nss_db/nss_db.h: Likewise.
17762         * nss/nss_files/files-XXX.c: Likewise.
17763         * nss/nss_files/files-alias.c: Likewise.
17764         * nss/nsswitch.c: Likewise.
17765         * posix/regex_internal.h: Likewise.
17766         * posix/wordexp.c: Likewise.
17767         * pwd/fgetpwent.c: Likewise.
17768         * resolv/res_hconf.c: Likewise.
17769         * resolv/res_libc.c: Likewise.
17770         * shadow/fgetspent.c: Likewise.
17771         * shadow/lckpwdf.c: Likewise.
17772         * shadow/sgetspent.c: Likewise.
17773         * socket/opensock.c: Likewise.
17774         * stdio-common/reg-modifier.c: Likewise.
17775         * stdio-common/reg-printf.c: Likewise.
17776         * stdio-common/reg-type.c: Likewise.
17777         * stdio-common/vfprintf.c: Likewise.
17778         * stdio-common/vfscanf.c: Likewise.
17779         * stdlib/abort.c: Likewise.
17780         * stdlib/cxa_atexit.c: Likewise.
17781         * stdlib/fmtmsg.c: Likewise.
17782         * stdlib/random.c: Likewise.
17783         * stdlib/setenv.c: Likewise.
17784         * string/strsignal.c: Likewise.
17785         * sunrpc/auth_none.c: Likewise.
17786         * sunrpc/bindrsvprt.c: Likewise.
17787         * sunrpc/create_xid.c: Likewise.
17788         * sunrpc/key_call.c: Likewise.
17789         * sunrpc/rpc_thread.c: Likewise.
17790         * sysdeps/arm/backtrace.c: Likewise.
17791         * sysdeps/generic/ldsodefs.h: Likewise.
17792         * sysdeps/generic/stdio-lock.h: Likewise.
17793         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
17794         * sysdeps/i386/backtrace.c: Likewise.
17795         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
17796         * sysdeps/m68k/backtrace.c: Likewise.
17797         * sysdeps/mach/hurd/cthreads.c: Likewise.
17798         * sysdeps/mach/hurd/dirstream.h: Likewise.
17799         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
17800         * sysdeps/nptl/malloc-machine.h: Likewise.
17801         * sysdeps/nptl/stdio-lock.h: Likewise.
17802         * sysdeps/posix/dirstream.h: Likewise.
17803         * sysdeps/posix/getaddrinfo.c: Likewise.
17804         * sysdeps/posix/system.c: Likewise.
17805         * sysdeps/pthread/aio_suspend.c: Likewise.
17806         * sysdeps/s390/s390-32/backtrace.c: Likewise.
17807         * sysdeps/s390/s390-64/backtrace.c: Likewise.
17808         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17809         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
17810         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
17811         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
17812         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
17813         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
17814         * sysdeps/unix/sysv/linux/system.c: Likewise.
17815         * sysdeps/x86_64/backtrace.c: Likewise.
17816         * time/alt_digit.c: Likewise.
17817         * time/era.c: Likewise.
17818         * time/tzset.c: Likewise.
17819         * wcsmbs/wcsmbsload.c: Likewise.
17820         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
17821         instead of <bits/libc-lock.h> in comment.
17823 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
17825         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
17826         Only use .set mips2 if the current ISA is below mips2.
17827         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
17828         Likewise.
17829         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
17830         mips32r2 if the current ISA is below mips32r2.
17831         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
17832         (TLS_IE): Updated to use the TLD_RDHWR macro.
17833         (TLS_LE): Likewise.
17834         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
17835         __ASSEMBLER__ condition.
17837 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17839         Fix parallel build of before-compile targets.
17841         * sysdeps/mach/Makefile ($(patsubst
17842         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
17843         mach-before-compile target.
17844         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
17845         io fs process)): Move rule to dedicated hurd-before-compile target.
17847 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17849         Fix rules generating headers in hurd/ and mach/ when initial make call
17850         has subdir= explicitly set.
17852         * sysdeps/mach/Makefile ($(patsubst
17853         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
17854         calling $(MAKE).
17855         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
17856         io fs process)): Force subdir to hurd when calling $(MAKE).
17857         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
17858         subdir to mach when calling $(MAKE).
17860 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
17862         Check sysheaders when looking for Mach and Hurd headers
17864         * sysdeps/mach/configure.ac: Add sysheaders check.
17865         * sysdeps/mach/configure: Regenerate.
17866         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
17867         * sysdeps/mach/hurd/configure: Regenerate.
17869 2015-09-04  Roland McGrath  <roland@hack.frob.com>
17871         [BZ #18921]
17872         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
17873         Fix inverted sense of test of 'o_directory_works' value.
17874         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
17875         Bernhard Voelker <mail@bernhard-voelker.de>.
17877 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
17879         [BZ #14912]
17880         * bits/linkmap.h: Move to ...
17881         * sysdeps/generic/linkmap.h: ...here.
17882         * sysdeps/aarch64/bits/linkmap.h: Move to ...
17883         * sysdeps/aarch64/linkmap.h: ...here.
17884         * sysdeps/arm/bits/linkmap.h: Move to ...
17885         * sysdeps/arm/linkmap.h: ...here.
17886         * sysdeps/hppa/bits/linkmap.h: Move to ...
17887         * sysdeps/hppa/linkmap.h: ...here.
17888         * sysdeps/ia64/bits/linkmap.h: Move to ...
17889         * sysdeps/ia64/linkmap.h: ...here.
17890         * sysdeps/mips/bits/linkmap.h: Move to ...
17891         * sysdeps/mips/linkmap.h: ...here.
17892         * sysdeps/s390/bits/linkmap.h: Move to ...
17893         * sysdeps/s390/linkmap.h: ...here.
17894         * sysdeps/sh/bits/linkmap.h: Move to ...
17895         * sysdeps/sh/linkmap.h: ...here.
17896         * sysdeps/x86/bits/linkmap.h: Move to ...
17897         * sysdeps/x86/linkmap.h: ...here.
17898         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
17900 2015-09-04  Andreas Schwab  <schwab@suse.de>
17902         [BZ #18635]
17903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
17904         (__makecontext): Terminate FDE before return label.
17905         (__novec_makecontext): Likewise.
17907 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17909         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
17910         first member of struct sv in syscall macro.
17912 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
17914         [BZ #14912]
17915         * bits/stdio-lock.h: Move to ...
17916         * sysdeps/generic/stdio-lock.h: ...here.
17917         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
17918         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
17919         * sysdeps/nptl/stdio-lock.h: ...here.
17920         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
17921         * include/libio.h: Include <stdio-lock.h> instead of
17922         <bits/stdio-lock.h>.
17923         * sysdeps/nptl/fork.c: Likewise.
17924         * sysdeps/pthread/flockfile.c: Likewise.
17925         * sysdeps/pthread/ftrylockfile.c: Likewise.
17926         * sysdeps/pthread/funlockfile.c: Likewise.
17928         [BZ #14912]
17929         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
17930         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
17931         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
17932         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
17933         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
17934         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
17935         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
17937 2015-09-03  Roland McGrath  <roland@hack.frob.com>
17939         * elf/Makefile (test-xfail-tst-protected1a): New variable.
17940         (test-xfail-tst-protected1b): New variable.
17942 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
17944         [BZ #14912]
17945         * bits/libc-tsd.h: Move to ...
17946         * sysdeps/generic/libc-tsd.h: ...here.
17947         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
17948         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
17949         * sysdeps/mach/hurd/libc-tsd.h: ...here.
17950         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
17951         * include/ctype.h: Include <libc-tsd.h> instead of
17952         <bits/libc-tsd.h>.
17953         * include/rpc/rpc.h: Likewise.
17954         * locale/localeinfo.h: Likewise.
17955         * sunrpc/rpc_thread.c: Likewise.
17956         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
17957         * sysdeps/nptl/malloc-machine.h: Likewise.
17959         * Makefile (headers): Remove bits/libc-lock.h.
17960         * libio/Makefile (headers): Remove bits/stdio-lock.h.
17962         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
17963         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
17964         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
17965         <bits/stdio-lock.h>.
17966         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
17967         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
17969 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
17971         [BZ #18757]
17972         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
17973         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
17974         BZ #18757.
17976 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
17978         * malloc/mtrace.pl: Filter out NULL entries.
17980 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
17982         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
17983         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
17984         macro.
17986         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
17987         (TCP_CC_INFO): Likewise.
17988         (TCP_SAVE_SYN): Likewise.
17989         (TCP_SAVED_SYN): Likewise.
17991 2015-08-31  Brett Neumeier <brett@neumeier.us>
17993         [BZ #18870]
17994         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
17996 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
17998         [BZ #18873]
17999         Fix broken overflow check in posix_fallocate
18000         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
18001         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
18002         Fix parenthesization typo.
18004 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
18006         [BZ #18887]
18007         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
18008         tst-mntent-blank-passno.
18009         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
18010         * misc/tst-mntent-blank-corrupt.c: New test.
18011         * misc/tst-mntent-blank-passno.c: New test ripped from ...
18012         * misc/tst-mntent.c (do_test): ... here.
18014 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
18016         [BZ #4404]
18017         * po/de.po: Fix SIGALRM typo.
18019 2015-08-28  James Perkins  <james@loowit.net>
18021         * time/tst-strptime2.c (tests): Replace short list of test
18022         strings for strptime %z specifier with code which exhaustively
18023         tests every combination of sign and 0 to 5 digits. Tests for
18024         rejection of invalid strings.
18026 2015-08-28  James Perkins  <james@loowit.net>
18028         [BZ #16141]
18029         * time/strptime_l.c (__strptime_internal): Fix %z minutes
18030         calculation, removing incorrect decimal time rounding, so that
18031         all minute values result in a valid seconds value.
18032         * time/strptime_l.c (__strptime_internal): Extend %z time zone
18033         offset range limits to UTC-99:59 through UTC+99:59 to parse
18034         current and historical use cases.
18035         * time/tst-strptime2.c (tests): Modify and add tests for the
18036         strptime %z input field descriptor, specifically conversion of
18037         minutes to seconds and validating an offset range of -9959 to
18038         +9959.
18040 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18041             Dmitry V. Levin  <ldv@altlinux.org>
18043         [BZ #18877]
18044         * posix/Makefile (tests): Add tst-mmap-offset.
18045         * posix/tst-mmap.c: New file.
18046         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
18047         offset calculation for negative values.
18049 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18051         * sysdeps/i386/init-arch.h: New file.
18052         * sysdeps/i386/i586/init-arch.h: Likewise.
18053         * sysdeps/i386/i686/init-arch.h: Likewise.
18054         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
18055         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
18056         * sysdeps/x86/cpu-features.h (bit_I586): New.
18057         (bit_I686): Likewise.
18058         (bit_CX8): Likewise.
18059         (bit_CMOV): Likewise.
18060         (index_CX8): Likewise.
18061         (index_CMOV): Likewise.
18062         (index_I586): Likewise.
18063         (index_I686): Likewise.
18064         (reg_CX8): Likewise.
18065         (reg_CMOV): Likewise.
18066         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
18067         available at compile-time.
18068         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
18069         available at compile-time.
18070         * sysdeps/x86/init-arch.h (USE_I586): New macro.
18071         (USE_I686): Likewise.
18073 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18075         * sysdeps/i386/bcopy.S: New file.
18076         * sysdeps/i386/bzero.S: Likewise.
18077         * sysdeps/i386/memcpy.S: Likewise.
18078         * sysdeps/i386/memmove.S: Likewise.
18079         * sysdeps/i386/mempcpy.S: Likewise.
18080         * sysdeps/i386/memset.S: Likewise.
18081         * sysdeps/i386/bzero.c: Removed.
18082         * sysdeps/i386/memset.c: Likewise.
18083         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
18084         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
18085         * sysdeps/i386/i586/memset_chk.S: Likewise.
18086         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
18087         * sysdeps/i386/memcpy_chk.S: Here.
18088         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
18089         * sysdeps/i386/memmove_chk.S: Here.
18090         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
18091         * sysdeps/i386/mempcpy_chk.S: Likewise.
18092         * sysdeps/i386/i686/memset_chk.S: Moved to ...
18093         * sysdeps/i386/memset_chk.S: Likewise.
18095 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
18097         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
18098         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
18099         file, move DIAG_POP_NEEDS_COMMENT to end of file.
18100         * soft-fp/fmadf4.c: Ditto.
18101         * soft-fp/fmatf4.c: Ditto.
18103 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18105         * sysdeps/i386/i586/Implies: Removed.
18106         * sysdeps/i386/i686/Implies: Likewise.
18108 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18110         * sysdeps/i386/i486/strlen.S: Moved to ...
18111         * sysdeps/i386/strlen.S: Here.
18113 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18115         * sysdeps/i386/i486/strcat.S: Moved to ...
18116         * sysdeps/i386/strcat.S: Here.
18118 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18120         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
18121         * sysdeps/i386/pthread_spin_trylock.S: Here.
18122         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
18123         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
18125 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18127         * sysdeps/i386/i486/string-inlines.c: Moved to ...
18128         * sysdeps/i386/string-inlines.c: Here.
18130 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18132         * sysdeps/i386/i486/htonl.S: Moved ...
18133         * sysdeps/i386/htonl.S: here.
18135 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18137         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
18138         * sysdeps/i386/bits/atomic.h: Here.
18140 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18142         * sysdeps/i386/i486/Versions: Removed.
18144 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
18146         [BZ #2898]
18147         * misc/mktemp.c: Add mkdtemp to the link_warning message.
18148         Based on patch by Aurelien Jarno.
18150 2015-08-26  Stan Shebs  <stanshebs@google.com>
18152         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
18153         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
18155 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18157         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
18158         * sysdeps/powerpc/dl-procinfo.c:
18159         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
18160         feature so it shows when LD_SHOW_AUXV=1.
18162 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18164         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
18165         (__arch_compare_and_exchange_val_32_acq): Remove and use common
18166         definition.  ISA 2.07B no longer requires full sync.
18168 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
18170         [BZ #18863]
18171         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
18172         (si_call_addr): Define.
18173         (si_syscall): Define.
18174         (si_arch): Define.
18176 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
18178         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
18179         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
18180         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
18181         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
18182         (__memset_zero_constant_len_parameter): New.
18183         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
18184         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
18185         (__memset_zero_constant_len_parameter): Don't define if
18186         __memset_chk or USE_AS_BZERO are defined.
18188         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
18189         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
18190         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
18192         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
18193         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
18194         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
18195         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
18196         comments.
18197         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
18198         -mno-mmx for $(all-rtld-routines).
18199         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
18200         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
18201         i386.
18203 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
18205         * sysdeps/generic/unwind.h
18206         (_Unwind_Word): Use __mode__(__unwind_word__)
18207         instead of __mode__(__word__).
18208         (_Unwind_Sword): Likewise.
18210         * sysdeps/s390/s390-64/utf8-utf16-z9.c
18211         (MAX_NEEDED_INPUT): New define.
18212         (MAX_NEEDED_OUTPUT): New define.
18214         * NEWS: New item for IBM z13 string optimizations.
18216         * sysdeps/s390/multiarch/memrchr-c.c: New File.
18217         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
18218         * sysdeps/s390/multiarch/memrchr.c: Likewise.
18219         * sysdeps/s390/multiarch/Makefile
18220         (sysdep_routines): Add memrchr functions.
18221         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
18222         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
18224         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
18225         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
18226         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
18227         * sysdeps/s390/multiarch/Makefile
18228         (sysdep_routines): Add wmemcmp functions.
18229         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
18230         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
18231         * benchtests/bench-wmemcmp.c: New File.
18232         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
18234         * sysdeps/s390/multiarch/wmemset-c.c: New File.
18235         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
18236         * sysdeps/s390/multiarch/wmemset.c: Likewise.
18237         * sysdeps/s390/multiarch/Makefile
18238         (sysdep_routines): Add wmemset functions.
18239         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
18240         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
18241         * wcsmbs/wmemset.c: Use WMEMSET if defined.
18242         * string/test-memset.c: Add wmemset support.
18243         * wcsmbs/test-wmemset.c: New File.
18244         * wcsmbs/Makefile (strop-tests): Add wmemset.
18245         * benchtests/bench-memset.c: Add wmemset support.
18246         * benchtests/bench-wmemset.c: New File.
18247         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
18249         * sysdeps/s390/multiarch/memccpy-c.c: New File.
18250         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
18251         * sysdeps/s390/multiarch/memccpy.c: Likewise.
18252         * sysdeps/s390/multiarch/Makefile
18253         (sysdep_routines): Add memccpy functions.
18254         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
18255         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
18256         * string/memccpy.c: Use MEMCCPY if defined.
18258         * sysdeps/s390/multiarch/memchr-vx.S: New File.
18259         * sysdeps/s390/multiarch/memchr.c: Likewise.
18260         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
18261         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
18262         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
18263         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
18264         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
18265         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
18266         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
18267         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
18268         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
18269         and rawmemchr functions.
18270         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
18271         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
18272         and wmemchr.
18273         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
18274         * string/test-memchr.c: Add wmemchr support.
18275         * wcsmbs/test-wmemchr.c: New File.
18276         * wcsmbs/Makefile (strop-tests): Add wmemchr.
18277         * benchtests/bench-memchr.c: Add wmemchr support.
18278         * benchtests/bench-wmemchr.c: New File.
18279         * benchtests/Makefile (wcsmbs-bench): wmemchr.
18281         * sysdeps/s390/multiarch/strcspn-c.c: New File.
18282         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
18283         * sysdeps/s390/multiarch/strcspn.c: Likewise.
18284         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
18285         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
18286         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
18287         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
18288         wcscspn functions.
18289         * sysdeps/s390/multiarch/ifunc-impl-list.c
18290         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
18291         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
18292         * string/test-strcspn.c: Add wcscspn support.
18293         * wcsmbs/test-wcscspn.c: New File.
18294         * wcsmbs/Makefile (strop-tests): Add wcscspn.
18295         * benchtests/bench-strcspn.c: Add wcscspn support.
18296         * benchtests/bench-wcscspn.c: New File.
18297         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
18299         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
18300         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
18301         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
18302         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
18303         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
18304         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
18305         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
18306         wcspbrk functions.
18307         * sysdeps/s390/multiarch/ifunc-impl-list.c
18308         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
18309         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
18310         * string/test-strpbrk.c: Add wcspbrk support.
18311         * wcsmbs/test-wcspbrk.c: New File.
18312         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
18313         * benchtests/bench-strpbrk.c: Add wcspbrk support.
18314         * benchtests/bench-wcspbrk.c: New File.
18315         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
18317         * sysdeps/s390/multiarch/strspn-c.c: New File.
18318         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
18319         * sysdeps/s390/multiarch/strspn.c: Likewise.
18320         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
18321         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
18322         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
18323         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
18324         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
18325         wcsspn functions.
18326         * sysdeps/s390/multiarch/ifunc-impl-list.c
18327         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
18328         * string/test-strspn.c: Add wcsspn support.
18329         * wcsmbs/test-wcsspn.c: New File.
18330         * wcsmbs/Makefile (strop-tests): Add wcsspn.
18331         * benchtests/bench-strspn.c: Add wcsspn support.
18332         * benchtests/bench-wcsspn.c: New File.
18333         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
18335         * sysdeps/s390/multiarch/strrchr-c.c: New File.
18336         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
18337         * sysdeps/s390/multiarch/strrchr.c: Likewise.
18338         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
18339         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
18340         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
18341         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
18342         wcsrchr functions.
18343         * sysdeps/s390/multiarch/ifunc-impl-list.c
18344         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
18345         * benchtests/bench-wcsrchr.c: New File.
18346         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
18348         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
18349         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
18350         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
18351         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
18352         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
18353         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
18354         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
18355         wcschrnul functions.
18356         * sysdeps/s390/multiarch/ifunc-impl-list.c
18357         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
18358         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
18359         * string/test-strchr.c: Add wcschrnul support.
18360         * wcsmbs/test-wcschrnul.c: New File.
18361         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
18362         * benchtests/bench-strchr.c: Add wcschrnul support.
18363         * benchtests/bench-wcschrnul.c: New File.
18364         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
18366         * sysdeps/s390/multiarch/strchr-c.c: New File.
18367         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
18368         * sysdeps/s390/multiarch/strchr.c: Likewise.
18369         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
18370         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
18371         * sysdeps/s390/multiarch/wcschr.c: Likewise.
18372         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
18373         wcschr functions.
18374         * sysdeps/s390/multiarch/ifunc-impl-list.c
18375         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
18376         * string/strchr.c (STRCHR): Define and use macro.
18377         * benchtests/bench-wcschr.c: New File.
18378         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
18380         * sysdeps/s390/multiarch/strncmp-c.c: New File.
18381         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
18382         * sysdeps/s390/multiarch/strncmp.c: Likewise.
18383         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
18384         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
18385         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
18386         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
18387         wcsncmp functions.
18388         * sysdeps/s390/multiarch/ifunc-impl-list.c
18389         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
18390         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
18391         * benchtests/bench-strncmp.c: Add wcsncmp support.
18392         * benchtests/bench-wcsncmp.c: New File.
18393         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
18395         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
18396         * sysdeps/s390/multiarch/strcmp.c: Likewise.
18397         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
18398         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
18399         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
18400         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
18401         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
18402         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
18403         wcscmp functions.
18404         * sysdeps/s390/multiarch/ifunc-impl-list.c
18405         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
18406         * string/strcmp.c (STRCMP): Define and use macro.
18407         * benchtests/bench-wcscmp.c: New File.
18408         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
18409         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
18410         instead of _HAVE_STRING_ARCH_memchr.
18412         * sysdeps/s390/multiarch/strncat-c.c: New File.
18413         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
18414         * sysdeps/s390/multiarch/strncat.c: Likewise.
18415         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
18416         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
18417         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
18418         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
18419         wcsncat functions.
18420         * sysdeps/s390/multiarch/ifunc-impl-list.c
18421         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
18422         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
18423         * string/test-strncat.c: Add wcsncat support.
18424         * wcsmbs/test-wcsncat.c: New File.
18425         * wcsmbs/Makefile (strop-tests): Add wcsncat.
18426         * benchtests/bench-strncat.c: Add wcsncat support.
18427         * benchtests/bench-wcsncat.c: New File.
18428         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
18430         * sysdeps/s390/multiarch/strcat-c.c: New File.
18431         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
18432         * sysdeps/s390/multiarch/strcat.c: Likewise.
18433         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
18434         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
18435         * sysdeps/s390/multiarch/wcscat.c: Likewise.
18436         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
18437         wcscat functions.
18438         * sysdeps/s390/multiarch/ifunc-impl-list.c
18439         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
18440         * string/strcat.c (STRCAT): Define and use macro.
18441         * wcsmbs/wcscat.c: Use WCSCAT if defined.
18442         * string/test-strcat.c: Add wcscat support.
18443         * wcsmbs/test-wcscat.c: New File.
18444         * wcsmbs/Makefile (strop-tests): Add wcscat.
18445         * benchtests/bench-strcat.c: Add wcscat support.
18446         * benchtests/bench-wcscat.c: New File.
18447         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
18449         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
18450         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
18451         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
18452         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
18453         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
18454         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
18455         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
18456         wcpncpy functions.
18457         * sysdeps/s390/multiarch/ifunc-impl-list.c
18458         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
18459         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
18460         * string/test-stpncpy.c: Add wcpncpy support.
18461         * wcsmbs/test-wcpncpy.c: New File.
18462         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
18463         * benchtests/bench-stpncpy.c: Add wcpncpy support.
18464         * benchtests/bench-wcpncpy.c: New File.
18465         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
18467         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
18468         * sysdeps/s390/multiarch/strncpy.c: Likewise.
18469         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
18470         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
18471         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
18472         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
18473         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
18474         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
18475         wcsncpy functions.
18476         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
18477         * sysdeps/s390/multiarch/ifunc-impl-list.c
18478         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
18479         * string/test-strncpy.c: Add wcsncpy support.
18480         * wcsmbs/test-wcsncpy.c: New File.
18481         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
18482         * benchtests/bench-strncpy.c: Add wcsncpy support.
18483         * benchtests/bench-wcsncpy.c: New File.
18484         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
18486         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
18487         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
18488         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
18489         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
18490         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
18491         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
18492         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
18493         wcpcpy functions.
18494         * string/stpcpy.c: Use STPCPY if defined.
18495         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
18496         * sysdeps/s390/multiarch/ifunc-impl-list.c
18497         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
18498         * string/test-stpcpy.c: Add wcpcpy support.
18499         * wcsmbs/test-wcpcpy.c: New File.
18500         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
18501         * benchtests/bench-stpcpy.c: Add wcpcpy support.
18502         * benchtests/bench-wcpcpy.c: New File.
18503         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
18505         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
18506         * sysdeps/s390/multiarch/strcpy.c: Likewise.
18507         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
18508         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
18509         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
18510         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
18511         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
18512         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
18513         wcscpy functions.
18514         * sysdeps/s390/multiarch/ifunc-impl-list.c
18515         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
18516         * benchtests/bench-wcscpy.c: New File.
18517         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
18519         * sysdeps/s390/multiarch/strnlen-c.c: New File.
18520         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
18521         * sysdeps/s390/multiarch/strnlen.c: Likewise.
18522         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
18523         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
18524         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
18525         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
18526         wcsnlen functions.
18527         * sysdeps/s390/multiarch/ifunc-impl-list.c
18528         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
18529         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
18530         * string/test-strnlen.c: Add wcsnlen support.
18531         * wcsmbs/test-wcsnlen.c: New File.
18532         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
18533         * benchtests/bench-strnlen.c: Add wcsnlen support.
18534         * benchtests/bench-wcsnlen.c: New File.
18535         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
18537         * sysdeps/s390/multiarch/Makefile: New File.
18538         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
18539         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
18540         * sysdeps/s390/multiarch/strlen.c: Likewise.
18541         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
18542         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
18543         * sysdeps/s390/multiarch/wcslen.c: Likewise.
18544         * string/strlen.c (STRLEN): Define and use macro.
18545         * sysdeps/s390/multiarch/ifunc-impl-list.c
18546         (IFUNC_VX_IMPL): New macro function.
18547         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
18548         * benchtests/Makefile (wcsmbs-bench): New variable.
18549         (string-bench-all): Added wcsmbs-bench.
18550         * benchtests/bench-wcslen.c: New File.
18552         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
18553         s390_vx_libc_ifunc2): New macro function.
18555         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
18556         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
18557         assembler support.
18558         * sysdeps/s390/configure: Regenerated.
18560         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
18561         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
18563         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
18564         * sysdeps/s390/dl-procinfo.h: Add vector capability.
18565         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
18567         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
18568         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
18569         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
18570         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
18571         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
18572         (memcmp, bcmp): Use __memcmp_default as alias source.
18573         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
18574         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
18575         Rename to __memcmp_default.
18576         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
18577         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
18578         (memcpy): Use __memcpy_default as alias source.
18579         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
18580         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
18581         Rename to __memcpy_default.
18582         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
18583         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
18584         (memset): Use __memset_default as alias source.
18585         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
18586         * sysdeps/s390/s390-32/memset.S (__memset_g5):
18587         Rename to __memset_default.
18588         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
18589         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
18590         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
18591         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
18592         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
18593         (memcmp, bcmp): Use __memcmp_default as alias source.
18594         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
18595         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
18596         Rename to __memcmp_default.
18597         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
18598         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
18599         (memcpy): Use __memcpy_default as alias source.
18600         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
18601         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
18602         Rename to __memcpy_default.
18603         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
18604         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
18605         (memset): Use __memset_default as alias source.
18606         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
18607         * sysdeps/s390/s390-64/memset.S (__memset_z900):
18608         Rename to __memset_default.
18609         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
18610         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
18612         [BZ #18610]
18613         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
18614         __ieee_instruction_pointer to __unused.
18615         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
18616         __ieee_instruction_pointer.
18617         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
18618         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
18619         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
18620         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18621         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
18622         Mark dxc-field as reserved.
18624 2015-08-25  Roland McGrath  <roland@hack.frob.com>
18626         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
18627         if the weak reference is not null.
18629 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
18631         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
18633         [BZ #11214]
18634         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
18636 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18638         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
18639         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
18640         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
18641         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
18642         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
18643         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
18644         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
18645         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
18646         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
18647         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
18648         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
18649         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
18650         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
18651         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
18652         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
18653         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
18654         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
18655         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
18657 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18659         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
18660         register other than r0 for tabort, it has special meaning.
18661         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
18662         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
18663         transaction before starting syscall.
18665 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18667         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
18669 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
18671         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
18673         * sysdeps/x86_64/rtld-memcmp.c: Removed.
18674         * sysdeps/x86_64/rtld-memset.S: Likewise.
18675         * sysdeps/x86_64/rtld-strchr.S: Likewise.
18676         * sysdeps/x86_64/rtld-strlen.S: Likewise.
18677         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
18678         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
18680         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
18682 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
18684         * debug/strcpy_chk.c: Improve performance.
18685         * debug/stpcpy_chk.c: Likewise.
18686         * sysdeps/x86_64/strcpy_chk.S: Remove.
18687         * sysdeps/x86_64/stpcpy_chk.S: Remove.
18689         [BZ #18240]
18690         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
18692 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
18694         [BZ #15128]
18695         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
18696         ifuncmain8.
18697         (modules-names): Add ifuncmod8.
18698         ($(objpfx)ifuncmain8): New rule.
18699         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
18700         <cpuid.h>.
18701         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
18702         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
18703         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
18704         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
18705         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
18706         * sysdeps/x86_64/dl-trampoline.h: Likewise.
18707         * sysdeps/x86_64/ifuncmain8.c: New file.
18708         * sysdeps/x86_64/ifuncmod8.c: Likewise.
18709         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
18710         Removed.
18711         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
18712         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
18713         Change rtld_savespace_sse to __glibc_unused2.
18714         (RTLD_CHECK_FOREIGN_CALL): Removed.
18715         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
18716         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
18717         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
18719 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
18721         * sysdeps/aarch64/bzero.S (__bzero): Remove.
18723 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
18725         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
18726         Unconditionally set __fpcr to avoid uninialized warning.
18727         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
18729 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18731         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
18732         is corrupt.
18734         * malloc/arena.c (arena_get2): Drop unused argument.
18735         (arena_lock): Adjust.
18736         (arena_get_retry): Likewise.
18738 2015-08-24  Andreas Schwab  <schwab@suse.de>
18740         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
18741         Don't define.
18742         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
18743         (__ASSUME_IPC64): Don't undef.
18744         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
18745         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
18746         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
18747         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
18748         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
18749         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
18750         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
18751         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
18752         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
18753         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
18754         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
18755         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
18756         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
18757         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
18758         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
18759         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
18760         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
18761         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
18762         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
18763         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
18764         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
18766 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
18768         * manual/Makefile (install): Only build manual when perl is available.
18770 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18772         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
18773         '#undef memcpy' by '#undef memchr'.
18775 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18777         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
18778         memchr not point to the internal __GI_memchr implementation.
18780 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
18782         * timezone/Makefile (CFLAGS-zdump.c): Remove
18783         -Wno-strict-prototypes.
18784         (CFLAGS-zic.c): Likewise.
18785         (CFLAGS-ialloc.c): Likewise.
18786         (CFLAGS-scheck.c): Likewise.
18788         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
18789         -Wno-error=undef.
18791 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
18793         * i386/i686/multiarch/strcasestr-c.c: Removed.
18794         * x86_64/multiarch/strcasestr.c: Likewise.
18795         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18796         Remove strcasestr.
18798 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
18800         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
18802         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
18803         variables for high and low parts before possibly modifying them.
18805 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
18807         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
18808         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
18809         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
18810         of "multiarch/init-arch.h".
18811         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
18812         * sysdeps/x86/init-arch.h: This.
18814 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
18816         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
18817         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
18819 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
18821         [BZ #17787]
18822         * manual/macros.texi: Add twoexp macro.
18823         * manual/filesys.texi: Fix exponents.
18824         * manual/llio.texi: Likewise.
18825         * manual/stdio.texi: Likewise.
18827 2015-08-20  Florian Weimer  <fweimer@redhat.com>
18829         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
18830         incorrect use.
18832 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
18834         [BZ #18370]
18835         * math/s_csqrt.c (__csqrt): Force underflow exception for results
18836         whose real or imaginary part has small absolute value.
18837         * math/s_csqrtf.c (__csqrtf): Likewise.
18838         * math/s_csqrtl.c (__csqrtl): Likewise.
18839         * math/auto-libm-test-in: Add more tests of csqrt.
18840         * math/auto-libm-test-out: Regenerated.
18841         * sysdeps/i386/fpu/libm-test-ulps: Update.
18843 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
18845         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
18846         __ppc_set_ppr_very_low): New functions.
18847         * manual/platform.texi: Add documentation about
18848         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
18850 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
18852         * string/stpncpy.c (stpncpy): Improve performance using
18853         __strnlen/memcpy/memset.
18855 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
18857         [BZ #18796]
18858         * scripts/test-installation.pl: Don't add -lmvec to build options if
18859         libmvec wasn't built.
18861 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
18863         [BZ #14341]
18864         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
18865         case when there is a gap between DT_REL and DT_JMPREL sections.
18866         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
18867         (LDFLAGS-tst-split-dynreloc): New.
18868         (tst-split-dynreloc-ENV): Likewise.
18869         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
18870         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
18872 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
18874         [BZ #18822]
18875         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
18876         attribute_hidden.
18877         (__xstat64_conv): Likewise.
18878         (__xstat32_conv): Likewise.
18880 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
18882         [BZ #18822]
18883         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
18884         Don't load %ebx when calling __setcontext.  Call __setcontext
18885         with HIDDEN_JUMPTARGET.
18886         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
18887         libc_hidden_def.
18889 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
18891         * sysdeps/i386/i686/Makefile
18892         [$(subdir) == string] (sysdep_routines): Moved to ...
18893         * sysdeps/i386/Makefile: Here.
18894         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
18895         * sysdeps/i386/cacheinfo.c: Here.
18896         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
18897         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
18898         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
18899         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
18901 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
18903         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
18904         __i586__ is defined.
18905         (HAS_I686): Defined to 1 if __i686__ is defined.
18907 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
18909         * elf/Makefile [$(have-z-execstack) = yes]
18910         (CPPFLAGS-tst-execstack.c): New variable.
18912         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
18913         conditional to [defined UTMPX || _HAVE_UT_TYPE].
18914         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
18915         UTMPX || _HAVE_UT_TV].
18916         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
18917         UTMPX || _HAVE_UT_TV - 0].
18919 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
18921         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
18922         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
18923         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
18925 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18927         * sysdeps/powerpc/dl-procinfo.c:
18928         (_dl_powerpc_cap_flags): Added missing strings for some
18929         hwcap features.
18930         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
18932 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
18934         Port the 0x7efe...feff pattern to GCC 6.
18935         See Steve Ellcey's bug report in:
18936         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
18937         * string/memrchr.c (MEMRCHR):
18938         * string/rawmemchr.c (RAWMEMCHR):
18939         * string/strchr.c (strchr):
18940         * string/strchrnul.c (STRCHRNUL):
18941         Rewrite code to avoid issues with signed shift overflow.
18943 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
18945         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
18946         whether cpuid is available only if HAS_CPUID is 0.
18947         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
18948         (HAS_I586): Likewise.
18949         (HAS_I686): Likewise.
18951 2015-08-18  Zack Weinberg  <zackw@panix.com>
18953         * misc/Versions (libc): Add GLIBC_2.23.
18955 2015-08-18  Alan Modra  <amodra@gmail.com>
18957         [BZ #18421]
18958         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
18959         .Lp__global.
18960         (_start): Load %dp via .Lp__global.
18961         [!SHARED]: Use .section .rodata.
18963 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18965         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
18966         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
18968 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18970         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
18971         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
18973 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18975         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
18976         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
18978 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18980         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
18981         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
18983 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18985         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
18986         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
18988 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18990         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
18991         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
18993 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18995         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
18997 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18999         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
19000         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
19001         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19002         (__ASSUME_LWS_CAS): Delete.
19004 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19006         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
19007         * sysdeps/hppa/configure: Regenerated.
19008         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
19009         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
19010         * sysdeps/hppa/nptl/tls.h: Likewise.
19012 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
19014         [BZ #18823]
19015         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
19016         for scaling up small arguments.
19017         * math/s_csqrtf.c (__csqrtf): Likewise.
19018         * math/s_csqrtl.c (__csqrtl): Likewise.
19019         * math/auto-libm-test-in: Add more tests of csqrt.
19020         * math/auto-libm-test-out: Regenerated.
19022 2015-08-17  Andreas Schwab  <schwab@suse.de>
19024         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
19025         version set GLIBC_2.19.
19027 2015-08-16  Zack Weinberg  <zackw@panix.com>
19029         [BZ #18681]
19030         * misc/regexp.h: This interface is no longer supported.
19031         Remove all contents, leaving only an #error directive.
19032         * misc/regexp.c (loc1, loc2, locs, step, advance):
19033         Demote to compatibility symbols.
19035 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
19037         [BZ #18084]
19038         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
19039         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
19040         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
19041         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
19042         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
19043         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
19044         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
19045         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
19046         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
19048 2015-08-15  Zack Weinberg  <zackw@panix.com>
19050         [BZ #18795]
19051         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
19052         buffer length is known to be too large, not if it's known to be
19053         small enough.
19054         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
19055         overflow at runtime, involving a length parameter, twice: once
19056         with a compile-time constant length parameter, once without.
19058 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
19060         [BZ #18824]
19061         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
19062         scaling x * y up instead of down.
19063         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19064         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19065         * math/auto-libm-test-in: Add more tests of fma.
19066         * math/auto-libm-test-out: Regenerated.
19068 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
19070         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19072 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19074         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
19075         unnecessary movq.
19076         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
19077         Likewise.
19079 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
19081         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19082         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
19083         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
19084         and tgamma.
19085         * math/auto-libm-test-out: Regenerated.
19086         * sysdeps/i386/fpu/libm-test-ulps: Update.
19087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19089         [BZ #16520]
19090         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
19091         (__tanh): Force underflow exception for arguments with small
19092         absolute value.
19093         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
19094         (__tanhf): Force underflow exception for arguments with small
19095         absolute value.
19096         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
19097         (__tanhl): Force underflow exception for arguments with small
19098         absolute value.
19099         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
19100         (__tanhl): Force underflow exception for arguments with small
19101         absolute value.
19102         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
19103         (__tanhl): Force underflow exception for arguments with small
19104         absolute value.
19105         * math/auto-libm-test-in: Add more tests of tanh.
19106         * math/auto-libm-test-out: Regenerated.
19107         * sysdeps/i386/fpu/libm-test-ulps: Update.
19109 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19111         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
19112         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
19114 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19116         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
19117         <cpuid.h>.
19119 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19121         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
19122         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
19124 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19126         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
19127         Remove $(objpfx)init-arch.o.
19128         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
19129         init-arch.
19130         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
19131         (INIT_ARCH_EXT): Defined as empty.
19132         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
19133         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
19134         __init_cpu_features call.  Replace HAS_XXX with
19135         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
19136         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
19137         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
19138         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
19139         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
19140         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
19141         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
19142         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
19143         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
19144         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
19145         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
19146         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
19147         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
19148         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
19149         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
19150         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
19151         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
19152         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
19153         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
19154         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
19155         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
19156         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
19157         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
19158         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
19159         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
19160         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
19161         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
19162         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
19163         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
19164         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
19165         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
19166         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
19167         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
19168         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
19169         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
19170         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
19172 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19174         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
19175         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
19176         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
19177         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
19178         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
19179         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
19180         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
19181         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
19182         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
19183         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
19184         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
19185         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
19186         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
19187         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19188         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19189         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19190         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19191         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19192         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19193         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19194         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19195         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19196         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19197         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19198         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19199         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19200         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19201         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19202         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19203         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19204         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19205         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19206         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19207         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19208         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19209         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19210         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19211         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19212         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19213         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19214         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19215         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19216         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19218 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19220         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
19221         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
19222         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
19223         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19224         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19225         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
19226         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19227         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
19228         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
19229         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19230         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19231         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
19232         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
19233         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
19234         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
19235         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
19236         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
19237         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
19238         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
19239         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
19240         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
19241         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
19242         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
19243         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19244         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19245         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
19246         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
19247         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
19248         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
19249         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19250         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19251         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19252         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19253         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19254         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19255         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
19256         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
19257         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19258         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
19259         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
19260         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19261         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
19262         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
19264 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19266         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
19267         (dl_platform_init): Call init_cpu_features.
19268         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
19269         * sysdeps/i386/i686/cacheinfo.c
19270         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
19271         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
19272         * sysdeps/i386/i686/multiarch/Versions: Removed.
19273         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
19274         Removed.
19275         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
19276         * sysdeps/unix/sysv/linux/x86/Makefile
19277         (libpthread-sysdep_routines): Remove init-arch.
19278         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
19279         <sysdeps/x86_64/dl-procinfo.c> instead of
19280         sysdeps/generic/dl-procinfo.c>.
19281         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
19282         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
19283         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
19284         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
19285         [$(subdir) == elf] (tests-static): Add
19286         tst-get-cpu-features-static.
19287         * sysdeps/x86/Versions: New file.
19288         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
19289         * sysdeps/x86/cpu-features.c: Likewise.
19290         * sysdeps/x86/cpu-features.h: Likewise.
19291         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
19292         * sysdeps/x86/libc-start.c: Likewise.
19293         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
19294         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
19295         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
19296         * sysdeps/x86_64/dl-procinfo.c: Likewise.
19297         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
19298         Assume USE_MULTIARCH is defined and don't check it.
19299         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
19300         (is_amd): Likewise.
19301         (max_cpuid): Likewise.
19302         (intel_check_word): Likewise.
19303         (__cache_sysconf): Don't call __init_cpu_features.
19304         (__x86_preferred_memory_instruction): Removed.
19305         (init_cacheinfo): Don't call __init_cpu_features. Replace
19306         __cpu_features with GLRO(dl_x86_cpu_features).
19307         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
19308         (dl_platform_init): Call init_cpu_features.
19309         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
19310         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
19311         * sysdeps/x86_64/multiarch/Versions: Removed.
19312         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
19313         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
19314         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
19315         Removed.
19316         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
19318 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
19320         [BZ #18820]
19321         * libio/Makefile (test-fmemopen-mem): New test.
19322         * libio/test-fmemopen.c (do_bz18820): New test.
19323         * libio/fmemopen.c (__fmemopen): Fix memory leak.
19324         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
19326 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
19328         [BZ #16734]
19329         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
19330         (FREE_BUF): Delete.
19331         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
19332         * libio/genops.c (_IO_setb): Use malloc and free directly.
19333         (_IO_default_doallocate, _IO_default_finish): Likewise.
19334         ( _IO_unbuffer_all): Likewise.
19335         ( libc_freeres_fn): Likewise.
19336         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
19337         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
19338         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
19339         (_IO_wdefault_doallocate): Likewise.
19341 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
19343         [BZ #18086]
19344         * sysdeps/posix/nice.c (nice): Restore old errno.
19345         * posix/tst-nice.c (do_test): Add test for BZ #18086.
19347 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
19349         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
19351 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19353         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
19354         __bcopy and add a weak_alias to bcopy.
19355         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
19356         for static build.
19358         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
19359         cleanup macro usage.
19360         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
19361         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
19362         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
19363         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
19364         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
19365         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
19366         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
19367         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
19368         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
19369         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
19370         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
19371         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
19372         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
19373         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
19374         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
19375         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
19376         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
19377         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
19378         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
19380         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
19381         libc_hidden_def.
19382         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
19384         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
19385         (sysdep_routines): Add strstr-ppc64.
19386         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
19388 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
19390         [BZ #18778]
19391         * elf/Makefile (tests): Add Add tst-nodelete2.
19392         (modules-names): Add tst-nodelete2mod.
19393         (tst-nodelete2mod.so-no-z-defs): New.
19394         ($(objpfx)tst-nodelete2): Likewise.
19395         ($(objpfx)tst-nodelete2.out): Likewise.
19396         (LDFLAGS-tst-nodelete2): Likewise.
19397         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
19398         out of loop through all loaded libraries.
19399         * elf/tst-nodelete2.c: New file.
19400         * elf/tst-nodelete2mod.c: Likewise.
19401         * elf/tst-znodelete-zlib.cc: Delete.
19403 2015-08-11  Andreas Schwab  <schwab@suse.de>
19405         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
19406         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
19407         (__openat64_nocancel): Likewise.
19409 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
19411         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
19412         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
19413         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
19414         * math/auto-libm-test-out: Regenerated.
19415         * sysdeps/i386/fpu/libm-test-ulps: Update.
19416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19418 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
19420         [BZ #18790]
19421         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
19422         threshold for returning +/- 1.
19423         * math/auto-libm-test-in: Add more tests of tanh.
19424         * math/auto-libm-test-out: Regenerated.
19425         * sysdeps/i386/fpu/libm-test-ulps: Update.
19427 2015-08-10  Andreas Schwab  <schwab@suse.de>
19429         [BZ #18781]
19430         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
19431         MORE_OFLAGS to oflag.
19432         * io/test-lfs.c (do_test): Test openat64.
19434 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
19436         [BZ #18789]
19437         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
19438         smaller threshold for returning the argument.
19439         * math/auto-libm-test-in: Add more tests of sinh.
19440         * math/auto-libm-test-out: Regenerated.
19441         * sysdeps/i386/fpu/libm-test-ulps: Update.
19443 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
19445         [BZ #18674]
19446         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
19447         break.
19449 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
19451         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
19452         (generated): Don't add $(addprefix z.,$(tzfiles)).
19454 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
19456         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
19457         * scripts/sysd-rules.awk: Likewise.
19459 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
19461         * iconvdata/tst-tables.sh: Change echo -n to printf.
19462         * nss/db-Makefile: Likewise.
19463         * posix/tst-getconf.sh: Likewise.
19464         * stdio-common/tst-unbputc.sh: Likewise.
19466 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
19468         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
19469         MADV_*_PAGES defines behind this feature check.
19471 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
19473         [BZ #18480]
19474         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
19475         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
19476         Define.
19477         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
19478         LOAD_REGS_5, LOAD_REGS_6): Update.
19479         (INTERNAL_SYSCALL): Update using new LOAD defines.
19480         (INTERNAL_SYSCALL_NCS): Likewise.
19481         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
19483 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
19485         [BZ #16734]
19486         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
19488 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
19490         [BZ #17905]
19491         * catgets/Makefile (tst-catgets-mem): New test.
19492         * catgets/catgets.c (catopen): Don't use unbounded alloca.
19493         * catgets/open_catalog.c (__open_catalog): Likewise.
19494         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
19496 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
19498         [BZ #18787]
19499         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
19500         clobber registers.
19501         (atomic_compare_and_exchange_val_acq): Use register asms to assign
19502         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
19503         Cast return to __typeof (oldval).
19505 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
19507         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
19508         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
19509         and delete sys/syscall.h include.
19511 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
19513         [BZ #16517]
19514         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
19515         (tan): Force underflow exception for arguments with small absolute
19516         value.
19517         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
19518         (__kernel_tanf): Force underflow exception for arguments with
19519         small absolute value.
19520         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
19521         (__kernel_tanl): Force underflow exception for arguments with
19522         small absolute value.
19523         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
19524         (__kernel_tanl): Force underflow exception for arguments with
19525         small absolute value.
19526         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
19527         (__kernel_tanl): Force underflow exception for arguments with
19528         small absolute value.
19529         * math/auto-libm-test-in: Add more tests of tan.
19530         * math/auto-libm-test-out: Regenerated.
19532 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19534         Fix sysdeps/i386/fpu/s_scalbn.S build
19536         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
19538 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
19540         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
19542 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19544         Fix gcrt0.o compilation
19546         When static-start-installed-name is different from
19547         start-installed-name, we must not use the shared objects.
19549         * csu/Makefile
19550         (extra-objs): Add gmon-start.o when building shared library and
19551         $(static-start-installed-name) is different from
19552         $(start-installed-name).
19553         $(objpfx)g$(static-start-installed-name): When building shared
19554         library and $(static-start-installed-name) is different from
19555         $(static-start-installed-name), revert to non-shared rule,
19556         i.e. using $(objpfx)% and gmon-start.o.
19558 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
19560         [BZ #16519]
19561         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
19562         (__ieee754_sinh): Force underflow exception for arguments with
19563         small absolute value.
19564         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
19565         (__ieee754_sinhf): Force underflow exception for arguments with
19566         small absolute value.
19567         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
19568         (__ieee754_sinhl): Force underflow exception for arguments with
19569         small absolute value.
19570         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
19571         (__ieee754_sinhl): Force underflow exception for arguments with
19572         small absolute value.
19573         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
19574         (__ieee754_sinhl): Force underflow exception for arguments with
19575         small absolute value.
19576         * math/auto-libm-test-in: Add more tests of sinh.
19577         * math/auto-libm-test-out: Regenerated.
19578         * sysdeps/i386/fpu/libm-test-ulps: Update.
19580 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
19582         * libio/oldfileops.c: Include unistd.h.
19584 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
19586         * stdlib/isomac.c: Include ctype.h.
19588 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
19590         * dirent/tst-seekdir.c (main): Converted to ...
19591         (do_test): ... this.
19592         (TEST_FUNCTION): New macro.
19593         Include test-skeleton.c.
19594         * elf/tst-dlmodcount.c (main): Converted to ...
19595         (do_test): ... this.
19596         (TEST_FUNCTION): New macro.
19597         Include test-skeleton.c.
19598         * elf/tst-order-main.c (main): Converted to ...
19599         (do_test): ... this.
19600         (TEST_FUNCTION): New macro.
19601         Include test-skeleton.c.
19602         * elf/tst-pie2.c (main): Converted to ...
19603         (do_test): ... this.
19604         (TEST_FUNCTION): New macro.
19605         Include test-skeleton.c.
19606         * inet/tst-ether_aton.c (main): Converted to ...
19607         (do_test): ... this.
19608         (TEST_FUNCTION): New macro.
19609         Include test-skeleton.c.
19610         * misc/tst-mntent.c (main): Converted to ...
19611         (do_test): ... this.
19612         (TEST_FUNCTION): New macro.
19613         Include test-skeleton.c.
19614         * misc/tst-tsearch.c (main): Converted to ...
19615         (do_test): ... this.
19616         (TEST_FUNCTION): New macro.
19617         Include test-skeleton.c.
19618         * posix/tst-regexloc.c (main): Converted to ...
19619         (do_test): ... this.
19620         (TEST_FUNCTION): New macro.
19621         Include test-skeleton.c.
19622         * resolv/tst-aton.c (main): Converted to ...
19623         (do_test): ... this.
19624         (TEST_FUNCTION): New macro.
19625         Include test-skeleton.c.
19626         * stdio-common/test-fwrite.c (main): Converted to ...
19627         (do_test): ... this.
19628         (TEST_FUNCTION): New macro.
19629         Include test-skeleton.c.
19630         * stdio-common/tst-ferror.c (main): Converted to ...
19631         (do_test): ... this.
19632         (TEST_FUNCTION): New macro.
19633         Include test-skeleton.c.
19634         * stdio-common/tst-printf.c (main): Converted to ...
19635         (do_test): ... this.
19636         (TEST_FUNCTION): New macro.
19637         Include test-skeleton.c.
19638         * stdio-common/tst-printfsz.c (main): Converted to ...
19639         (do_test): ... this.
19640         (TEST_FUNCTION): New macro.
19641         Include test-skeleton.c.
19642         * stdlib/tst-strtod.c (main): Converted to ...
19643         (do_test): ... this.
19644         (TEST_FUNCTION): New macro.
19645         Include test-skeleton.c.
19646         * string/tst-strlen.c (main): Converted to ...
19647         (do_test): ... this.
19648         (TEST_FUNCTION): New macro.
19649         Include test-skeleton.c.
19650         * string/tst-svc.c (main): Converted to ...
19651         (do_test): ... this.
19652         (TEST_FUNCTION): New macro.
19653         Include test-skeleton.c.
19654         * time/tst-strptime.c (main): Converted to ...
19655         (do_test): ... this.
19656         (TEST_FUNCTION): New macro.
19657         Include test-skeleton.c.
19658         * timezone/tst-timezone.c (main): Converted to ...
19659         (do_test): ... this.
19660         (TEST_FUNCTION): New macro.
19661         Include test-skeleton.c.
19663 2015-08-05  Zack Weinberg  <zackw@panix.com>
19665         * misc/regexp.h: Update comments.
19667 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
19669         [BZ #18635]
19670         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
19671         before return label.
19673 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
19675         [BZ #18661]
19676         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
19677         when calling __errno_location.
19678         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
19679         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
19681 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
19683         [BZ #18661]
19684         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
19685         (__lll_timedwait_tid): Align stack to 16 bytes when calling
19686         __gettimeofday.
19688 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
19690         [BZ #18661]
19691         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
19692         (__start_context): Don't use pop to restore %rdi so that stack
19693         is aligned to 16 bytes when calling __setcontext.
19695 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
19697         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
19698         only for libc.
19699         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
19701 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
19703         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
19704         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
19705         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
19707 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
19709         * string/memccpy.c (memccpy):
19710         Improve performance by using memchr/memcpy/__mempcpy.
19712 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
19714         * string/strncpy.c (strncpy):
19715         Improve performance by using __strnlen/memcpy.
19717 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
19719         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
19720         Optimize to avoid an unnecessary FPCR read.
19722 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
19724         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
19725         Optimize to reduce FPCR/FPSR accesses.
19727 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
19729         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
19730         dead->data[category] != NULL.
19732 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
19734         [BZ #18647]
19735         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
19736         and |x| close to 1, use absolute value of x when computing log.
19737         * math/auto-libm-test-in: Add more tests of pow.
19738         * math/auto-libm-test-out: Regenerated.
19740 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19742         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
19743         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
19744         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
19746 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
19748         [BZ #18525]
19749         * locales/km_KH: Remove timezone definition.
19750         * locales/lo_LA: Likewise.
19751         * locales/my_MM: Likewise.
19752         * locales/nan_TW@latin: Likewise.
19753         * locales/th_TH: Likewise.
19754         * locales/uk_UA: Likewise.
19756 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
19758         [BZ #18265]
19759         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
19760         (wcsncat): Likewise.
19761         (wcscmp): Likewise.
19762         (wcsncmp): Likewise.
19764 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
19766         * test-skeleton.c (usage): New function.
19767         (main): Call usage when opt is '?'.
19769 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
19771         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
19772         before first use.
19774 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
19776         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
19777         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
19778         in there too.
19780 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
19782         * version.h (RELEASE): Set to "development".
19783         (VERSION): Set to "2.22.90"
19785         * version.h (RELEASE): Set to "stable".
19786         (VERSION): Set to "2.22"
19787         * include/features.h (__GLIBC_MINOR__): Set to 22.
19789 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
19791         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
19792         Restructure macro to avoid "value computed is not used" warning.
19793         (atomic_compare_and_exchange_val_acq): Likewise.
19795 2015-08-04  Andreas Schwab  <schwab@suse.de>
19797         [BZ #18635]
19798         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
19799         ret.
19800         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
19802 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
19804         * po/pl.po: Updated translation.
19805         * po/uk.po: Likewise.
19806         * po/fi.po: Likewise.
19807         * po/ko.po: Likewise.
19808         * po/ru.po: Likewise.
19809         * po/vi.po: Likewise.
19811 2015-07-31  Zack Weinberg  <zackw@panix.com>
19813         [BZ #18681]
19814         * regexp.h: Add unconditional #warning stating that this header
19815         will be removed soon.  Revise banner comment to match.
19816         (compile): Consistently use ERROR instead of RETURN to report
19817         errors (partial fix for bz#18681).
19818         * regexp.c: Don't include regexp.h. Remove some unnecessary
19819         declarations.
19821 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
19823         * po/libc.pot: Regenerated.
19825 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
19827         [BZ #18740]
19828         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
19829         float-vlen4-arch-ext-cflags): Removed.
19830         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
19831         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
19833 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
19835         [BZ #14113]
19836         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
19837         aligned to __aligned__.
19838         (pthread_cond_t, pthread_rwlock_t): Likewise.
19840 2015-07-30  Torvald Riegel  <triegel@redhat.com>
19842         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
19844 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
19846         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
19847         (struct sigaction): Change sa_flags from a long to an int, and add
19848         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
19850 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
19852         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
19853         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
19854         sysdeps/generic/sysdep.h include.
19855         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
19856         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
19857         sysdeps/hppa/sysdep.h.
19858         (ENTRY, PSEUDO): Undefine before defining.
19860 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
19862         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
19863         from scratch to use INTERNAL_SYSCALL.
19865 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
19867         [BZ #18078]
19868         * scripts/check-localplt.awk: Support alternate relocations.
19869         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
19870         sections.
19871         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
19872         malloc entries with + REL R_386_GLOB_DAT.
19873         * sysdeps/x86_64/localplt.data: New file.
19875 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
19877         [BZ #18731]
19878         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
19879         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19880         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19882 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
19884         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
19886 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
19888         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
19889         directly in terms of __sync_fetch_and_add and delete (int) cast.
19891 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
19893         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
19894         the -D_ASM_IA64_CURRENT_H flag.
19896 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
19898         [BZ #18641]
19899         * pwd/pwd.h (putpwent): Delete __nonnull markings.
19901 2015-07-27  Andreas Schwab  <schwab@suse.de>
19903         * conform/conformtest.pl (checknamespace): Filter out string
19904         literals while tokenizing.
19906 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
19908         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
19909         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
19910         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
19912 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
19914         * nptl/tst-join7mod.c: Add #include <string.h>.
19916 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
19918         * sysdeps/nios2/libm-test-ulps: Update.
19920 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
19922         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
19923         Fix order of arguments to the rt_sigprocmask syscall.
19924         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
19925         Likewise.
19927 2015-07-24  Roland McGrath  <roland@hack.frob.com>
19929         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
19931 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19933         [BZ #18457]
19934         * nptl/Makefile (tests): New test case tst-join7.
19935         (modules-names): New test case module tst-join7mod.
19936         * nptl/tst-join7.c: New file.
19937         * nptl/tst-join7mod.c: New file.
19938         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
19939         all translation units in libc.so, libpthread.so and rtld.
19941 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19943         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19945 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
19947         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
19948         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
19949         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
19950         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
19951         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
19952         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
19953         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
19954         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
19955         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
19956         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
19957         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
19958         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
19959         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
19960         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
19961         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
19962         implementation.
19964 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19966         [BZ #17711]
19967         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
19968         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
19969         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
19970         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
19971         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
19972         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
19974 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19976         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
19977         instead of just saying load lock in the comments.
19979 2015-07-23  Roland McGrath  <roland@hack.frob.com>
19981         * sysdeps/unix/Subdirs: Moved ...
19982         * sysdeps/posix/Subdirs: ... here.
19983         * login/pty.h (struct termios, struct winsize): Add forward decls.
19984         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
19985         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
19986         * sysdeps/arm/nacl/libc.abilist: Updated.
19987         * sysdeps/nacl/libutil.abilist: New file.
19989         * bits/signum.h: Update comments to mention 1003.1-2013 too.
19990         (SIGWINCH): New macro.
19992         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
19993         * sysdeps/arm/nacl/libc.abilist: Add it.
19995 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
19997         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
19999 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
20001         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
20002         Swap __glibc_reserved0 and sa_flags order.
20004 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20006         [BZ #18657]
20007         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
20008         are pending TLS destructor calls.
20009         * include/link.h (struct link_map): Add concurrency note for
20010         L_TLS_DTOR_COUNT.
20011         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
20012         Don't touch the link map flag.  Atomically increment
20013         l_tls_dtor_count.
20014         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
20015         Avoid taking the load lock and don't touch the link map flag.
20016         * stdlib/tst-tls-atexit-nodelete.c: New test case.
20017         * stdlib/Makefile (tests): Use it.
20018         * stdlib/tst-tls-atexit.c (do_test): dlopen
20019         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
20020         to allow tst-tls-atexit-nodelete test case to use it.
20022 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
20024         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
20025         to bits/types.h.
20026         (msgqnum_t): New typedef.
20027         (msglen_t): Likewise.
20028         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
20029         and msg_qbytes type to msglen_t.
20031 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
20033         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
20034         pad0 to __glibc_reserved0.
20035         (struct stat64): Likewise.
20037 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
20039         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
20040         Change sa_flags from a long to an int and add __glibc_reserved0 before
20041         it for padding.
20043 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
20045         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
20046         anonymous by deleting "siginfo" name.
20048 2015-07-21  Roland McGrath  <roland@hack.frob.com>
20050         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
20051         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
20052         rather than __nacl_irt_filename.
20053         * sysdeps/nacl/xstat.c (__xstat): Likewise.
20055         * NEWS: New item for arm-nacl port.
20056         * sysdeps/arm/nacl/libc.abilist: New file.
20057         * sysdeps/nacl/ld.abilist: New file.
20058         * sysdeps/nacl/libBrokenLocale.abilist: New file.
20059         * sysdeps/nacl/libanl.abilist: New file.
20060         * sysdeps/nacl/libcrypt.abilist: New file.
20061         * sysdeps/nacl/libdl.abilist: New file.
20062         * sysdeps/nacl/libm.abilist: New file.
20063         * sysdeps/nacl/libpthread.abilist: New file.
20064         * sysdeps/nacl/libresolv.abilist: New file.
20065         * sysdeps/nacl/librt.abilist: New file.
20067 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
20069         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
20070         __startcontext to initialize the new context.
20071         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
20072         up CFI directive to forbid further backtracing.
20074 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
20076         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
20077         reference.
20078         * charmaps/ANSI_X3.4-1968: Likewise.
20079         * charmaps/BS_4730: Likewise.
20080         * charmaps/BS_VIEWDATA: Likewise.
20081         * charmaps/CP1250: Likewise.
20082         * charmaps/CP1251: Likewise.
20083         * charmaps/CP1252: Likewise.
20084         * charmaps/CP1253: Likewise.
20085         * charmaps/CP1254: Likewise.
20086         * charmaps/CP1255: Likewise.
20087         * charmaps/CP1256: Likewise.
20088         * charmaps/CSN_369103: Likewise.
20089         * charmaps/EBCDIC-DK-NO: Likewise.
20090         * charmaps/GB_1988-80: Likewise.
20091         * charmaps/GREEK-CCITT: Likewise.
20092         * charmaps/GREEK7: Likewise.
20093         * charmaps/INIS-8: Likewise.
20094         * charmaps/ISIRI-3342: Likewise.
20095         * charmaps/ISO_2033-1983: Likewise.
20096         * charmaps/ISO_5427-EXT: Likewise.
20097         * locales/POSIX: Likewise.
20098         * locales/ar_SA: Likewise.
20099         * locales/be_BY: Likewise.
20100         * locales/be_BY@latin: Likewise.
20101         * locales/ca_ES: Likewise.
20102         * locales/cs_CZ: Likewise.
20103         * locales/da_DK: Likewise.
20104         * locales/de_BE: Likewise.
20105         * locales/de_CH: Likewise.
20106         * locales/de_LU: Likewise.
20107         * locales/en_AU: Likewise.
20108         * locales/en_BW: Likewise.
20109         * locales/en_CA: Likewise.
20110         * locales/en_DK: Likewise.
20111         * locales/en_GB: Likewise.
20112         * locales/en_IE: Likewise.
20113         * locales/en_NZ: Likewise.
20114         * locales/en_ZA: Likewise.
20115         * locales/en_ZW: Likewise.
20116         * locales/es_AR: Likewise.
20117         * locales/es_BO: Likewise.
20118         * locales/es_CL: Likewise.
20119         * locales/es_CO: Likewise.
20120         * locales/es_DO: Likewise.
20121         * locales/es_EC: Likewise.
20122         * locales/es_ES: Likewise.
20123         * locales/es_HN: Likewise.
20124         * locales/es_MX: Likewise.
20125         * locales/es_PA: Likewise.
20126         * locales/es_PE: Likewise.
20127         * locales/es_PY: Likewise.
20128         * locales/es_SV: Likewise.
20129         * locales/es_US: Likewise.
20130         * locales/es_UY: Likewise.
20131         * locales/es_VE: Likewise.
20132         * locales/et_EE: Likewise.
20133         * locales/fa_IR: Likewise.
20134         * locales/fo_FO: Likewise.
20135         * locales/fr_CA: Likewise.
20136         * locales/fr_CH: Likewise.
20137         * locales/gv_GB: Likewise.
20138         * locales/he_IL: Likewise.
20139         * locales/hr_HR: Likewise.
20140         * locales/id_ID: Likewise.
20141         * locales/is_IS: Likewise.
20142         * locales/it_CH: Likewise.
20143         * locales/iw_IL: Likewise.
20144         * locales/kl_GL: Likewise.
20145         * locales/ko_KR: Likewise.
20146         * locales/kw_GB: Likewise.
20147         * locales/lg_UG: Likewise.
20148         * locales/lt_LT: Likewise.
20149         * locales/lv_LV: Likewise.
20150         * locales/mi_NZ: Likewise.
20151         * locales/nhn_MX: Likewise.
20152         * locales/nl_BE: Likewise.
20153         * locales/pl_PL: Likewise.
20154         * locales/sk_SK: Likewise.
20155         * locales/sl_SI: Likewise.
20156         * locales/sv_FI: Likewise.
20157         * locales/tl_PH: Likewise.
20158         * locales/tr_TR: Likewise.
20159         * locales/vi_VN: Likewise.
20161 2015-07-21  Khem Raj  <raj.khem@gmail.com>
20163         [BZ #17475]
20164         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
20165         of tu_IN and bh_IN.
20167 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
20169         [BZ #18694]
20170         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
20171         bits/wordsize.h.
20172         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
20174 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20176         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
20177         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
20178         (spawn_thread): New function.
20179         (load): Rename to reg_dtor_and_close.  Move dlopen to...
20180         (do_test): ... here.  Use IS_LOADED to test for its
20181         availability.
20183 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
20185         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
20187 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
20189         [BZ #18696]
20190         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
20191         si_addr_bnd.
20192         (si_lower): New.
20193         (si_upper): Likewise.
20195 2015-07-16  David S. Miller  <davem@davemloft.net>
20197         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
20199 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20201         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
20202         buffer.
20203         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
20204         fail output information.
20206 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20208         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
20209         and strstr-ppc64..
20210         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
20211         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
20212         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
20213         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
20214         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
20216 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
20218         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
20219         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
20220         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
20221         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
20223 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
20225         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
20226         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
20227         rtld_hidden_proto.
20228         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
20230 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20232         * tst-nodelete-opened.c (do_test): Add comment to clarify how
20233         the test can fail.
20235         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
20237         [BZ #18676]
20238         * elf/tst-nodelete-opened.c: New test case.
20239         * elf/tst-nodelete-opened-lib.c: New test case module.
20240         * elf/Makefile (tests, modules-names): Use them.
20241         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
20242         early.
20244 2015-07-15  David S. Miller  <davem@davemloft.net>
20246         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
20247         futex-intenal.h
20248         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
20249         * sysdeps/sparc/sparc64/Makefile: Likewise.
20250         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
20251         Remove space from macro define.
20252         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
20254 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
20256         [BZ #17475]
20257         * locale/iso-639.def: Update Bhili and Tulu language codes as
20258         per iso639-3.
20260 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
20262         * elf/tst-leaks1.c (main): Converted to ...
20263         (do_test): ... this.
20264         (TEST_FUNCTION): New macro.
20265         Include test-skeleton.c.
20266         * localedata/tst-langinfo.c (main): Converted to ...
20267         (do_test): ... this.
20268         (TEST_FUNCTION): New macro.
20269         Include test-skeleton.c.
20270         * math/test-fpucw.c (main): Converted to ...
20271         (do_test): ... this.
20272         (TEST_FUNCTION): New macro.
20273         Include test-skeleton.c.
20274         * math/test-tgmath.c (main): Converted to ...
20275         (do_test): ... this.
20276         (TEST_FUNCTION): New macro.
20277         Include test-skeleton.c.
20278         * math/test-tgmath2.c (main): Converted to ...
20279         (do_test): ... this.
20280         (TEST_FUNCTION): New macro.
20281         Include test-skeleton.c.
20282         * setjmp/tst-setjmp.c (main): Converted to ...
20283         (do_test): ... this.
20284         (TEST_FUNCTION): New macro.
20285         Include test-skeleton.c.
20286         * stdio-common/tst-sscanf.c (main): Converted to ...
20287         (do_test): ... this.
20288         (TEST_FUNCTION): New macro.
20289         Include test-skeleton.c.
20290         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
20291         (do_test): ... this.
20292         (TEST_FUNCTION): New macro.
20293         Include test-skeleton.c.
20295         * elf/tst-audit9.c (main): Converted to ...
20296         (do_test): ... this.
20297         (TEST_FUNCTION): New macro.
20298         Include test-skeleton.c.
20300 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
20302         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
20304 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
20306         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
20307         New variable.
20309 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
20311         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20313 2015-07-14  Roland McGrath  <roland@hack.frob.com>
20315         * sysdeps/generic/dl-fileid.h: New file.
20316         * sysdeps/posix/dl-fileid.h: New file.
20317         * sysdeps/nacl/dl-fileid.h: New file.
20318         * include/link.h: Include <dl-fileid.h>.
20319         (struct link_map): Replace l_dev and l_ino with l_file_id.
20320         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
20321         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
20322         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
20324 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20326         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
20328 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20330         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
20331         Add iff $CXX is set.
20332         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
20333         Likewise.
20334         (tst-nodelete-zmodiff): Likewise.
20335         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
20337 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20339         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
20341 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
20343         * sysdeps/aarch64/fpu/math_private.h
20344         (define math_opt_barrier): Add AArch64 version.
20345         (math_force_eval): Likewise.
20347 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
20349         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
20351 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
20353         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
20354         %ld with %jd and cast to intmax_t.
20355         (do_test_length_zero): Likewise.
20357 2015-07-10  Roland McGrath  <roland@hack.frob.com>
20359         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
20361 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
20363         * sysdeps/tile/libm-test-ulps: Regenerated.
20365         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
20366         Comment out the whole function, not just its body.
20368 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20370         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
20371         locks.
20373         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
20375 2015-07-10  Torvald Riegel  <triegel@redhat.com>
20377         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
20378         (sem_assume_only_signals_cause_futex_EINTR): Remove.
20380 2015-07-10  Torvald Riegel  <triegel@redhat.com>
20382         * sysdeps/nptl/futex-internal.h: New file.
20383         * sysdeps/nacl/futex-internal.h: New file.
20384         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
20385         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
20386         error checking.
20387         (setxid_unmark_thread): Likewise.
20388         (__nptl_setxid): Likewise.
20389         (__wait_lookup_done): Likewise.
20390         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
20391         * nptl/nptl-init.c (sighandler_setxid): Likewise.
20392         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
20393         * nptl/pthread_once.c (clear_once_control): Likewise.
20394         (__pthread_once_slow): Likewise.
20395         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
20396         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
20397         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
20398         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
20399         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
20400         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
20401         Likewise.
20402         (__pthread_rwlock_rdlock): Likewise.
20403         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
20404         Likewise.
20405         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
20406         Likewise.
20407         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
20408         Likewise.
20409         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
20410         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
20411         Likewise.
20412         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
20413         __ASSUME_PRIVATE_FUTEX check.
20414         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
20415         Check that shared futexes are supported.
20416         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
20417         wrappers with error checking.
20418         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
20419         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
20420         * nptl/pthread_barrierattr_setpshared.c
20421         (pthread_barrierattr_setpshared): Check that shared futexes are
20422         supported.
20423         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
20424         Likewise.
20425         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
20426         Likewise.
20427         * nptl/sem_init.c (futex_private_if_supported): Remove.
20428         (__new_sem_init): Adapt and check that shared futexes are supported.
20429         * nptl/sem_open.c (sem_open): Likewise.
20430         * nptl/sem_post.c (futex_wake): Remove.
20431         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
20432         (do_futex_wait): Use futex wrappers with error checking.
20433         * nptl/sem_wait.c: Include lowlevellock.h.
20434         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
20435         Use futex_supports_pshared.
20436         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
20437         Use futex wrappers with error checking.
20438         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
20439         Likewise.
20440         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
20441         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
20442         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
20443         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
20444         (futex_wake): Likewise.
20445         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
20446         (do_futex_wait): Use futex wrappers with error checking.
20447         (__new_sem_wait_slow): Update EINTR handling.
20448         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
20450 2015-07-09  Martin Sebor  <msebor@redhat.com>
20452         [BZ #18435]
20453         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
20454         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
20455         * nptl/Makefile (test-xfail-tst-once5): Define.
20457 2015-07-09  Roland McGrath  <roland@hack.frob.com>
20459         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
20460         * elf/dl-minimal.c: For readability, reorder some definitions and
20461         introduce more page breaks.  Include <stdio.h>.
20462         (__libc_fatal): New function.
20464         * include/unistd.h: Add rtld_hidden_proto for _exit.
20465         * posix/_exit.c: Add rtld_hidden_def.
20466         * sysdeps/mach/hurd/_exit.c: Likewise.
20467         * sysdeps/nacl/_exit.c: Likewise.
20468         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
20469         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
20471 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
20473         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
20474         bndmov encoding with zero displacement.
20476 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
20477             H.J. Lu  <hongjiu.lu@intel.com>
20479         [BZ #18134]
20480         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
20481         * sysdeps/i386/configure: Regenerated.
20482         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
20483         (_dl_runtime_profile): Save and restore Intel MPX return bound
20484         registers when calling _dl_call_pltexit.  Add
20485         PRESERVE_BND_REGS_PREFIX before return.
20486         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
20487         (LRV_BND1_OFFSET): Likewise.
20488         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
20489         lrv_bnd1.
20490         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
20491         typo in bndmov encoding.
20492         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
20493         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
20494         branch instructions to preserve bounds.
20496 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
20499         [GLIBC_2.22]: Add fmemopen.
20501 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20503         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
20504         returns an error, also try to use host port from __mach_host_self for
20505         the __vm_wire call.
20506         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
20508 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20510         [BZ #18400]
20511         [BZ #18648]
20512         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
20513         Fix pr_uid and pr_gid members.
20514         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
20515         definition to elf_greg_t.
20517 2015-07-08  Roland McGrath  <roland@hack.frob.com>
20519         [BZ #18383]
20520         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
20521         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
20522         * sysdeps/arm/configure: Regenerated.
20523         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
20524         (test-xfail-tst-tlsalign-static): Variable removed.
20526         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
20527         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
20528         rather than explicit 'ln -s'.
20530         * resolv/rpc/netdb.h: New file.
20531         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
20533 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20535         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
20536         length buffers.
20537         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
20538         test-skeleton.c.
20540         [BZ #6544]
20541         [BZ #11216]
20542         [BZ #12836]
20543         [BZ #13151]
20544         [BZ #13152]
20545         [BZ #14292]
20546         * include/stdio.h (fmemopen): Remove hidden prototype.
20547         (__fmemopen): Add new hidden prototype.
20548         * libio/Makefile: Add oldfmemopen object.
20549         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
20550         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
20551         compliance.
20552         * libio/oldfmemopen.c: New file: old fmemopen implementation for
20553         symbol compatibility.
20554         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
20555         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
20556         fmemopen.
20557         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
20558         on append and read mode.
20559         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
20560         fmemopen.
20561         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
20562         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
20563         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
20564         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
20565         Likewise.
20566         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
20567         [GLIBC_2.22]: Likewise.
20568         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
20569         Likewise.
20570         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
20571         Likewise.
20572         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
20573         [GLIBC_2.22]: Likewise.
20574         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
20575         [GLIBC_2.22]: Likewise.
20576         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
20577         [GLIBC_2.22]: Likewise.
20578         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
20579         [GLIBC_2.22]: Likewise.
20580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
20581         [GLIBC_2.22]: Likewise.
20582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
20583         [GLIBC_2.22]: Likewise.
20584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
20585         [GLIBC_2.22]: Likewise.
20586         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
20587         Likewise.
20588         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
20589         Likewise.
20590         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
20591         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
20592         [GLIBC_2.22]: Likewise.
20593         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
20594         [GLIBC_2.22]: Likewise.
20595         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
20596         [GLIBC_2.22]: Likewise.
20597         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
20598         [GLIBC_2.22]: Likewise.
20599         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
20600         Likewise.
20601         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
20602         Likewise.
20603         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
20604         Likewise.
20605         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
20606         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
20608 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
20610         [BZ #18643]
20611         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
20612         IPV6_PATHMTU, and IPV6_DONTFRAG.
20614 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
20616         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
20617         and _IO_UNBUFFERED.
20618         * libio/oldfileops.c: Likewise.
20619         * libio/wfileops.c: Likewise.
20621 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
20623         * nscd/selinux.c: Delete selinux/flask.h include.
20625 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
20627         [BZ #18641]
20628         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
20629         (putpwent): Likewise.
20630         (getpwnam): Likewise.
20631         (getpwent_r): Likewise.
20632         (getpwuid_r): Likewise.
20633         (getpwnam_r): Likewise.
20634         (fgetpwent_r): Likewise.
20636 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
20638         [BZ #18557]
20639         * inet/rcmd.c (__validuser2_sa): Check user first to
20640         short-circuit host check.
20642 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
20643             Mikhail Ilin  <m.ilin@samsung.com>
20645         [BZ #17833]
20646         * elf/Makefile (tests): Add tst-nodelete.
20647         (modules-names): Add tst-nodelete-uniquemod.
20648         (tst-nodelete-uniquemod.so-no-z-defs): New.
20649         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
20650         (tst-nodelete-zmod.so-no-z-defs): Likewise.
20651         ($(objpfx)tst-nodelete): Likewise.
20652         ($(objpfx)tst-nodelete.out): Likewise.
20653         (LDFLAGS-tst-nodelete): Likewise.
20654         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
20655         * elf/dl-close.c (_dl_close_worker): Add a parameter to
20656         implement forced object deletion.
20657         (_dl_close): Pass false to _dl_close_worker.
20658         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
20659         * elf/tst-nodelete.cc: New file.
20660         * elf/tst-nodeletelib.cc: Likewise.
20661         * elf/tst-znodeletelib.cc: Likewise.
20662         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
20664 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
20666         [BZ #18508]
20667         * stdlib/Makefile ($(objpfx)tst-makecontext3):
20668         Depend on $(libdl).
20669         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
20670         is not called infinitely times.
20671         (backtrace_helper): New function.
20672         (trace_arg): New struct.
20673         (st1): Enlarge stack size.
20674         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
20675         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
20676         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
20677         Likewise.
20679 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
20681         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20683 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
20685         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
20686         Include sys/types.h instead of bits/types.h.
20687         Remove inclusion of bits/wordsize.h.
20689 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
20691         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
20692         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
20693         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
20694         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
20695         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
20696         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
20698 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
20700         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
20701         link-defines.sym.
20702         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
20703         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
20704         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
20705         and LR_SIZE.
20706         * sysdeps/i386/link-defines.sym: New file.
20708 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
20710         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
20711         (modules-names): Add tst-auditmod3a tst-auditmod3b.
20712         ($(objpfx)tst-audit3): New rule.
20713         ($(objpfx)tst-audit3.out): Likewise.
20714         * sysdeps/i386/tst-audit3.c: New file.
20715         * sysdeps/i386/tst-audit3.h: Likewise.
20716         * sysdeps/i386/tst-auditmod3a.c: Likewise.
20717         * sysdeps/i386/tst-auditmod3b.c: Likewise.
20719 2015-07-07  Torvald Riegel  <triegel@redhat.com>
20721         [BZ #18633]
20722         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
20723         pointer in C code.
20724         (__strcat_c): Likewise.
20725         (__strcat_g): Likewise.
20727 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
20729         [BZ #18592]
20730         * misc/sbrk.c: Set errno to ENOMEM on overflow.
20732 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
20734         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
20735         New function.  (__ieee754_sqrtf): New function.
20736         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
20737         New function.
20738         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
20739         New function.
20741 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
20743         * sysdeps/ieee754/support.c: Remove unused file.
20745 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20747         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
20748         registers instead of d ones so the layout is kernel abi compatible.
20749         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
20750         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
20751         Likewise.
20753 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20755         * sysdeps/aarch64/libm-test-ulps: Regenerated.
20757 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
20759         [BZ #18619]
20760         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
20761         and return argument in case of subnormal argument.
20763 2015-07-01  Martin Sebor  <msebor@redhat.com>
20765         [BZ #18435]
20766         * nptl/Makefile: Add tst-once5.cc.
20767         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
20768         Remove macro redefinitions.
20769         * nptl/tst-once5.cc: New test.
20771 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
20773         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20775         * sysdeps/arm/libm-test-ulps: Regenerated.
20777         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
20778         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20780 2015-06-30  Torvald Riegel  <triegel@redhat.com>
20782         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
20783         lll_lock_wait_private and lll_futex_wake probes.
20785         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
20786         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
20787         Likewise.
20788         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
20789         atomic_spin_nop.
20790         * sysdeps/x86_64/bits/atomic.h: Likewise.
20791         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
20792         to atomic_spin_nop and move ...
20793         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
20794         ... here and ...
20795         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
20796         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
20797         atomic_spin_nop instead of BUSY_WAIT_NOP.
20798         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
20799         Likewise.
20800         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
20801         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
20802         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
20803         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
20804         instead of atomic_delay.
20806 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
20808         [BZ #18613]
20809         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
20810         X_ADJ not X when adjusting exponent.
20811         (__ieee754_gamma_r): Do intermediate computations in
20812         round-to-nearest then adjust overflowing and underflowing results
20813         as needed.
20814         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
20815         of X_ADJ not X when adjusting exponent.
20816         (__ieee754_gammaf_r): Do intermediate computations in
20817         round-to-nearest then adjust overflowing and underflowing results
20818         as needed.
20819         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
20820         log of X_ADJ not X when adjusting exponent.
20821         (__ieee754_gammal_r): Do intermediate computations in
20822         round-to-nearest then adjust overflowing and underflowing results
20823         as needed.  Use 1.0L not 1.0f as numerator of division.
20824         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
20825         log of X_ADJ not X when adjusting exponent.
20826         (__ieee754_gammal_r): Do intermediate computations in
20827         round-to-nearest then adjust overflowing and underflowing results
20828         as needed.  Use 1.0L not 1.0f as numerator of division.
20829         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
20830         of X_ADJ not X when adjusting exponent.
20831         (__ieee754_gammal_r): Do intermediate computations in
20832         round-to-nearest then adjust overflowing and underflowing results
20833         as needed.  Use 1.0L not 1.0f as numerator of division.
20834         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
20835         to auto-libm-test-in.
20836         (tgamma_test): Use ALL_RM_TEST.
20837         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
20838         tests of tgamma with spurious-overflow.
20839         * math/auto-libm-test-out: Regenerated.
20840         * math/gen-libm-have-vector-test.sh: Do not check for START.
20841         * sysdeps/i386/fpu/libm-test-ulps: Update.
20842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20844         [BZ #18612]
20845         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
20846         arguments, just return 0.5 times the argument, with underflow
20847         forced as needed.
20848         * math/auto-libm-test-in: Add more tests of j1.
20849         * math/auto-libm-test-out: Regenerated.
20851         [BZ #16559]
20852         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
20853         (__ieee754_j1): Force underflow exception for small results.
20854         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
20855         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
20856         (__ieee754_j1f): Force underflow exception for small results.
20857         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
20858         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20859         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20860         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
20861         (__ieee754_j1l): Force underflow exception for small results.
20862         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20863         * math/auto-libm-test-in: Add more tests of j1 and jn.
20864         * math/auto-libm-test-out: Regenerated.
20866         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
20867         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
20868         (PF_MPLS): Likewise.
20869         (AF_IB): Likewise.
20870         (AF_MPLS): Likewise.
20871         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
20872         value and macro.
20873         (MS_RMT_MASK): Include MS_LAZYTIME.
20875 2015-06-26  Mel Gorman  <mgorman@suse.de>
20877         [BZ #18502]
20878         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
20879         already minimal.
20881 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
20883         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
20884         (DT_MIPS_NUM): Update.
20885         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
20886         DT_MIPS_RLD_MAP_REL.
20888 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
20890         [BZ #16559]
20891         [BZ #18602]
20892         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
20893         round-to-nearest internally then recompute results that
20894         underflowed to zero in the original rounding mode.
20895         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
20896         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20897         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20898         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20899         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
20900         * sysdeps/i386/fpu/libm-test-ulps: Update.
20901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20903 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
20905         * NEWS: Fixed description of link with vector math library.
20907 2015-06-25  Andreas Schwab  <schwab@suse.de>
20909         [BZ #18549]
20910         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
20911         * libio/test-fmemopen.c (do_test): Add test for it.
20913 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
20915         [BZ #17841]
20916         * Makeconfig (no-pie-ldflag): New.
20917         (+link): Set to $(+link-pie) if default to PIE.
20918         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
20919         * config.make.in (build-pie-default): New.
20920         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
20921         is default.  AC_SUBST.
20922         * configure: Regenerated.
20923         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
20925 2015-06-24  Roland McGrath  <roland@hack.frob.com>
20927         * nptl/descr.h (struct pthread): Change type of field setxid_futex
20928         to 'unsigned int'.
20930         * resolv/gai_misc.h (struct waitlist): Change type of field
20931         counterp to 'volatile unsigned int *'.
20932         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
20933         FUTEXADDR and OLDVAL.
20934         * resolv/getaddrinfo_a.c (getaddrinfo_a):
20935         Give local variable TOTAL type 'volatile unsigned int'.
20936         (struct async_waitlist): Change type of field counter to 'unsigned int'.
20937         * resolv/gai_suspend.c (gai_suspend):
20938         Give local variable CNTR type 'unsigned int'.
20940         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
20941         counterp to 'volatile unsigned int *'.
20942         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
20943         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
20944         (aio_suspend): Give local variable CNTR type 'unsigned int'.
20945         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
20946         Give local variable TOTAL type 'volatile unsigned int'.
20947         (struct async_waitlist): Change type of field counter to 'unsigned int'.
20949 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
20951         [BZ #18383]
20952         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
20953         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
20954         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
20955         comment for i386/x86-64.
20956         (test-xfail-tst-tlsalign-extern-static): Removed.
20958 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
20960         * math/test-double.h: New file.
20961         * math/test-float.h: Likewise.
20962         * math/test-ldouble.h: Likewise.
20963         * math/test-math-inline.h: Likewise.
20964         * math/test-math-no-inline.h: Likewise.
20965         * math/test-math-scalar.h: Likewise.
20966         * math/test-math-vector.h: Likewise.
20967         * math/test-vec-loop.h: Remove file.  Contents moved into
20968         test-math-vector.h.
20969         * math/libm-test.inc (MATHCONST): Do not document macro.
20970         * math/test-double.c: Include test-double.h, test-math-no-inline.h
20971         and test-math-scalar.h.
20972         (FUNC): Remove macro.
20973         (FUNC_TEST): Likewise.
20974         (FLOAT): Likewise.
20975         (MATHCONST): Likewise.
20976         (PRINTF_EXPR): Likewise.
20977         (PRINTF_XEXPR): Likewise.
20978         (PRINTF_NEXPR): Likewise.
20979         (TEST_DOUBLE): Likewise.
20980         (TEST_MATHVEC): Likewise.
20981         (__NO_MATH_INLINES): Likewise.
20982         * math/test-float.c: Include test-float.h, test-math-no-inline.h
20983         and test-math-scalar.h.
20984         (FUNC): Remove macro.
20985         (FUNC_TEST): Likewise.
20986         (FLOAT): Likewise.
20987         (MATHCONST): Likewise.
20988         (PRINTF_EXPR): Likewise.
20989         (PRINTF_XEXPR): Likewise.
20990         (PRINTF_NEXPR): Likewise.
20991         (TEST_FLOAT): Likewise.
20992         (TEST_MATHVEC): Likewise.
20993         (__NO_MATH_INLINES): Likewise.
20994         * math/test-idouble.c: Include test-double.h, test-math-inline.h
20995         and test-math-scalar.h.
20996         (FUNC): Remove macro.
20997         (FUNC_TEST): Likewise.
20998         (FLOAT): Likewise.
20999         (MATHCONST): Likewise.
21000         (PRINTF_EXPR): Likewise.
21001         (PRINTF_XEXPR): Likewise.
21002         (PRINTF_NEXPR): Likewise.
21003         (TEST_DOUBLE): Likewise.
21004         (TEST_MATHVEC): Likewise.
21005         (TEST_INLINE): Likewise.
21006         (__NO_MATH_INLINES): Likewise.
21007         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
21008         test-math-scalar.h.
21009         (FUNC): Remove macro.
21010         (FUNC_TEST): Likewise.
21011         (FLOAT): Likewise.
21012         (MATHCONST): Likewise.
21013         (PRINTF_EXPR): Likewise.
21014         (PRINTF_XEXPR): Likewise.
21015         (PRINTF_NEXPR): Likewise.
21016         (TEST_FLOAT): Likewise.
21017         (TEST_MATHVEC): Likewise.
21018         (TEST_INLINE): Likewise.
21019         (__NO_MATH_INLINES): Likewise.
21020         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
21021         and test-math-scalar.h.
21022         (FUNC): Remove macro.
21023         (FUNC_TEST): Likewise.
21024         (FLOAT): Likewise.
21025         (MATHCONST): Likewise.
21026         (PRINTF_EXPR): Likewise.
21027         (PRINTF_XEXPR): Likewise.
21028         (PRINTF_NEXPR): Likewise.
21029         (TEST_LDOUBLE): Likewise.
21030         (TEST_MATHVEC): Likewise.
21031         (TEST_INLINE): Likewise.
21032         (__NO_MATH_INLINES): Likewise.
21033         * math/test-ldouble.c: Include test-ldouble.h,
21034         test-math-no-inline.h and test-math-scalar.h.
21035         (FUNC): Remove macro.
21036         (FUNC_TEST): Likewise.
21037         (FLOAT): Likewise.
21038         (MATHCONST): Likewise.
21039         (PRINTF_EXPR): Likewise.
21040         (PRINTF_XEXPR): Likewise.
21041         (PRINTF_NEXPR): Likewise.
21042         (TEST_LDOUBLE): Likewise.
21043         (TEST_MATHVEC): Likewise.
21044         (__NO_MATH_INLINES): Likewise.
21045         * math/test-double-vlen2.h: Include test-double.h,
21046         test-math-no-inline.h and test-math-vector.h.
21047         (FLOAT): Remove macro.
21048         (FUNC): Likewise.
21049         (MATHCONST): Likewise.
21050         (PRINTF_EXPR): Likewise.
21051         (PRINTF_XEXPR): Likewise.
21052         (PRINTF_NEXPR): Likewise.
21053         (TEST_DOUBLE): Likewise.
21054         (TEST_MATHVEC): Likewise.
21055         (__NO_MATH_INLINES): Likewise.
21056         (CNCT): Likewise.
21057         (CONCAT): Likewise.
21058         (WRAPPER_NAME): Likewise.
21059         (WRAPPER_DECL): Likewise.
21060         (WRAPPER_DECL_ff): Likewise.
21061         (WRAPPER_DECL_fFF): Likewise.
21062         (VECTOR_WRAPPER): Likewise.
21063         (VECTOR_WRAPPER_ff): Likewise.
21064         (VECTOR_WRAPPER_fFF): Likewise.
21065         (VEC_LEN): New macro.
21066         * math/test-double-vlen4.h: Include test-double.h,
21067         test-math-no-inline.h and test-math-vector.h.
21068         (FLOAT): Remove macro.
21069         (FUNC): Likewise.
21070         (MATHCONST): Likewise.
21071         (PRINTF_EXPR): Likewise.
21072         (PRINTF_XEXPR): Likewise.
21073         (PRINTF_NEXPR): Likewise.
21074         (TEST_DOUBLE): Likewise.
21075         (TEST_MATHVEC): Likewise.
21076         (__NO_MATH_INLINES): Likewise.
21077         (CNCT): Likewise.
21078         (CONCAT): Likewise.
21079         (WRAPPER_NAME): Likewise.
21080         (WRAPPER_DECL): Likewise.
21081         (WRAPPER_DECL_ff): Likewise.
21082         (WRAPPER_DECL_fFF): Likewise.
21083         (VECTOR_WRAPPER): Likewise.
21084         (VECTOR_WRAPPER_ff): Likewise.
21085         (VECTOR_WRAPPER_fFF): Likewise.
21086         (VEC_LEN): New macro.
21087         * math/test-double-vlen8.h: Include test-double.h,
21088         test-math-no-inline.h and test-math-vector.h.
21089         (FLOAT): Remove macro.
21090         (FUNC): Likewise.
21091         (MATHCONST): Likewise.
21092         (PRINTF_EXPR): Likewise.
21093         (PRINTF_XEXPR): Likewise.
21094         (PRINTF_NEXPR): Likewise.
21095         (TEST_DOUBLE): Likewise.
21096         (TEST_MATHVEC): Likewise.
21097         (__NO_MATH_INLINES): Likewise.
21098         (CNCT): Likewise.
21099         (CONCAT): Likewise.
21100         (WRAPPER_NAME): Likewise.
21101         (WRAPPER_DECL): Likewise.
21102         (WRAPPER_DECL_ff): Likewise.
21103         (WRAPPER_DECL_fFF): Likewise.
21104         (VECTOR_WRAPPER): Likewise.
21105         (VECTOR_WRAPPER_ff): Likewise.
21106         (VECTOR_WRAPPER_fFF): Likewise.
21107         (VEC_LEN): New macro.
21108         * math/test-float-vlen4.h: Include test-float.h,
21109         test-math-no-inline.h and test-math-vector.h.
21110         (FLOAT): Remove macro.
21111         (FUNC): Likewise.
21112         (MATHCONST): Likewise.
21113         (PRINTF_EXPR): Likewise.
21114         (PRINTF_XEXPR): Likewise.
21115         (PRINTF_NEXPR): Likewise.
21116         (TEST_FLOAT): Likewise.
21117         (TEST_MATHVEC): Likewise.
21118         (__NO_MATH_INLINES): Likewise.
21119         (CNCT): Likewise.
21120         (CONCAT): Likewise.
21121         (WRAPPER_NAME): Likewise.
21122         (WRAPPER_DECL): Likewise.
21123         (WRAPPER_DECL_ff): Likewise.
21124         (WRAPPER_DECL_fFF): Likewise.
21125         (VECTOR_WRAPPER): Likewise.
21126         (VECTOR_WRAPPER_ff): Likewise.
21127         (VECTOR_WRAPPER_fFF): Likewise.
21128         (VEC_LEN): New macro.
21129         * math/test-float-vlen8.h: Include test-float.h,
21130         test-math-no-inline.h and test-math-vector.h.
21131         (FLOAT): Remove macro.
21132         (FUNC): Likewise.
21133         (MATHCONST): Likewise.
21134         (PRINTF_EXPR): Likewise.
21135         (PRINTF_XEXPR): Likewise.
21136         (PRINTF_NEXPR): Likewise.
21137         (TEST_FLOAT): Likewise.
21138         (TEST_MATHVEC): Likewise.
21139         (__NO_MATH_INLINES): Likewise.
21140         (CNCT): Likewise.
21141         (CONCAT): Likewise.
21142         (WRAPPER_NAME): Likewise.
21143         (WRAPPER_DECL): Likewise.
21144         (WRAPPER_DECL_ff): Likewise.
21145         (WRAPPER_DECL_fFF): Likewise.
21146         (VECTOR_WRAPPER): Likewise.
21147         (VECTOR_WRAPPER_ff): Likewise.
21148         (VECTOR_WRAPPER_fFF): Likewise.
21149         (VEC_LEN): New macro.
21150         * math/test-float-vlen16.h: Include test-float.h,
21151         test-math-no-inline.h and test-math-vector.h.
21152         (FLOAT): Remove macro.
21153         (FUNC): Likewise.
21154         (MATHCONST): Likewise.
21155         (PRINTF_EXPR): Likewise.
21156         (PRINTF_XEXPR): Likewise.
21157         (PRINTF_NEXPR): Likewise.
21158         (TEST_FLOAT): Likewise.
21159         (TEST_MATHVEC): Likewise.
21160         (__NO_MATH_INLINES): Likewise.
21161         (CNCT): Likewise.
21162         (CONCAT): Likewise.
21163         (WRAPPER_NAME): Likewise.
21164         (WRAPPER_DECL): Likewise.
21165         (WRAPPER_DECL_ff): Likewise.
21166         (WRAPPER_DECL_fFF): Likewise.
21167         (VECTOR_WRAPPER): Likewise.
21168         (VECTOR_WRAPPER_ff): Likewise.
21169         (VECTOR_WRAPPER_fFF): Likewise.
21170         (VEC_LEN): New macro.
21171         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
21172         test-vec-loop.h.
21173         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
21174         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
21175         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
21176         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
21177         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
21178         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
21179         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
21181 2015-06-24  Roland McGrath  <roland@hack.frob.com>
21183         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
21184         (__getlogin_r): ... this.
21186 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
21188         [BZ #18594]
21189         * math/s_ccosh.c (__ccosh): Compare with least normal value
21190         instead of comparing class with FP_SUBNORMAL.
21191         * math/s_ccoshf.c (__ccoshf): Likewise.
21192         * math/s_ccoshl.c (__ccoshl): Likewise.
21193         * math/s_cexp.c (__cexp): Likewise.
21194         * math/s_cexpf.c (__cexpf): Likewise.
21195         * math/s_cexpl.c (__cexpl): Likewise.
21196         * math/s_csin.c (__csin): Likewise.
21197         * math/s_csinf.c (__csinf): Likewise.
21198         * math/s_csinh.c (__csinh): Likewise.
21199         * math/s_csinhf.c (__csinhf): Likewise.
21200         * math/s_csinhl.c (__csinhl): Likewise.
21201         * math/s_csinl.c (__csinl): Likewise.
21202         * math/s_ctan.c (__ctan): Likewise.
21203         * math/s_ctanf.c (__ctanf): Likewise.
21204         * math/s_ctanh.c (__ctanh): Likewise.
21205         * math/s_ctanhf.c (__ctanhf): Likewise.
21206         * math/s_ctanhl.c (__ctanhl): Likewise.
21207         * math/s_ctanl.c (__ctanl): Likewise.
21208         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
21209         csin, csinh, ctan and ctanh.
21210         * math/auto-libm-test-out: Regenerated.
21211         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
21212         * sysdeps/i386/fpu/libm-test-ulps: Update.
21213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21215 2015-06-24  Roland McGrath  <roland@hack.frob.com>
21217         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
21218         return value is wrong, print the expected value too.
21220 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
21222         [BZ #18585]
21223         * elf/readlib.c (is_gdb_python_file): New.
21224         (process_file): Don't issue errors on filenames with -gdb.py
21225         suffix.
21227 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
21229         * math/auto-libm-test-in: Add more tests of csin and csinh.
21230         * math/auto-libm-test-out: Regenerated.
21231         * math/libm-test.inc (csin_test_data): Remove tests moved to
21232         auto-libm-test-in.
21233         (csinh_test_data): Likewise.
21235         [BZ #18593]
21236         * math/s_csin.c (__csin): Negate before rather than after possibly
21237         overflowing multiplication.
21238         * math/s_csinf.c (__csinf): Likewise.
21239         * math/s_csinh.c (__csinh): Likewise.
21240         * math/s_csinhf.c (__csinhf): Likewise.
21241         * math/s_csinhl.c (__csinhl): Likewise.
21242         * math/s_csinl.c (__csinl): Likewise.
21243         * math/auto-libm-test-in: Add some tests of csin and csinh.
21244         * math/auto-libm-test-out: Regenerated.
21245         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
21246         (csinh_test_data): Likewise.
21247         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21249         [BZ #18586]
21250         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
21251         underflow exception for small results.
21253 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
21255         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
21256         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
21257         variable and included header.
21258         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
21259         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
21260         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
21261         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
21262         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
21263         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
21264         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
21265         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
21266         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
21267         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
21268         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
21269         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
21270         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
21271         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
21272         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
21273         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
21275 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
21277         [BZ #16526]
21278         [BZ #16538]
21279         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
21280         (__sin): Force underflow exception for arguments with small
21281         absolute value.
21282         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
21283         (__kernel_sinf): Force underflow exception for arguments with
21284         small absolute value.
21285         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
21286         (__kernel_sincosl): Force underflow exception for arguments with
21287         small absolute value.
21288         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
21289         (__kernel_sinl): Force underflow exception for arguments with
21290         small absolute value.
21291         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
21292         (__kernel_sincosl): Force underflow exception for arguments with
21293         small absolute value.
21294         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
21295         (__kernel_sinl): Force underflow exception for arguments with
21296         small absolute value.
21297         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
21298         (__kernel_sinl): Force underflow exception for arguments with
21299         small absolute value.
21300         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
21301         (__kernel_sinf): Force underflow exception for arguments with
21302         small absolute value.
21303         * math/auto-libm-test-in: Add more tests of sin and sincos.
21304         * math/auto-libm-test-out: Regenerated.
21306         [BZ #18245]
21307         [BZ #18583]
21308         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
21309         (__kernel_standard_l): Use feholdexcept and fesetenv around
21310         conversion to double instead of special-casing overflow and
21311         underflow.
21312         * math/libm-test.inc (fmod_test_data): Add more tests.
21313         (remainder_test_data): Likewise.
21314         (sqrt_test_data): Likewise.
21316 2015-06-23  Torvald Riegel  <triegel@redhat.com>
21318         [BZ #17403]
21319         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
21320         atomic_read_barrier, atomic_write_barrier): Define.
21321         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
21322         atomic_read_barrier, atomic_write_barrier): Define.
21324 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
21326         * math/Makefile [$(PERL) != no]
21327         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
21328         dependency on libm-test.stmp below the inclusion of Rules.
21330 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
21332         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
21333         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
21334         and included header.
21335         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
21336         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
21337         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
21338         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
21339         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
21340         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
21341         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
21342         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
21343         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
21344         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
21345         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
21346         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
21347         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
21348         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
21349         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
21350         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
21351         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
21352         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
21353         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
21355 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
21357         [BZ #18371]
21358         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
21359         intermediate but not final result might underflow.
21360         * math/s_csqrtf.c (__csqrtf): Likewise.
21361         * math/s_csqrtl.c (__csqrtl): Likewise.
21362         * math/auto-libm-test-in: Add more tests of csqrt.
21363         * math/auto-libm-test-out: Regenerated.
21364         * sysdeps/i386/fpu/libm-test-ulps: Update.
21366         [BZ #18219]
21367         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
21368         threshold on absolute value of exponent for which scaling is used.
21369         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
21370         * math/auto-libm-test-in: Add more tests of exp2.
21371         * math/auto-libm-test-out: Regenerated.
21373 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
21375         [BZ #17977]
21376         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
21377         when initializing interface list, based on the bug analysis
21378         and the patch proposed by Eric Newton.
21379         * resolv/tst-res_hconf_reorder.c: New test.
21380         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
21381         tst-res_hconf_reorder.
21382         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
21383         and $(shared-thread-library).
21384         (tst-res_hconf_reorder-ENV): New variable.
21386         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
21387         in comment.
21389 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
21391         [BZ #16353]
21392         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
21393         (__expm1): Force underflow exception for arguments with small
21394         absolute value.
21395         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
21396         (__expm1f): Force underflow exception for arguments with small
21397         absolute value.
21398         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
21399         (__expm1): Force underflow exception for arguments with small
21400         absolute value.
21401         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
21402         (__expm1f): Force underflow exception for arguments with small
21403         absolute value.
21404         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21405         Check for small arguments before calling __expm1.
21406         * math/auto-libm-test-in: Do not mark underflow exceptions as
21407         possibly missing for bug 16353.
21408         * math/auto-libm-test-out: Regenerated.
21410 2015-06-22  Andreas Schwab  <schwab@suse.de>
21412         [BZ #18513]
21413         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
21414         PTR queries.
21416 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
21418         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
21420         * string/strcoll_l.c: Remove unused struct element idxnow.
21422 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
21424         [BZ #18569]
21425         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
21426         underflow and return argument in case of subnormal argument.
21427         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
21428         Likewise.
21429         * math/auto-libm-test-in: Add more tests of expm1.
21430         * math/auto-libm-test-out: Regenerated.
21432         [BZ #16361]
21433         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
21434         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
21435         tiny results.
21436         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
21437         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
21438         tiny results.
21439         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
21440         mark underflow exceptions as possibly missing for bug 16361.
21441         * math/auto-libm-test-out: Regenerated.
21443 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
21445         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
21446         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
21447         Remove variable.
21448         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
21449         (test-xfail-XOPEN2K8/utmpx.h/conform).
21451         * conform/conformtest.pl ($xerrors): New variable.
21452         (note_error): New function.
21453         (compiletest): New argument $xfail.  Use not_error.
21454         (runtest): Likewise.
21455         (top level): Handle xfail- lines.  Update calls to compiletest and
21456         runtest.  Handle xfail- and optional- in headers listed with
21457         allow-header.
21458         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
21459         (O_EXEC): Likewise.
21460         (O_SEARCH): Likewise.
21461         * conform/data/stropts.h-data (ioctl): Likewise.
21462         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
21463         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
21464         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
21465         (msghdr.msg_controllen): Likewise.
21466         (cmsghdr.cmsg_len): Likewise.
21467         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
21468         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
21469         variable.
21470         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
21471         (test-xfail-XPG4/stropts.h/conform): Likewise.
21472         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
21473         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
21474         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
21475         (test-xfail-UNIX98/stropts.h/conform): Likewise.
21476         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
21477         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
21478         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
21479         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
21480         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
21481         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
21482         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
21483         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
21484         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
21485         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
21486         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
21487         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
21488         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
21489         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
21490         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
21492 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
21494         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
21495         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
21496         definitions for proper unfolding of __MATHDECL_VEC.
21498 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
21500         * benchtests/bench-strcoll.c:
21501         Include string.h.
21502         (main): Remove unused variable res.
21504 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
21506         * timezone/Makefile (%/UTC %/Universal):
21507         Generate test-result files for UTC and Universal.
21509 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
21511         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21513 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
21515         [BZ #16350]
21516         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
21517         for arguments with small absolute value.
21518         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
21519         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
21520         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
21521         (__asinh): Force underflow exception for arguments with small
21522         absolute value.
21523         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
21524         (__asinhf): Force underflow exception for arguments with small
21525         absolute value.
21526         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
21527         (__asinhl): Force underflow exception for arguments with small
21528         absolute value.
21529         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
21530         (__asinhl): Force underflow exception for arguments with small
21531         absolute value.
21532         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
21533         (__asinhl): Force underflow exception for arguments with small
21534         absolute value.
21535         * math/auto-libm-test-in: Do not mark underflow exceptions as
21536         possibly missing for bug 16350.
21537         * math/auto-libm-test-out: Regenerated.
21539         * include/bits/ipc.h: Remove file.
21540         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
21541         variable.
21542         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
21543         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
21544         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
21545         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
21546         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
21547         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
21548         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
21549         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
21550         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
21552         * math/auto-libm-test-in: Remove spurious underflow allowance for
21553         tests of cexp.
21554         * math/auto-libm-test-out: Regenerated.
21556         [BZ #18558]
21557         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
21558         unconditional definition.
21559         (MCAST_BLOCK_SOURCE): Likewise.
21560         (MCAST_UNBLOCK_SOURCE): Likewise.
21561         (MCAST_LEAVE_GROUP): Likewise.
21562         (MCAST_JOIN_SOURCE_GROUP): Likewise.
21563         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
21564         (MCAST_MSFILTER): Likewise.
21565         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
21566         Remove variable.
21567         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
21568         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
21569         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
21570         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
21571         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
21573 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
21575         * NEWS: Mention addition of x86_64 vector sincosf.
21576         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
21577         * math/test-float-vlen4.h: Likewise.
21578         * math/test-float-vlen8.h: Likewise.
21579         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
21580         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
21581         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21582         * sysdeps/x86_64/fpu/Versions: New versions added.
21583         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21584         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
21585         Added build of SSE, AVX2 and AVX512 IFUNC versions.
21586         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
21587         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
21588         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
21589         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
21590         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
21591         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
21592         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
21593         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
21594         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
21595         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
21596         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
21597         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
21598         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
21599         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
21600         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
21601         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
21602         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
21603         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
21604         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
21605         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
21606         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
21608         * NEWS: Mention addition of x86_64 vector sincos.
21609         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
21610         * math/math.h (__MATHDECL_VEC): New macro.
21611         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
21612         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
21613         declaration under condition.
21614         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
21615         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
21616         TEST_VEC_LOOP change.
21617         * math/test-double-vlen4.h: Likewise.
21618         * math/test-double-vlen8.h: Likewise.
21619         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
21620         * math/test-float-vlen4.h: Likewise.
21621         * math/test-float-vlen8.h: Likewise.
21622         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
21623         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
21624         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21625         * sysdeps/x86_64/fpu/Versions: New versions added.
21626         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21627         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
21628         Added build of SSE, AVX2 and AVX512 IFUNC versions.
21629         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
21630         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
21631         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
21632         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
21633         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
21634         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
21635         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
21636         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
21637         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
21638         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
21639         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
21640         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
21641         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
21642         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
21643         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
21644         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
21645         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
21646         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
21647         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
21648         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
21649         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
21651         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
21652         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
21653         redirections for powf.
21654         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21655         * sysdeps/x86_64/fpu/Versions: New versions added.
21656         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21657         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
21658         Added build of SSE, AVX2 and AVX512 IFUNC versions.
21659         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
21660         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
21661         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
21662         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
21663         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
21664         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
21665         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
21666         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
21667         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
21668         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
21669         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
21670         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
21671         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
21672         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
21673         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
21674         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
21675         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
21676         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
21677         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
21678         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
21679         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
21680         * math/test-float-vlen16.h: Fixed 2 argument macro.
21681         * math/test-float-vlen4.h: Likewise.
21682         * math/test-float-vlen8.h: Likewise.
21683         * NEWS: Mention addition of x86_64 vector powf.
21685 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
21687         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21688         and redefine.
21689         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21690         and redefine.
21691         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
21692         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
21693         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21695         [BZ #18553]
21696         * resource/getpriority.c (getpriority): Rename to __getpriority
21697         and define as weak alias of __getpriority.
21698         * resource/setpriority.c (setpriority): Rename to __setpriority
21699         and define as weak alias of __setpriority.
21700         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
21701         __getpriority and define as weak alias of __getpriority.
21702         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
21703         __setpriority and define as weak alias of __setpriority.
21704         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
21705         strong name.
21706         (setpriority): Use __setpriority as strong name.
21707         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
21708         __getpriority and define as weak alias of __getpriority.
21709         * include/sys/resource.h (__getpriority): Declare.  Use
21710         libc_hidden_proto.
21711         (__setpriority): Likewise.
21712         (getpriority): Don't use libc_hidden_proto.
21713         (setpriority): Likewise.
21714         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
21715         getpriority.  Call __setpriority instead of setpriority.
21716         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
21717         Remove variable.
21719         [BZ #18547]
21720         * misc/getttyent.c (getttynam): Rename to __getttynam and define
21721         as weak alias of __getttynam.  Use prototype function definition.
21722         Call __setttyent, __getttyent and __endttyent instead of
21723         setttyent, getttyent and endttyent.
21724         (getttyent): Rename to __getttyent and define as weak alias of
21725         __getttyent.  Call __setttyent instead of setttyent.  Call
21726         __fgets_unlocked instead of fgets_unlocked.
21727         (setttyent): Rename to __setttyent and define as weak alias of
21728         __setttyent.
21729         (endttyent): Rename to __endttyent and define as weak alias of
21730         __endttyent.
21731         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
21732         (__setttyent): Likewise.
21733         (__endttyent): Likewise.
21734         (getttyent): Don't use libc_hidden_proto.
21735         (setttyent): Likewise.
21736         (endttyent): Likewise.
21737         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
21738         __endttyent instead of setttyent, getttyent and endttyent.
21739         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
21740         Remove variable.
21742         [BZ #18546]
21743         * socket/recv.c (__recv): Use libc_hidden_def.
21744         * socket/socket.c (__socket): Likewise.
21745         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
21746         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
21747         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
21748         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
21749         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
21750         libc_hidden_def.
21751         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
21752         libc_hidden_weak.
21753         * include/sys/socket.h (__socket): Do not use attribute_hidden.
21754         Use libc_hidden_proto.
21755         (__recv): Likewise.
21756         * socket/Versions (libc): Export __recv and __socket at version
21757         GLIBC_PRIVATE.
21758         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
21759         instead of recv.
21760         (init_mq_netlink): Call __socket instead of socket.
21761         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
21762         Remove variable.
21764         [BZ #18545]
21765         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
21766         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
21767         hidden_weak.
21768         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
21769         define as alias of __mq_timedsend.  Use hidden_weak.
21770         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
21771         __mq_timedsend as strong name.
21772         (mq_timedreceive): Use __mq_timedreceive as strong name.
21773         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
21774         (__mq_timedreceive): Likewise.
21775         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
21776         __mq_timedreceive instead of mq_timedreceive.
21777         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
21778         instead of mq_timedsend.
21779         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
21780         Remove variable.
21782         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
21783         hidden_def and hidden_weak instead of libc_hidden_def and
21784         libc_hidden_weak.
21785         (top level): Refer to hidden_def in comment.
21786         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
21787         macro.  Use it instead of libc_hidden_def.
21788         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
21789         specify __GI_* name explicitly.
21790         (mq_timedreceive): Likewise.
21791         (mq_setattr): Likewise.
21793         [BZ #18544]
21794         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
21795         __pthread_barrier_init and define as weak alias of
21796         __pthread_barrier_init.
21797         * sysdeps/sparc/nptl/pthread_barrier_init.c
21798         (pthread_barrier_init): Likewise.
21799         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
21800         __pthread_barrier_wait and define as weak alias of
21801         __pthread_barrier_wait.
21802         * sysdeps/sparc/nptl/pthread_barrier_wait.c
21803         (pthread_barrier_wait): Likewise.
21804         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
21805         (pthread_barrier_wait): Likewise.
21806         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
21807         (pthread_barrier_wait): Likewise.
21808         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
21809         (pthread_barrier_wait): Likewise.
21810         * nptl/Versions (libpthread): Export __pthread_barrier_init and
21811         __pthread_barrier_wait at version GLIBC_PRIVATE.
21812         * include/pthread.h (__pthread_barrier_init): Declare.
21813         (__pthread_barrier_wait): Likewise.
21814         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
21815         Call __pthread_barrier_wait instead of pthread_barrier_wait.
21816         (helper_thread): Likewise.
21817         (init_mq_netlink): Call __pthread_barrier_init instead of
21818         pthread_barrier_init.
21820         [BZ #18542]
21821         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
21822         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
21823         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
21824         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
21825         vswscanf.
21826         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
21827         Remove variable.
21829         [BZ #18540]
21830         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
21831         strong alias of _IO_fflush.  Use libc_hidden_def.
21832         * libio/iofflush_u.c (fflush_unlocked): Rename to
21833         __fflush_unlocked and define as weak alias of __fflush_unlocked.
21834         Use libc_hidden_weak.
21835         * include/stdio.h (__fflush_unlocked): Declare.  Use
21836         libc_hidden_proto.
21837         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
21838         fflush_unlocked.
21839         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
21840         Remove variable.
21842         [BZ #18539]
21843         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
21844         define as weak alias of __addseverity.
21845         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
21846         Remove variable.
21847         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
21848         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
21849         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
21851         [BZ #18536]
21852         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
21853         (__tfind): Likewise.
21854         (__tdelete): Likewise.
21855         (__twalk): Likewise.
21856         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
21857         __twalk to GLIBC_PRIVATE.
21858         * include/search.h (__tsearch): Use libc_hidden_proto.
21859         (__tfind): Likewise.
21860         (__tdelete): Likewise.
21861         (__twalk): Likewise.
21862         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
21863         Call __tdelete instead of tdelete.
21864         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
21865         tfind.  Call __tsearch instead of tsearch.
21866         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
21867         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
21868         Remove variable.
21869         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
21871         [BZ #18534]
21872         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
21873         (dprintf): Define as a weak alias of __dprintf, not a strong
21874         alias.
21875         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
21876         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
21877         dprintf.
21878         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
21879         Remove variable.
21880         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
21881         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
21883         [BZ #18533]
21884         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
21885         not a strong alias.
21886         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
21887         Remove variable.
21889         [BZ #18532]
21890         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
21891         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
21892         (in6addr_loopback): Rename to __in6addr_loopback and define as
21893         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
21894         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
21895         libc_hidden_proto.
21896         (__in6addr_any): Likewise.
21897         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
21898         in6addr_any.
21899         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
21900         variable.
21901         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
21903 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
21905         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
21906         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
21907         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
21908         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
21909         redirections for pow.
21910         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21911         * sysdeps/x86_64/fpu/Versions: New versions added.
21912         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21913         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
21914         build of SSE, AVX2 and AVX512 IFUNC versions.
21915         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
21916         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
21917         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
21918         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
21919         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
21920         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
21921         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
21922         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
21923         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
21924         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
21925         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
21926         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
21927         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
21928         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
21929         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
21930         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
21931         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
21932         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
21933         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
21934         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
21935         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
21936         * NEWS: Mention addition of x86_64 vector pow.
21938         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
21939         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
21940         redirections for expf.
21941         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21942         * sysdeps/x86_64/fpu/Versions: New versions added.
21943         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21944         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
21945         build of SSE, AVX2 and AVX512 IFUNC versions.
21946         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
21947         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
21948         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
21949         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
21950         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
21951         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
21952         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
21953         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
21954         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
21955         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
21956         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
21957         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
21958         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
21959         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
21960         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
21961         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
21962         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
21963         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
21964         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
21965         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
21966         * NEWS: Mention addition of x86_64 vector expf.
21968         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
21969         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
21970         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
21971         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
21972         redirections for exp.
21973         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21974         * sysdeps/x86_64/fpu/Versions: New versions added.
21975         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21976         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
21977         build of SSE, AVX2 and AVX512 IFUNC versions.
21978         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
21979         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
21980         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
21981         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
21982         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
21983         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
21984         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
21985         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
21986         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
21987         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
21988         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
21989         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
21990         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
21991         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
21992         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
21993         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
21994         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
21995         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
21996         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
21997         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
21998         * NEWS: Mention addition of x86_64 vector exp.
22000         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22001         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22002         redirections for logf.
22003         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22004         * sysdeps/x86_64/fpu/Versions: New versions added.
22005         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22006         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22007         build of SSE, AVX2 and AVX512 IFUNC versions.
22008         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
22009         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
22010         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
22011         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
22012         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
22013         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
22014         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
22015         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
22016         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
22017         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
22018         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
22019         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
22020         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
22021         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22022         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22023         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22024         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22025         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22026         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22027         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22028         * NEWS: Mention addition of x86_64 vector logf.
22030         * bits/libm-simd-decl-stubs.h: Added stubs for log.
22031         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
22032         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22033         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22034         redirections for log.
22035         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22036         * sysdeps/x86_64/fpu/Versions: New versions added.
22037         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22038         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22039         build of SSE, AVX2 and AVX512 IFUNC versions.
22040         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
22041         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
22042         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
22043         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
22044         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
22045         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
22046         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
22047         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
22048         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
22049         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
22050         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
22051         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
22052         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
22053         test.
22054         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22055         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22056         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22057         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22058         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22059         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22060         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22061         * NEWS: Mention addition of x86_64 vector log.
22063 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22065         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
22066         cfi_adjust_cfa_offset argument.
22067         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
22068         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
22070         [BZ #18034]
22071         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
22072         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
22073         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
22074         ordering using ldar.
22075         (_dl_tlsdesc_dynamic): Likewise.
22076         (_dl_tlsdesc_return_lazy): Likewise.
22077         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
22078         relaxed atomics instead of volatile and synchronize with release store.
22079         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
22080         volatile.
22081         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
22083 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
22085         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22086         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
22087         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22088         * sysdeps/x86_64/fpu/Versions: New versions added.
22089         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22090         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22091         build of SSE, AVX2 and AVX512 IFUNC versions.
22092         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
22093         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
22094         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
22095         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
22096         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
22097         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
22098         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
22099         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
22100         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
22101         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
22102         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
22103         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
22104         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
22105         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22106         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22107         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22108         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22109         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22110         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22111         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22112         * NEWS: Mention addition of x86_64 vector sinf.
22114 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
22116         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
22117         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
22118         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
22119         Remove variable.
22120         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
22121         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
22123 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
22125         [BZ #18530]
22126         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
22127         strong alias of _IO_fputs.  Use libc_hidden_def.
22128         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
22129         and define as weak alias of __fputs_unlocked.  Use
22130         libc_hidden_weak.
22131         * include/stdio.h (__fputs_unlocked): Declare.  Use
22132         libc_hidden_proto.
22133         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
22134         fputs_unlocked.
22136         [BZ #18529]
22137         * resolv/netdb.h [__USE_POSIX]: Change condition to
22138         [__USE_XOPEN2K].
22139         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
22140         not expect.
22141         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
22142         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
22143         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
22144         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
22145         [XPG4 || UNIX98] (AI_ALL): Likewise.
22146         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
22147         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
22148         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
22149         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
22150         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
22151         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
22152         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
22153         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
22154         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
22155         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
22156         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
22157         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
22158         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
22159         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
22160         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
22161         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
22162         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
22163         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
22164         [XPG4 || UNIX98] (gai_strerror): Likewise.
22165         [XPG4 || UNIX98] (getaddrinfo): Likewise.
22166         [XPG4 || UNIX98] (getnameinfo): Likewise.
22168         [BZ #18528]
22169         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
22170         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
22171         __USE_XOPEN2K8].
22172         (getgrent): Likewise.
22173         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
22174         expect.
22175         [XPG3 || POSIX2008] (endgrent): Likewise.
22176         [XPG3] (setgrent): Likewise.
22177         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
22178         variable.
22179         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
22181         [BZ #18527]
22182         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
22183         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
22184         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
22185         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
22186         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
22187         * include/unistd.h (__getlogin_r): Declare.  Use
22188         libc_hidden_proto.
22189         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
22190         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
22191         variable.
22192         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
22193         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
22194         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
22196 2015-06-12  Martin Sebor  <msebor@redhat.com>
22198         [BZ #18512]
22199         * Makerules (check-install-supported): New target.
22200         (install): Add check-install-supported as a dependency.
22201         * manual/install.texi (Installing the C Library): Document
22202         that overriding prefix and exec_prefix is not supported.
22203         Mention DESTDIR.
22204         * INSTALL: Regenerate from the above.
22206 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
22208         [BZ #18519]
22209         * posix/Versions (libc): Export __libc_pread at version
22210         GLIBC_PRIVATE.
22211         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
22212         instead of pread.
22213         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
22214         variable.
22216         [BZ #18522]
22217         * misc/efgcvt_r.c
22218         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
22219         (cvt_symbol): Use weak_alias instead of strong_alias.
22220         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
22221         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
22222         Remove variable.
22223         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
22224         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
22226         [BZ #18520]
22227         * inet/herrno.c (h_errno): Rename to __h_errno.
22228         (__libc_h_errno): Define as alias of __h_errno not h_errno.
22229         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
22230         to __h_errno instead of h_errno.
22231         * nptl/herrno.c (h_errno): Rename to __h_errno.
22232         (__h_errno_location): Refer to __h_errno not h_errno.
22233         * resolv/Versions (h_errno): Rename to __h_errno.
22234         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
22235         Remove variable.
22236         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
22238 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
22240         * configure.ac: More strict check for AVX512 assembler support.
22241         * configure: Regenerated.
22243         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
22244         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
22245         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22246         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
22247         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22248         * sysdeps/x86_64/fpu/Versions: New versions added.
22249         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22250         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22251         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22252         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
22253         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
22254         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
22255         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
22256         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
22257         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
22258         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
22259         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
22260         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
22261         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
22262         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
22263         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
22264         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
22265         test.
22266         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22267         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22268         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22269         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22270         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22271         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22272         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22273         * NEWS: Mention addition of x86_64 vector sin.
22275 2015-06-11  Florian Weimer  <fweimer@redhat.com>
22277         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
22278         comment.
22280 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
22282         [BZ #18479]
22283         * nptl/pt-interp.c: New file.
22284         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
22285         Add pt-interp.
22286         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
22287         $(common-objpfx)runtime-linker.h.
22289 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
22291         * Makeconfig (+interp): Remove unused variable.
22292         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
22293         only.  Depend on $(common-objpfx)runtime-linker.h instead of
22294         $(elf-objpfx)runtime-linker.h.
22295         ($(elf-objpfx)runtime-linker.h): Rename to
22296         $(common-objpfx)runtime-linker.h and move ...
22297         * Makerules [$(build-shared) = yes]: ... here.
22298         * elf/interp.c: Include <runtime-linker.h> instead of
22299         <elf/runtime-linker.h>.
22301 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22303         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
22304         (__gettimeofday_syscall): Remove vsyscall fallback.
22305         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
22306         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
22307         Add syscall fallback function.
22308         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
22309         if vDSO is not present.
22310         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
22311         fallback function.
22312         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
22313         present.
22314         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
22315         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
22317 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
22319         [BZ #18497]
22320         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
22321         of wcscmp.
22322         (wcscmp): Define as weak alias of WCSCMP.
22323         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
22324         wcscoll.
22325         (USE_HIDDEN_DEF): Define.
22326         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
22327         __wcscoll.  Don't use libc_hidden_weak.
22328         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
22329         wcscmp.
22330         * sysdeps/i386/i686/multiarch/wcscmp-c.c
22331         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
22332         __GI_wcscmp.
22333         (weak_alias): Undefine and redefine.
22334         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
22335         __wcscmp and define as weak alias of __wcscmp.
22336         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
22337         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
22338         (__wcscoll): Likewise.
22339         (wcscmp): Don't use libc_hidden_proto.
22340         (wcscoll): Likewise.
22341         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
22342         wcscoll.
22343         * posix/regexec.c (check_node_accept_bytes): Likewise.
22344         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
22345         variable.
22346         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
22347         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
22349         [BZ #18507]
22350         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
22351         __fstatvfs and define as weak alias of __fstatvfs.  Use
22352         libc_hidden_weak.
22353         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
22354         and define as weak alias of __statvfs.  Use libc_hidden_weak.
22355         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
22356         Define as alias of __fstatvfs, not fstatvfs.
22357         (fstatvfs64): Likewise.
22358         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
22359         Define as alias of __statvfs, not statvfs.
22360         (statvfs64): Likewise.
22361         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
22362         Remove variable.
22364 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22367         (HAVE_GETCPU_VSYSCALL): Define.
22368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22369         (HAVE_GETCPU_VSYSCALL): Likewise.
22370         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
22371         * sysdeps/unix/sysv/linux/sched_getcpu.c
22372         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
22373         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
22374         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
22375         prototype.
22376         * sysdeps/unix/sysv/linux/x86_64/init-first.c
22377         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
22378         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
22379         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
22380         Define.
22381         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
22382         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22383         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
22384         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22386 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
22388         * sysdeps/x86_64/fpu/Makefile: New file.
22389         * sysdeps/x86_64/fpu/Versions: New file.
22390         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
22391         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
22392         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
22393         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
22394         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
22395         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
22396         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
22397         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
22398         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
22399         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
22400         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
22401         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
22402         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
22403         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22404         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22405         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
22406         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
22407         * sysdeps/x86_64/configure.ac: Options for libmvec build.
22408         * sysdeps/x86_64/configure: Regenerated.
22409         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
22410         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
22411         * manual/install.texi (Configuring and compiling): Document
22412         --disable-mathvec.
22413         * INSTALL: Regenerated.
22414         * NEWS: Mention addition of libmvec and x86_64 vector cos.
22416         * math/Makefile: Added rules for vector tests.
22417         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
22418         declaration under condition.
22419         * math/test-double-vlen2.h: New file.
22420         * math/test-double-vlen4.h: New file.
22421         * math/test-double-vlen8.h: New file.
22422         * math/test-vec-loop.h: Added initialization macro.
22423         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
22424         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
22425         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
22426         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
22427         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
22428         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
22429         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
22430         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
22431         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
22432         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
22433         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
22435         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22436         * sysdeps/x86_64/fpu/Versions: New versions added.
22437         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
22438         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
22439         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
22440         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
22441         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
22442         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
22443         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
22444         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
22445         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
22446         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
22447         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
22448         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
22449         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
22450         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22451         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22452         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22453         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
22454         * NEWS: Mention addition of x86_64 vector cosf.
22456         * math/Makefile: Added CFLAGS for new tests.
22457         * math/test-float-vlen16.h: New file.
22458         * math/test-float-vlen4.h: New file.
22459         * math/test-float-vlen8.h: New file.
22460         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
22461         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
22462         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22463         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
22464         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
22465         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
22466         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
22467         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
22468         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
22469         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
22470         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
22472 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
22474         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
22475         * locale/programs/ld-ctype.c: Likewise.
22477 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
22479         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
22480         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
22481         bit_ZMM16_31_state): New macro.
22482         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22483         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
22485 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
22487         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
22489 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
22491         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
22493 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
22495         [BZ #18498]
22496         * libio/memstream.c (open_memstream): Rename to __open_memstream
22497         and define as weak alias of __open_memstream.
22498         * include/stdio.h (__open_memstream): Declare.  Use
22499         libc_hidden_proto.
22500         (open_memstream): Don't use libc_hidden_proto.
22501         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
22502         open_memstream.
22503         * posix/getopt.c (_getopt_internal_r): Likewise.
22504         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
22505         variable.
22506         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
22507         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
22508         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
22510         [BZ #18496]
22511         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
22512         instead of wcrtomb.
22514         [BZ #18483]
22515         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
22516         [__USE_XOPEN2K8].  Remove redundant #endif.
22517         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
22518         Remove redundant #if.
22519         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
22520         Remove variable.
22521         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
22522         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
22524         [BZ #18495]
22525         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
22526         (__iswlower): Likewise.
22527         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
22528         (__iswlower): Likewise.
22529         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
22530         instead of towlower.
22531         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
22532         instead of iswlower.  Call __towupper instead of towupper.
22533         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
22534         instead of iswalnum.
22536 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22538         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
22539         errors to stderr.
22541 2015-06-05  Florian Weimer  <fweimer@redhat.com>
22543         [BZ #15661]
22544         [BZ #17322]
22545         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
22546         Check for overflow properly.  Check for O_APPEND.  Ignore large
22547         file system block sizes.  Add comments about problems.
22548         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
22549         * manual/filesys.texi (Storage Allocation): New node.
22551 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22553         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
22554         cancellable syscalls.
22555         (SYS_ify): Add guard to no redefine it.
22556         (INLINE_SYSCALL): Likewise.
22557         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
22558         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
22559         SYSCALL_CANCEL instead.
22560         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
22561         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
22562         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
22563         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
22564         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
22565         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
22566         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
22567         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
22568         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
22569         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
22570         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
22571         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
22572         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
22573         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
22574         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
22575         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
22576         Likewise.
22577         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
22578         (__libc_pread64): Likewise.
22579         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
22580         (__libc_preadv): Likewise.
22581         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
22582         (__libc_readv64): Likewise.
22583         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
22584         (__libc_pwrite): Likewise.
22585         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
22586         (__libc_pwrite64): Likewise.
22587         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
22588         (__libc_pwritev): Likewise.
22589         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
22590         (__libc_pwritev64): Likewise.
22591         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
22592         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
22593         (sync_file_range): Likewise.
22594         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
22595         Likewise.
22596         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
22597         Likewise.
22598         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
22599         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
22600         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
22601         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
22602         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
22603         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
22604         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
22605         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
22606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
22607         Likewise.
22608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22609         (__libc_read64): Likewise.
22610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
22611         Likewise.
22612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
22613         Likewise.
22614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
22615         Likewise.
22616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
22617         Likewise.
22618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
22619         (__libc_pread64): Likewise.
22620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
22621         Likewise.
22622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
22623         (__libc_pwrite64): Likewise.
22624         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
22625         (sync_file_range): Likewise.
22626         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
22627         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
22628         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
22629         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
22630         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
22631         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
22632         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
22633         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
22634         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
22635         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
22636         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
22637         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
22638         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
22639         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
22640         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
22641         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
22642         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
22643         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
22644         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
22645         Likewise.
22646         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
22647         Likewise.
22648         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
22649         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
22650         Likewise.
22651         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
22652         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
22653         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
22654         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
22655         Likewise.
22656         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
22657         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
22658         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
22659         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
22660         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
22662 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
22664         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
22665         Include dl-vdso.
22666         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
22667         Use VDSO routines for gettimeofday, clock_gettime if
22668         available.
22669         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
22670         Declare VDSO symbols.
22671         * sysdeps/unix/sysv/linux/arm/sysdep.h:
22672         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
22673         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
22674         * sysdeps/unix/sysv/linux/arm/Versions: Add
22675         __vdso_clock_gettime.
22677 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22679         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
22680         be an inline implementation regardless of library is built within.
22681         (open_not_cancel_2): Likewise.
22682         (__read_nocancel): Likewise.
22683         (__write_nocancel): Likewise.
22684         (openat_not_cancel): Likewise.
22685         (openat_not_cancel_3): Likewise.
22686         (openat64_not_cancel): Likewise.
22687         (openat64_not_cancel_3): Likewise.
22688         (__close_nocancel): Likewise.
22689         (pause_not_cancel): Likewise.
22690         (nanosleep_not_cancel): Likewise.
22691         (sigsuspend_not_cancel): Likewise.
22693 2015-06-04  Torvald Riegel  <triegel@redhat.com>
22695         [BZ #14958]
22696         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
22697         wake-up.
22698         (__pthread_rwlock_rdlock_slow): Likewise.
22699         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
22700         Likewise.
22701         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
22702         Likewise.
22703         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
22704         * nptl/tst-rwlock16.c: New file.
22705         * nptl/Makefile (tests): Add new test.
22707 2015-06-04  Torvald Riegel  <triegel@redhat.com>
22709         [BZ #18324]
22710         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
22711         missing wake-up of readers.
22712         * nptl/tst-rwlock15.c: New file.
22713         * nptl/Makefile (tests): Add new test.
22715 2015-06-03  Roland McGrath  <roland@hack.frob.com>
22717         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
22718         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
22719         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
22720         and __nacl_supply_interface_rtld.
22721         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
22722         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
22723         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
22724         Add __nacl_supply_interface_rtld.
22725         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
22727 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
22729         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
22730         isfinite.
22731         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22732         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
22734 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
22736         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
22737         __signbit* with standard C99 macros.
22738         * math/e_exp10l.c: Likewise.
22739         * math/e_exp2l.c: Likewise.
22740         * math/e_scalb.c: Likewise.
22741         * math/e_scalbf.c: Likewise.
22742         * math/e_scalbl.c: Likewise.
22743         * math/s_ldexp.c: Likewise.
22744         * math/s_ldexpf.c: Likewise.
22745         * math/s_ldexpl.c: Likewise.
22746         * math/w_atan2.c: Likewise.
22747         * math/w_atan2f.c: Likewise.
22748         * math/w_atan2l.c: Likewise.
22749         * math/w_cosh.c: Likewise.
22750         * math/w_coshf.c: Likewise.
22751         * math/w_coshl.c: Likewise.
22752         * math/w_exp10.c: Likewise.
22753         * math/w_exp10f.c: Likewise.
22754         * math/w_exp10l.c: Likewise.
22755         * math/w_exp2.c: Likewise.
22756         * math/w_exp2f.c: Likewise.
22757         * math/w_exp2l.c: Likewise.
22758         * math/w_fmod.c: Likewise.
22759         * math/w_fmodf.c: Likewise.
22760         * math/w_fmodl.c: Likewise.
22761         * math/w_hypot.c: Likewise.
22762         * math/w_hypotf.c: Likewise.
22763         * math/w_hypotl.c: Likewise.
22764         * math/w_jnl.c: Likewise.
22765         * math/w_lgamma.c: Likewise.
22766         * math/w_lgamma_r.c: Likewise.
22767         * math/w_lgammaf.c: Likewise.
22768         * math/w_lgammaf_r.c: Likewise.
22769         * math/w_lgammal.c: Likewise.
22770         * math/w_lgammal_r.c: Likewise.
22771         * math/w_pow.c: Likewise.
22772         * math/w_powf.c: Likewise.
22773         * math/w_powl.c: Likewise.
22774         * math/w_remainder.c: Likewise.
22775         * math/w_remainderf.c: Likewise.
22776         * math/w_remainderl.c: Likewise.
22777         * math/w_scalb.c: Likewise.
22778         * math/w_scalbf.c: Likewise.
22779         * math/w_scalbl.c: Likewise.
22780         * math/w_scalbln.c: Likewise.
22781         * math/w_scalblnf.c: Likewise.
22782         * math/w_scalblnl.c: Likewise.
22783         * math/w_sinh.c: Likewise.
22784         * math/w_sinhf.c: Likewise.
22785         * math/w_sinhl.c: Likewise.
22786         * math/w_tgamma.c: Likewise.
22787         * math/w_tgammaf.c: Likewise.
22788         * math/w_tgammal.c: Likewise.
22789         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22790         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
22791         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22792         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22793         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22794         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22795         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
22796         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22797         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22798         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22799         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22800         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
22801         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22802         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22803         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22804         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22805         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22806         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22807         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22808         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22809         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22810         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22811         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22812         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22813         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22814         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22815         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
22816         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22817         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22818         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22819         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
22820         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
22821         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
22822         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
22823         * stdio-common/printf_fp.c: Likewise.
22824         * stdio-common/printf_fphex.c: Likewise.
22825         * stdio-common/printf_size.c: Likewise.
22827 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
22829         [BZ #18470]
22830         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
22831         strnlen.
22832         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
22833         Remove variable.
22834         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
22835         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
22836         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
22837         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
22838         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
22839         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
22840         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
22841         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
22842         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
22843         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
22845         [BZ #18468]
22846         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
22847         weak alias of __wmemchr.  Use libc_hidden_weak.
22848         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
22849         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
22850         instead of wmemchr.
22852 2015-06-02  Roland McGrath  <roland@hack.frob.com>
22854         [BZ #18383]
22855         * elf/tst-tlsalign-extern.c: New file.
22856         * elf/tst-tlsalign-extern-static.c: New file.
22857         * elf/tst-tlsalign-vars.c: New file.
22858         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
22859         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
22860         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
22861         ($(objpfx)tst-tlsalign-extern-static): Likewise.
22862         (test-xfail-tst-tlsalign-extern-static): New variable.
22864 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
22866         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
22867         Use variable name _sc_err instead of err.
22868         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
22869         instead of ret.
22870         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
22871         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
22872         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
22873         (INLINE_SYSCALL): Likewise.
22875         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
22876         * include/string.h (__strnlen): Use libc_hidden_proto.
22877         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
22878         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
22879         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
22880         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
22881         (libc_hidden_def): Undefine and redefine.
22882         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
22883         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
22884         __GI_strnlen.
22885         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
22886         libc_hidden_def.
22887         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
22889         [BZ #18469]
22890         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
22891         weak alias of __towlower.  Use libc_hidden_weak.
22892         (towupper): Rename to __towupper and define as weak alias of
22893         __towupper.  Use libc_hidden_weak.
22894         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
22895         (__towupper): Likewise.
22896         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
22897         __towlower instead of towlower.
22899 2015-06-02  Roland McGrath  <roland@hack.frob.com>
22901         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
22902         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
22904 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22906         * sysdeps/aarch64/libm-test-ulps: Update.
22908 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22910         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
22911         Define.
22912         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
22913         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
22914         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
22915         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
22916         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
22917         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
22918         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
22920 2015-06-01  Martin Sebor  <msebor@redhat.com>
22922         [BZ #18116]
22923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
22924         (__setcontext): Use extended four-operand version of mtsf whenever
22925         possible.
22926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
22927         (__novec_swapcontext): Likewise.
22929 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
22931         * benchtests/scripts/compare_bench.py: New file.
22932         * benchtests/scripts/import_bench.py (mean): New function.
22933         (split_list): Likewise.
22934         (do_for_all_timings): Likewise.
22935         (compress_timings): Likewise.
22937         * benchtests/scripts/import_bench.py: New file.
22938         * benchtests/scripts/validate_benchout.py: Import import_bench
22939         instead of jsonschema.
22940         (validate_bench): Remove function.
22941         (main): Use import_bench.
22943 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
22945         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
22946         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
22948 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22950         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22952 2015-05-28  Roland McGrath  <roland@hack.frob.com>
22954         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
22955         set THREAD_SELF->tid to a magic value and futex-wake it.
22956         Pass its address to the thread_exit system call.
22957         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
22958         bit is clear.
22959         * sysdeps/nacl/lowlevellock.h: New file.
22960         * sysdeps/nacl/lll_timedwait_tid.c: New file.
22962         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
22963         Add TIMEOUT to current time, don't subtract it.
22965 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
22967         [BZ #2981]
22968         [BZ #18422]
22969         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
22970         ($(objpfx)tst-audit2.out): Also depend on
22971         $(objpfx)tst-auditmod9b.so.
22972         * elf/tst-audit2.c: Include <dlfcn.h>.
22973         (calloc_called): New.
22974         (calloc): Allow to be called more than once.
22975         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
22977 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
22979         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
22980         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
22982 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
22984         * stdlib/monetary.h: Fix comment.
22986 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
22988         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
22989         Avoid using variables in #defines that might cause shadowing.
22990         (INTERNAL_VSYSCALL_CALL): Likewise.
22992 2015-05-26  Roland McGrath  <roland@hack.frob.com>
22994         * sysdeps/nacl/lll_timedlock_wait.c: New file.
22996         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
22997         * nptl/lll_timedlock_wait.c: ... to this new file.
22998         * nptl/Makefile (libpthread-routines): Add it.
22999         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
23000         * nptl/lll_timedwait_tid.c: ... to this new file.
23001         * nptl/Makefile (libpthread-routines): Add it.
23002         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
23003         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
23004         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
23005         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
23006         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
23007         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
23008         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
23009         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
23010         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
23011         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
23013 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23015         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
23016         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23017         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
23018         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
23019         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
23020         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
23021         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23022         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23023         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23024         * sysdeps/unix/sysv/linux/tile/sysdep.h
23025         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23026         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
23027         using vDSO syscall macro.
23029 2015-05-26  Andriy Rysin  <arysin@gmail.com>
23031         [BZ #17293]
23032         * uk_UA: Fix sorting order for Ukrainian locale
23034 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
23036         * stdlib/monetary.h: Fix comment.
23038 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23040         [BZ #18234]
23041         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
23042         st_mtim and st_ctim members.
23043         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
23044         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
23045         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
23046         (struct stat64): Likewise.
23047         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
23048         (struct stat64): Likewise.
23049         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
23050         (struct stat64): Likewise.
23052 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23054         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
23055         Define and include sysdep-vdso.h.
23056         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
23057         Likewise.
23058         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
23059         Likewise.
23060         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
23061         Define with VDSO_SYMBOL and use PTR_MANGLE.
23062         (__vdso_clock_gettime): Likewise.
23063         (__vdso_clock_getres): Likewise.
23064         (_libc_vdso_platform_setup): Likewise.
23065         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
23066         Likewise.
23067         (_libc_vdso_platform_setup): Likewise.
23068         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
23069         Likewise.
23070         (__vdso_clock_gettime): Likewise.
23071         (__vdso_clock_getres): Likewise.
23072         (__vdso_get_tbfreq): Likewise.
23073         (__vdso_getcpu): Likewise.
23074         (__vdso_time): Likewise.
23075         (__vdso_sigtramp_rt64): Likewise.
23076         (__vdso_signtramp32): Likewise.
23077         (__vdso_sigtramp_rt32): Likewise.
23078         (_libc_vdso_platform_setup): Likewise.
23079         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
23080         Likewise.
23081         (__vdso_clock_gettime): Likewise.
23082         (__vdso_clock_getres): Likewise.
23083         (_libc_vdso_platform_setup): Likewise.
23084         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
23085         Likewise.
23086         (__vdso_clock_gettime): Likewise.
23087         (_libc_vdso_platform_setup): Likewise.
23088         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
23089         Likewise.
23090         (__vdso_getcpu): Likewise.
23091         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
23092         Use VDSO_SYMBOL macro to define.
23093         (__vdso_clock_gettime): Likewise.
23094         (__vdso_clock_getres): Likewise.
23095         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
23096         Likewise.
23097         (__vdso_clock_gettime): Likewise.
23098         (__vdso_clock_getres): Likewise.
23099         (__vdso_get_tbfreq): Likewise.
23100         (__vdso_getcpu): Likewise.
23101         (__vdso_time): Likewise.
23102         (__vdso_sigtramp_rt64): Likewise.
23103         (__vdso_signtramp32): Likewise.
23104         (__vdso_sigtramp_rt32): Likewise.
23105         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
23106         Likewise.
23107         (__vdso_clock_gettime): Likewise.
23108         (__vdso_clock_getres): Likewise.
23109         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
23110         Likewise.
23111         (__vdso_clock_gettime): Likewise.
23112         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
23113         Likewise.
23114         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
23115         macro.
23116         (INTERNAL_VSYSCALL): Likewise.
23117         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
23118         Remove macro.
23119         (INTERNAL_VSYSCALL): Likewise.
23120         (INTERNAL_VSYSCALL_NCS): Likewise.
23121         (INTERNAL_VSYSCALL_CALL): New macro.
23122         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
23123         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
23124         Likewise.
23125         (INTERNAL_VSYSCALL): Likewise.
23126         (INTERNAL_VSYSCALL_NCS): Likewise.
23127         (INTERNAL_VSYSCALL_CALL): New macro.
23128         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
23129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23130         (INLINE_VSYSCALL): Remove macro.
23131         (INTERNAL_VSYSCALL): Remove macro.
23132         (INTERNAL_VSYSCALL_NCS): Remove macro.
23133         (INTERNAL_VSYSCALL_CALL): New macro.
23134         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
23135         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
23136         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
23137         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
23138         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
23139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23140         (INLINE_VSYSCALL): Remove macro.
23141         (INTERNAL_VSYSCALL): Likewise.
23142         (INTERNAL_VSYSCALL_NCS): Likewise.
23143         (INTERNAL_VSYSCALL_CALL): New macro.
23144         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
23145         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
23146         PTR_DEMANGLE on vDSO pointer.
23147         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
23148         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
23149         macro.
23150         (INTERNAL_SYSCALL): Likewise.
23151         (INTERNAL_VSYSCALL_NCS): Remove macro.
23152         (INTERNAL_VSYSCALL_CALL): New macro.
23153         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
23154         Remove macro.
23155         (INTERNAL_VSYSCALL): Likewise.
23156         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
23157         sysdep-vdso.h instead of libc-vdso.h.
23158         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
23159         definition.
23160         (INLINE_VSYSCALL): Likewise.
23161         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
23162         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
23163         definition.
23164         (INLINE_VSYSCALL): Likewise.
23165         (INTERNAL_VSYSCALL): Likewise.
23166         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
23167         * sysdeps/unix/sysv/linux/timespec_get.c
23168         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
23169         (timespec_get): Use ANSI prototype.
23170         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
23171         and definition for Linux.
23173 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
23175         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
23176         * include/libc-symbols.h: libmvec_hidden_* macro series added.
23178 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23180         [BZ #2981]
23181         [BZ #18410]
23182         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
23183         for missing DT_PLTRELSZ.
23185 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
23187         Remove obsolete aliases that broke 'locale -a'
23188         [BZ #18412]
23189         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
23190         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
23191         breaking some applications that use 'locale -a' output.
23192         Change the encoding of this file from Latin-1 to ASCII to avoid
23193         other potential problems with people grepping this file.
23195 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23197         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
23198         -fasynchronous-unwind-tables.
23199         (CFLAGS-sendto.c): Likewise.
23200         (CFLAGS-sendmsg.c): Likewise.
23201         (CFLAGS-connect.c): Likewise.
23202         (CFLAGS-recvmsg.c): Likewise.
23203         (CFLAGS-recvfrom.c): Likewise.
23204         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
23205         (SOCKETCALL): New macro: non-cancellable socketcall.
23206         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
23207         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
23208         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
23209         * sysdeps/unix/sysv/linux/accept.c: New file.
23210         * sysdeps/unix/sysv/linux/bind.c: Likewise.
23211         * sysdeps/unix/sysv/linux/connect.c: Likewise.
23212         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
23213         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
23214         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
23215         * sysdeps/unix/sysv/linux/listen.c: Likewise.
23216         * sysdeps/unix/sysv/linux/recv.c: Likewise.
23217         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
23218         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
23219         * sysdeps/unix/sysv/linux/send.c: Likewise.
23220         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
23221         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
23222         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
23223         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
23224         * sysdeps/unix/sysv/linux/socket.c: Likewise.
23225         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
23226         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
23227         prototype.
23228         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
23229         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
23230         instead of __internal_xxx function.
23231         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
23232         prototype.
23233         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
23234         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
23235         instead of __internal_xxx function.
23236         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
23237         prototype.
23238         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
23239         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
23240         instead of __internal_xxx function.
23241         * sysdeps/unix/sysv/linux/accept.S: Remove file.
23242         * sysdeps/unix/sysv/linux/bind.S: Likewise.
23243         * sysdeps/unix/sysv/linux/connect.S: Likewise.
23244         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
23245         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
23246         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
23247         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
23248         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
23249         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
23250         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
23251         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
23252         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
23253         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
23254         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
23255         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
23256         * sysdeps/unix/sysv/linux/listen.S: Likewise.
23257         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
23258         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
23259         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
23260         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
23261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
23262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
23263         * sysdeps/unix/sysv/linux/recv.S: Likewise.
23264         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
23265         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
23266         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
23267         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
23268         * sysdeps/unix/sysv/linux/send.S: Likewise.
23269         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
23270         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
23271         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
23272         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
23273         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
23274         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
23275         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
23276         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
23277         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
23278         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
23279         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
23280         socketcall is implemented in GLIBC.
23282 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
23284         * soft-fp/fmadf4.c: Include <libc-internal.h>.
23285         (__fma): Ignore uninitialized warnings around packing.
23286         * soft-fp/fmasf4.c: Include <libc-internal.h>.
23287         (__fmaf): Ignore uninitialized warnings around packing.
23288         * soft-fp/fmatf4.c: Include <libc-internal.h>.
23289         (__fmal): Ignore uninitialized warnings around packing.
23291         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
23292         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
23293         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
23294         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
23296         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
23297         switch statement into default case.
23298         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
23300         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
23301         a conditional in forcing "inexact".
23302         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
23303         Likewise.
23305 2015-05-22  Roland McGrath  <roland@hack.frob.com>
23307         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
23308         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
23309         for each INTERNAL_SYSCALL use.
23311 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
23313         [BZ #438]
23314         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
23315         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
23316         variable.
23318         [BZ #18444]
23319         * string/basename.c (basename): Rename to __basename and define as
23320         weak alias of __basename.  Use libc_hidden_weak.
23321         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
23322         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
23323         __basename instead of basename.
23324         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
23325         Remove variable.
23326         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
23328 2015-05-18  Florian Weimer  <fweimer@redhat.com>
23330         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
23331         (_IO_JUMPS_FILE_plus): New.
23332         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
23333         _IO_CAST_FIELD_ACCESS.
23334         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
23335         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
23336         * libio/freopen.c (freopen): Likewise.
23337         * libio/freopen64.c (freopen64): Likewise.
23338         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
23339         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
23340         * libio/iofwide.c (_IO_fwide): Likewise.
23341         * libio/memstream.c (open_memstream): Likewise.
23342         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
23343         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
23344         * libio/oldiopopen.c (_IO_old_popen): Likewise.
23346 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
23348         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
23349         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
23350         NADJ.
23351         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
23352         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
23353         NADJ.
23354         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
23355         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
23356         NADJ.
23358         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
23359         (p == 4) case.
23361         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
23362         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
23363         Remove variable.
23364         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
23365         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
23366         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
23368 2015-05-21  Florian Weimer  <fweimer@redhat.com>
23370         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
23371         Adjust jump table label generation macros.
23373 2015-05-21  Florian Weimer  <fweimer@redhat.com>
23375         * stdio-common/vfprintf.c (vfprintf): Move local variables
23376         args_malloced, specs, specs_malloced, and the code after
23377         do_positional to the printf_positional function.
23378         (printf_positional): New function.
23380 2015-05-21  Florian Weimer  <fweimer@redhat.com>
23382         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
23383         function.
23384         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
23385         STEP4_TABLE, process_arg): Move macro definitions
23386         out of the vfprintf function.  (Cosmetic change only.)
23388 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
23390         * benchtests/Makefile (stdio-common-bench): Define.
23391         (benchset): Add stdio-common-bench.
23392         * sprintf-inputs: New file.
23393         * sprintf-source.c: New file.
23395 2015-05-21  Andreas Schwab  <schwab@suse.de>
23397         [BZ #13028]
23398         [BZ #17053]
23399         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
23400         of struct __res_state.
23401         * resolv/res_send.c (__libc_res_nsend): Likewise.
23402         (get_nsaddr): New function.
23403         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
23404         statp directly.
23406 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
23408         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
23409         -D_POSIX_C_SOURCE=199506L.
23411         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
23413         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
23414         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
23415         Do not mention otherwise.
23416         [POSIX] (_XOPEN_VERSION): Do not expect.
23417         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
23418         [POSIX] (_POSIX2_C_BIND): Likewise.
23419         [POSIX] (_POSIX2_VERSION): Likewise.
23420         [POSIX] (_XOPEN_XPG2): Likewise.
23421         [POSIX] (_XOPEN_XPG3): Likewise.
23422         [POSIX] (_XOPEN_XPG4): Likewise.
23423         [POSIX] (_XOPEN_UNIX): Likewise.
23424         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
23425         [POSIX] (_POSIX_BARRIERS): Likewise.
23426         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
23427         [POSIX] (_POSIX_CPUTIME): Likewise.
23428         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
23429         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
23430         [POSIX] (_POSIX_SHELL): Likewise.
23431         [POSIX] (_POSIX_SPAWN): Likewise.
23432         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
23433         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
23434         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
23435         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
23436         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
23437         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
23438         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
23439         [POSIX] (_XBS5_LP64_OFF64): Likewise.
23440         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
23441         [POSIX] (_POSIX_TIMEOUTS): Likewise.
23442         [POSIX] (_POSIX2_PBS): Likewise.
23443         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
23444         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
23445         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
23446         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
23447         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
23448         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
23449         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
23450         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
23451         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
23452         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
23453         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
23454         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
23455         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
23456         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
23457         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
23458         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
23459         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
23460         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
23461         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
23462         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
23463         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
23464         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
23465         [POSIX] (_SC_2_C_BIND): Likewise.
23466         [POSIX] (_SC_2_C_VERSION): Likewise.
23467         [POSIX] (_SC_2_PBS): Likewise.
23468         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
23469         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
23470         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
23471         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
23472         [POSIX] (_SC_2_PBS_TRACK): Likewise.
23473         [POSIX] (_SC_ATEXIT_MAX): Likewise.
23474         [POSIX] (_SC_BARRIERS): Likewise.
23475         [POSIX] (_SC_BASE): Likewise.
23476         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
23477         [POSIX] (_SC_DEVICE_IO): Likewise.
23478         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
23479         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
23480         [POSIX] (_SC_FD_MGMT): Likewise.
23481         [POSIX] (_SC_FIFO): Likewise.
23482         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
23483         [POSIX] (_SC_FILE_LOCKING): Likewise.
23484         [POSIX] (_SC_FILE_SYSTEM): Likewise.
23485         [POSIX] (_SC_IOV_MAX): Likewise.
23486         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
23487         [POSIX] (_SC_NETWORKING): Likewise.
23488         [POSIX] (_SC_PAGE_SIZE): Likewise.
23489         [POSIX] (_SC_PASS_MAX): Likewise.
23490         [POSIX] (_SC_PIPE): Likewise.
23491         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
23492         [POSIX] (_SC_REGEXP): Likewise.
23493         [POSIX] (_SC_SHELL): Likewise.
23494         [POSIX] (_SC_SIGNALS): Likewise.
23495         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
23496         [POSIX] (_SC_SPIN_LOCKS): Likewise.
23497         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
23498         [POSIX] (_SC_USER_GROUPS): Likewise.
23499         [POSIX] (_SC_USER_GROUPS_R): Likewise.
23500         [POSIX] (_SC_STREAMS): Likewise.
23501         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
23502         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
23503         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
23504         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
23505         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
23506         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
23507         [POSIX] (_PC_FILESIZEBITS): Likewise.
23508         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
23509         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
23510         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
23511         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
23512         [POSIX] (uid_t): Likewise.
23513         [POSIX] (gid_t): Likewise.
23514         [POSIX] (off_t): Likewise.
23515         [POSIX] (pid_t): Likewise.
23516         [POSIX] (cuserid): Allow.
23517         (_SC_2_CHAR_TERM): Require constant.
23518         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
23519         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
23520         variable.
23522 2015-05-20  Roland McGrath  <roland@hack.frob.com>
23524         * sysdeps/nacl/pthread-pids.h: New file.
23525         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
23526         (create_thread): Use __nacl_get_tid to initialize PD->tid.
23528         * nptl/pthread-pids.h: New file.
23529         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
23530         * nptl/nptl-init.c: Include <pthread-pids.h>.
23531         (__pthread_initialize_minimal_internal):
23532         Call __pthread_initialize_pids instead of set_tid_address syscall.
23534         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
23535         * sysdeps/posix/usleep.c: ... here.
23537 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23539         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
23540         call_pselect6 object.
23541         [$(subdir) = io]: Remove call_sync_file_range object.
23542         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
23543         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
23544         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
23545         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
23547 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
23549         * math/s_cproj.c: Add include "math_private.h".
23550         * math/s_cprojf.c: Likewise.
23551         * math/s_cprojl.c: Likewise.
23553 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
23555         [BZ #18244]
23556         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
23557         high mantissa bit when testing whether P is a NaN.
23558         * math/libm-test.inc (remainder_test_data): Add more tests.
23559         (remquo_test_data): Likewise.
23561         [BZ #18049]
23562         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
23563         below -32, return the argument, with underflow if subnormal.
23564         * math/auto-libm-test-in: Add more tests of atanh.
23565         * math/auto-libm-test-out: Regenerated.
23567 2015-05-19  Roland McGrath  <roland@hack.frob.com>
23569         [BZ #18434]
23570         * nptl/tst-sem15.c: New file.
23571         * nptl/Makefile (tests): Add it.
23572         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
23573         s/<</>>/ to fix typo in EOVERFLOW check.
23574         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
23576 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23578         * manual/strings.texi (envz_remove): Fix typo in safety
23579         annotations.
23581 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
23582             Steve Ellcey  <sellcey@imgtec.com>
23584         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
23585         in order to avoid strict alias warnings.
23586         (iruserok_af): Ditto for ra.
23588 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
23590         [BZ #17581]
23591         * malloc/hooks.c
23592         (magicbyte): Convert to a function and avoid returning 0x01.
23593         (mem2mem_check): Avoid using a length byte equal to the magic byte.
23594         (mem2chunk_check): Fix unsigned comparisons to zero.
23595         Hoist defs of sz and magic.
23597 2015-05-19  Richard Henderson  <rth@redhat.com>
23599         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
23601         * sysdeps/alpha/fpu/libm-test-ulps: Update.
23603 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23605         [BZ #16159]
23606         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
23607         * malloc/arena.c (arena_lock): Check if arena is corrupt.
23608         (reused_arena): Find a non-corrupt arena.
23609         (heap_trim): Pass arena to unlink.
23610         * malloc/hooks.c (malloc_check_get_size): Pass arena to
23611         malloc_printerr.
23612         (top_check): Likewise.
23613         (free_check): Likewise.
23614         (realloc_check): Likewise.
23615         * malloc/malloc.c (malloc_printerr): Add arena argument.
23616         (unlink): Likewise.
23617         (munmap_chunk): Adjust.
23618         (ARENA_CORRUPTION_BIT): New macro.
23619         (arena_is_corrupt): Likewise.
23620         (set_arena_corrupt): Likewise.
23621         (sysmalloc): Use mmap if there are no usable arenas.
23622         (_int_malloc): Likewise.
23623         (__libc_malloc): Don't fail if arena_get returns NULL.
23624         (_mid_memalign): Likewise.
23625         (__libc_calloc): Likewise.
23626         (__libc_realloc): Adjust for additional argument to
23627         malloc_printerr.
23628         (_int_free): Likewise.
23629         (malloc_consolidate): Likewise.
23630         (_int_realloc): Likewise.
23631         (_int_memalign): Don't touch corrupt arenas.
23632         * malloc/tst-malloc-backtrace.c: New test case.
23634         * Makefile (summarize-tests): Fix return value on success.
23636         * manual/string.texi (Envz Functions): Add envz_remove.
23638 2015-05-18  Roland McGrath  <roland@hack.frob.com>
23640         * sysdeps/posix/opendir.c: Include <stdbool.h>.
23641         (invalid_name): New function, broken out of ...
23642         (__opendirat): ... here.  Call it.
23643         (need_isdir_precheck): New function, broken out of ...
23644         (__opendirat): ... here.  Call it.
23645         Use __fxstatat64, not __xstatat64.
23646         (opendir_oflags): New function, broken out of ...
23647         (__opendirat): ... here.  Call it.
23648         (opendir_tail): New function, broken out of ...
23649         (__opendirat): ... here.  Call it.
23650         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
23651         opendir_tail, rather than punting to __opendirat.
23652         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
23654 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23656         * .gitignore: Ignore generated *.pyc.
23658 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
23660         * include/stdio.h: Define __need_wint_t.
23661         * test-skeleton.c: Avoid `for' loop initial declaration.
23662         * nptl/tst-initializers1.c: Use test-skeleton.c.
23664 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23666         [BZ #18418]
23667         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
23669 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
23671         [BZ #16352]
23672         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
23673         (__ieee754_atanh): Force underflow exception for results with
23674         small absolute value.
23675         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
23676         (__ieee754_atanhf): Force underflow exception for results with
23677         small absolute value.
23678         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
23679         (__ieee754_atanh): Force underflow exception for results with
23680         small absolute value.
23681         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
23682         (__ieee754_atanhf): Force underflow exception for results with
23683         small absolute value.
23684         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
23685         (__ieee754_atanhl): Force underflow exception for results with
23686         small absolute value.
23687         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
23688         (__ieee754_atanhl): Force underflow exception for results with
23689         small absolute value.
23690         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
23691         (__ieee754_atanhl): Force underflow exception for results with
23692         small absolute value.
23693         * math/auto-libm-test-in: Do not allow missing underflow
23694         exceptions from atanh.
23695         * math/auto-libm-test-out: Regenerated.
23697         [BZ #18221]
23698         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
23699         2**-28 as threshold for returning x or +/- 1/x.
23700         * math/auto-libm-test-in: Add more tests of tan.
23701         * math/auto-libm-test-out: Regenerated.
23703         [BZ #18220]
23704         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
23705         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
23706         * math/auto-libm-test-in: Add another test of lgamma.
23707         * math/auto-libm-test-out: Regenerated.
23709 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
23711         * stdio-common/printf_fp.c (___printf_fp): Use abs.
23712         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
23713         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
23714         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
23715         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
23716         (ADD2A): Use fabs.  (SUB2A): Use fabs.
23717         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
23718         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
23719         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
23720         (log1): Use fabs.  (my_log2): Use fabs.
23721         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
23722         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
23723         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
23724         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
23725         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
23726         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
23727         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
23728         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
23729         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
23730         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
23731         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
23733 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
23735         [BZ #18217]
23736         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
23737         as threshold for returning 1 - x.
23738         * math/auto-libm-test-in: Add more tests of erfc.
23739         * math/auto-libm-test-out: Regenerated.
23741 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
23743         [BZ #18196]
23744         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
23745         threshold for large arguments.
23746         * math/auto-libm-test-in: Add another test of atan.
23747         * math/auto-libm-test-out: Regenerated.
23749         [BZ #16339]
23750         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
23751         (__log1p): Force underflow exception for results with small
23752         absolute value.
23753         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
23754         (__log1pf): Force underflow exception for results with small
23755         absolute value.
23756         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
23757         (__log1p): Force underflow exception for results with small
23758         absolute value.
23759         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
23760         (__log1pf): Force underflow exception for results with small
23761         absolute value.
23762         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
23763         (__log1pl): Force underflow exception for results with small
23764         absolute value.
23765         * math/auto-libm-test-in: Do not allow missing underflow
23766         exceptions from log1p.
23767         * math/auto-libm-test-out: Regenerated.
23769 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
23770             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23772         [BZ #16704]
23773         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
23775 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
23777         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
23778         (libmvec): New variable.
23779         * configure.ac: Added option for mathvec build.
23780         * configure: Regenerated.
23781         * mathvec/Depend: New file.
23782         * mathvec/Makefile: New file.
23783         * shlib-versions: Added libmvec.
23784         * math/Makefile: Added rule for libm.so installation.
23786         * bits/math-vector.h: New file.
23787         * bits/libm-simd-decl-stubs.h: New header.
23788         * math/Makefile (headers): Added new header
23789         libm-simd-decl-stubs.h.
23790         * math/math.h (__MATHCALL_VEC): New macro.
23792         * math/gen-libm-have-vector-test.sh: Script generates series of macros
23793         for conditions in testing functions.
23794         * math/Makefile: Added call of libm-have-vector-test.sh.
23795         * math/libm-test.inc (HAVE_VECTOR): New macros.
23797         * math/libm-test.inc: START refactored.
23798         * math/test-double.c (TEST_MATHVEC): Add define.
23799         * math/test-float.c: Likewise.
23800         * math/test-idouble.c: Likewise.
23801         * math/test-ifloat.c: Likewise.
23802         * math/test-ildoubl.c: Likewise.
23803         * math/test-ldouble.c: Likewise.
23804         * sysdeps/generic/math-tests-arch.h
23805         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
23806         architecture check.
23808         * math/test-double.c (FUNC_TEST): New macro.
23809         * math/test-float.c: Likewise.
23810         * math/test-idouble.c: Likewise.
23811         * math/test-ifloat.c: Likewise.
23812         * math/test-ildoubl.c: Likewise.
23813         * math/test-ldouble.c: Likewise.
23814         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
23816 2015-05-13  Roland McGrath  <roland@hack.frob.com>
23818         * sysdeps/nacl/fdopendir.c: New file.
23820         * dirent/scandir-tail.c: New file.
23821         * dirent/scandir64-tail.c: New file.
23822         * dirent/Makefile (routines): Add them.
23823         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
23824         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
23825         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
23826         [!SCANDIR] (SCANDIR_TAIL): New macro.
23827         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
23828         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
23829         (SCANDIRAT): Macro removed.
23830         (SCANDIR_TAIL): New macro.
23831         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
23832         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
23833         (SCANDIRAT): Just call __opendirat and __scandir_tail.
23834         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
23835         (READDIR): Macro removed.
23836         (SCANDIR_TAIL): New macro.
23837         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
23838         (SCANDIR_TAIL): New macro.
23840         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
23841         * dirent/scandir-cancel.c: ... to this new file.
23842         * dirent/Makefile (routines): Add it.
23843         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
23844         * sysdeps/unix/sysv/linux/i386/scandir64.c
23845         (SKIP_SCANDIR_CANCEL): Macro removed.
23846         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
23848         * dirent/tst-scandir.c: New file.
23849         * dirent/tst-scandir64.c: New file.
23850         * dirent/Makefile (tests): Add them.
23852 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
23854         [BZ #18409]
23855         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
23857 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23859         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
23860         list.
23862 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
23864         * benchtests/bench-strcoll.c: New benchmark.
23865         * benchtests/Makefile: Generate locales and run benchmark.
23866         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
23867         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
23868         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
23869         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
23870         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
23871         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
23872         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
23873         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
23874         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
23875         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
23876         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
23877         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
23878         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
23879         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
23880         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
23881         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
23882         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
23883         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
23884         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
23885         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
23886         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
23887         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
23888         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
23889         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
23891 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
23893         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
23894         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23896 2015-05-12  Roland McGrath  <roland@hack.frob.com>
23898         * posix/uname-values.h: New file.
23899         * posix/uname.c: Include that instead of <config-name.h>.
23900         * sysdeps/nacl/uname-values.h: New file.
23901         * sysdeps/arm/nacl/uname-values.h: New file.
23903 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
23905         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
23906         splitting into fields.
23908 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
23910         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
23911         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
23912         * locale/localeinfo.h: Add enum collation_encoding_type.
23913         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
23914         * programs/ld-collate.c (collate_output): Add encoding type info.
23915         * string/strcoll_l.c (STRDIFF): New function.
23916         * (STRCOLL): Use STRDIFF to skip over equal prefix.
23917         * wcsmbs/wcscoll_l.c: Define STRDIFF.
23919 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
23921         [BZ #18397]
23922         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
23923         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
23924         <fpu_control.h> instead of <math/fpu_control.c>.
23925         * sysdeps/mips/mips32/fpu/Makefile: New file.
23927 2015-05-11  Andreas Schwab  <schwab@suse.de>
23929         [BZ #18007]
23930         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
23931         nss_endgrent.
23932         (_nss_compat_endgrent): Call nss_endgrent.
23933         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
23934         nss_endpwent.
23935         (_nss_compat_endpwent): Call nss_endpwent.
23936         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
23937         needent, call nss_setspent only if non-zero.
23938         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
23939         (internal_endspent): Don't call nss_endspent.
23940         (_nss_compat_endspent): Call nss_endspent.
23941         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
23942         Remove.  All uses removed.
23943         (internal_setent): Remove parameter stayopen, add parameter
23944         stream.  Use it instead of global variable.
23945         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
23946         (internal_endent, internal_getent): Add parameter stream.  Use it
23947         instead of global variable.
23948         (CONCAT(_nss_files_end,ENTNAME))
23949         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
23950         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
23951         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
23952         uses removed.
23953         (internal_setent, internal_endent): Add parameter stream.  Use it
23954         instead of global variable.
23955         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
23956         stream.
23957         (get_next_alias): Add parameter stream.
23958         (_nss_files_getaliasent_r): Pass global stream.
23959         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
23960         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
23961         (_nss_files_gethostbyname4_r): Pass local stream to
23962         internal_setent, internal_getent and internal_endent.  Remove
23963         locking.
23965 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23967         * tst-strfmon1.c (tests): Update expected currency symbol.
23969 2015-05-08  Roland McGrath  <roland@hack.frob.com>
23971         * sysdeps/nacl/gethostname.c: New file.
23973 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
23975         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
23976         and sinh.
23977         * math/auto-libm-test-out: Regenerated.
23978         * sysdeps/i386/fpu/libm-test-ulps: Update.
23979         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23981 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
23983         [BZ #18125]
23984         * stdlib/tst-setcontext3.c: New file.
23985         * stdlib/tst-setcontext3.sh: New file.
23986         * stdlib/Makefile (tests): Add tst-setcontext3.
23987         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
23988         to verify test program created output file.
23989         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
23990         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
23991         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
23992         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
23994 2015-05-06  Roland McGrath  <roland@hack.frob.com>
23996         [BZ #18383]
23997         * elf/tst-tlsalign.c: New file.
23998         * elf/tst-tlsalign-static.c: New file.
23999         * elf/tst-tlsalign-lib.c: New file.
24000         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
24001         (tests-static): Add tst-tlsalign-static.
24002         (modules-names): Add tst-tlsalign-lib.
24003         (test-xfail-tst-tlsalign): New variable.
24004         (test-xfail-tst-tlsalign-static): New variable.
24006         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
24007         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
24009 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
24011         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
24012         csqrt, erfc, sin and sincos.
24013         * math/auto-libm-test-out: Regenerated.
24014         * sysdeps/i386/fpu/libm-test-ulps: Update.
24015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24017 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24019         * sysdeps/aarch64/libm-test-ulps: Update.
24021 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
24023         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
24024         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
24025         * math/auto-libm-test-out: Regenerated.
24026         * sysdeps/i386/fpu/libm-test-ulps: Update.
24027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24029 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
24031         [BZ #18265]
24032         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
24033         (wcsncpy): Likewise.
24035 2015-05-05  Florian Weimer  <fweimer@redhat.com>
24037         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
24038         Assume __ASSUME_FALLOCATE is always true.
24039         * sysdeps/unix/sysv/linux/posix_fallocate64.c
24040         (__posix_fallocate64_l64): Likweise.
24041         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
24042         (posix_fallocate): Likewise.
24043         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
24044         (__posix_fallocate64_l64): Likewise.
24045         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24046         [!__ASSUME_FALLOCATE]: Add comment.
24048 2015-05-05  Florian Weimer  <fweimer@redhat.com>
24050         * sysdeps/unix/sysv/linux/i386/Makefile
24051         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
24052         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
24053         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
24054         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
24055         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
24056         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
24057         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
24059 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
24061         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
24062         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
24063         tgamma.
24064         * math/auto-libm-test-out: Regenerated.
24065         * sysdeps/i386/fpu/libm-test-ulps: Update.
24066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24068 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
24070         * math/auto-libm-test-in: Add more tests of tgamma.
24071         * math/auto-libm-test-out: Regenerated.
24072         * sysdeps/i386/fpu/libm-test-ulps: Update.
24073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24075         * math/auto-libm-test-in: Add more tests of tanh.
24076         * math/auto-libm-test-out: Regenerated.
24077         * sysdeps/i386/fpu/libm-test-ulps: Update.
24078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24080         * math/auto-libm-test-in: Add more tests of tan.
24081         * math/auto-libm-test-out: Regenerated.
24082         * sysdeps/i386/fpu/libm-test-ulps: Update.
24083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24085         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
24086         * math/auto-libm-test-out: Regenerated.
24087         * sysdeps/i386/fpu/libm-test-ulps: Update.
24088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24090         * math/auto-libm-test-in: Add another test of pow.
24091         * math/auto-libm-test-out: Regenerated.
24092         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24094         * math/auto-libm-test-in: Add more tests of lgamma.
24095         * math/auto-libm-test-out: Regenerated.
24096         * sysdeps/i386/fpu/libm-test-ulps: Update.
24097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24099         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
24100         log1p.
24101         * math/auto-libm-test-out: Regenerated.
24102         * sysdeps/i386/fpu/libm-test-ulps: Update.
24103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24105 2015-05-01  Mark Wielaard  <mjw@redhat.com>
24107         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
24108         Elf64_Chdr structs and ELFCOMPRESS constants.
24110 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
24112         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
24113         expm1.
24114         * math/auto-libm-test-out: Regenerated.
24115         * sysdeps/i386/fpu/libm-test-ulps: Update.
24116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24118         * math/auto-libm-test-in: Add more tests of erf and erfc.
24119         * math/auto-libm-test-out: Regenerated.
24120         * sysdeps/i386/fpu/libm-test-ulps: Update.
24121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24123 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24125         * config.h.in (HAVE_AARCH64_BE): Add.
24127 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
24129         * math/auto-libm-test-in: Add more tests of csqrt.
24130         * math/auto-libm-test-out: Regenerated.
24131         * sysdeps/i386/fpu/libm-test-ulps: Update.
24132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24134         * math/auto-libm-test-in: Add more tests of cosh and sinh.
24135         * math/auto-libm-test-out: Regenerated.
24136         * sysdeps/i386/fpu/libm-test-ulps: Update.
24137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24139         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
24141 2015-04-29  Roland McGrath  <roland@hack.frob.com>
24143         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
24144         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
24146         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
24147         (euidaccess, eaccess): Define as weak aliases.
24149         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
24150         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
24151         but __suseconds_t is often 'long int' so some sources assume that
24152         type is being used (e.g. they use %ld to print tv_usec).
24154 2015-04-29  Florian Weimer  <fweimer@redhat.com>
24156         [BZ #18007]
24157         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
24158         (CVE-2014-8121)
24159         * nss/tst-nss-getpwent.c: New file.
24160         * nss/Makefile (tests): Add new test.
24162 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
24164         [BZ #18346]
24165         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
24166         exponents less than 48 as cases where high part of mantissa needs
24167         examining to determine whether argument is integral.
24168         * math/libm-test.inc (round_test_data): Add more tests.
24170 2015-04-28  Mark Wielaard  <mjw@redhat.com>
24172         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
24174 2015-04-27  David S. Miller  <davem@davemloft.net>
24176         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
24177         __tls_get_addr.
24178         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
24180 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
24182         [BZ#18333]
24183         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
24185 2015-04-27  Florian Weimer  <fweimer@redhat.com>
24187         [BZ#18333]
24188         * time/tzset.c (parse_tzname): Return error on memory allocation
24189         failure.
24190         * test-skeleton.c (struct temp_name_list): Change type of name
24191         member to non-const.
24192         (add_temp_file): Create a copy of the file name.
24193         (delete_temp_files): Deallocate memory.
24194         (create_temp_file): Add comment.
24196 2015-04-24  Florian Weimer  <fweimer@redhat.com>
24198         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
24199         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
24201 2015-04-24  Roland McGrath  <roland@hack.frob.com>
24203         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
24204         * sysdeps/arm/configure: Regenerated.
24206 2015-04-24  Florian Weimer  <fweimer@redhat.com>
24208         [BZ #17715]
24209         * time/tzfile.c (__tzfile_read): Check for large values of
24210         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
24211         * time/tzset.c (__tzstring_len): New function, based on the old
24212         __tzstring function.
24213         (__tzstring): Call __tzstring_len.
24214         (parse_tzname): New helper function extracted from
24215         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
24216         the input string.
24217         (parse_offset): New helper function extracted from
24218         __tzset_parse_tz.  Replace switch with fallthrough with
24219         initialization before sscanf.
24220         (parse_rule): Likewise.
24221         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
24222         new-style function definition.
24223         * timezone/Makefile (tests): Add tst-tzset.
24224         (tst-tzset.out): Dependencies on time zone files.
24225         (tst-tzset-ENV): Set TZDIR.
24226         (testdata/XT%): Copy crafted time zone files.
24227         * timezone/README: Mention crafted time zone files.
24228         * timezone/testdata/XT1, timezone/testdata/XT2,
24229         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
24230         files.
24231         * timezone/tst-tzset.c: New test.
24233 2015-04-24  Florian Weimer  <fweimer@redhat.com>
24235         * Makeconfig (+gccwarn): Remove -Winline.
24237 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
24239         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
24241 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
24243         * NEWS: Mention sysconf() cache information support for s390.
24244         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
24246 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
24248         * math/k_casinh.c (__kernel_casinh): Use __copysign.
24249         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
24250         (__nearbyint): Likewise.
24251         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
24252         (copysignl): Likewise.
24254 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
24256         [BZ #18287]
24257         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
24258         based on padding.  (CVE-2015-1781)
24260 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24262         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
24263         libc-vdso.h.
24264         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
24265         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
24266         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
24267         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
24268         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
24269         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
24270         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
24271         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
24272         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24273         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
24274         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
24275         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
24276         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
24277         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
24278         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
24279         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
24280         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
24281         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
24282         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
24283         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
24284         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
24285         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
24286         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
24288 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
24290         * stdlib/setenv.c (__add_to_environ):
24291         Dump core quickly if setenv (..., NULL, ...) is called.
24292         This time, do it the right way, and pacify GCC with a pragma.
24294 2015-04-17  Roland McGrath  <roland@hack.frob.com>
24296         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
24297         IMAP->l_prev cannot be null, and #if out the code for the contrary
24298         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
24299         believe that NS (&_dl_ns[NSID]) could point outside the array.
24301         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
24302         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
24303         before using NSID as an index.
24305 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
24307         [BZ #17825]
24308         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
24309         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
24310         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
24312 2015-04-17  Roland McGrath  <roland@hack.frob.com>
24314         Add preliminary port to Google Native Client on ARM.
24315         * abi-tags (.*-.*-nacl.*): New entry.
24316         * sysdeps/arm/nacl: New directory.
24317         * sysdeps/nacl: New directory.
24319 2015-04-16  David S. Miller  <davem@davemloft.net>
24321         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
24322         lowlevellock-futex.h
24324 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
24326         * sysdeps/tile/configure.ac: New file.
24327         * sysdeps/tile/configure: Regenerated.
24329 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24331         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
24332         conditionals for weak_alias and libc_hidden_weak.
24333         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
24334         libc_hidden_weak and weak_alias.
24335         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
24336         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
24337         and weak_alias for static one.
24339 2015-04-15  David S. Miller  <davem@davemloft.net>
24341         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
24343 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24345         [BZ #18206]
24346         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
24347           Use signed comparision instead of substraction to avoid
24348           overflow bug.
24349         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
24350           Take the sign of ret.
24351         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
24352           Do not expect precise return values. Only the sign matters.
24353         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
24354         * wcsmbs/test-wcsncmp.c: New File.
24355         * string/test-strncmp.c: Add wcsncmp support.
24357 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24359         [BZ #6792]
24360         * math/w_log1p.c: New file.
24361         * math/w_log1pf.c: Likewise.
24362         * math/w_log1pl.c: Likewise.
24363         * math/Makefile (libm-calls): Add w_log1p.
24364         * math/s_log1pl.c (log1pl): Remove weak_alias.
24365         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
24366         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
24367         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
24368         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
24369         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
24370         [NO_LONG_DOUBLE] (log1pl): Likewise.
24371         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
24372         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
24373         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
24374         (log1p): Remove long_double_symbol.
24375         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
24376         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
24377         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
24378         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
24379         remove weak_alias for corresponding log1p function.
24380         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
24381         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
24382         * sysdeps/ia64/fpu/w_log1p.c: New file.
24383         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
24384         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
24385         * math/libm-test.inc (log1p_test_data): Add errno expectations.
24387 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
24389         [BZ #18247]
24390         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
24391         decimal exponent by 1.
24392         * stdlib/tst-strtod-round-data: Add more tests.
24393         * stdlib/tst-strtod-round.c (tests): Regenerated.
24395 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
24397         * math/auto-libm-test-in: Add more tests of clog and clog10.
24398         * math/auto-libm-test-out: Regenerated.
24399         * sysdeps/i386/fpu/libm-test-ulps: Update.
24400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24402 2015-04-09  Roland McGrath  <roland@hack.frob.com>
24404         * Makeconfig (module-cppflags): Exclude all .v.i files.
24405         (skip-module-cppflags): Variable removed.
24407         * configure.ac (libc_config_ok): Initialize before reading
24408         preconfigure scripts, not after.
24409         * configure: Regenerated.
24411         * test-skeleton.c (TIMEOUT): Move #define to top level.
24412         (main): Grok environment variable TEST_DIRECT.  If set, print
24413         test expectation details into that file and then behave as if
24414         given --direct.
24416 2015-04-09  Florian Weimer  <fweimer@redhat.com>
24418         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
24419         warning on 32-bit.
24421 2015-04-08  David S. Miller  <davem@davemloft.net>
24423         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24425 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
24427         * math/auto-libm-test-in: Add more tests of atanh.
24428         * math/auto-libm-test-out: Regenerated.
24429         * sysdeps/i386/fpu/libm-test-ulps: Update.
24430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24432         * math/auto-libm-test-in: Add more tests of atan.
24433         * math/auto-libm-test-out: Regenerated.
24434         * sysdeps/i386/fpu/libm-test-ulps: Update.
24435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24437 2015-04-08  Florian Weimer  <fweimer@redhat.com>
24439         * elf/pldd.c (main): Rewrite to use struct
24440         scratch_buffer instead of extend_alloca.
24441         * elf/pldd-xx.c (find_maps): Likewise.
24442         * grp/initgroups.c: Include <scratch_buffer.h> instead of
24443         <alloca.h>.
24444         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
24445         scratch_buffer instead of extend_alloca.
24446         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
24447         grp/compat-initgroups.c.
24448         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
24449         Rewrite to use struct scratch_buffer instead of extend_alloca.
24450         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
24451         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
24453 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
24455         * math/auto-libm-test-in: Add more tests of cbrt.
24456         * math/auto-libm-test-out: Regenerated.
24457         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24459         * math/auto-libm-test-in: Add more tests of cabs.
24460         * math/auto-libm-test-out: Regenerated.
24461         * sysdeps/i386/fpu/libm-test-ulps: Update.
24462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24464         [BZ #18210]
24465         [BZ #18211]
24466         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
24467         (__ieee754_atan2): Set FE_TONEAREST mode for internal
24468         computations.
24469         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
24470         clog10.
24471         * math/auto-libm-test-out: Regenerated.
24472         * sysdeps/i386/fpu/libm-test-ulps: Update.
24473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24475         [BZ #18197]
24476         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
24477         (atan): Set FE_TONEAREST mode for internal computations.
24478         * math/auto-libm-test-in: Add more tests of atan.
24479         * math/auto-libm-test-out: Regenerated.
24481 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
24483         [BZ #17930]
24484         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
24486 2015-04-07  Florian Weimer  <fweimer@redhat.com>
24488         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
24490 2015-04-07  Florian Weimer  <fweimer@redhat.com>
24492         * include/scratch_buffer.h: New file.
24493         * malloc/scratch_buffer_grow.c: Likewise.
24494         * malloc/scratch_buffer_grow_preserve.c: Likewise.
24495         * malloc/scratch_buffer_set_array_size.c: Likewise.
24496         * malloc/tst-scratch_buffer.c: Likewise.
24497         * malloc/Makefile (routines): Add scratch_buffer_grow.
24498         (tests): Add test case.
24499         * malloc/Versions (GLIBC_PRIVATE): Export
24500         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
24501         __libc_scratch_buffer_set_array_size.
24503 2015-04-06  Richard Henderson  <rth@redhat.com>
24505         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
24506         * sysdeps/alpha/fpu/libm-test-ulps: Update.
24508         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
24509         unsigned int before printing.
24511 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24513         [BZ #17596]
24514         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
24515         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
24517 2015-04-02  Florian Weimer  <fweimer@redhat.com>
24519         * include/libc-internal.h (libc_max_align_t): Define.
24521 2015-04-02  Andreas Schwab  <schwab@suse.de>
24523         [BZ #16850]
24524         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
24526 2015-04-02  Mel Gorman  <mgorman@suse.de>
24528         [BZ #17195]
24529         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
24530         as well as the main arena.
24532 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
24534         [BZ #18185]
24535         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
24536         sharing L2 cache to 2 for Silvermont/Knights Landing.
24538 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
24540         [BZ #17711]
24541         * config.make.in (have-protected-data): New.
24542         * configure.ac: Check linker support for protected data symbol.
24543         * configure: Regenerated.
24544         * elf/Makefile (modules-names): Add tst-protected1moda and
24545         tst-protected1modb if $(have-protected-data) is yes.
24546         (tests): Add tst-protected1a and tst-protected1b if
24547         $(have-protected-data) is yes.
24548         ($(objpfx)tst-protected1a): New.
24549         ($(objpfx)tst-protected1b): Likewise.
24550         (tst-protected1modb.so-no-z-defs): Likewise.
24551         * elf/tst-protected1a.c: New file.
24552         * elf/tst-protected1b.c: Likewise.
24553         * elf/tst-protected1mod.h: Likewise.
24554         * elf/tst-protected1moda.c: Likewise.
24555         * elf/tst-protected1modb.c: Likewise.
24557 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
24559         [BZ #17711]
24560         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
24561         indicates it is called from do_lookup_x on relocation against
24562         protected data, skip the data definion in the executable from
24563         copy reloc.
24564         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
24565         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
24566         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
24567         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
24568         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
24569         otherwise to 0.
24570         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
24571         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
24572         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
24573         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
24574         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
24575         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
24577 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
24579         * sysdeps/nptl/pthread.h: Remove duplicate definition of
24580         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
24582 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
24584         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
24585         THREAD_SETMEM_NC.
24586         * sysdeps/x86_64/nptl/tls.h: Ditto.
24588 2015-03-27  Roland McGrath  <roland@hack.frob.com>
24590         * dlfcn/tststatic.c (main): Converted to ...
24591         (do_test): ... this.
24592         (TEST_FUNCTION): New macro.
24593         Include test-skeleton.c.
24595 2015-03-26  Alan Modra  <amodra@gmail.com>
24597         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
24598         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
24599         zero for undefined weak.
24600         (elf_machine_plt_conflict): Similarly.
24602 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
24604         * math/auto-libm-test-in: Add more tests of acosh, asinh and
24605         atanh.
24606         * math/auto-libm-test-out: Regenerated.
24607         * sysdeps/i386/fpu/libm-test-ulps: Update.
24608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24610         * math/auto-libm-test-in: Add another test of asin.
24611         * math/auto-libm-test-out: Regenerated.
24612         * sysdeps/i386/fpu/libm-test-ulps: Update.
24613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24615         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
24616         Remove macro.
24617         (LLL_EBX_REG): Likewise.
24618         (LLL_ENTER_KERNEL): Likewise.
24620         * math/auto-libm-test-in: Add more tests of asin.
24621         * math/auto-libm-test-out: Regenerated.
24622         * sysdeps/i386/fpu/libm-test-ulps: Update.
24623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24625         [BZ #18138]
24626         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
24627         libc_do_syscall_args): New structure.
24628         (INTERNAL_SYSCALL_MAIN_0): New macro.
24629         (INTERNAL_SYSCALL_MAIN_1): Likewise.
24630         (INTERNAL_SYSCALL_MAIN_2): Likewise.
24631         (INTERNAL_SYSCALL_MAIN_3): Likewise.
24632         (INTERNAL_SYSCALL_MAIN_4): Likewise.
24633         (INTERNAL_SYSCALL_MAIN_5): Likewise.
24634         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
24635         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
24636         Replace conditional definitions by conditional definitions of ....
24637         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
24638         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
24639         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
24640         (libpthread-sysdep_routines): Add libc-do-syscall.
24641         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
24642         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
24643         to __NR_futex not 240.
24645 2015-03-25  Alan Modra  <amodra@gmail.com>
24647         * NEWS: Advertise TLS optimization.
24648         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
24649         (DT_PPC_NUM): Increment.
24650         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
24651         (CHECK_STATIC_TLS): Use here.
24652         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
24653         TLS descriptors.
24654         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24655         * sysdeps/powerpc/dl-tls.c: New file.
24656         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
24657         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
24658         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
24659         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
24660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
24661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
24662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
24664 2015-03-25  Alan Modra  <amodra@gmail.com>
24666         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
24667         for overlapping .opd entries" to "support...".
24668         * sysdeps/powerpc/powerpc64/configure: Regenerate
24670 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
24672         * math/auto-libm-test-in: Add more tests of acos.
24673         * math/auto-libm-test-out: Regenerated.
24674         * sysdeps/i386/fpu/libm-test-ulps: Update.
24675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24677         * math/auto-libm-test-in: Add more tests of expm1.
24678         * math/auto-libm-test-out: Regenerated.
24679         * sysdeps/i386/fpu/libm-test-ulps: Update.
24680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24682 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
24684         * math/auto-libm-test-in: Add more tests of cosh and sinh.
24685         * math/auto-libm-test-out: Regenerated.
24686         * sysdeps/i386/fpu/libm-test-ulps: Update.
24687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24689         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24692         * math/auto-libm-test-in: Add more tests of log2.
24693         * math/auto-libm-test-out: Regenerated.
24694         * sysdeps/i386/fpu/libm-test-ulps: Update.
24695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24697 2015-03-23  Roland McGrath  <roland@hack.frob.com>
24699         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
24700         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
24701         _IO_IS_APPENDING bit in READ_WRITE instead.
24703 2015-03-23  Florian Weimer  <fweimer@redhat.com>
24705         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
24706         (__determine_cpumask_size): Replace extend_alloca with a
24707         variable-length array.  Do not treat res == 0 as an error.
24709 2015-03-23  Florian Weimer  <fweimer@redhat.com>
24711         [BZ #18100]
24712         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
24713         and integer overflow.
24714         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
24715         (main): Add integer overflow tests.
24716         * manual/pattern.texi (Calling Wordexp): Document additional use
24717         for WRDE_SYNTAX.
24719 2015-03-23  Alan Modra  <amodra@gmail.com>
24721         * config.h.in: Remove HAVE_ASM_PPC_REL16.
24722         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
24723         and false branch of conditional.
24724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
24725         Likewise.
24727 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
24729         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
24730         libc-modules.h
24731         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
24732         unused declaration of _hurd_intr_rpc_msg_in_trap.
24733         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
24734         defined instead of whether it is non-zero.
24735         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
24736         input constraint instead of both input and output constraint.  Use ecx
24737         clobber instead of %ecx.
24738         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
24739         mutex_unlock): Use a statement expression instead of an expression list.
24740         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
24741         type to vm_size_t instead of vm_address_t.
24742         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
24743         defined instead of whether it is non-zero.
24744         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
24745         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
24746         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
24747         comparisons with mapaddr.
24748         * nscd/nscd-client.h: Include <time.h>.
24749         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
24750         9th parameter to __vm_region instead of int.
24751         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
24752         * scripts/check-local-headers.sh (exclude): Add device/,
24753         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
24754         cthreads.h.
24756 2015-03-19  Roland McGrath  <roland@hack.frob.com>
24758         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
24759         to account for alignment padding.
24760         * sysdeps/arm/memmove.S: Likewise.
24762 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
24764         * sysdeps/unix/sysv/linux/generic/README: New file.
24766 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
24768         [BZ #18138]
24769         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
24770         (futex_abstimed_wait)
24771         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
24772         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
24773         of lll_futex_timed_wait.
24775 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
24777         [BZ #17542]
24778         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
24780 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
24782         [BZ #17090]
24783         [BZ #17620]
24784         [BZ #17621]
24785         [BZ #17628]
24786         * NEWS: Update.
24787         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
24788         entries with Static TLS too.  Skip entries past the end of the
24789         allocated DTV, from Alan Modra.
24790         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
24791         Static TLS DTV entry set up from...
24792         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
24793         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
24794         * nptl/allocatestack.c (init_one_static_tls): ... and here...
24795         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
24796         for Static TLS.
24797         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
24798         that the slot we find is associated with the given map before
24799         using its generation count.
24800         * nptl_db/db_info.c: Include ldsodefs.h.
24801         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
24802         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
24803         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
24804         (link_map::l_tls_offset): New struct field.
24805         (dtv_t::counter): Likewise.
24806         (rtld_global): New struct.
24807         (_rtld_global): New rtld variable.
24808         (dl_tls_dtv_slotinfo_list): New rtld global field.
24809         (dtv_slotinfo_list): New struct.
24810         (dtv_slotinfo): Likewise.
24811         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
24812         (td_lookup): Rename to...
24813         (td_mod_lookup): ... this.  Use new mod parameter instead of
24814         LIBPTHREAD_SO.
24815         * nptl_db/td_thr_tlsbase.c: Include link.h.
24816         (dtv_slotinfo_list, dtv_slotinfo): New functions.
24817         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
24818         addresses even if the DTV is out of date or missing them.
24819         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
24820         index zero-length arrays.
24821         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
24822         (td_lookup): Make it a macro implemented in terms of...
24823         (td_mod_lookup): ... this declaration.
24824         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
24825         (DB_MAIN_VARIABLE): Likewise.
24827 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24829         [BZ #18134]
24830         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
24832 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
24834         * stdlib/setenv.c (__add_to_environ): Revert previous change.
24836 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
24838         [BZ #18128]
24839         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
24840         (atomic_add, atomic_increment_and_test)
24841         (atomic_decrement_and_test): Fix 64-bit arithmetic.
24843 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
24845         * stdlib/setenv.c (__add_to_environ):
24846         Dump core quickly if setenv (..., NULL, ...) is called.
24848 2015-03-13  Roland McGrath  <roland@hack.frob.com>
24850         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
24851         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
24852         all the necessary asm magic in one place.
24853         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
24854         using those.
24856 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
24858         [BZ #14906]
24859         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
24860         traced file mtime. Use consistent log message.
24861         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
24862         (register_traced_file): Call install_watches. Always set mtime.
24863         (invalidate_cache): Iterate over all trace files. Call install_watches.
24864         (inotify_check_files): Don't inline. Handle watching parent
24865         directories and configuration file movement in and out.
24866         (handle_inotify_events): New function.
24867         (main_loop_poll): Call handle_inotify_events.
24868         (main_loop_epoll): Likewise.
24869         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
24870         (struct traced_file): Use array of inotify fds. Add parent directory,
24871         and basename.
24872         (struct database_dyn): Remove unused file_mtime.
24873         (init_traced_file): New inline function.
24874         (define_traced_file): New macro.
24875         * nss/nss_db/db-init.c: Use define_traced_file.
24876         (_nss_db_init): Use init_traced_file.
24877         * nss/nss_files/files-init.c: Use define_traced_file.
24878         (_nss_files_init): Use init_traced_file.
24880 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
24882         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
24883         [_LIBC]: Do not include <stdlib.h>.
24884         [!_LIBC] (abort): Remove declaration.
24885         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
24886         _FP_STATIC_ASSERT instead of conditionally calling abort.
24887         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
24888         (_FP_EXTEND_CNAN): Likewise.
24889         (FP_TRUNC): Likewise.
24890         (__FP_CLZ): Likewise.
24891         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
24893 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
24895         * manual/string.texi (XPG basename): Fix prototype.
24897 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
24899         [BZ #18080]
24900         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
24901         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
24902         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
24903         (__setcontext): Likewise.
24904         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
24905         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
24906         Call rt_sigprocmask syscall one time to set new signal mask
24907         and retrieve the current signal mask instead of two calls.
24908         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
24909         (__swapcontext): Likewise.
24910         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
24911         * stdlib/tst-setcontext2.c: New file.
24913 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
24915         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24917 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
24919         [BZ #18093]
24920         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
24921         the wrong size.
24923 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
24925         [BZ #18043]
24926         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
24928 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24930         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
24931         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
24932         Remove define.
24933         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
24934         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
24935         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
24936         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
24937         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
24938         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
24939         define.
24940         * nptl_db/td_symbol_list.c (td_lookup): Remove
24941         HAVE_ASM_GLOBAL_DOT_NAME code.
24942         * sysdeps/powerpc/powerpc64/configure.ac: Remove
24943         HAVE_ASM_GLOBAL_DOT_NAME check.
24944         * sysdeps/powerpc/powerpc64/configure: Regenerate.
24945         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
24946         (DOT_LABEL): Remove define.
24947         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
24948         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
24949         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
24950         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
24951         (__TLS_GET_ADDR): Likewise.
24952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
24953         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
24955 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
24957         [BZ #18111]
24958         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
24959         (_FPU_SETCW): Initialize cw from fpsr before storing.
24960         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
24961         (fesetexceptflag): Rewrite using fpu_control.h.
24962         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
24964 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
24966         [BZ #18110]
24967         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
24968         asms.
24969         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
24971 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
24973         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
24974         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
24975         abort.
24976         (_FP_FMA): Likewise.
24977         (_FP_DIV): Likewise.
24979 2015-03-10  Roland McGrath  <roland@hack.frob.com>
24981         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
24982         with 0 in that case.
24983         * Makefile (summarize-tests): New canned sequence, factored out of
24984         commands for targets tests and xtests.  Display summary lines that
24985         don't start with PASS: or XFAIL: rather than ones that do start with
24986         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
24987         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
24988         do start with ERROR: or FAIL:.
24989         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
24990         (except for [$(build-shared) = yes]).
24991         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
24992         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
24993         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
24994         * nptl/Makefile: Revert 2015-03-04 changes.
24995         [$(CXX) empty] (tests-unsupported): New variable.
24996         * debug/Makefile: Likewise.
24998         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
24999         gnulib file.  Replace __attribute with __attribute__ throughout.
25001 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
25003         * sysdeps/hppa/fpu/libm-test-ulps: Update.
25005 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
25007         [BZ #18104]
25008         * math/auto-libm-test-in: Add another test of pow.
25009         * math/auto-libm-test-out: Regenerated.
25011 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25013         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
25014         $(config-cflags-nofma).
25016 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
25018         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
25019         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
25020         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
25021         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
25022         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
25023         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
25024         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
25025         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
25026         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
25027         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
25028         Add comment on closing #endif.
25030 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
25032         * posix/wordexp.c (CHAR_IN_SET): New macro.
25033         (parse_param): Use it.
25035 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25037         * sysdeps/powerpc/fpu/libm-test-ulps: update.
25039 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
25041         [BZ #18043]
25042         * posix/wordexp.c (parse_param): Fix buffer overflow.
25043         * posix/wordexp-test.c (test_case): Add test case.
25045 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
25047         [BZ #18042]
25048         * posix/wordexp.c (parse_backtick): Fix off-by-one.
25049         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
25051 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
25053         [BZ #18043]
25054         * posix/wordexp-test.c (test_case): Add test for BZ #18043
25055         (do_bz18043): Delete.
25056         (at_page_end): New.
25057         (testit): Refactor to have words at the edge of unreadable page.
25059 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
25061         [BZ #16734]
25062         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
25063         Cleanup read-only streams as well.
25064         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
25066 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25068         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
25069         <bits/libc-lockP.h>
25071 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
25073         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
25074         on [__KERNEL__].
25075         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
25076         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
25077         * soft-fp/op-common.h (_FP_DECL): Likewise.
25079 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
25081         * elf/ifuncdep2.c (global): Replace
25082         __attribute__((visibility("protected"))) with
25083         asm (".protected global").
25084         * elf/ifuncmod1.c (global): Likewise.
25085         * elf/ifuncmod5.c (global): Likewise.
25087 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
25089         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
25090         <asm/sfp-machine.h> instead of <sfp-machine.h>.
25092 2015-03-06  Roland McGrath  <roland@hack.frob.com>
25094         * manual/install.texi (Configuring and compiling):
25095         Document test-wrapper-env-only.
25096         * INSTALL: Regenerated.
25098 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
25100         [BZ #18043]
25101         * posix/wordexp.c (parse_param): Fix buffer overflow.
25102         * posix/wordexp-test.c (do_bz18043): Add test case.
25104 2015-03-06  Vincent Bernat  <vincent@bernat.im>
25106         * time/tst-strptime2.c (do_test): Ensure failing tests are
25107         reported correctly.
25108         * time/tst-strptime3.c (do_test): Likewise.
25110 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
25112         Fix aio_error thread-safety.
25113         * sysdeps/pthread/aio_error.c: New file
25114         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
25115         synchronization.
25117 2015-03-06  Florian Weimer  <fweimer@redhat.com>
25119         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
25120         (group_number, vfprintf): Use it.
25121         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
25122         (JUMP, REF): Use it.
25123         (WORK_BUFFER_SIZE): New enum constant.
25124         (process_arg, vfprintf): Use it.
25126 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
25128         * manual/errno.texi (Error Messages): Complete example function
25129         by adding missing #define.
25130         (program_invocation_name): Add statement indicating GNU
25131         extension and reference which header file declares the variable.
25132         (program_invocation_short_name): Likewise.
25134 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
25136         * manual/errno.texi (Error Messages): Delete strerror ISO C89
25137         compatibility note.
25139 2015-03-05  Roland McGrath  <roland@hack.frob.com>
25141         * Makeconfig (test-wrapper-env-only): New variable.
25142         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
25143         then use that with $(test-wrapper-env-only) rather than using
25144         $(test-wrapper-env) $(run-program-env) $($*-ENV).
25146 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
25148         [BZ #18082]
25149         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
25150         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
25151         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
25152         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
25153         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
25154         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
25155         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
25156         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
25157         Likewise.
25158         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
25159         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
25160         Likewise.
25161         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
25162         Likewise.
25163         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
25164         Likewise.
25165         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
25166         Likewise.
25167         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
25168         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
25169         Likewise.
25170         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
25171         Likewise.
25172         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
25173         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
25175 2015-03-04  Roland McGrath  <roland@hack.frob.com>
25177         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
25178         (ETH_ALEN): New macro.
25179         (struct ether_addr): Use it for length of ether_addr_octet.
25181         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
25182         (setdb): Don't call __nss_configure_lookup for "rpc".
25183         (do_test): Don't call test_rpc.
25184         (output_rpcent, test_rpc): Functions moved ...
25185         * sunrpc/test-rpcent.c: ... to this new file.
25186         * sunrpc/Makefile (tests): Add it.
25188         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
25189         __xpg_sigpause.
25190         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
25191         * nptl/tst-signal6.c: Likewise.
25192         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
25193         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
25195         * configure.ac (libc_cv_cxx_link_ok): New check.
25196         Reset CXX to empty if it fails to link.
25197         * configure: Regenerated.
25198         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
25199         bug-atexit3-lib only if $(CXX) is nonempty.
25200         * nptl/Makefile (tests): Likewise for tst-cancel24.
25201         (tests, tests-static): Likewise for tst-cancel24-static.
25202         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
25203         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
25204         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
25205         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
25207 2015-03-04  Andreas Schwab  <schwab@suse.de>
25209         [BZ #17631]
25210         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
25211         for non-GCC compilers.
25212         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
25213         Likewise.
25215 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
25217         [BZ #17776]
25218         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
25219         integer before bitwise and assembly operations.
25220         (feclearexcept): Likewise.
25221         * math/test-fenvinline.c: New file.
25222         * math/Makefile: Add test-fenvinline test.
25224 2015-03-03  Alan Modra  <amodra@gmail.com>
25226         [BZ #16512]
25227         * scripts/localplt.awk: Strip off symbol version.
25228         * NEWS: Mention bug fix.
25230 2015-03-02  Roland McGrath  <roland@hack.frob.com>
25232         * sysdeps/pthread/timer_routines.c
25233         (timer_free_list, thread_free_list, thread_active_list): Make static.
25235 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
25237         [BZ #17779]
25238         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
25239         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
25240         Undefine.
25241         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25242         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
25243         Likewise.
25244         * sysdeps/unix/sysv/linux/sh/kernel-features.h
25245         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
25246         Likewise.
25248 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
25250         [BZ #18036]
25251         * posix/fnmatch_loop.c (END): Detect invalid pattern.
25252         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
25254 2015-03-02  Andreas Schwab  <schwab@suse.de>
25256         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
25257         variable name.
25259 2015-03-02  Florian Weimer  <fweimer@redhat.com>
25261         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
25262         Return error status.
25264 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
25266         [BZ #15969]
25267         * locale/findlocale.c (_nl_find_locale): Introduce const
25268         version of loc_name and drop unsafe type casts.
25270 2015-02-27  Roland McGrath  <roland@hack.frob.com>
25272         * dlfcn/tststatic2.c (main): Converted to ...
25273         (do_test): ... this.
25274         (TEST_FUNCTION): New macro.
25275         Include test-skeleton.c.
25277 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
25279         [BZ #17711]
25280         * elf/Makefile (tests): Add vismain only if PIE is enabled.
25281         (tests-pie): Add vismain.
25282         (CFLAGS-vismain.c): New.
25283         * elf/vismain.c: Add comments for PIE requirement.
25285 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
25287         [BZ #18046]
25288         [BZ #18047]
25289         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
25290         0x1p-56L as threshold for just returning the argument.
25291         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
25292         0x1p-32L as threshold for just returning the argument.
25293         * math/auto-libm-test-in: Add more tests of atanh.
25294         * math/auto-libm-test-out: Regenerated.
25295         * sysdeps/i386/fpu/libm-test-ulps: Update.
25296         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
25298 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
25300         * string/bcopy.c (bcopy): Call memmove for performance.
25302 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
25304         * string/bzero.c (__bzero): Call memset for performance.
25306 2015-02-27  John David Anglin  <dave.anglin@bell.net>
25308         [BZ #18068]
25309         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
25310         to 00100000.
25312 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
25314         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
25316 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
25318         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
25319         (__kernel_standard): Use CSTR macro when setting exc.name.
25320         * sysdeps/ieee754/Makefile [$(subdir) = math]
25321         (CFLAGS-k_standard.c): Remove variable.
25323         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
25324         setting p and q from "else if" to "else".
25325         (qzero): Likewise.
25326         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
25327         (qone): Likewise.
25328         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
25329         (qzerof): Likewise.
25330         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
25331         (qonef): Likewise.
25332         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
25333         (qzero): Likewise.
25334         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
25335         (qone): Likewise.
25337         [BZ #18038]
25338         [BZ #18039]
25339         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
25340         return pi/2 for arguments below 0x1p-113L.
25341         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
25342         return pi/2 for arguments below 0x1p-106L.
25343         * math/auto-libm-test-in: Add more tests of acos.
25344         * math/auto-libm-test-out: Regenerated.
25346         [BZ #16351]
25347         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
25348         (MO): New macro.
25349         (__ieee754_asin): Force underflow exception for results with small
25350         absolute value.
25351         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
25352         (MO): New macro.
25353         (__ieee754_asinf): Force underflow exception for results with
25354         small absolute value.
25355         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
25356         (__ieee754_asin): Force underflow exception for results with small
25357         absolute value.
25358         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
25359         (__ieee754_asinf): Force underflow exception for results with
25360         small absolute value.
25361         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
25362         (__ieee754_asinl): Force underflow exception for results with
25363         small absolute value.
25364         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
25365         (__ieee754_asinl): Force underflow exception for results with
25366         small absolute value.
25367         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
25368         (__ieee754_asinl): Force underflow exception for results with
25369         small absolute value.
25370         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
25371         Include <math.h>.
25372         * math/auto-libm-test-in: Do not mark underflow exceptions as
25373         possibly missing for bug 16351.
25374         * math/auto-libm-test-out: Regenerated.
25376         [BZ #18030]
25377         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
25378         of power of 2 down when low part has opposite sign.
25379         * math/libm-test.inc (logb_test_data): Add more tests.
25381 2015-02-26  Andreas Schwab  <schwab@suse.de>
25383         [BZ #18032]
25384         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
25385         over collating symbol inside a bracket expression.  Minor cleanup.
25386         * posix/tst-fnmatch3.c (do_test): Add test case.
25388 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
25390         [BZ #18029]
25391         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
25392         Adjust exponent of power of 2 down when low part has opposite
25393         sign.
25394         * math/libm-test.inc (ilogb_test_data): Add more tests.
25396 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
25398         [BZ #15969]
25399         * locale/findlocale.c (_nl_find_locale): Fix constness error in
25400         the previous change.
25402         [BZ #15969]
25403         * locale/findlocale.c (_nl_find_locale): Retry archive search
25404         after alias expansion.
25406 2015-02-25  Roland McGrath  <roland@hack.frob.com>
25408         * iconv/tst-iconv3.c (main): Converted to ...
25409         (do_test): ... this.
25410         (TEST_FUNCTION): New macro.
25411         Include test-skeleton.c.
25413         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
25414         (convert): Make function static.
25415         (test_unalign): Likewise.  Add const to argument pointee types.
25416         (main): Replace with static function do_test.
25417         Print "Succeeded." only if RET is zero.
25418         (TEST_FUNCTION): New macro.
25419         Include test-skeleton.c.
25421         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
25422         returns a null pointer.
25424 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25426         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
25427         to __memcpy_ppc only for static builds.
25429 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
25431         [BZ #18020]
25432         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
25433         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
25434         * math/auto-libm-test-in: Add more tests of asinh.
25435         * math/auto-libm-test-out: Regenerated.
25436         * sysdeps/i386/fpu/libm-test-ulps: Update.
25437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25439 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
25441         [BZ #15850]
25442         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
25443         and ip6_mtuinfo definitions here.
25444         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
25445         in this define too.  Update comment.
25447 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
25449         * elf/sprof.c (load_shobj): Tweak error message to match others.
25451 2015-02-24  Kevin Easton  <kevin@guarana.org>
25453         [BZ #16145] (partial fix)
25454         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
25455         to reduce lock contention.
25457 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
25459         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
25460         (struct timex): Update time comment.
25461         (ADJ_SETOFFSET): Define.
25463 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
25465         [BZ #18019]
25466         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
25467         2**56 not 2**28 as threshold for log (2x) formula.
25468         * math/auto-libm-test-in: Add more tests of acosh.
25469         * math/auto-libm-test-out: Regenerated.
25470         * sysdeps/i386/fpu/libm-test-ulps: Update.
25471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25473 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
25475         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
25476         parenthesis around the buf assignment.
25477         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
25479 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
25481         [BZ #16783]
25482         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
25483         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
25484         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
25485         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
25486         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
25487         * math/libm-test.inc (scalb_test_data): Add more tests.
25489 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
25491         [BZ #17916]
25492         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
25493         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
25495 2015-02-24  Eric Rannaud  <e@nanocritical.com>
25497         [BZ #17523]
25498         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
25499         * io/bits/fcntl2.h (open): Use it.
25500         (openat): Likewise.
25501         * io/open.c (__libc_open): Likewise.
25502         * io/open64.c (__libc_open64): Likewise.
25503         * io/open64_2.c (__open64_2): Likewise.
25504         * io/open_2.c (__open_2): Likewise.
25505         * io/openat.c (__openat): Likewise.
25506         * io/openat64.c (__openat64): Likewise.
25507         * io/openat64_2.c (__openat64_2): Likewise.
25508         * io/openat_2.c (__openat_2): Likewise.
25509         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
25510         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
25511         * sysdeps/posix/open64.c (__libc_open64): Likewise.
25512         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
25513         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
25514         (__open_nocancel): Likewise.
25515         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
25516         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
25517         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
25519 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25521         [BZ #14841]
25522         * resolv/gethnamaddr.c (getanswer): Skip logging if
25523         RES_USE_DNSSEC is set.
25524         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
25526 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
25528         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
25530 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
25532         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
25533         201304L, for Unicode 7.
25535 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
25537         [BZ #17836]
25538         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
25539         shared library.  Add gmon-start.os otherwise.
25540         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
25541         $(objpfx)gmon-start.os if builing shared library.
25542         ($(objpfx)g$(static-start-installed-name)): Likewise.
25544 2015-02-23  Andreas Schwab  <schwab@suse.de>
25546         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
25548 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
25550         [BZ #17269]
25551         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
25552         (enlarge_userbuf): Likewise.
25554 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
25556         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
25557         * math/atest-exp.c (TIMEOUT): Adjust to 200.
25558         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
25559         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
25561 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
25563         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
25564         expression inside statement expression.
25566 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
25568         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
25569         <sysdeps/nptl/lowlevellock.h> and remove macros and
25570         functions that are now defined there.
25571         (SYS_futex): Remove.
25572         (lll_compare_and_swap): Remove.
25573         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
25575 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
25577         [BZ #17999]
25578         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
25579         instead of scandirat.
25580         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
25581         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
25582         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
25583         __scandirat.
25584         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
25585         (__scandirat): Declare.  Use libc_hidden_proto.
25586         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
25587         Remove variable.
25588         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
25590 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
25592         [BZ #15319]
25593         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
25594         (MO): New macro.
25595         (__ieee754_atan2): For results with small absolute value, force
25596         underflow exception and remove excess range and precision from
25597         return value.
25598         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
25599         (MO): New macro.
25600         (__ieee754_atan2f): For results with small absolute value, force
25601         underflow exception and remove excess range and precision from
25602         return value.
25603         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
25604         (MO): New macro.
25605         (__atan): For results with small absolute value, force underflow
25606         exception and remove excess range and precision from return value.
25607         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
25608         (MO): New macro.
25609         (__atanf): For results with small absolute value, force underflow
25610         exception and remove excess range and precision from return value.
25611         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
25612         <math.h>.
25613         (__ieee754_atan2): Force underflow exception for results with
25614         small absolute value.
25615         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
25616         <math_private.h>.
25617         (atan): Force underflow exception for results with small absolute
25618         value.
25619         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
25620         (__atanf): Force underflow exception for results with small
25621         absolute value.
25622         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
25623         <math.h>.
25624         (__atanl): Force underflow exception for results with small
25625         absolute value.
25626         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
25627         (__atanl): Force underflow exception for results with small
25628         absolute value.
25629         * sysdeps/x86/fpu/bits/mathinline.h
25630         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
25631         (__ieee754_atan2): Only define inline for long double.
25632         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
25633         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
25634         * math/auto-libm-test-in: Do not mark underflow exceptions as
25635         possibly missing for bug 15319.  Add more tests of atan2.
25636         * math/auto-libm-test-out: Regenerated.
25637         * math/libm-test.inc (casin_test_data): Do not mark underflow
25638         exceptions as possibly missing for bug 15319.
25639         (casinh_test_data): Likewise.
25640         * sysdeps/i386/fpu/libm-test-ulps: Update.
25642 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
25644         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
25645         * sysdeps/mips/bits/endian.h: Fix comments.
25647 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
25649         [BZ #17996]
25650         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
25651         (hdestroy_r): Likewise.
25652         (hsearch_r): Likewise.
25653         (__hcreate_r): Declare and use libc_hidden_proto.
25654         (__hdestroy_r): Likewise.
25655         (__hsearch_r): Likewise.
25656         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
25657         (hcreate): Call __hcreate_r instead of hcreate_r.
25658         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
25659         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
25660         as weak alias of __hcreate_r.
25661         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
25662         __hdestroy_r.
25663         (hsearch_r): Rename to __hsearch_r and define as weak alias of
25664         __hsearch_r.
25665         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
25666         Remove variable.
25667         (test-xfail-XPG4/search.h/linknamespace): Likewise.
25668         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
25669         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
25670         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
25672 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25674         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
25675         arena_lock into a single arena_get.
25677 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
25679         * dl-reloc.c: Inlucde libc-internal.h.
25680         (_dl_try_allocate_static_tls): Call ALIGN_UP.
25681         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
25682         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
25683         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
25684         (grow_heap): Likewise.
25685         * malloc/malloc.c: Include libc-internal.h.
25686         (do_check_malloc): Call powerof2.
25687         (sysmalloc): Use pagesize. Call ALIGN_UP.
25688         (systrim): Use pagesize.
25689         (mremap_chunk): Use pagesize. Call ALIGN_UP.
25690         (__libc_valloc): Use pagesize.
25691         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
25693 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
25695         [BZ #17991]
25696         * include/sys/resource.h (__getrlimit64): Declare.  Use
25697         libc_hidden_proto.
25698         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
25699         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
25700         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
25701         getrlimit64.
25702         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
25703         __getrlimit64.
25704         [!getrlimit64] (getrlimit64): Define as weak alias of
25705         __getrlimit64.  Use libc_hidden_weak.
25706         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
25707         using __getrlimit64 not __new_getrlimit64.
25708         (__GI_getrlimit64): Likewise.
25709         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
25710         Likewise.
25711         (__GI_getrlimit64): Likewise.
25712         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
25713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
25714         (getrlimit): Add __getrlimit64 alias.
25715         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
25716         Likewise.
25717         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
25718         Remove variable.
25719         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
25720         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
25722 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
25724         * libio/fileops.c: Add missing sys/mman.h
25725         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
25727 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
25729         * manual/math.texi (Errors in Math Functions): Clarify goals
25730         regarding inexact and underflow exceptions.
25732 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
25734         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
25735         * sysdeps/mips/memset.S: Ditto.
25737 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
25739         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
25741 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
25743         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
25744         (__v1longjmp): Remove versioned symbol.
25745         (__v1siglongjmp): Remove alias and versioned symbol.
25746         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
25747         (__v2siglongjmp): Likewise.
25749 2015-02-16  Torvald Riegel  <triegel@redhat.com>
25751         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
25753 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
25755         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
25757 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
25759         [BZ #17987]
25760         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
25761         zero result does not depend on the sign resulting from
25762         subtraction.
25763         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
25764         Likewise.
25765         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
25766         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
25767         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
25768         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
25769         * math/libm-test.inc (remquo_test_data): Add more tests.
25771 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
25773         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
25774         Problem reported by J William Piggott.
25776 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
25778         [BZ #17978]
25779         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
25780         products 4 * y and 2 * y where those would overflow.
25781         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
25782         Likewise.
25783         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
25784         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
25785         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
25786         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
25787         * math/libm-test.inc (remquo_test_data): Add more tests.
25789         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
25791         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
25792         [defined _COMPILING_NEWLIB].
25793         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
25794         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
25796         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
25797         [!defined __mips_isa_rev || __mips_isa_rev < 6].
25799 2015-02-16  Torvald Riegel  <triegel@redhat.com>
25801         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
25802         acquired.
25804 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
25806         [BZ #17792]
25807         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
25808         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
25809         HOST_STACK_END_ADDR): Likewise.
25811 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
25813         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
25814         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
25815         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
25817 2015-02-13  Roland McGrath  <roland@hack.frob.com>
25819         * sysdeps/generic/c++-types.data: New file.
25820         * sysdeps/generic/ld.abilist: New file.
25821         * sysdeps/generic/libBrokenLocale.abilist: New file.
25822         * sysdeps/generic/libanl.abilist: New file.
25823         * sysdeps/generic/libc.abilist: New file.
25824         * sysdeps/generic/libcrypt.abilist: New file.
25825         * sysdeps/generic/libdl.abilist: New file.
25826         * sysdeps/generic/libm.abilist: New file.
25827         * sysdeps/generic/libpthread.abilist: New file.
25828         * sysdeps/generic/libresolv.abilist: New file.
25829         * sysdeps/generic/librt.abilist: New file.
25831 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
25833         [BZ #17569]
25834         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
25835         Compute absolute value of x as modified by fmod, not original
25836         value of x.
25837         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
25838         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
25839         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
25840         RUN_TEST_ffI_f1_mod8.
25841         (remquo_test_data): Add more tests.
25843 2015-02-13  Roland McGrath  <roland@hack.frob.com>
25845         * sysdeps/init_array/pt-crti.S: New file.
25847 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
25849         [BZ #17967]
25850         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
25851         __builtin_fmaf instead of relying on contraction of a * b + c.
25853 2015-02-12  J William Piggott  <elseifthen@gmx.com>
25855         [BZ #17969]
25856         * manual/time.texi: correct the zoneinfo path in the TZ Variable
25857         node.
25859 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
25861         [BZ #17964]
25862         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
25863         __builtin_fma instead of relying on contraction of a * b + c.
25865 2015-02-12  Roland McGrath  <roland@hack.frob.com>
25867         * Makeconfig (ASFLAGS): Add -Werror=undef.
25868         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
25869         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
25870         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
25872         * Makeconfig (after-link): New variable.
25873         (+link-pie, +link-pie-tests): Use it.
25874         (+link-static, +link-static-tests): Likewise.
25875         (+link, +link-tests): Likewise.
25876         * Makerules (build-module, build-module-asneeded): Likewise.
25877         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
25878         Likewise.
25879         * elf/Makefile ($(objpfx)ld.so): Likewise.
25881 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
25883         [BZ #17965]
25884         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
25885         both struct timeval and struct timespec.
25887 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
25889         [BZ #16560]
25890         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25891         and redefine.
25892         (__ieee754_exp2l): Do not multiply small fractional parts by
25893         M_LN2l.
25894         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
25895         small argument.
25896         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
25897         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
25898         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
25899         * math/auto-libm-test-in: Add more tests of exp2.
25900         * math/auto-libm-test-out: Regenerated.
25902 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25904         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
25905         unaligned path.
25907 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25909         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
25910         little endian.
25912 2015-02-12  Andreas Schwab  <schwab@suse.de>
25914         [BZ #15790]
25915         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
25916         Filter out elision flags from value returned in kind.
25917         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
25918         * nptl/tst-pthread-mutexattr.c: New file.
25920 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25922         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
25923         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
25924         into gnu-gnu, and update comment to refer to abi-tags.
25926 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
25928         [BZ #15467]
25929         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
25930         (__sincos): Set errno to EDOM for infinite argument.
25931         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
25932         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
25933         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
25934         (__sincosl): Set errno to EDOM for infinite argument.
25935         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
25936         (__sincosl): Set errno to EDOM for infinite argument.
25937         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
25938         (__sincosl): Set errno to EDOM for infinite argument.
25939         * math/libm-test.inc (sincos_test_data): Test errno setting.
25941 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
25943         * string/strxfrm_l.c: Remove #define STRCMP.
25944         * string/strcoll_l.c: Remove #define STRLEN.
25945         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
25946         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
25948 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
25950         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
25951         * sysdeps/mips/mips32/sfp-machine.h: ... here.
25952         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
25953         * sysdeps/mips/mips64/Makefile: ... here.
25954         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
25955         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
25956         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
25957         * sysdeps/mips/mips64/sfp-machine.h: ... here.
25958         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
25959         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
25960         * sysdeps/mips/mips64/n64/Implies: Likewise.
25962 2015-02-10  Roland McGrath  <roland@hack.frob.com>
25964         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
25965         <sys/time.h>, <string.h>, and <errno.h>.
25966         (dest_offset, dest_address, value, zero): Remove unused variables.
25967         (ldouble): Remove typedef.
25968         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
25969         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
25970         1).  Fix code style.
25971         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
25972         (check): Function removed.
25973         (CHECK): New macro.
25974         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
25975         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
25976         Don't call set_sigaction_FP and remove_sigaction_FP here.
25977         (ldouble_test): Just use 'long double' as macro argument, no need for
25978         the 'ldouble' typedef.
25979         (do_test): Set up SIGFPE handler at start, using plain signal rather
25980         than sigaction.  Fix code style.
25982 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
25984         [BZ #17949]
25985         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
25986         jump label.
25988 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
25990         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
25991         * sysdeps/powerpc/powerpc32/configure: Regenerated.
25993         * sysdeps/powerpc/configure.ac: Remove file.
25994         * sysdeps/powerpc/configure: Likewise.
25996         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
25997         [sysdep_routines]: Remove wordcopy-power6 object.
25998         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
25999         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
26000         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
26001         (__memmove_ppc32): Likewise.
26002         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
26003         file.
26004         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
26005         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
26006         Remove preprocessor.
26008         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
26009         [sysdep_routines]: Remove wide chars objects.
26010         [wcsmbs]: New rule for wide char objects.
26012         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26013         Remove wordcopy-power6 obejct.
26014         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
26015         Use local call for wordcopy and memcpy symbols.
26016         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
26017         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
26018         implementation for loader.
26019         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
26021         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26022         Remove wordcopy-power7 object.
26023         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
26024         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
26025         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
26026         (_wordcopy_fwd_dest_aligned): Likewise.
26027         (_wordcopy_bwd_aligned): Likewise.
26028         (_wordcopy_bwd_dest_aligned): Likewise.
26030         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
26031         Rewrite to call __memmove_ppc instead of include default
26032         implementation.
26034         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26035         Remove wide chars objects.
26036         [wcsmbs]: New rule for wide char objects.
26038 2015-02-09  Andreas Schwab  <schwab@suse.de>
26040         [BZ #17912]
26041         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
26042         in terms of __O_DIRECTORY.
26044 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26046         * time/getdate.c: Include <stdbool.h>.
26047         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
26048         call PTR_MANGLE.
26049         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
26050         PTR_DEMANGLE.
26052 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
26054         Add ersatz _Static_assert on older C hosts
26055         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
26056         pre-C11 C platform that is not known to support _Static_assert.
26058 2015-02-07  Richard Braun  <rbraun@sceen.net>
26060         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
26061         sigstate.
26062         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
26064 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26066         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
26067         priority against unexistent AIO_PRIO_DELTA_MAX.
26068         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
26069         instead of int.
26070         * misc/fchflags.c (fchflags): Likewise.
26071         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
26072         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
26073         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
26074         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
26075         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
26076         Declare macros.
26077         [__USE_MISC] (chflags, fchflags): Declare functions.
26078         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
26079         EINVAL when nfds is greater than FD_SETSIZE.
26080         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
26081         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
26082         45.
26083         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
26084         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
26085         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
26086         MACH_RCV_TIMED_OUT.
26087         * hurd/hurd/signal.h (_hurd_self_sigstate,
26088         _hurd_critical_section_lock, _hurd_critical_section_unlock):
26089         Explicit casts from void *.
26090         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
26091         * abi-tags: Rename gnu-gnu os into gnu.
26093         [BZ #4719]
26094         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
26095         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
26096         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
26097         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
26098         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
26099         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
26101         [BZ #17944]
26102         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
26103         duplicates ADDR->sun_path with sockaddr LEN limitation.
26104         * sysdeps/mach/hurd/connect.c: Include <string.h>
26105         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
26106         * sysdeps/mach/hurd/sendmsg.c: Likewise.
26107         * sysdeps/mach/hurd/sendto.c: Likewise.
26108         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
26109         implementing it by hand.
26111 2015-02-06  Roland McGrath  <roland@hack.frob.com>
26113         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
26114         Use sfi_breg on ldr.
26115         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
26116         Likewise.
26118         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
26119         it's defined.
26120         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
26121         Test SIGSETXID only if it's defined.
26123         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
26125         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
26126         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
26128         * nptl/tst-align2.c: Moved ...
26129         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
26130         * nptl/Makefile (tests): Remove tst-align2.
26131         * sysdeps/unix/sysv/linux/Makefile
26132         [$(subdir) = nptl] (tests): Add tst-align-clone.
26133         * nptl/tst-getpid1.c: Moved ...
26134         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
26135         * nptl/tst-getpid2.c: Moved ...
26136         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
26137         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
26138         * sysdeps/unix/sysv/linux/Makefile
26139         [$(subdir) = nptl] (tests): ... here.
26140         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
26141         * sysdeps/unix/sysv/linux/Makefile
26142         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
26144         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
26145         Drop trailing \n from perror argument.  Use return rather than exit.
26147         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
26148         on [SA_SIGINFO].
26149         * nptl/tst-cancel21.c (do_test): Likewise.
26150         * debug/tst-backtrace6.c: Include <signal.h> first thing.
26151         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
26152         [!SA_SIGINFO]: Make it a stub test.
26154         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
26155         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
26157         * posix/tst-getlogin.c: Move to ...
26158         * login/tst-getlogin.c: ... here.
26159         * posix/Makefile (tests): Move tst-getlogin to ...
26160         * login/Makefile (tests): ... here.
26162         * libio/tst-atime.c (do_test): Move local variables SV and E
26163         inside [ST_NOATIME] conditional.
26165         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
26167         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
26169         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
26170         (wait_code): New function replaces macro.
26171         Call nanosleep rather than syscall.
26173         * nptl/pt-system.c: Rewritten.  Put everything under
26174         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
26175         Use IFUNC to redirect when possible.
26177         * nptl/pt-longjmp.c: Rewritten.  Put everything under
26178         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
26179         Use IFUNC to redirect when possible.
26181         * nptl/pt-fork.c: Rewritten.  Put everything under
26182         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
26183         Use IFUNC to redirect when possible.
26184         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
26186         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
26187         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
26188         unconditionally nowadays.  This included the only reference to
26189         __vdso_clock_gettime that appears outside libc proper.
26190         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
26191         Remove version set (containing only __vdso_clock_gettime).
26192         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
26193         Add attribute_hidden.
26194         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
26195         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
26196         libc_hidden_data_def.
26197         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
26198         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26200         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
26201         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
26202         setrpcent, and getrpcport to ...
26203         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
26204         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
26205         getrpcbynumber_r, and getrpcent_r to ...
26206         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
26207         * inet/getrpcbyname.c: Moved ...
26208         * sunrpc/getrpcbyname.c: ... here.
26209         * inet/getrpcbyname_r.c: Moved ...
26210         * sunrpc/getrpcbyname_r.c: ... here.
26211         * inet/getrpcbynumber.c: Moved ...
26212         * sunrpc/getrpcbynumber.c: ... here.
26213         * inet/getrpcbynumber_r.c: Moved ...
26214         * sunrpc/getrpcbynumber_r.c: ... here.
26215         * inet/getrpcent.c: Moved ...
26216         * sunrpc/getrpcent.c: ... here.
26217         * inet/getrpcent_r.c: Moved ...
26218         * sunrpc/getrpcent_r.c: ... here.
26219         * inet/Makefile (routines): Move those to ...
26220         * sunrpc/Makefile (routines): ... here.
26221         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
26222         the $(subdirs) list.
26223         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
26224         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
26225         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
26226         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
26228         * elf/Makefile (routines): Include $(all-dl-routines), not just
26229         $(dl-routines).
26230         (rtld-routines): Likewise.  Use = rather than :=.
26231         * sysdeps/aarch64/Makefile [$(subdir) = elf]
26232         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
26233         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
26234         * sysdeps/arm/Makefile: Likewise.
26235         * sysdeps/i386/Makefile: Likewise.
26236         * sysdeps/x86_64/Makefile: Likewise.
26237         * sysdeps/hppa/Makefile [$(subdir) = elf]
26238         (sysdep_routines, sysdep-rtld-routines): Don't add
26239         $(sysdep-dl-routines) to these.
26240         * sysdeps/ia64/Makefile: Likewise.
26241         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
26242         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
26243         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
26244         Don't add dl-static to these; sysdep-dl-routines alone is enough.
26245         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
26246         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
26247         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
26248         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
26249         * sysdeps/powerpc/Makefile [$(subdir) = elf]
26250         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
26251         these; sysdep-dl-routines alone is enough.
26253 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
26255         [BZ #17932]
26256         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
26257         where multiplication results in zero and third argument is finite
26258         and nonzero.
26259         * math/auto-libm-test-in: Add more tests of fma.
26260         * math/auto-libm-test-out: Regenerated.
26262         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
26263         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
26264         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
26265         (_FP_CMP_EQ): Likewise.
26266         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
26268         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
26269         extra argument CHECK_NAN.  Redefine as wrapper around
26270         _FP_EXTEND_CNAN.
26272 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
26274         * version.h (RELEASE): Set to "stable".
26275         (VERSION): Set to "2.21"
26276         * include/features.h (__GLIBC_MINOR__): Set to 21.
26278         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
26280 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
26281             Paul Eggert  <eggert@cs.ucla.edu>
26283         [BZ #16618]
26284         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
26285         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
26286         size in bytes. Store needed elements in wpmax. Use needed size
26287         in bytes for extend_alloca.
26289 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
26291         * manual/install.texi: Latest tested versions are GCC 4.9.2,
26292         binutls 2.25, and texinfo 5.2.
26293         * INSTALL: Regenerate.
26294         * sysdeps/nios2/configure: Regenerate.
26295         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
26296         * manual/contrib.texi: Update.
26297         * po/be.po: Update.
26298         * po/bg.po: Update.
26299         * po/ca.po: Update.
26300         * po/cs.po: Update.
26301         * po/da.po: Update.
26302         * po/de.po: Update.
26303         * po/el.po: Update.
26304         * po/eo.po: Update.
26305         * po/es.po: Update.
26306         * po/fi.po: Update.
26307         * po/fr.po: Update.
26308         * po/gl.po: Update.
26309         * po/hr.po: Update.
26310         * po/hu.po: Update.
26311         * po/ia.po: Update.
26312         * po/id.po: Update.
26313         * po/it.po: Update.
26314         * po/ja.po: Update.
26315         * po/ko.po: Update.
26316         * po/lt.po: Update.
26317         * po/nb.po: Update.
26318         * po/nl.po: Update.
26319         * po/pl.po: Update.
26320         * po/pt_BR.po: Update.
26321         * po/ru.po: Update.
26322         * po/rw.po: Update.
26323         * po/sk.po: Update.
26324         * po/sl.po: Update.
26325         * po/sv.po: Update.
26326         * po/tr.po: Update.
26327         * po/uk.po: Update.
26328         * po/vi.po: Update.
26329         * po/zh_CN.po: Update.
26330         * po/zh_TW.po: Update.
26332         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
26333         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
26334         * sysdeps/hppa/dl-irel.h: Remove #warning.
26335         * sysdeps/hppa/entry.h: Provide prototype for
26336         __canonicalize_funcptr_for_compare and cast argument.
26337         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
26338         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
26339         * sysdeps/hppa/sotruss-lib.c: New file.
26340         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
26341         (atomic_compare_and_exchange_val_acq): Use __typeof__.
26342         (atomic_compare_and_exchange_bool_acq): Likewise.
26343         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
26344         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
26346         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
26347         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
26348         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
26350 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
26352         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
26353         called function in non-PIC case.
26355 2015-01-31  David S. Miller  <davem@davemloft.net>
26357         * sysdeps/sparc/sparc32/bits/atomic.h
26358         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
26359         unlock not after it.
26360         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
26361         volatile register usage warnings from the compiler.
26363         * sysdeps/sparc/nptl/sem_init.c: Delete.
26364         * sysdeps/sparc/nptl/sem_post.c: Delete.
26365         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
26366         * sysdeps/sparc/nptl/sem_wait.c: Delete.
26367         * sysdeps/sparc/sparc32/sem_init.c: New file.
26368         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
26369         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
26370         padding explicitly initialized.
26371         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
26372         padding for in-semaphore spinlock.
26373         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
26374         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
26375         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
26376         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
26377         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
26378         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
26379         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
26380         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
26381         version.
26382         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
26383         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
26385 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
26387         [BZ #17801]
26388         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26389         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
26390         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
26391         New.
26392         (index_AVX_Fast_Unaligned_Load): Likewise.
26393         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
26394         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
26395         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
26396         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
26397         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
26398         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
26399         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
26400         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
26401         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
26403 2015-01-29  Andreas Schwab  <schwab@suse.de>
26405         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
26407 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
26409         [BZ #17892]
26410         * nscd/nscd_stat.c (send_stats): Initialize DATA.
26412 2015-01-28  Martin Sebor  <msebor@redhat.com>
26414         * math/README.libm-test: Clarify. Add "How to read the test output."
26416 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
26418         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
26419         Define to 0.
26421 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
26423         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
26424         (__HAVE_64B_ATOMICS): Define to 0.
26426 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
26428         [BZ #17885]
26429         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
26430         value to set as new flag.
26432         [BZ #16576]
26433         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
26434         and use _ARCH_PPCSQ instead.
26435         (__ieee754_sqrt): Likewise.
26436         (__ieee754_sqrtf): Likewise.
26437         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
26438         _ARCH_PPCSQ is defined.
26439         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
26440         fsqrt instruction.
26441         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
26442         _ARCH_PPCSQ is defined.
26443         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
26444         fsqrts instruction.
26445         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
26447 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26449         * iconv/loop.c: Suppress array out of bound warning caused by GCC
26450         bug (GCC BZ #64739).
26452 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
26454         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
26455         Mark _retval as used.
26456         (lll_futex_wake_unlock): Likewise.
26457         (lll_futex_timed_wait_requeue_pi): Likewise.
26459         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
26460         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
26461         register variables.
26463         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
26464         libm_hidden_def.
26466         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
26467         (__bswap_64): Mark as __always_inline.
26469 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
26471         [BZ #15378]
26472         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
26473         when none of the search directories exist.
26475 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
26477         [BZ #17869]
26478         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
26479         power8 in .machine directive.
26481         [BZ #17868]
26482         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
26483         set dependency from opd value.
26485 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
26487         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26488         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
26489         architecture.
26491 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
26493         [BZ #17870]
26494         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
26495         with uint64_t.
26496         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
26497         (uint64_t) 1.
26498         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
26499         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
26500         Replace 1UL with (uint64_t) 1.
26501         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
26502         int with uint64_t.
26504 2015-01-23  Roland McGrath  <roland@hack.frob.com>
26506         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
26507         (if_freenameindex): Likewise.
26509         * resource/getrlimit64.c: Add missing libc_hidden_def.
26511 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
26513         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
26514         __label__.
26515         (_FP_FMA): Likewise.
26516         (_FP_TO_INT_ROUND): Likewise.
26517         (_FP_FROM_INT): Likewise.
26519 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26521         [BZ #16418]
26522         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
26523         Make code racy and cancel safe.
26525 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
26527         * sysdeps/arm/unwind-resume.h: Fix copyright year.
26528         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
26529         attribution.
26531         * pwd/tst-getpw.c: Rewrite.
26533         [BZ #17702]
26534         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
26535         (modules-names): Add moddummy1 and moddummy2.
26536         ($(objpfx)tst-rec-dlopen): Define.
26537         * dlfcn/moddummy1.c: New file.
26538         * dlfcn/moddummy2.c: New file.
26539         * dlfcn/tst-rec-dlopen.c: New file.
26540         * elf/dl-cache.c (_dl_load_cache_lookup):
26541         Return char*. Copy result with alloca/strcpy/strdup.
26542         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
26543         returns char*. Free cached. If not saving realname
26544         free cached.
26545         * elf/dl-open.c (dl_open_worker): Do not assert that
26546         _r_debug->r_state is RT_CONSISTENT.
26547         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
26548         returns char*.
26550 2015-01-21  Torvald Riegel  <triegel@redhat.com>
26551             Carlos O'Donell  <carlos@redhat.com>
26553         [BZ #12674]
26554         * nptl/sem_waitcommon.c: New file.
26555         * nptl/sem_wait.c: Include sem_waitcommon.c.
26556         (__sem_wait_cleanup, do_futex_wait): Remove.
26557         (__new_sem_wait): Adapt.
26558         (__new_sem_trywait): New function.
26559         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
26560         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
26561         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
26562         (sem_timedwait): Adapt.
26563         * nptl/sem_post.c (__new_sem_post): Adapt.
26564         (futex_wake): New function.
26565         (__old_sem_post): Add release MO fence.
26566         * nptl/sem_open.c (sem_open): Adapt.
26567         * nptl/sem_init.c (__new_sem_init): Adapt.
26568         (futex_private_if_supported): New function.
26569         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
26570         (__old_sem_getvalue): Add using previous code.
26571         * sysdeps/nptl/internaltypes.h: Adapt.
26572         * nptl/tst-sem13.c (do_test): Adapt.
26573         * nptl/tst-sem11.c (main): Adapt.
26574         * nptl/sem_trywait.c: Remove.
26575         * nptl/DESIGN-sem.txt: Remove.
26576         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
26577         (gen-as-const-headers): Remove structsem.sym.
26578         * nptl/structsem.sym: Remove.
26579         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
26580         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
26581         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
26582         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
26583         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
26584         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
26585         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
26586         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
26587         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
26588         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
26589         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
26590         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
26591         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
26592         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
26593         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
26594         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
26595         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
26596         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
26597         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
26598         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
26599         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
26600         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
26602 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
26604         * INSTALL: Regenerated.
26606         * po/libc.pot: Regenerated.
26608 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
26609             Sandra Loosemore  <sandra@codesourcery.com>
26610             Andrew Jenner  <andrew@codesourcery.com>
26611             Joseph Myers  <joseph@codesourcery.com>
26612             Nathan Sidwell  <nathan@codesourcery.com>
26614         * NEWS: Mention new Nios II port.
26615         * sysdeps/nios2/Implies: New file.
26616         * sysdeps/nios2/Makefile: New file.
26617         * sysdeps/nios2/Subdirs: New file.
26618         * sysdeps/nios2/Versions: New file.
26619         * sysdeps/nios2/__longjmp.S: New file.
26620         * sysdeps/nios2/abort-instr.h: New file.
26621         * sysdeps/nios2/backtrace.c: New file.
26622         * sysdeps/nios2/bits/endian.h: New file.
26623         * sysdeps/nios2/bits/fenv.h: New file.
26624         * sysdeps/nios2/bits/link.h: New file.
26625         * sysdeps/nios2/bits/setjmp.h: New file.
26626         * sysdeps/nios2/bsd-_setjmp.S: New file.
26627         * sysdeps/nios2/bsd-setjmp.S: New file.
26628         * sysdeps/nios2/configure: New generated file.
26629         * sysdeps/nios2/configure.ac: New file.
26630         * sysdeps/nios2/crti.S: New file.
26631         * sysdeps/nios2/crtn.S: New file.
26632         * sysdeps/nios2/dl-init.c: New file.
26633         * sysdeps/nios2/dl-machine.h: New file.
26634         * sysdeps/nios2/dl-sysdep.h: New file.
26635         * sysdeps/nios2/dl-tls.h: New file.
26636         * sysdeps/nios2/dl-trampoline.S: New file.
26637         * sysdeps/nios2/gccframe.h: New file.
26638         * sysdeps/nios2/gmp-mparam.h: New file.
26639         * sysdeps/nios2/jmpbuf-offsets.h: New file.
26640         * sysdeps/nios2/jmpbuf-unwind.h: New file.
26641         * sysdeps/nios2/ldsodefs.h: New file.
26642         * sysdeps/nios2/libc-tls.c: New file.
26643         * sysdeps/nios2/libm-test-ulps: New file.
26644         * sysdeps/nios2/machine-gmon.h: New file.
26645         * sysdeps/nios2/math-tests.h: New file.
26646         * sysdeps/nios2/math_private.h: New file.
26647         * sysdeps/nios2/memusage.h: New file.
26648         * sysdeps/nios2/nptl/Makefile: New file.
26649         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
26650         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
26651         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
26652         * sysdeps/nios2/nptl/pthreaddef.h: New file.
26653         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
26654         * sysdeps/nios2/nptl/tls.h: New file.
26655         * sysdeps/nios2/preconfigure: New file.
26656         * sysdeps/nios2/s_fma.c: New file.
26657         * sysdeps/nios2/s_fmaf.c: New file.
26658         * sysdeps/nios2/setjmp.S: New file.
26659         * sysdeps/nios2/sfp-machine.h: New file.
26660         * sysdeps/nios2/sotruss-lib.c: New file.
26661         * sysdeps/nios2/stackguard-macros.h: New file.
26662         * sysdeps/nios2/stackinfo.h: New file.
26663         * sysdeps/nios2/start.S: New file.
26664         * sysdeps/nios2/sysdep.h: New file.
26665         * sysdeps/nios2/tls-macros.h: New file.
26666         * sysdeps/nios2/tst-audit.h: New file.
26667         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
26668         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
26669         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
26670         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
26671         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
26672         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
26673         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
26674         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
26675         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
26676         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
26677         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
26678         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
26679         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
26680         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
26681         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
26682         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
26683         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
26684         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
26685         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
26686         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
26687         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
26688         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
26689         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
26690         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
26691         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
26692         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
26693         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
26694         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
26695         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
26696         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
26697         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
26698         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
26699         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
26700         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
26701         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
26702         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
26703         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
26704         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
26705         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
26706         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
26707         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
26708         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
26709         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
26710         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
26712 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
26714         [BZ #17844]
26715         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
26716         (getutent): Use weak_alias in non SHARED case
26717         and default_symbol_version in SHARED case.
26718         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
26719         (getutent_r, pututline): Likewise.
26720         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
26721         (getutid): Likewise.
26722         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
26723         (getutid_r): Likewise.
26724         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
26725         (getutline): Likewise.
26726         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
26727         (getutline_r): Likewise.
26728         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
26729         (updwtmp): Likewise.
26731 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
26733         [BZ #17848]
26734         * sysdeps/s390/s390-32/memcmp.S
26735         (memcmp_g5): Rename to __memcmp_g5.
26736         * sysdeps/s390/s390-32/memcpy.S
26737         (memcpy_g5): Rename to __memcpy_g5.
26738         Jump to __memcpy_mvcle instead of memcpy_mvcle.
26739         (memcpy_mvcle) Rename to __memcpy_mvcle.
26740         * sysdeps/s390/s390-32/memset.S
26741         (memset_g5): Rename to __memset_g5.
26742         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
26743         (IFUNC_RESOLVE): Prefix ifunc-resolve function
26744         and use prefixed functions.
26745         * sysdeps/s390/s390-32/multiarch/memcmp.S
26746         (memcmp_z196): Rename to __memcmp_z196.
26747         (memcmp_z10): Rename to __memcmp_z10.
26748         (memcmp): Set alias to __memcmp_g5.
26749         (bcmp): Set alias to __memcmp_g5.
26750         * sysdeps/s390/s390-32/multiarch/memcpy.S
26751         (memcpy_z196): Rename to __memcpy_z196.
26752         Jump to __memcpy_mvcle instead of memcpy_mvcle.
26753         (memcpy_z10): Rename to __memcpy_z10.
26754         Jump to __memcpy_mvcle instead of memcpy_mvcle.
26755         (memcpy): Set alias to __memcpy_g5.
26756         * sysdeps/s390/s390-32/multiarch/memset.S
26757         (memset_z196): Rename to __memset_z196.
26758         Jump to __memset_mvcle instead of memset_mvcle.
26759         (memset_z10): Rename to __memset_z10.
26760         Jump to __memset_mvcle instead of memset_mvcle.
26761         (memset_mvcle) Rename to __memset_mvcle.
26762         (memset): Set alias to __memset_g5.
26763         * sysdeps/s390/s390-64/memcmp.S
26764         (memcmp_z900): Rename to __memcmp_z900.
26765         * sysdeps/s390/s390-64/memcpy.S
26766         (memcpy_z900): Rename to __memcpy_z900.
26767         Jump to __memcpy_mvcle instead of memcpy_mvcle.
26768         (memcpy_mvcle) Rename to __memcpy_mvcle.
26769         * sysdeps/s390/s390-64/memset.S
26770         (memset_z900): Rename to __memset_z900.
26771         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
26772         (IFUNC_RESOLVE): Prefix ifunc-resolve function
26773         and use prefixed functions.
26774         * sysdeps/s390/s390-64/multiarch/memcmp.S
26775         (memcmp_z196): Rename to __memcmp_z196.
26776         (memcmp_z10): Rename to __memcmp_z10.
26777         (memcmp): Set alias to __memcmp_z900.
26778         (bcmp): Set alias to __memcmp_z900.
26779         * sysdeps/s390/s390-64/multiarch/memcpy.S
26780         (memcpy_z196): Rename to __memcpy_z196.
26781         Jump to __memcpy_mvcle instead of memcpy_mvcle.
26782         (memcpy_z10): Rename to __memcpy_z10.
26783         Jump to __memcpy_mvcle instead of memcpy_mvcle.
26784         (memcpy): Set alias to __memcpy_z900.
26785         * sysdeps/s390/s390-64/multiarch/memset.S
26786         (memset_z196): Rename to __memset_z196.
26787         Jump to __memset_mvcle instead of memset_mvcle.
26788         (memset_z10): Rename to __memset_z10.
26789         Jump to __memset_mvcle instead of memset_mvcle.
26790         (memset_mvcle) Rename to __memset_mvcle.
26791         (memset): Set alias to __memset_z900.
26793 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
26795         [BZ #17748]
26796         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
26797         __fesetenv instead of fesetenv.
26799 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26801         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
26802         macro.
26804 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26806         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
26807         regression on LE.
26809         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
26810         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
26811         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
26812         strncmp-power8 object.
26813         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26814         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
26815         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
26816         * NEWS: Update.
26818 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26819             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26821         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
26822         trailing byte check.
26824 2015-01-13  David S. Miller  <davem@davemloft.net>
26826         * include/signal.h (__sigreturn): Guard with __USE_MISC.
26828 2015-01-13  Roland McGrath  <roland@hack.frob.com>
26830         * login/logout.c (logout): Use memset rather than bzero.
26831         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
26832         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
26833         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
26834         (_gethtbyaddr): Likewise.
26835         * locale/programs/simple-hash.c (bcopy): Macro removed.
26837 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26839         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26840         Add strcmp-power8 object.
26841         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26842         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
26843         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
26844         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
26845         __strcmp_power8 implementation.
26846         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
26847         * NEWS: Update.
26849         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26850         Add strncpy-power8 and stpncpy-power8 objects.
26851         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26852         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
26853         implementations.
26854         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
26855         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
26856         __stpncpy_power8 implementation.
26857         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
26858         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
26859         __strncpy_power8 implementation.
26860         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
26861         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
26862         * NEWS: Update.
26864         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
26865         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
26866         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
26868         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
26869         strncat-power8 object.
26870         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
26871         __strcat_power8 implementation.
26872         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26873         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
26874         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
26875         optimized strcat for power8.
26877         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
26878         strcpy-power8 and stpcpy-power8 objects.
26879         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26880         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
26881         implementations.
26882         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
26883         multiarch stpcpy implementation for POWER8.
26884         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
26885         multiarch strcpy implementation for POWER8.
26886         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
26887         __strcpy_power8 function.
26888         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
26889         stpcpy for POWER8.
26890         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
26891         strcpy for POWER8.
26892         * NEWS: Update.
26894 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
26896         [BZ #16009]
26897         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
26898         weights and rules. Use do_xfrm_cached if data fits in cache,
26899         do_xfrm otherwise.  Moved former main loop to...
26900         * (do_xfrm_cached): New function.
26901         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
26902         find_idx, find_position and stack_push.
26903         * (find_idx): New function.
26904         * (find_position): Likewise.
26905         * localedata/sort-test.sh: Added test run for do_xfrm.
26906         * localedata/xfrm-test.c (main): Added command line option
26907         -nocache to run the test with strings that are too large for
26908         the STRXFRM cache.
26910 2015-01-13  Torvald Riegel  <triegel@redhat.com>
26912         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
26913         variable to lll_futex_wake call, not the value itself.
26915 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
26917         [BZ #17803]
26918         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
26919         twom64.  Adjust value to 0x1p-64L.
26920         (__scalblnl): Only return standard underflowing result for K <=
26921         -64 not K <= -63; adjust exponent for underflowing result by 64
26922         not 63.
26923         * math/libm-test.inc (scalbn_test_data): Add more tests.
26924         (scalbln_test_data): Likewise.
26926         [BZ #17834]
26927         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
26928         0x1p63L.
26929         (__scalblnl): Get new exponent of adjusted subnormal value from ES
26930         not HX.
26931         * math/libm-test.inc (scalbn_test_data): Add more tests.
26932         (scalbln_test_data): Likewise.
26934 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26935             Stefani Seibold  <stefani@seibold.net>
26937         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
26938         (sysdep_routines): Add dl-vdso here, ...
26939         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
26940         (sysdep_routines): ... not here.
26941         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
26942         fallback when vDSO is not presented.
26943         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
26944         Define with libc_hidden_proto/libc_hidden_data_def definitions.
26945         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
26946         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
26947         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
26948         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
26949         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
26950         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
26951         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
26952         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
26953         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
26954         fallback configurable symbol when vDSO is not available.
26955         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
26956         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
26957         be able to redefine fallback symbol when vDSO is not available.
26958         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
26959         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
26961 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26963         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
26964         (TLS_INIT_TP): Add tm_capable initialization.
26965         (TLS_DEFINE_INIT_TP): Likewise.
26966         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
26967         TCB.
26968         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
26969         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
26970         calculation.
26971         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
26972         transactoion is lock elision is built and TCB tm_capable is set.
26973         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
26974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26975         (INTERNAL_SYSCALL_NCS): Likewise.
26976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26977         (INTERNAL_SYSCALL_NCS): Likewise.
26978         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
26980         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
26981         for powerpc.
26982         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
26983         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
26984         and remove it for 32 bits case.
26985         [pthread_rwlock_t] (__rwelision): New field for lock elision.
26986         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
26987         initialization.
26988         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
26989         Disable lock elision with rdlocks if elision is not available.
26991         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
26992         (sysdep_routines): Add lock elision objects.
26993         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
26994         [pthread_mutex_t] (__spins): Rework to add lock elision field.
26995         [pthread_mutex_t] (__elision): Add field.
26996         [__PTHREAD_SPINS]: Adjust to init lock elision field.
26997         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
26998         elision definitions for powerpc.
26999         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
27000         implementation of lock elision for powerpc.
27001         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
27002         implementation of timed lock elision for powerpc.
27003         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
27004         implementation of trylock with lock elision for powerpc.
27005         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
27006         implementaion of unlock for lock elision for powerpc.
27007         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
27008         automatic enable lock elision for mutexes.
27009         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
27010         transaction execution definitions for powerpc.
27011         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
27012         definitions.
27013         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
27014         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
27015         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
27016         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
27017         * NEWS: Update.
27019 2015-01-09  Roland McGrath  <roland@hack.frob.com>
27021         * sysdeps/posix/shm-directory.c: Use <> rather than ""
27022         for #include of <shm-directory.h>.
27024 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
27026         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
27027         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
27029 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
27031         [BZ #17791]
27032         * NEWS: Mention bug fix.
27033         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
27034         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
27035         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
27037 2015-01-09  Torvald Riegel <triegel@redhat.com>
27039         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
27041 2015-01-09  Torvald Riegel <triegel@redhat.com>
27043         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
27045 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
27047         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
27048         pointer and cast to uintptr_t.
27050 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
27052         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
27053         removed.
27054         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
27056 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
27058         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
27059         of 0.
27061 2015-01-08  Roland McGrath  <roland@hack.frob.com>
27063         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
27064         <nptl/pthreadP.h> instead.
27065         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
27067         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
27068         already defined.
27069         [__SIGRTMIN] (init): Function removed.
27070         [__SIGRTMIN] (initialized): Variable removed.
27071         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
27072         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
27073         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
27074         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
27075         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
27076         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
27077         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
27078         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
27079         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
27080         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
27081         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
27082         * sysdeps/nptl/allocrtsig.c: New file.
27083         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
27084         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
27085         * sysdeps/generic/testrtsig.h: File removed.
27087         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
27088         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
27090         * nptl/nptl-init.c (pthread_functions): Conditionalize
27091         .ptr__nptl_setxid initialization on [SIGSETXID].
27093         * sysdeps/nptl/sys/procfs.h: New file.
27094         * nptl_db/Makefile (headers): Add it.
27095         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
27097         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
27098         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
27099         * nptl/pthread_attr_setaffinity.c: Include it.
27100         * nptl/pthread_setattr_default_np.c: Likewise.
27101         * nptl/check-cpuset.h: New file.
27103 2015-01-08  Richard Henderson  <rth@redhat.com>
27105         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
27106         (CFLAGS-tst-execstack-prog.c): Likewise.
27107         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
27109 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
27110             Sandra Loosemore  <sandra@codesourcery.com>
27111             Andrew Jenner  <andrew@codesourcery.com>
27112             Joseph Myers  <joseph@codesourcery.com>
27113             Nathan Sidwell  <nathan@codesourcery.com>
27115         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
27116         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
27117         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
27118         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
27119         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
27120         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
27121         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
27122         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
27123         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
27124         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
27125         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
27126         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
27127         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
27128         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
27129         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
27130         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
27131         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
27133 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27135         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
27136         timespec struct member in syscall macro.
27137         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
27138         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
27139         first timeval struct member in syscall macro.
27140         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
27142 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
27144         [BZ #17748]
27145         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
27146         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
27147         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
27148         __feupdateenv and define as weak alias of __feupdateenv.  Use
27149         libm_hidden_weak.
27150         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
27151         libm_hidden_def.
27152         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
27153         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
27154         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
27155         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
27156         libm_hidden_def.
27157         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
27158         __feupdateenv and define as weak alias of __feupdateenv.  Use
27159         libm_hidden_weak.
27160         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
27161         libm_hidden_def.
27162         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
27163         __feupdateenv and define as weak alias of __feupdateenv.  Use
27164         libm_hidden_weak.
27165         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
27166         libm_hidden_def.
27167         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
27168         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
27169         (__feupdateenv): Likewise.
27170         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
27171         __feupdateenv and define as weak alias of __feupdateenv.  Use
27172         libm_hidden_weak.
27173         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27174         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
27175         libm_hidden_def.
27176         * sysdeps/tile/math_private.h (__feupdateenv): New inline
27177         function.
27178         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
27179         libm_hidden_def.
27180         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
27181         __feupdateenv instead of feupdateenv.
27182         (default_libc_feupdateenv_test): Likewise.
27183         (libc_feresetround_ctx): Likewise.
27185 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27187         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
27188         prototype.
27190 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
27192         * posix/regcomp.c (parse_bracket_exp): Initialize type to
27193         COLL_SYM in a couple of places to avoid uninitialized variable
27194         wanings on tilegx gcc 4.8.2.
27196 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
27198         * sysdeps/aarch64/strcpy.S: New file.
27199         * sysdeps/aarch64/stpcpy.S: New file.
27200         * NEWS: Updated.
27202 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
27204         * sysdeps/aarch64/strrchr.S: New file.
27205         * NEWS: Updated.
27207 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
27209         [BZ #17658]
27210         * stdlib/setenv.c: Fix memory leak when setting large,
27211         duplicate string.
27213 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
27215         [BZ #17273]
27216         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
27217         and tabs from buffer before parsing fstab entry.
27218         * misc/tst-mntent.c (main): Add test for mount entry with
27219         trailing spaces and tabs.
27221 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
27223         [BZ #17748]
27224         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
27225         * math/fesetround.c (fesetround): Rename to __fesetround and
27226         define as weak alias of __fesetround.  Use libm_hidden_weak.
27227         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
27228         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
27229         * sysdeps/arm/fesetround.c (fesetround): Likewise.
27230         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
27231         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
27232         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
27233         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
27234         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
27235         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
27236         __fesetround_inline.
27237         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
27238         __fesetround_inline instead of __fesetround.
27239         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
27240         __fesetround and define as weak alias of __fesetround.  Use
27241         libm_hidden_weak.  Call __fesetround_inline instead of
27242         __fesetround.
27243         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
27244         __fesetround and define as weak alias of __fesetround.  Use
27245         libm_hidden_weak.
27246         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
27247         Likewise.
27248         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
27249         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27250         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
27251         * sysdeps/tile/math_private.h (__fesetround): New inline function.
27252         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
27253         __fesetround and define as weak alias of __fesetround.  Use
27254         libm_hidden_weak.
27255         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
27256         __fesetround instead of fesetround.
27257         (default_libc_feholdexcept_setround): Likewise.
27258         (libc_feholdsetround_ctx): Likewise.
27259         (libc_feholdsetround_noex_ctx): Likewise.
27261         [BZ #17748]
27262         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
27263         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
27264         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
27265         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
27266         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
27267         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
27268         define as weak alias of __fesetenv.  Use libm_hidden_weak.
27269         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
27270         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
27271         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
27272         define as weak alias of __fesetenv.  Use libm_hidden_weak.
27273         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
27274         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
27275         define as weak alias of __fesetenv.  Use libm_hidden_weak.
27276         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
27277         libm_hidden_def.
27278         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
27279         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
27280         Likewise.
27281         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
27282         define as weak alias of __fesetenv.  Use libm_hidden_weak.
27283         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27284         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
27285         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
27286         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
27287         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
27288         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
27289         __fesetenv instead of fesetenv.
27290         (libc_feresetround_noex_ctx): Likewise.
27291         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
27292         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
27293         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
27294         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
27295         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
27296         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
27297         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
27298         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
27299         (__feupdateenv): Likewise.
27300         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27301         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27302         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
27303         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
27305 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
27307         [BZ #17806]
27308         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
27309         addresses have been freed.
27311 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
27313         * resolv/res_init.c (__res_vinit): Improve comments about nserv
27314         and nservall.
27316 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
27318         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
27319         Clean up check_pf allocation pattern. addresses
27321 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27323         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
27324         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
27325         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
27326         * nptl/pthread_exit.c (__pthread_exit): Likewise.
27327         * nptl/pthread_join.c (pthread_join): Likewise.
27328         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
27329         * sysdeps/posix/waitid.c (__waitid): Likewise.
27330         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
27331         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
27332         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
27333         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
27334         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
27335         Likewise.
27336         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
27337         (__libc_pread64): Likewise.
27338         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
27339         (__libc_pwrite): Likewise.
27340         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
27341         (__libc_pwrite64): Likewsie.
27342         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
27343         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
27344         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
27345         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
27346         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
27347         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
27348         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
27349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
27350         Likewise.
27351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
27352         (__libc_pread64): Likewise.
27353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
27354         Likewise.
27355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
27356         (__libc_pwrite64): Likewise.
27357         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
27358         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
27359         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
27360         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
27361         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
27362         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
27363         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
27364         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
27365         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
27366         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
27367         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
27368         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
27369         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
27370         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
27371         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
27372         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
27373         Likewise.
27375 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
27377         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
27378         (CFLAGS-test-double.c): Likewise.
27379         (CFLAGS-test-ldouble.c): Likewise.
27380         (CPPFLAGS-test-ifloat.c): Likewise.
27381         (CPPFLAGS-test-idouble.c): Likewise.
27382         (CPPFLAGS-test-ildoubl.c): Likewise.
27383         (CFLAGS-test-test-fenv.c): Remove variable.
27384         (CFLAGS-test-misc.c): Likewise.
27386 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
27388         [BZ #17797]
27389         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
27390         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
27391         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
27392         CLOCKS_PER_SEC == 1000000.
27393         * time/clocktest.c (main): Replace %ld with %jd and cast to
27394         intmax_t.
27396 2015-01-05  Roland McGrath  <roland@hack.frob.com>
27398         * sysdeps/generic/unwind-resume.h: New file.
27399         * sysdeps/gnu/unwind-resume.c: Include it.
27400         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
27401         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
27402         argument list.
27403         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
27404         global rather than static.
27405         (_Unwind_Resume): Update user.
27406         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
27407         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
27408         rather than static.  Add __attribute__ ((cold)).
27409         (_Unwind_Resume, __gcc_personality_v0): Update callers.
27410         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
27411         * sysdeps/arm/arm-unwind-resume.S: New file.
27412         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
27413         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
27414         * sysdeps/arm/Makefile [$(subdir) = csu]
27415         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
27416         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
27417         Add rt-arm-unwind-resume.
27418         [$(subdir) = nptl]
27419         (libpthread-sysdep_routines, libpthread-shared-only-routines):
27420         Add pt-arm-unwind-resume.
27421         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
27422         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
27424 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
27426         [BZ #17748]
27427         * include/fenv.h (__feholdexcept): Declare.  Use
27428         libm_hidden_proto.
27429         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
27430         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
27431         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27432         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
27433         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
27434         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
27435         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
27436         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27437         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
27438         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
27439         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
27440         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
27441         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
27442         (feholdexcept): Likewise.
27443         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27444         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27445         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
27446         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27447         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
27448         __feholdexcept instead of feholdexcept.
27449         (default_libc_feholdexcept_setround): Likewise.
27451 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
27453         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
27454         to avoid using stl/str to align destination.
27456 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
27458         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
27460 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
27462         [BZ #17796]
27463         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
27464         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
27465         Define as weak alias not strong alias.
27467 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
27469         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
27470         bltzal with addiupc.
27471         (RTLD_START): Ditto.
27473 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
27475         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
27476         for __vdso_* functions in declarations.
27477         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
27478         definitions.
27479         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
27480         INTERNAL_VSYSCALL): Use struct return types to check for error.
27482         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
27483         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
27484         function with cast from llround().
27485         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
27486         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
27487         Define.
27489 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
27491         [BZ #17793]
27492         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
27493         Define as weak alias not strong alias.
27495         [BZ #17635]
27496         * ctype/ctype-c99.c: New file.  isblank implementation moved from
27497         ...
27498         * ctype/ctype-extn.c: ... here.
27499         (__isblank_l): Move to ...
27500         * ctype/ctype-c99_l.c: ... here.  New file.
27501         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
27502         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
27503         Remove variable.
27504         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
27505         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
27506         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
27507         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
27508         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
27510         [BZ #17777]
27511         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
27512         (posix_fadvise64): Define as weak alias not strong alias.
27513         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27514         (posix_fallocate64): Likewise.
27515         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
27516         Remove variable.
27517         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
27518         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
27519         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
27520         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
27521         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
27523 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
27525         [BZ #16191]
27526         * NEWS: Mention bug fix.
27527         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
27528         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
27529         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
27530         (HOST_STACK_END_ADDR): Likewise.
27532 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
27534         [BZ #17748]
27535         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
27536         * math/fegetround.c (fegetround): Rename to __fegetround and
27537         define as weak alias of __fegetround.  Use libm_hidden_weak.
27538         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
27539         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
27540         * sysdeps/arm/fegetround.c (fegetround): Likewise.
27541         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
27542         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
27543         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
27544         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
27545         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
27546         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
27547         Undefine after rather than before function definition; use
27548         parentheses around function name in definition.
27549         (__fegetround): Also undefine macro after function definition.
27550         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
27551         __fegetround and define as weak alias of __fegetround.  Use
27552         libm_hidden_weak.  Do not undefine as macro.
27553         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
27554         Likewise.
27555         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
27556         __fegetround and define as weak alias of __fegetround.  Use
27557         libm_hidden_weak.
27558         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27559         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
27560         * sysdeps/tile/math_private.h (__fegetround): New inline function.
27561         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
27562         __fegetround and define as weak alias of __fegetround.  Use
27563         libm_hidden_weak.
27564         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
27565         __fegetround instead of fegetround.
27567         [BZ #17782]
27568         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
27569         Condition macro definition on [__USE_MISC].
27571         [BZ #17781]
27572         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
27573         (struct sigaction): Change type of sa_flags field to int.
27575         [BZ #17780]
27576         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
27577         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
27578         __glibc_reserved0.
27580         * nptl/version.c (banner): Use single year in copyright notice.
27582         * NEWS: Update copyright dates.
27583         * catgets/gencat.c (print_version): Likewise.
27584         * csu/version.c (banner): Likewise.
27585         * debug/catchsegv.sh: Likewise.
27586         * debug/pcprofiledump.c (print_version): Likewise.
27587         * debug/xtrace.sh (do_version): Likewise.
27588         * elf/ldconfig.c (print_version): Likewise.
27589         * elf/ldd.bash.in: Likewise.
27590         * elf/pldd.c (print_version): Likewise.
27591         * elf/sotruss.sh: Likewise.
27592         * elf/sprof.c (print_version): Likewise.
27593         * iconv/iconv_prog.c (print_version): Likewise.
27594         * iconv/iconvconfig.c (print_version): Likewise.
27595         * locale/programs/locale.c (print_version): Likewise.
27596         * locale/programs/localedef.c (print_version): Likewise.
27597         * login/programs/pt_chown.c (print_version): Likewise.
27598         * malloc/memusage.sh (do_version): Likewise.
27599         * malloc/memusagestat.c (print_version): Likewise.
27600         * malloc/mtrace.pl: Likewise.
27601         * manual/libc.texinfo: Likewise.
27602         * nptl/version.c (banner): Likewise.
27603         * nscd/nscd.c (print_version): Likewise.
27604         * nss/getent.c (print_version): Likewise.
27605         * nss/makedb.c (print_version): Likewise.
27606         * posix/getconf.c (main): Likewise.
27607         * scripts/test-installation.pl: Likewise.
27608         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
27610 2015-01-02  Will Newton  <will.newton@linaro.org>
27612         * sysdeps/arm/armv7/configure: Removed.
27613         * sysdeps/arm/armv7/configure.ac: Likewise.
27615 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
27617         * All files with FSF copyright notices: Update copyright dates
27618         using scripts/update-copyrights.
27619         * intl/plural.c: Regenerated.
27620         * locale/programs/charmap-kw.h: Likewise.
27621         * locale/programs/locfile-kw.h: Likewise.
27623 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27625         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
27627 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
27629         [BZ #17748]
27630         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
27631         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
27632         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
27633         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
27634         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
27635         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
27636         define as weak alias of __fegetenv.  Use libm_hidden_weak.
27637         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
27638         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
27639         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
27640         define as weak alias of __fegetenv.  Use libm_hidden_weak.
27641         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
27642         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
27643         define as weak alias of __fegetenv.  Use libm_hidden_weak.
27644         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
27645         libm_hidden_def.
27646         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
27647         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
27648         Likewise.
27649         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
27650         define as weak alias of __fegetenv.  Use libm_hidden_weak.
27651         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27652         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
27653         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
27654         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
27655         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
27656         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
27657         __fegetenv instead of fegetenv.
27658         (libc_feholdsetround_noex_ctx): Likewise.
27660 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
27662         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
27663         (Elf_MIPS_ABIFlags_v0): New structure.
27664         (EF_MIPS_FP64): Define.
27665         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
27666         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
27667         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
27668         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
27669         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
27670         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
27671         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
27672         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
27673         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
27674         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
27675         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
27676         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
27677         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
27678         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
27679         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
27680         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
27681         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
27682         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
27683         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
27684         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
27685         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
27686         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
27687         field.
27688         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
27689         EF_MIPS_FP64.
27690         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
27691         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
27692         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
27693         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
27694         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
27695         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
27696         * sysdeps/mips/tst-abi-interlink.c: Likewise.
27697         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
27698         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
27699         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
27700         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
27701         record the current FP ABI extension.
27702         (mips-mode-switch): Define to show if kernel headers support mode
27703         switching.
27704         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
27705         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
27706         supported SYSV ABI version to 3.
27707         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
27708         feature.
27710 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27711             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27713         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
27714         path.
27715         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
27717 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
27719         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
27720         __fegetround and redefine to call __fegetround.  Remove condition
27721         on [!__NO_MATH_INLINES].
27722         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
27723         function.
27724         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
27725         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
27726         Remove macro.
27727         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
27728         instead of <fenv_libc.h>.
27729         (__llrintl): Call fegetround instead of __fegetround.
27730         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
27731         instead of <fenv_libc.h>.
27732         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
27733         (__lrintl): Call fegetround instead of __fegetround.
27734         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
27735         instead of <fenv_libc.h>.
27736         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
27737         (__rintl): Call fegetround instead of __fegetround.
27739 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
27741         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
27742         arrays.
27744 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
27746         [BZ #17775]
27747         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
27748         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
27749         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
27751 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
27753         * sysdeps/i386/tls-macros.h: Include <features.h>.
27754         (TLS_LE): Use non-PIC version for GCC >= 5.0.
27755         (TLS_IE): Likewise.
27756         (TLS_LD): Likewise.
27757         (TLS_GD): Likewise.
27758         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
27759         define for GCC >= 5.0.
27761 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
27763         * math/test-fenv.c (test_single_exception, set_single_exc,
27764         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
27765         feexcp_mask_test, feenable_test, fe_single_test): Add
27766         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
27767         case where they are not used.
27768         * math/libm-test.inc: Likewise.
27769         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
27770         unused in the absence of FP rounding/exception support.
27771         * stdio-common/tst-printf-round.c: Likewise.
27772         * stdlib/tst-strtod-round.c: Likewise.
27773         * stdlib/tst-strtod-underflow.c: Likewise.
27775 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
27777         [BZ #17723]
27778         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
27779         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
27780         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
27781         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
27782         libm_hidden_weak.
27783         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
27784         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
27785         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
27786         libm_hidden_def.
27787         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
27788         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
27789         libm_hidden_weak.
27790         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
27791         Likewise.
27792         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
27793         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
27794         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
27795         libm_hidden_weak.
27796         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
27797         libm_hidden_def.
27798         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
27799         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
27800         (__feraiseexcept): Likewise.
27801         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
27802         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
27803         libm_hidden_weak.
27804         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
27805         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
27806         libm_hidden_def.
27807         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
27808         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
27809         Use libm_hidden_def.
27810         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
27811         libm_hidden_def.
27812         (feraiseexcept): Define as weak not strong alias.  Use
27813         libm_hidden_weak.
27814         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
27815         New inline function.  Factored out of ...
27816         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
27817         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
27818         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
27819         feraiseexcept.
27820         * math/w_acos.c (__acos): Likewise.
27821         * math/w_asin.c (__asin): Likewise.
27822         * math/w_ilogb.c (__ilogb): Likewise.
27823         * math/w_j0.c (y0): Likewise.
27824         * math/w_j1.c (y1): Likewise.
27825         * math/w_jn.c (yn): Likewise.
27826         * math/w_log.c (__log): Likewise.
27827         * math/w_log10.c (__log10): Likewise.
27828         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
27829         * sysdeps/aarch64/fpu/math_private.h
27830         (libc_feupdateenv_test_aarch64): Likewise.
27831         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
27832         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
27833         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
27834         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
27835         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
27836         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
27837         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
27838         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27839         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27840         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
27842 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
27844         [BZ #17732]
27845         * io/test-utime.c (main): Replace %ld with %jd and cast to
27846         intmax_t.
27847         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
27848         * nptl/tst-mutex5.c: Include <stdint.h>.
27849         (do_test): Replace %ld with %jd and cast to intmax_t.
27850         * posix/tst-regex.c (run_test): Likewise.
27851         (run_test_backwards): Likewise.
27852         * rt/tst-clock.c: Include <stdint.h>.
27853         (clock_test): Replace %ld with %jd and cast to intmax_t.
27854         * rt/tst-cpuclock1.c: Include <stdint.h>.
27855         (do_test): Replace %lu with %ju and cast to uintmax_t.
27856         * rt/tst-cpuclock2.c: Include <stdint.h>.
27857         (do_test): Replace %lu with %ju and cast to uintmax_t.
27858         * rt/tst-mqueue1.c: Include <stdint.h>.
27859         (check_attrs): Replace %ld with %jd and cast to intmax_t.
27860         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
27861         intmax_t.
27862         * rt/tst-mqueue4.c (do_test): Likewise.
27863         * rt/tst-timer4.c: Include <stdint.h>.
27864         (check_ts): Replace %ld with %jd and cast to intmax_t.
27865         (do_test): Likewise.
27866         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
27867         and cast to intmax_t.
27868         * sysdeps/pthread/tst-timer.c (main): Likewise.
27869         * time/clocktest.c (main): Likewise.
27870         * time/tst-posixtz.c (do_test): Likewise.
27871         * timezone/tst-timezone.c (main): Likewise.
27873 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
27874             H.J. Lu  <hongjiu.lu@intel.com>
27876         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
27877         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
27878         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
27879         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
27880         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
27881         version if bit_Fast_Unaligned_Load is set.
27882         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27883         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27884         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27885         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27886         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27887         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27888         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27889         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
27890         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
27891         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
27892         to 4.
27893         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
27894         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
27895         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
27896         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
27898 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
27900         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
27901         instead of #if to avoid a Wundef warning.
27902         * stdlib/tst-limits.c (do_test): Likewise.
27904         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
27905         parallel other exception macros.
27906         (fegetenv): Convert from macro to extern inline so that it applies
27907         retroactively to inline functions already seen by the compiler.
27908         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
27910         * posix/Makefile (before-compile): Use $(objpfx) for
27911         posix-conf-vars-def.h.
27913 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27915         * posix/getconf.c (main): Use size_t for type of I.
27916         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
27917         NSPEC.
27919         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
27920         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
27921         * posix/posix-envs.def: Likewise.
27922         * sysdeps/posix/sysconf.c: Likewise.
27923         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
27924         (specs): Remove array.
27925         * scripts/gen-posix-conf-vars.awk: Support generation of specs
27926         array.
27928         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
27929         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
27930         (__sysconf): Use CONF_IS_* macros.
27932         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
27933         ($(objpfx)posix-conf-vars-def.h): New target.
27934         * posix/posix-conf-vars.list: New file.
27935         * posix/posix-conf-vars.h: New file.
27936         * posix/confstr.c: Include posix-conf-vars.h.
27937         (confstr): Use CONF_IS_* macros.
27938         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
27939         CONF_IS_* macros.
27940         * scripts/gen-posix-conf-vars.awk: New file.
27942 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
27944         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
27945         fegetround): Add no-op macros to avoid linknamespace issues.
27947         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
27948         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
27950         * sysdeps/unix/sysv/linux/tile/sysdep.h
27951         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
27952         assembly-specific section to avoid a redefinition warning.
27954         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
27955         long before casting to pointer to avoid a cast warning.
27957 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
27959         * sysdeps/tile/tilegx/Implies: New file.
27961 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
27963         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
27965 2014-12-23  Florian Weimer  <fweimer@redhat.com>
27967         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
27969 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
27971         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
27972         not define.
27973         * sysdeps/unix/sysv/linux/utimes.c: Do not include
27974         <kernel-features.h>.
27975         (__utimes) [__NR_utimes]: Make code unconditional.
27976         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
27977         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
27978         (__ASSUME_UTIMES): Do not undefine.
27979         * sysdeps/unix/sysv/linux/tile/kernel-features.h
27980         (__ASSUME_UTIMES): Likewise.
27981         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27982         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
27983         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
27984         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
27986 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
27988         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
27990 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
27992         [BZ #17747]
27993         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
27994         alias to weak alias for j0l, y0l.
27995         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
27996         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
27998         [BZ #17746]
27999         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
28000         conversion.
28002 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
28004         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
28005         to zero if not already defined.
28007 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
28009         [BZ #17724]
28010         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
28011         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
28012         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
28013         (char *) casts added.
28014         * sysdeps/ieee754/k_standardf.c: New file.
28015         * sysdeps/ieee754/k_standardl.c: Likewise.
28016         * math/Makefile (libm-support): Remove k_standard.
28017         (libm-calls): Add k_standard.
28019 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
28021         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
28022         Optimize to avoid an unnecessary FPCR read.
28024 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
28026         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
28027         Optimize to reduce FPCR/FPSR accesses.
28029 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
28031         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
28032         Call libc_fetestexcept_aarch64.
28034 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
28036         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
28037         Call libc_fesetround_aarch64.
28039 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
28041         [BZ #17733]
28042         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
28043         (__bind): Do not define as weak alias.
28044         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
28045         define.
28046         (__getsockname): Do not define as weak alias.
28048 2014-12-22  Will Newton  <will.newton@linaro.org>
28050         * manual/install.texi: Document that we require bison 2.7
28051         or above.
28052         * INSTALL: Regenerate.
28053         * configure.ac: Use AC_CHECK_PROG_VER instead of
28054         AC_PATH_PROG when checking for bison and check for
28055         version 2.7 or above.
28056         * configure: Regenerate.
28058 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
28060         [BZ #17745]
28061         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
28062         * sysdeps/tile/ffsll.c (ffsll): To here.
28064         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
28066 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
28068         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
28069         if not defined.
28070         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
28071         definition.
28072         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
28073         hidden ___tls_get_addr.
28074         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
28075         hidden __tls_get_addr.
28076         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
28077         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
28078         Likewise.
28080 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
28082         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
28083         _dl_init call.
28085 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
28087         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
28088         from "call _dl_init@PLT".
28089         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
28091 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
28093         * manual/search.texi: (Array Sort Function): Clarify stable sorting
28094         guarantees.
28096 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
28098         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
28100 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
28102         [BZ #17744]
28103         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
28104         strnlen.
28106 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
28108         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
28109         of multu on MIPSr6.
28110         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
28111         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
28112         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
28113         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
28114         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
28116 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
28118         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
28119         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
28120         (PTR_SUBU): Use subu for mips32r6/mips64r6.
28121         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
28122         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
28123         mips32r6/mips64r6.
28124         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
28126 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
28128         * string/strncat.c (STRNCAT): Simplify implementation.
28130 2014-12-19  David S. Miller  <davem@davemloft.net>
28132         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
28133         access the quad as both a long double and as a series of 4 words.
28135         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
28136         link_map->l_info array access.
28138 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
28140         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
28142         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
28143         * math/atest-exp2.c (TIMEOUT): Likewise.
28144         * math/atest-sincos.c (TIMEOUT): Likewise.
28146 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
28148         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
28149         -Wno-error with -fno-builtin-lround.
28151 2014-12-19  Torvald Riegel  <triegel@redhat.com>
28153         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
28154         Contains futex constants and functions moved over from ...
28155         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
28156         <lowlevellock-futex.h>.
28157         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
28158         (lll_timedwait_tid): Add comments and parentheses around macro
28159         arguments.
28161 2014-12-19  Torvald Riegel  <triegel@redhat.com>
28163         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
28164         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
28165         (__lll_private_flag): Remove.
28166         (lll_futex_wait): Likewise.
28167         (lll_futex_timed_wait): Likewise.
28168         (lll_futex_wake): Likewise.
28169         (lll_futex_requeue): Likewise.
28170         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
28171         (__lll_timedwait_tid): Spell out argument names.
28172         (lll_timedwait_tid): Add comments and parentheses around macro
28173         arguments.
28174         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
28175         LLL_SHARED and LLL_PRIVATE usable from assembly code.
28177 2014-12-19  Torvald Riegel  <triegel@redhat.com>
28179         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
28180         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
28181         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28182         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
28183         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
28184         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
28185         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
28186         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
28187         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
28188         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
28189         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
28190         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
28191         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
28192         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
28193         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
28194         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
28195         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
28196         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
28197         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
28199 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
28201         * sysdeps/x86_64/x32/Makefile: New file.
28203 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
28205         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
28206         1L with (mp_limb_t) 1.
28208 2014-12-17  Roland McGrath  <roland@hack.frob.com>
28210         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
28211         * nptl/libc_pthread_init.c: ... here.
28212         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
28213         * nptl/register-atfork.c: ... here.
28215         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
28216         Use pthread_sigmask rather than INTERNAL_SYSCALL.
28217         Use assert_perror to check its return value.
28218         (__gai_create_helper_thread): Likewise.
28220         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
28222         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
28224 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
28226         [BZ #17725]
28227         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
28228         __profil_counter.
28229         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
28230         Likewise.
28231         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
28232         Likewise.
28233         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
28234         Likewise.
28235         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
28236         (profil_counter): Likewise.
28237         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
28238         (profil_counter): Likewise.
28239         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
28240         Likewise.
28241         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
28242         Likewise.
28243         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
28244         (profil_counter): Likewise.
28245         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
28246         Likewise.
28247         [!__profil_counter] (profil_counter): Define as weak alias of
28248         __profil_counter.
28249         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
28250         (profil_counter): Rename to __profil_counter.
28251         [!__profil_counter] (profil_counter): Define as weak alias of
28252         __profil_counter.
28253         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
28254         (profil_counter): Rename to __profil_counter.
28255         [!__profil_counter] (profil_counter): Define as weak alias of
28256         __profil_counter.
28257         * sysdeps/posix/profil.c: Update comment referring to
28258         profil_counter.
28259         (__profil): Use __profil_counter instead of profil_counter.
28260         * sysdeps/posix/sprofil.c (profil_counter): Rename to
28261         __profil_counter.  Use __profil_counter_ushort and
28262         __profil_counter_uint in definitions.
28263         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
28264         instead of profil_counter_uint and profil_counter_ushort.
28266         [BZ #17722]
28267         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
28268         define as weak alias of __inet_makeaddr.
28269         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
28270         as weak alias of __inet_addr.
28271         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
28272         as weak alias of __inet_pton.  Use libc_hidden_weak.
28273         * include/arpa/inet.h (__inet_pton): Declare.  Use
28274         libc_hidden_proto.
28275         (inet_makeaddr): Don't use libc_hidden_proto.
28276         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
28277         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
28278         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
28279         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
28280         Remove variable.
28281         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
28282         (test-xfail-POSIX/time.h/linknamespace): Likewise.
28284 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
28286         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
28288 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
28290         * stdio-common/bug-vfprintf-nargs.c (do_test):
28291         Cast value to intptr_t to avoid format warning
28292         for usage with PRIdPTR printing macro.
28294 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
28296         * libio/tst-widetext.c (do_test):
28297         Use format type %td instead of %Zd for ptrdiff_t
28298         in order to avoid format warning.
28300 2014-12-17  Andreas Schwab  <schwab@suse.de>
28302         * nscd/mem.c (gc): Add size_t cast to match printf format.
28304 2014-12-16  Roland McGrath  <roland@hack.frob.com>
28306         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
28307         (init): Apply PTR_MANGLE to pointers before storing them.
28308         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
28309         before using them.
28311 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
28313         [BZ #17719]
28314         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
28315         define as weak alias of __memrchr.
28316         (__memrchr): Do not define as strong alias of memrchr.
28317         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
28318         Remove variable.
28319         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
28320         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
28321         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
28323         [BZ #17717]
28324         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
28325         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
28326         (if_indextoname): Rename to __if_indextoname and define as weak
28327         alias of __if_indextoname.  Use libc_hidden_weak.
28328         (if_freenameindex): Rename to __if_freenameindex and define as
28329         weak alias of __if_freenameindex.
28330         (if_nameindex): Rename to __if_nameindex and define as weak alias
28331         of __if_nameindex.
28332         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
28333         __if_nametoindex and define as weak alias of __if_nametoindex.
28334         Use libc_hidden_weak.
28335         (if_freenameindex): Rename to __if_freenameindex and define as
28336         weak alias of __if_freenameindex.
28337         (if_nameindex): Rename to __if_nameindex and define as weak alias
28338         of __if_nameindex.
28339         (if_indextoname): Rename to __if_indextoname and define as weak
28340         alias of __if_indextoname.  Use libc_hidden_weak.
28341         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
28342         __if_nametoindex and define as weak alias of __if_nametoindex.
28343         Use libc_hidden_weak.
28344         (if_freenameindex): Rename to __if_freenameindex and define as
28345         weak alias of __if_freenameindex.  Use libc_hidden_weak.
28346         (if_nameindex_netlink): Use __if_freenameindex instead of
28347         if_freenameindex.
28348         (if_nameindex): Rename to __if_nameindex and define as weak alias
28349         of __if_nameindex.  Use libc_hidden_weak.
28350         (if_indextoname): Rename to __if_indextoname and define as weak
28351         alias of __if_indextoname.  Use libc_hidden_weak.
28352         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
28353         libc_hidden_proto.
28354         [!_ISOMAC] (__if_freenameindex): Likewise.
28355         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
28356         if_nametoindex.
28357         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
28358         variable.
28359         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
28360         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
28361         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
28362         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
28363         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
28364         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
28365         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
28367         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
28368         Remove variable.
28369         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
28370         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
28372 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28374         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
28375         subscript above bounds'
28377         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
28378         bounds.
28380 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
28382         * libio/tst-fopenloc.c: Use test-skeleton.c.
28384         * stdlib/tst-bsearch.c: Use test-skeleton.c.
28385         (entry): Rename to ITEM.
28386         (do_test, comp): Adjust.
28388         * stdio-common/tst-fseek.c: Use test-skeleton.c.
28390 2014-12-16  Torvald Riegel  <triegel@redhat.com>
28392         * string/tester.c: Include <libc-internal.h>.
28393         (test_memset): Ignore -Wmemset-transposed-args.
28395 2014-12-16  Torvald Riegel  <triegel@redhat.com>
28397         * misc/tst-mntent2.c (do_test): Fix warning.
28399 2014-12-16  Torvald Riegel  <triegel@redhat.com>
28401         * elf/tst-unique4lib.cc(a): Mark as used.
28403 2014-12-16  Florian Weimer  <fweimer@redhat.com>
28405         [BZ #17630]
28406         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
28407         names.
28409 2014-12-16  Allan McRae  <allan@archlinux.org>
28411         * stdio-common/Makefile (tests): Re-add bug26.
28413 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
28415         [BZ #17657]
28416         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
28417         static array.
28419 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
28421         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
28422         (__lll_lock_wait): Likewise.
28423         (__lll_timedlock_wait): Likewise.
28424         (__lll_timedwait_tid): Likewise.
28425         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
28426         (__lll_robust_timedlock_wait): Likewise.
28427         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
28428         (lll_cond_trylock): Likewise.
28429         (__lll_lock): Likewise.
28430         (__lll_robust_lock): Likewise.
28431         (__lll_cond_lock): Likewise.
28432         (lll_robust_cond_lock): Likewise.
28433         (__lll_timedlock): Likewise.
28434         (__lll_robust_timedlock): Likewise.
28435         (__lll_unlock): Likewise.
28436         (__lll_robust_unlock): Likewise.
28437         (lll_wait_tid): Likewise.
28438         (lll_timedwait_tid): Likewise.
28440 2014-12-15  Torvald Riegel  <triegel@redhat.com>
28442         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
28444 2014-12-15  Torvald Riegel  <triegel@redhat.com>
28446         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
28448 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
28450         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
28451         * stdio-common/tst-sprintf.c: Likewise.
28453 2014-12-15  Torvald Riegel  <triegel@redhat.com>
28455         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
28457 2014-12-15  Jeff Law  <law@redhat.com>
28459         [BZ #16617]
28460         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
28461         on the heap.  (CVE-2012-3406)
28462         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
28463         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
28464         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
28466 2014-12-15  Will Newton  <will.newton@linaro.org>
28468         * manual/install.texi: Bump required version of texinfo
28469         to 4.7 from 4.5.
28470         * INSTALL: Regenerated.
28471         * configure.ac: Check for makeinfo version 4.7 and above.
28472         * configure: Regenerated.
28474 2014-12-12  Roland McGrath  <roland@hack.frob.com>
28476         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
28477         PREFIX, string constant to insert between directory and name.
28478         * sysdeps/posix/shm_open.c: Update caller.
28479         * sysdeps/posix/shm_unlink.c: Likewise.
28480         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
28481         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
28482         (SEM_SHM_PREFIX): New macro.
28483         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
28484         [$(have-thread-library) = no].
28485         * nptl/Makefile (libpthread-routines): Add shm-directory.
28486         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
28487         * sysdeps/nptl/shm-directory.h: New file.
28488         * sysdeps/posix/shm-directory.c
28489         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
28490         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
28491         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
28492         INTERNAL_SYSCALL.
28493         (__where_is_shmfs): Function removed.
28494         (mountpoint, defaultmount, defaultdir, __namedsem_once):
28495         Variables removed.
28496         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
28497         Use SHM_GET_NAME.
28498         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
28500         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
28501         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
28502         unconditional for use inside libpthread.
28503         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
28505 2014-12-12  Roland McGrath  <roland@hack.frob.com>
28507         * nptl/pthread_getaffinity.c: New file.
28508         * nptl/pthread_setaffinity.c: New file.
28509         * nptl/pthread_getname.c: New file.
28510         * nptl/pthread_setname.c: New file.
28512         * nptl/pthread_create.c (START_THREAD_DEFN)
28513         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
28515 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
28516             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28518         * resolv/res_send.c (send_vc): Disable warning resplen may
28519         be used uninitialized.
28521 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
28523         * nptl/tst-mutex6.c
28524         (ATTR_NULL): New define checks ATTR against NULL.
28525         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
28526         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
28528 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
28530         [BZ #17581]
28531         * malloc/hooks.c
28532         (mem2mem_check): Revert my previous change.
28533         (malloc_check_get_size): Revert my previous change.
28534         (mem2chunk_check): Revert my previous change.
28536 2014-12-11  Roland McGrath  <roland@hack.frob.com>
28538         * sysdeps/posix/shm-directory.c: New file.
28539         * sysdeps/posix/shm-directory.h: New file.
28540         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
28541         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
28542         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
28543         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
28544         Transmute EPERM to EACCES.
28545         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
28546         from ...
28547         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
28548         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
28550 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28552         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
28553         pointer and cast to uintptr_t.
28554         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
28555         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
28556         Add cast to avoid warning.
28557         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
28559 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
28561         * nptl/semaphore.h: Move to ...
28562         * sysdeps/pthread/semaphore.h: ... here.
28563         * Makefile (installed-headers): Change nptl/semaphore.h to
28564         sysdeps/pthread/semaphore.h.
28566 2014-12-11  Roland McGrath  <roland@hack.frob.com>
28568         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
28569         generated error format strings.
28571         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
28572         -Wformat-extra-args warnings for scanf formats.
28573         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
28574         test of zero-length format (duh).
28575         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
28576         corner-case scanf format test.
28577         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
28578         generated fprintf format string.
28579         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
28580         corner-case sprintf format tests.
28581         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
28582         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
28583         -Wformat-extra-args warnings throughout.
28584         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
28585         (CFLAGS-scanf4.c): Likewise.
28586         (CFLAGS-scanf7.c): Likewise.
28587         (CFLAGS-tst-sprintf.c): Likewise.
28588         (CFLAGS-tst-printf.c): Likewise.
28589         (CFLAGS-tst-printfsz.c): Likewise.
28591 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
28593         * include/cpio.h: New file.
28594         * include/fmtmsg.h: Likewise.
28596         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
28597         corresponding format argument to size_t.
28598         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
28599         arguments.
28600         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
28601         corresponding format argument to size_t.
28602         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
28603         arguments.
28604         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
28605         corresponding format argument to size_t.
28606         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
28607         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
28608         (CFLAGS-tst-mbswcs2.c): Likewise.
28609         (CFLAGS-tst-mbswcs3.c): Likewise.
28610         (CFLAGS-tst-mbswcs4.c): Likewise.
28611         (CFLAGS-tst-mbswcs5.c): Likewise.
28612         (CFLAGS-tst-trans.c): Likewise.
28614 2014-12-11  Roland McGrath  <roland@hack.frob.com>
28616         * posix/regexbug1.c (main): Use "%s" format with regerror results,
28617         rather than assuming they won't contain any '%'s.
28619 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
28621         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
28622         inhibit_loop_to_libcall to avoid recursive calls.
28623         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
28624         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
28626 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
28628         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
28629         prototype.
28631 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
28633         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
28634         integer value instead of boolean.
28636 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
28638         * malloc/malloc.c: Fix powerof2 check.
28640 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
28642         * locale/programs/locfile.h (maybe_swap_uint32):
28643         Remove inline and add unused attribute.
28645 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
28647         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
28648         Truncating assembler expression to a .long expression.
28650 2014-12-11  Andreas Schwab  <schwab@suse.de>
28652         * elf/rtld.c (struct map_args): Constify str member.
28653         (do_preload): Constify fname argument.
28655 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28657         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
28658         constants definition.
28660 2014-12-11  Andreas Schwab  <schwab@suse.de>
28662         [BZ #16657]
28663         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
28664         FORCE_ELISION instead of DO_ELISION.
28665         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
28666         Remove.
28667         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
28668         Likewise.
28670         * iconvdata/gconv-modules: Remove duplicate entry.
28672 2014-12-11  Will Newton  <will.newton@linaro.org>
28674         Merge gettext 0.19.3 into intl/.
28676         This involves a number of cosmetic changes to comments
28677         and ANSI function definitions and prototypes throughout
28678         all the files. The gettext copyright header is used but
28679         with the date ranges taken from the glibc copy.
28681         * NEWS: Add gettext merge to 2.21.
28682         * intl/bindtextdom.c: Switch to gettext copyright.
28683         Use ANSI definitions and prototypes.
28684         Use gl_* locking primitives rather than __libc_* ones.
28685         Use __builtin_expect rather than __glibc_likely/unlikely.
28686         * intl/dcgettext.c: Switch to gettext copyright.
28687         Use ANSI definitions and prototypes.
28688         * intl/dcigettext.c: Switch to gettext copyright.
28689         Use ANSI definitions and prototypes.
28690         (INTDIV0_RAISES_SIGFPE): New define.
28691         Use gl_* locking primitives rather than __libc_* ones.
28692         Include eval-plural.h instead of plural-eval.c.
28693         Use __builtin_expect rather than __glibc_likely/unlikely.
28694         * intl/dcngettext.c: Switch to gettext copyright.
28695         Use ANSI definitions and prototypes.
28696         * intl/dgettext.c: Likewise.
28697         * intl/dngettext.c: Likewise.
28698         * intl/plural-eval.c: Renamed to...
28699         * intl/eval-plural.h: ...this.
28700         * intl/explodename.c: Switch to gettext copyright.
28701         Use ANSI definitions and prototypes.
28702         (_nl_explode_name): Use strchr instead of __rawmemchr.
28703         * intl/finddomain.c: Switch to gettext copyright.
28704         Use ANSI definitions and prototypes.
28705         Use gl_* locking primitives rather than __libc_* ones.
28706         (_nl_find_domain): Use malloc rather than alloca for
28707         allocation of temporary locale name.
28708         * intl/gettext.c: Switch to gettext copyright.
28709         Use ANSI definitions and prototypes.
28710         * intl/gettextP.h: Switch to gettext copyright.
28711         Use ANSI definitions and prototypes.
28712         Use gl_* locking primitives rather than __libc_* ones.
28713         * intl/gmo.h: Switch to gettext copyright.
28714         (struct sysdep_string): Move struct segment_pair outside of
28715         struct definition.
28716         * intl/hash-string.c: Use ANSI definitions and prototypes.
28717         * intl/hash-string.h: Switch to gettext copyright.
28718         Use ANSI definitions and prototypes.
28719         * intl/l10nflist.c: Switch to gettext copyright.
28720         Use ANSI definitions and prototypes.
28721         (_nl_normalize_codeset): Avoid integer overflow.
28722         * intl/loadinfo.h: Switch to gettext copyright.
28723         Use ANSI definitions and prototypes.
28724         (LIBINTL_DLL_EXPORTED): New define.
28725         (PATH_SEPARATOR): New define.
28726         * intl/loadmsgcat.c: Switch to gettext copyright.
28727         * intl/localealias.c: Switch to gettext copyright.
28728         Use ANSI definitions and prototypes.
28729         (_nl_expand_alias): Use PATH_SEPARATOR.
28730         * intl/ngettext.c: Switch to gettext copyright.
28731         Use ANSI definitions and prototypes.
28732         * intl/plural-exp.c: Likewise.
28733         * intl/plural-exp.h: Switch to gettext copyright.
28734         Use ANSI definitions and prototypes.
28735         (struct expression): Move definition of enum operator outside
28736         of struct definition.
28737         * intl/plural.c: Regenerate.
28738         * intl/plural.y: Switch to gettext copyright.
28739         Use ANSI definitions and prototypes.
28740         Port to bison 3.0.
28741         * intl/textdomain.c: Switch to gettext copyright.
28742         Use ANSI definitions and prototypes.
28743         Use gl_* locking primitives rather than __libc_* ones.
28745 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
28747         * debug/warning-nop.c: Add used atrribute.
28749 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
28751         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
28753         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
28754         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
28755         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
28757 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
28758             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28760         [BZ #17634]
28761         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
28762         Undefine after defining function.  Define as weak alias of
28763         __wcschr.  Use libc_hidden_weak.
28764         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
28765         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
28766         (libc_hidden_def): Also define __GI___wcschr alias.
28767         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
28768         __wcschr and define as weak alias of __wcschr.
28769         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
28770         __wcschr.
28771         [!WCSCHR] (DEFAULT_WCSCHR): Define.
28772         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
28773         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
28774         libc_hidden_weak.  Do not use libc_hidden_def.
28775         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
28776         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
28777         __GI___wcschr alias.
28778         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
28779         [IS_IN (libc)] (wcschr): Define as macro expanding to
28780         __redirect_wcschr.
28781         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
28782         [IS_IN (libc)] (__wcschr_power6): Likewise.
28783         [IS_IN (libc)] (__wcschr_power7): Likewise.
28784         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
28785         instead of wcschr.
28786         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
28787         __libc_wcschr.
28788         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
28789         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
28790         __wcschr and define as weak alias of __wcschr.  Use
28791         libc_hidden_builtin_def.
28792         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
28793         as weak alias of __wcschr.  Use libc_hidden_weak.
28794         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
28795         wcschr.
28796         * time/era.c (_nl_init_era_entries): Likewise.
28797         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
28798         variable.
28799         (test-xfail-XPG3/time.h/linknamespace): Likewise.
28800         (test-xfail-XPG4/time.h/linknamespace): Likewise.
28802 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
28804         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
28805         format for long int variable.
28807 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
28809         [BZ #10672]
28810         * manual/search.texi: (Array Sort Function): Remove claim how to make
28811         qsort stable.
28813 2014-12-10  Andreas Schwab  <schwab@suse.de>
28815         [BZ #12847]
28816         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
28817         user-controlled locks.
28819 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
28821         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
28822         register.
28824 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
28826         * configure.ac (--disable-werror): New configure option.
28827         (enable_werror): New AC_SUBST.
28828         * configure: Regenerated.
28829         * config.make.in (enable-werror): New variable.
28830         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
28831         -Wno-error=undef.
28832         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
28833         * manual/install.texi (Configuring and compiling): Document
28834         --disable-werror.
28835         * INSTALL: Regenerated.
28836         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
28837         (CFLAGS-tst-chk2.c): Likewise.
28838         (CFLAGS-tst-chk3.c): Likewise.
28839         (CFLAGS-tst-chk4.cc): Likewise.
28840         (CFLAGS-tst-chk5.cc): Likewise.
28841         (CFLAGS-tst-chk6.cc): Likewise.
28842         (CFLAGS-tst-lfschk1.c): Likewise.
28843         (CFLAGS-tst-lfschk2.c): Likewise.
28844         (CFLAGS-tst-lfschk3.c): Likewise.
28845         (CFLAGS-tst-lfschk4.cc): Likewise.
28846         (CFLAGS-tst-lfschk5.cc): Likewise.
28847         (CFLAGS-tst-lfschk6.cc): Likewise.
28849         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
28850         (main): Disable -Wdeprecated-declarations around calls to
28851         register_printf_function.
28853         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
28854         (do_test): Disable -Wdiv-by-zero around some calls to
28855         fwrite_unlocked and fread_unlocked.
28857         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
28858         (DIAG_POP_NEEDS_COMMENT): Likewise.
28859         (_DIAG_STR1): Likewise.
28860         (_DIAG_STR): Likewise.
28861         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
28862         * stdio-common/bug21.c: Include <libc-internal.h>.
28863         (do_test): Disable -Wformat around call to sscanf.
28864         * stdio-common/scanf14.c: Include <libc-internal.h>.
28865         (main): Disable -Wformat around some calls to scanf functions.
28867 2014-12-09  Torvald Riegel  <triegel@redhat.com>
28869         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
28871 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28873         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
28874         stack variable alignment.
28876 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
28878         [BZ #17682]
28879         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
28880         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
28881         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
28882         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
28883         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
28884         __getrlimit instead of getrlimit.
28885         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
28886         __gettimeofday instead of gettimeofday.
28887         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
28888         Likewise.
28889         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
28890         Likewise.
28891         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28892         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
28893         Remove variable.
28894         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
28895         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
28897 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28899         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
28900         for wide-character tests.
28902 2014-12-04  Roland McGrath  <roland@hack.frob.com>
28904         * io/openat64.c: #include <libc-internal.h>
28905         (__openat64): Prototypify.  Use ignore_value on MODE.
28906         * io/openat.c: Likewise.
28907         * misc/reboot.c: #include <libc-internal.h>
28908         (reboot): Prototypify.  Use ignore_value on HOWTO.
28909         * misc/ptrace.c: #include <libc-internal.h>
28910         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
28912 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
28914         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
28915         XPG4, UNIX98 and XOPEN2K.
28916         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
28917         Remove variable.
28918         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
28920 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28922         * libio/fileops.c: Use ISO C style for function definitions.
28923         * libio/iofopen.c: Likewise.
28924         * libio/wfileops.c: Likewise.
28926         [BZ #17653]
28927         * libio/fileops.c (_IO_new_file_underflow): Unset cached
28928         offset on EOF.
28929         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
28930         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
28931         (fgets_func): Function pointer to fgets and fgetws.
28932         (do_ftell_test): Add test to verify ftell value after read
28933         EOF.
28934         (do_test): Set fgets_func.
28936         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
28937         O_TRUNC flag for w and w+ modes.
28938         (do_rewind_test): Likewise.
28939         (do_ftell_test): Likewise.
28940         (do_write_test): Likewise.
28942         [BZ #17647]
28943         * libio/fileops.c (do_ftell): Seek only when there are
28944         unflushed writes.
28945         * libio/wfileops.c (do_ftell_wide): Likewise.
28946         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
28947         test case.
28948         (do_one_test): Call it.
28950 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
28952         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
28953         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
28954         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
28955         Remove variable.
28956         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
28957         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
28958         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
28960 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
28962         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
28963         Remove variable.
28964         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
28966         [BZ #17668]
28967         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
28968         as weak alias of __getifaddrs.  Use libc_hidden_weak.
28969         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
28970         __freeifaddrs.  Use libc_hidden_weak.
28971         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
28972         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
28973         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
28974         __freeifaddrs.  Use libc_hidden_weak.
28975         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
28976         __getifaddrs and define as weak alias of __getifaddrs.  Use
28977         libc_hidden_weak.
28978         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
28979         __freeifaddrs.  Use libc_hidden_weak.
28980         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
28981         Remove variable.
28982         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
28983         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
28985 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
28987         [BZ #17601]
28988         * sysdeps/mips/start.S (__start): Use indirect jump to call
28989         __libc_start_main.
28991 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
28993         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
28995         * nptl/tst-mutex1.c: Include <stdbool.h>.
28996         [!ATTR] (ATTR_NULL): New macro.
28997         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
28998         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
28999         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
29001         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
29002         to char *.
29004         [BZ #17665]
29005         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
29006         Change conditional to [__USE_MISC].
29008         [BZ #17664]
29009         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
29010         fgets_unlocked.
29011         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
29012         __fgets_unlocked.
29013         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
29014         fgets_unlocked.
29015         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
29016         Remove variable.
29017         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
29018         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
29019         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
29020         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
29021         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
29022         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
29023         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
29024         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
29025         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
29027         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
29029 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29031         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29032         Remove strpbrk objects.
29033         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29034         (__libc_ifunc_impl_list): Remove strpbrk implementation.
29035         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
29036         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
29037         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
29038         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
29040         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29041         Remove strcspn objects.
29042         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29043         (__libc_ifunc_impl_list): Remove strcspn implementation.
29044         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
29045         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
29046         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
29047         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
29049         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29050         Remove strspn objetcs.
29051         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29052         (__libc_ifunc_impl_list): Remove strspn implementation.
29053         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
29054         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
29055         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
29056         * sysdeps/powerpc/powerpc64/strspn.S: New file.
29058 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
29060         [BZ #17581]
29061         * malloc/hooks.c
29062         (mem2mem_check): Add a terminator to the chain of checking blocks.
29063         (malloc_check_get_size): Use it here.
29064         (mem2chunk_check): Ditto.
29066 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29068         * sysdeps/powerpc/powerpc64/strtok.S: New file.
29069         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
29071 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
29073         * bits/ioctl-types.h: Indent preprocessor directives correctly.
29075         * nptl/nptl-init.c: Include libc-internal.h.
29076         (__pthread_initialize_minimal_internal): Use ROUND_UP.
29078         * elf/ldconfig.c (search_dir): Expand comment.
29080 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
29082         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
29083         variable.
29084         (linknamespace-symlist-stdlibs-tests): Likewise.
29085         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
29086         instead of $(objpfx)symlist-stdlibs.
29087         (linknamespace-libs-isoc): New variable.
29088         (linknamespace-libs): Use $(linknamespace-libs-isoc).
29089         (linknamespace-libs-ISO): New variable.
29090         (linknamespace-libs-ISO99): Likewise.
29091         (linknamespace-libs-ISO11): Likewise.
29092         (linknamespace-libs-XPG3): Likewise.
29093         (linknamespace-libs-XPG4): Likewise.
29094         (linknamespace-libs-POSIX): Likewise.
29095         (linknamespace-libs-UNIX98): Likewise.
29096         (linknamespace-libs-XOPEN2K): Likewise.
29097         (linknamespace-libs-POSIX2008): Likewise.
29098         (linknamespace-libs-XOPEN2K8): Likewise.
29099         ($(objpfx)symlist-stdlibs): Replace by
29100         $(linknamespace-symlist-stdlibs-tests).  Use
29101         $(linknamespace-libs-$*) as set of libraries.
29102         ($(linknamespace-header-tests)): Update dependencies.  Use
29103         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
29104         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
29105         * conform/linknamespace.pl: Remove comment about considering
29106         definitions of symbols from irrelevant libraries.
29108 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
29110         [BZ #13862]
29111         * elf/dl-tls.c: Include <atomic.h>.
29112         (oom): Remove #ifdef SHARED/#endif.
29113         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
29114         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
29115         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
29116         big enough.
29117         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
29118         * nptl/Makefile (tests): Add tst-stack4.
29119         (modules-names): Add tst-stack4mod.
29120         ($(objpfx)tst-stack4): New.
29121         (tst-stack4mod.sos): Likewise.
29122         ($(objpfx)tst-stack4.out): Likewise.
29123         ($(tst-stack4mod.sos)): Likewise.
29124         (clean): Likewise.
29125         * nptl/tst-stack4.c: New file.
29126         * nptl/tst-stack4mod.c: Likewise.
29128 2014-11-27  J. Brown  <jb999@gmx.de>
29130         * sysdeps/x86/bits/string.h: Add recent CPUs.
29132 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
29134         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
29135         sigblock.
29137         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
29138         feof.
29140         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
29141         variable.
29143 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
29145         * nscd/connections.c: Include libc-internal.h because of macro
29146         usage ignore_value.
29148 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29150         * string/bits/string3.h (__warn_memset_zero_len): Don't
29151         declare for gcc newer than 5.0.
29152         (memset): Don't test for zero-length __LEN for gcc newer than
29153         5.0.
29155 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
29157         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
29158         size_t for %zu format.
29160         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
29161         difference, not %ju.
29163 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
29165         * include/libc-internal.h (ignore_value): New macro.
29166         * nscd/connections.c (restart): Wrap calls to setuid and setgid
29167         with ignore_value.
29169         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
29170         definition.
29172         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
29173         pthread_cleanup_push to void *.
29175         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
29176         Undefine.
29178         [BZ #16619]
29179         [BZ #16740]
29180         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
29181         instead of 1L << 52.
29183         * libio/bug-rewind.c (do_test): Check fwscanf return values.
29184         * libio/bug-rewind2.c (do_test): Likewise.
29186         * debug/test-stpcpy_chk-ifunc.c: Remove file.
29187         * debug/test-strcpy_chk-ifunc.c: Likewise.
29188         * wcsmbs/test-wcschr-ifunc.c: Likewise.
29189         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29190         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29191         * wcsmbs/test-wcslen-ifunc.c: Likewise.
29192         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29193         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29194         * Rules [$(multi-arch) = no] (tests): Do not filter out
29195         $(tests-ifunc).
29196         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
29197         * debug/Makefile (tests-ifunc): Remove variable.
29198         (tests): Do not add $(tests-ifunc).
29199         * wcsmbs/Makefile (tests-ifunc): Remove variable.
29200         (tests): Do not add $(tests-ifunc).
29201         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
29202         [TEST_IFUNC]: Remove conditionals.
29203         * string/test-string.h (TEST_IFUNC): Remove macro.
29204         [TEST_IFUNC]: Remove conditionals.
29206         * string/test-strchr.c [!WIDE] (L): New macro.
29207         [WIDE] (L): Likewise.
29208         (check1): Use CHAR instead of char.  Use L on string and character
29209         constants.
29211 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
29213         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
29214         tests.
29215         * sysdeps/powerpc/bits/atomic.h
29216         (__arch_atomic_exchange_and_add_32_acq): Add definition.
29217         (__arch_atomic_exchange_and_add_32_rel): Likewise.
29218         (atomic_exchange_and_add_acq): Likewise.
29219         (atomic_exchange_and_add_rel): Likewise.
29220         * sysdeps/powerpc/powerpc32/bits/atomic.h
29221         (__arch_atomic_exchange_and_add_64_acq): Add definition.
29222         (__arch_atomic_exchange_and_add_64_rel): Likewise.
29223         * sysdeps/powerpc/powerpc64/bits/atomic.h
29224         (__arch_atomic_exchange_and_add_64_acq): Add definition.
29225         (__arch_atomic_exchange_and_add_64_rel): Likewise.
29227 2014-11-26  Torvald Riegel  <triegel@redhat.com>
29229         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
29230         Change synchronization of __sched_fifo_min_prio and
29231         __sched_fifo_max_prio.
29232         * nptl/pthread_mutexattr_getprioceiling.c
29233         (pthread_mutexattr_getprioceiling): Likewise.
29234         * nptl/pthread_mutexattr_setprioceiling.c
29235         (pthread_mutexattr_setprioceiling): Likewise.
29236         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
29237         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
29238         Likewise.
29240 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
29242         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
29243         void.
29245 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
29247         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
29248         third argument const.
29250 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
29252         fnmatch: work around GCC compiler warning bug with uninit var
29253         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
29254         This works around a bug with x86-64 GCC 4.9.2 and earlier
29255         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
29256         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
29257         used uninitialized in this function [-Wmaybe-uninitialized]".
29259 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
29261         * posix/bug-regex31.c (main): Return RES not 0.
29263 2014-11-25  Anton Blanchard <anton@samba.org>
29265         * sysdeps/powerpc/bits/atomic.h
29266         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
29268 2014-11-24  Sterling Augustine  <saugustine@google.com>
29270         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
29272 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
29274         [BZ #17608]
29275         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
29277 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
29279         [BZ #17633]
29280         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
29281         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
29282         variable.
29283         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
29284         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
29286 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
29288         * string/strncpy.c (strncpy): Improve performance by using memset.
29290 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
29292         * string/strcpy.c (strcpy):
29293         Improve performance by using strlen and memcpy.
29295 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
29297         * string/strcoll_l.c (get_next_seq): __always_inline.
29298         * string/strcoll_l.c (do_compare): __always_inline.
29300 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29302         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
29303         defined.
29304         * include/mqueue.h: Likewise.
29305         * include/stdlib.h: Likewise.
29307         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
29308         (get_null_defines): Adjust.
29309         * sunrpc/Makefile: Adjust comment.
29310         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
29311         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
29312         (CFLAGS-interp.c): Likewise.
29313         (CFLAGS-ldconfig.c): Likewise.
29314         (CPPFLAGS-.os): Likewise.
29315         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29316         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
29317         * extra-modules.mk (extra-modules.mk): Likewise.
29318         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
29319         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
29320         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
29321         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
29322         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
29323         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
29324         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
29325         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
29326         * iconvdata/Makefile (CPPFLAGS): Likewise.
29327         (cpp-srcs-left): Add libof for all iconvdata routines.
29328         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
29329         * include/assert.h: Likewise.
29330         * include/ctype.h: Likewise.
29331         * include/errno.h: Likewise.
29332         * include/libc-symbols.h: Likewise.
29333         * include/math.h: Likewise.
29334         * include/netdb.h: Likewise.
29335         * include/resolv.h: Likewise.
29336         * include/stdio.h: Likewise.
29337         * include/stdlib.h: Likewise.
29338         * include/string.h: Likewise.
29339         * include/sys/stat.h: Likewise.
29340         * include/wctype.h: Likewise.
29341         * intl/l10nflist.c: Likewise.
29342         * libidn/idn-stub.c: Likewise.
29343         * libio/libioP.h: Likewise.
29344         * nptl/libc_multiple_threads.c: Likewise.
29345         * nptl/pthreadP.h: Likewise.
29346         * posix/regex_internal.h: Likewise.
29347         * resolv/res_hconf.c: Likewise.
29348         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
29349         * sysdeps/arm/memmove.S: Likewise.
29350         * sysdeps/arm/sysdep.h: Likewise.
29351         * sysdeps/generic/_itoa.h: Likewise.
29352         * sysdeps/generic/symbol-hacks.h: Likewise.
29353         * sysdeps/gnu/errlist.awk: Likewise.
29354         * sysdeps/gnu/errlist.c: Likewise.
29355         * sysdeps/i386/i586/memcpy.S: Likewise.
29356         * sysdeps/i386/i586/memset.S: Likewise.
29357         * sysdeps/i386/i686/memcpy.S: Likewise.
29358         * sysdeps/i386/i686/memmove.S: Likewise.
29359         * sysdeps/i386/i686/mempcpy.S: Likewise.
29360         * sysdeps/i386/i686/memset.S: Likewise.
29361         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
29362         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29363         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
29364         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
29365         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29366         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29367         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
29368         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29369         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
29370         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29371         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29372         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29373         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29374         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29375         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29376         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29377         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
29378         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
29379         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
29380         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29381         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29382         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29383         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29384         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29385         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29386         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29387         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
29388         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29389         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
29390         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
29391         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29392         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29393         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29394         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29395         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29396         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29397         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29398         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29399         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29400         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29401         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29402         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29403         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29404         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
29405         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29406         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29407         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
29408         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
29409         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29410         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
29411         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29412         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
29413         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
29414         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29415         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
29416         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
29417         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29418         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
29419         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
29420         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29421         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
29422         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29423         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
29424         * sysdeps/nptl/bits/libc-lock.h: Likewise.
29425         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
29426         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
29427         * sysdeps/posix/closedir.c: Likewise.
29428         * sysdeps/posix/opendir.c: Likewise.
29429         * sysdeps/posix/readdir.c: Likewise.
29430         * sysdeps/posix/rewinddir.c: Likewise.
29431         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
29432         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
29433         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
29434         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
29435         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29436         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
29437         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
29438         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
29439         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
29440         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
29441         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
29442         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
29443         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
29444         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
29445         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
29446         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
29447         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
29448         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
29449         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
29450         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
29451         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
29452         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
29453         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
29454         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
29455         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
29456         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
29457         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
29458         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
29459         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
29460         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
29461         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
29462         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
29463         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
29464         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
29465         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
29466         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
29467         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29468         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29469         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
29470         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
29471         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
29472         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
29473         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
29474         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
29475         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
29476         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
29477         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
29478         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
29479         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
29480         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
29481         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
29482         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
29483         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
29484         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
29485         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
29486         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
29487         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
29488         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
29489         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
29490         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
29491         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
29492         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
29493         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
29494         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
29495         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
29496         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
29497         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
29498         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
29499         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
29500         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
29501         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
29502         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
29503         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
29504         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
29505         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
29506         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
29507         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
29508         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
29509         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
29510         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
29511         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
29512         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
29513         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
29514         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
29515         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
29516         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
29517         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
29518         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29519         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29520         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29521         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
29522         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
29523         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
29524         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
29525         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29526         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
29527         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
29528         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29529         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
29530         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
29531         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29532         * sysdeps/unix/alpha/sysdep.S: Likewise.
29533         * sysdeps/unix/alpha/sysdep.h: Likewise.
29534         * sysdeps/unix/make-syscalls.sh: Likewise.
29535         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
29536         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
29537         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
29538         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
29539         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
29540         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
29541         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
29542         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
29543         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
29544         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
29545         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
29546         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
29547         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29548         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
29549         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
29550         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
29551         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29552         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
29553         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
29554         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
29555         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
29556         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
29557         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
29558         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
29559         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
29560         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
29561         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
29562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
29563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
29564         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
29565         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
29566         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
29567         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
29568         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29569         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
29570         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
29571         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
29572         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29573         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
29574         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
29575         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
29576         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
29577         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29578         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
29579         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
29580         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
29581         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29582         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29583         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
29584         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29585         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
29586         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
29587         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
29588         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
29589         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
29590         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
29591         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
29592         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29593         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
29594         * sysdeps/x86_64/memcpy.S: Likewise.
29595         * sysdeps/x86_64/memmove.c: Likewise.
29596         * sysdeps/x86_64/memset.S: Likewise.
29597         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
29598         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
29599         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
29600         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
29601         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
29602         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29603         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29604         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29605         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29606         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29607         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29608         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29609         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
29610         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29611         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29612         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
29613         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
29614         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29615         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
29616         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29617         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
29618         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29619         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29620         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
29621         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29622         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29623         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29624         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
29625         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
29626         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29627         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
29628         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29629         * sysdeps/x86_64/strcmp.S: Likewise.
29631         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
29633         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
29634         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
29635         * elf/rtld-Rules: Likewise.
29636         * elf/setup-vdso.h: Likewise.
29637         * include/assert.h: Likewise.
29638         * include/bits/stdlib-float.h: Likewise.
29639         * include/errno.h: Likewise.
29640         * include/sys/stat.h: Likewise.
29641         * include/unistd.h: Likewise.
29642         * sysdeps/aarch64/setjmp.S: Likewise.
29643         * sysdeps/alpha/setjmp.S: Likewise.
29644         * sysdeps/arm/__longjmp.S: Likewise.
29645         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
29646         * sysdeps/arm/setjmp.S: Likewise.
29647         * sysdeps/arm/sysdep.h: Likewise.
29648         * sysdeps/generic/_itoa.h: Likewise.
29649         * sysdeps/generic/dl-sysdep.h: Likewise.
29650         * sysdeps/generic/ldsodefs.h: Likewise.
29651         * sysdeps/i386/dl-tls.h: Likewise.
29652         * sysdeps/i386/setjmp.S: Likewise.
29653         * sysdeps/m68k/setjmp.c: Likewise.
29654         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
29655         * sysdeps/mach/hurd/opendir.c: Likewise.
29656         * sysdeps/posix/getcwd.c: Likewise.
29657         * sysdeps/posix/opendir.c: Likewise.
29658         * sysdeps/posix/profil.c: Likewise.
29659         * sysdeps/powerpc/dl-procinfo.h: Likewise.
29660         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29661         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
29662         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
29663         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
29664         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
29665         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
29666         * sysdeps/s390/dl-tls.h: Likewise.
29667         * sysdeps/s390/s390-32/setjmp.S: Likewise.
29668         * sysdeps/s390/s390-64/setjmp.S: Likewise.
29669         * sysdeps/sh/sh3/setjmp.S: Likewise.
29670         * sysdeps/sh/sh4/setjmp.S: Likewise.
29671         * sysdeps/unix/alpha/sysdep.h: Likewise.
29672         * sysdeps/unix/arm/sysdep.S: Likewise.
29673         * sysdeps/unix/i386/sysdep.S: Likewise.
29674         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
29675         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
29676         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
29677         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
29678         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29679         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
29680         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
29681         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29682         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
29683         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
29684         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
29685         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
29686         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
29687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29689         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
29690         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29691         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29692         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
29693         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29694         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
29695         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29696         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29697         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
29698         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
29699         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
29700         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29701         * sysdeps/unix/x86_64/sysdep.S: Likewise.
29702         * sysdeps/x86_64/setjmp.S: Likewise.
29704         * include/math.h: Use IS_IN instead of IS_IN_libm.
29705         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
29706         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29707         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
29708         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
29709         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29710         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
29711         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
29712         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29713         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29714         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
29715         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
29716         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
29717         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
29718         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
29719         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
29720         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
29721         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
29722         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
29723         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
29724         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
29725         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
29726         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
29727         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
29728         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
29729         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
29730         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
29731         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
29732         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
29733         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
29734         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
29735         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
29736         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
29737         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
29738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
29739         Likewise.
29740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
29741         Likewise.
29742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
29743         Likewise.
29744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
29745         Likewise.
29746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
29747         Likewise.
29748         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
29749         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
29750         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
29751         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29752         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29753         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29754         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
29755         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
29756         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
29757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
29758         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
29759         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
29760         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
29761         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
29762         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
29763         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
29764         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
29765         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
29766         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
29767         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
29768         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
29769         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
29770         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
29771         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
29772         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
29773         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
29774         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
29776         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
29777         * nptl/pthreadP.h: Likewise.
29778         * nptl_db/structs.def: Likewise.
29779         * sysdeps/arm/sysdep.h: Likewise.
29780         * sysdeps/nptl/bits/libc-lock.h: Likewise.
29781         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
29782         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
29783         * sysdeps/unix/alpha/sysdep.h: Likewise.
29784         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
29785         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
29786         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
29787         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
29788         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
29789         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
29790         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29791         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
29792         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29793         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
29794         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
29795         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
29796         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
29797         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
29798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
29799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
29800         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
29801         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
29802         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
29803         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
29804         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
29805         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
29806         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
29807         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
29808         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
29809         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
29811         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
29812         * nptl/pthreadP.h: Likewise.
29813         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
29814         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
29815         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
29816         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
29817         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
29818         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
29819         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29820         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
29821         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
29822         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
29823         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
29824         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
29825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
29826         Likewise.
29827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
29828         Likewise.
29829         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
29830         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
29831         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
29832         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
29833         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
29834         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
29835         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
29836         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
29838         * dlfcn/dladdr.c: Use IS_IN.
29839         * dlfcn/dladdr1.c: Likewise.
29840         * dlfcn/dlclose.c: Likewise.
29841         * dlfcn/dlerror.c: Likewise.
29842         * dlfcn/dlinfo.c: Likewise.
29843         * dlfcn/dlmopen.c: Likewise.
29844         * dlfcn/dlopen.c: Likewise.
29845         * dlfcn/dlsym.c: Likewise.
29846         * dlfcn/dlvsym.c: Likewise.
29848         * include/ifaddrs.h: Use IS_IN.
29849         * inet/check_pf.c: Likewise.
29850         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
29851         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
29853         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
29854         IS_IN_ldconfig.
29855         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
29856         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
29858         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
29859         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
29860         IS_IN (libc).
29862         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
29864         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
29865         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29866         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
29867         * include/libc-symbols.h (IS_IN_LIB): New macro.
29868         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
29869         * include/netdb.h: Likewise.
29870         * include/stap-probe.h: Remove all uses of IN_LIB.
29872         * Makeconfig (module-cppflags-real): Define MODULE_NAME
29873         instead of IN_MODULE.
29874         * include/libc-symbols.h (IN_MODULE): Define using
29875         MODULE_NAME.
29876         (PASTE_NAME, PASTE_NAME1): New macros.
29877         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
29878         of IN_LIB.
29879         (STAP_PROBE_ASM): Likewise.
29881 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29883         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
29884         __mach_init in dlopened libc.
29886 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
29888         * sysdeps/arm/preconfigure.ac: Delete EABI check.
29889         * sysdeps/arm/preconfigure: Regenerate.
29891 2014-11-21  Roland McGrath  <roland@hack.frob.com>
29893         * nptl/pthread_create.c (__pthread_create_2_1): Set
29894         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
29895         when copying values from IATTR into PD.
29897 2014-11-21  Will Newton  <will.newton@linaro.org>
29898             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
29900         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
29901         Refactor inline-asm.  Also add comment.
29903         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
29904         ElfW macro instead of hardcoded Elf64 types.
29905         (la_aarch64_gnu_pltenter): Likewise.
29906         * sysdeps/aarch64/dl-machine.h
29907         (elf_machine_runtime_setup): Use ElfW(Addr).
29909         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
29910         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
29911         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
29912         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
29913         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
29914         (R_AARCH64_TLS_DTPMOD64): Rename to ..
29915         (R_AARCH64_TLS_DTPMOD): This.
29916         (R_AARCH64_TLS_DTPREL64): Rename to ...
29917         (R_AARCH64_TLS_DTPREL): This.
29918         (R_AARCH64_TLS_TPREL64): Rename to ...
29919         (R_AARCH64_TLS_TPREL): This.
29920         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
29921         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
29922         R_AARCH64_TLS_TPREL64.
29923         (elf_machine_rela): Likewise.
29925 2014-11-21  Torvald Riegel  <triegel@redhat.com>
29927         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
29928         by setting it to 0.  64b atomics are not supported currently.
29930 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29932         [BZ #16469]
29933         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
29934         search domain names.
29936 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29938         [BZ #16469]
29939         * NEWS: Update.
29940         * resolv/res_query.c (__libc_res_nquerydomain): Retain
29941         trailing dot.
29942         * posix/tst-getaddrinfo5.c: New.
29943         * posix/Makefile (tests): Add it.
29945 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29947         [BZ #14498]
29948         * NEWS: Fixed.
29949         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
29950         after parsing line but before break_if_match.
29951         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
29952         if there is a protocol mismatch.
29954 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
29956         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
29957         because the potential race is on the user-supplied stream.
29959 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29961         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
29962         string literal if not passed a buffer.
29963         * manual/job.texi (ctermid): Update reasoning, note deviation
29964         from posix, suggest mtasurace when not passed a buffer, for
29965         future non-preliminary safety notes.
29967 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29969         * manual/users.texi (cuserid): Fix MT-Safety note for the case
29970         of not passing it a buffer.
29971         Reported by Peng Haitao.
29973 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29975         * manual/Makefile ($(objpfx)stamp-summary): Require
29976         check-safety.sh to pass.
29977         * manual/check-safety.sh: Wish for verification that every
29978         @deftypefn and @deftypefun is followed by a @safety remark.
29980 2014-11-20  Roland McGrath  <roland@hack.frob.com>
29982         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
29984         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
29985         PTHREAD_CANCEL_ASYNCHRONOUS.
29986         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
29987         send SIGCANCEL.
29989         * nptl/default-sched.h: New file.
29990         * sysdeps/unix/sysv/linux/default-sched.h: New file.
29991         * nptl/pthread_create.c: Include it.
29992         (__pthread_create_2_1): Use collect_default_sched instead of making
29993         Linux syscalls here directly.
29995 2014-11-20  Torvald Riegel  <triegel@redhat.com>
29997         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
29998         __pthread_once): Use C11 atomics.
30000 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30002         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
30004 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30006         * include/atomic.h (__atomic_link_error, __atomic_check_size,
30007         atomic_thread_fence_acquire, atomic_thread_fence_release,
30008         atomic_thread_fence_seq_cst, atomic_load_relaxed,
30009         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
30010         atomic_compare_exchange_weak_relaxed,
30011         atomic_compare_exchange_weak_acquire,
30012         atomic_compare_exchange_weak_release,
30013         atomic_exchange_acquire, atomic_exchange_release,
30014         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
30015         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
30016         atomic_fetch_and_acquire,
30017         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
30019 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30021         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
30022         USE_ATOMIC_COMPILER_BUILTINS): Define.
30023         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
30024         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30025         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
30026         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30027         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
30028         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30029         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
30030         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30031         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
30032         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30033         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
30034         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30035         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
30036         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30037         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
30038         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30039         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
30040         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30041         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
30042         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30043         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
30044         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30045         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
30046         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30047         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
30048         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30049         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
30050         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30051         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
30052         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30053         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
30054         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30055         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
30056         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30057         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
30058         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30059         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
30060         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30061         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
30062         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30064 2014-11-19  Roland McGrath  <roland@hack.frob.com>
30066         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
30067         the sched_priority value here.  It was already checked when the user
30068         called pthread_attr_setschedparam.
30070         * nptl/tst-bad-schedattr.c: New file.
30071         * nptl/Makefile (tests): Add it.
30073 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
30074             Florian Weimer  <fweimer@redhat.com>
30075             Joseph Myers  <joseph@codesourcery.com>
30076             Adam Conrad  <adconrad@0c3.net>
30077             Andreas Schwab  <schwab@suse.de>
30078             Brooks  <bmoses@google.com>
30080         [BZ #17625]
30081         * wordexp-test.c (__dso_handle): Add prototype.
30082         (__register_atfork): Likewise.
30083         (__app_register_atfork): New function.
30084         (registered_forks): New global.
30085         (register_fork): New function.
30086         (test_case): Add 3 new tests for WRDE_CMDSUB.
30087         (main): Call __app_register_atfork.
30088         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
30089         fork count is non-zero fail the test.
30090         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
30091         is set.
30092         (parse_dollars): Remove check for WRDE_NOCMD.
30093         (parse_dquote): Likewise.
30095 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30097         * Makeconfig (built-modules): List non-library modules to be
30098         built.
30099         (module-cppflags): Include libc-modules.h for
30100         everything except shlib-versions.v.i.
30101         (CPPFLAGS): Use it.
30102         (before-compile): Add libc-modules.h.
30103         ($(common-objpfx)libc-modules.h,
30104         $(common-objpfx)libc-modules.stmp): New targets.
30105         (common-generated): Add libc-modules.h and libc-modules.stmp.
30106         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
30107         * include/libc-symbols.h: Don't include libc-modules.h.
30108         * include/libc-modules.h: Remove file.
30109         * scripts/gen-libc-modules.awk: New script to generate
30110         libc-modules.h.
30111         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
30112         Depend on libc-modules.stmp.
30114         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
30116         * Makeconfig (in-module): Get value of libof set for the
30117         translation unit.
30118         (CPPFLAGS): Use $(in-module).
30119         * Makerules: Don't suffix routine names for nonlib.
30120         * include/libc-modules.h: New file.
30121         * include/libc-symbols.h: Include libc-modules.h
30122         (IS_IN): New macro to replace IS_IN_* macros.
30123         * elf/Makefile: Set libof-* for each routine.
30124         * elf/rtld-Rules: Likewise.
30125         * extra-modules.mk: Likewise.
30126         * iconv/Makefile: Likewise.
30127         * iconvdata/Makefile: Likewise.
30128         * locale/Makefile: Likewise.
30129         * malloc/Makefile: Likewise.
30130         * nss/Makefile: Likewise.
30131         * sysdeps/gnu/Makefile: Likewise.
30132         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
30133         * sysdeps/unix/sysv/linux/Makefile: Likewise.
30134         * sysdeps/s390/s390-64/Makefile: Likewise.
30135         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
30136         CPPFLAGS for nscd instead of nonlib.
30138 2014-11-18  Roland McGrath  <roland@hack.frob.com>
30140         * nptl/createthread.c: New file.
30142         * nptl/createthread.c: Moved ...
30143         * sysdeps/unix/sysv/linux/createthread.c: ... here.
30145         * nptl/createthread.c: Add proper top-line comment.
30146         (do_clone): Folded into ...
30147         (create_thread): ... here.  Take new arguments STOPPED_START and
30148         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
30149         increment __nptl_threads, do event-reporting logic, do
30150         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
30151         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
30152         resource cleanup if sched_setaffinity or sched_setscheduler fails,
30153         just send SIGCANCEL.
30154         * nptl/pthread_create.c: Forward-declare create_thread before
30155         including createthread.c.
30156         (start_thread): Use new macro START_THREAD_DEFN to replace defining
30157         declaration, and new macro START_THREAD_SELF to replace argument.
30158         Remove return statement.
30159         (report_thread_creation): New function.
30160         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
30161         synchronization logic, and __nptl_nthreads increment here, around
30162         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
30163         PD->parent_cancelhandling here, before create_thread.  When
30164         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
30165         __deallocate_stack, and ENOMEM translation here.
30167 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
30169         [BZ #17616]
30170         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
30171         (mptwo): Rename to __mptwo.
30172         (__inv): Use __mptwo instead of mptwo.
30173         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
30174         (mptwo): Rename to __mptwo.
30175         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
30176         of mpone and __mptwo instead of mptwo.
30177         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
30178         instead of mpone.
30179         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30180         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
30181         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
30182         of mpone and __mptwo instead of mptwo.
30183         (__mpranred): Use __mpone instead of mpone.
30184         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
30185         variable.
30186         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
30187         (test-xfail-ISO99/math.h/linknamespace): Likewise.
30188         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
30189         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
30190         (test-xfail-ISO11/math.h/linknamespace): Likewise.
30191         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
30192         (test-xfail-XPG3/math.h/linknamespace): Likewise.
30193         (test-xfail-XPG4/math.h/linknamespace): Likewise.
30194         (test-xfail-POSIX/math.h/linknamespace): Likewise.
30195         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
30196         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
30197         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
30198         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
30199         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
30200         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
30201         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
30202         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
30203         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
30204         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
30206 2014-11-18  Tom de Vries  <tom@codesoucery.com>
30208         * manual/signal.texi (Primitives Interrupted by Signals): In section,
30209         replace BSD Handler xref with BSD Signal Handling.
30211 2014-11-17  Richard Henderson  <rth@redhat.com>
30213         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
30214         (_FP_PACK_RAW_2): Remove.
30215         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
30216         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
30217         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
30218         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
30219         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
30220         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
30221         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
30222         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
30223         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
30224         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
30225         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
30226         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
30227         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
30228         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
30229         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
30230         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
30232 2014-11-14  Roland McGrath  <roland@hack.frob.com>
30234         * signal/signal.h [__USE_MISC]
30235         (struct sigvec): Remove type.
30236         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
30237         (sigvec): Remove declaration.
30238         * sysdeps/posix/sigvec.c: Moved ...
30239         * signal/sigvec.c: ... here, replacing old file.
30240         (struct sigvec): New type, copied from old signal.h definition.
30241         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
30242         (__sigvec): Convert definition to prototype.
30243         (sigvec): Replace weak_alias with compat_symbol.
30244         * signal/Versions (libc: GLIBC_2.21): New version set.
30245         * include/signal.h: Remove __sigvec declaration.
30246         * sysdeps/unix/bsd/sigvec.c: Remove file.
30247         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
30248         * manual/signal.texi (BSD Handler): Remove subsection.
30249         Move siginterrupt up to ...
30250         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
30251         (Blocking in BSD): Fold subsection into its parent.
30252         * NEWS: Mention sigvec removal.
30254 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
30256         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
30257         (DLA_FMS): Make definition conditional only on [__FMA4__].
30258         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
30259         definition.
30261         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
30262         Make definition conditional only on [PROF].
30263         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
30264         definition.
30265         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
30266         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
30268         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
30269         !__GNUC__].
30270         * include/signal.h (__sigpause): Move declaration above call to
30271         libc_hidden_proto.
30272         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
30273         variable.
30274         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
30275         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
30277 2014-11-14  David S. Miller  <davem@davemloft.net>
30279         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
30280         Define before including <string/memcpy.c> and <string/mempcpy.c>.
30282 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
30284         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
30285         * configure: Regenerated.
30286         * manual/install.texi (Tools for Compilation): Document a
30287         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
30288         compiler verified to work.
30289         * INSTALL: Regenerated.
30291         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
30292         redeclare with asm name.
30293         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
30294         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
30295         including <string.h>.
30296         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
30297         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
30298         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
30299         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
30300         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
30301         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
30302         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
30304 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
30306         * stdlib/strtol.c (__strtol): Use prototype definition.
30308         [BZ #17594]
30309         * stdlib/strtol.c (SYM__): New macro.
30310         (SYM__1): Likewise.
30311         (__strtol): Likewise.
30312         (strtol): Rename to __strtol and define as weak alias of
30313         __strtol.  Use libc_hidden_weak.
30315 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30317         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
30318         Use numbered labels in inline assembly.
30320 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30322         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
30323         Add setjmp LIBC_PROBE.
30324         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
30325         Likewise.
30326         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
30327         Add longjmp, longjmp_target LIBC_PROBE.
30328         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
30329         Likewise.
30331 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30333         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
30334         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
30335         to get rid of unused variable warning.
30337 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30339         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
30340         Check for unwind_backtrace ==  NULL only in SHARED case.
30341         (__backchain_backtrace): Compile only in SHARED case.
30342         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
30343         Likewise.
30344         (__backchain_backtrace): Declare as static.
30346 2014-11-12  Roland McGrath  <roland@hack.frob.com>
30348         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
30349         (__libc_multiple_threads_ptr): Variable moved ...
30350         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
30352 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
30354         * conform/GlibcConform.pm: New file.
30355         * conform/conformtest.pl: Use GlibcConform module.
30356         * conform/linknamespace.pl: New file.
30357         * conform/list-header-symbols.pl: Likewise.
30358         * conform/Makefile (linknamespace-symlists-base): New variable.
30359         (linknamespace-symlists-tests): Likewise.
30360         (linknamespace-header-base): Likewise.
30361         (linknamespace-header-tests): Likewise.
30362         (tests-special): Add new tests.
30363         ($(linknamespace-symlists-tests)): New rule.
30364         (linknamespace-libs): New variable.
30365         ($(objpfx)symlist-stdlibs): New rule.
30366         ($(linknamespace-header-tests)): Likewise.
30367         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
30368         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
30369         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
30370         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
30371         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
30372         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
30373         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
30374         (test-xfail-ISO/math.h/linknamespace): Likewise.
30375         (test-xfail-ISO/signal.h/linknamespace): Likewise.
30376         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
30377         (test-xfail-ISO/time.h/linknamespace): Likewise.
30378         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
30379         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
30380         (test-xfail-ISO99/math.h/linknamespace): Likewise.
30381         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
30382         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
30383         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
30384         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
30385         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
30386         (test-xfail-ISO11/math.h/linknamespace): Likewise.
30387         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
30388         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
30389         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
30390         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
30391         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
30392         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
30393         (test-xfail-XPG3/math.h/linknamespace): Likewise.
30394         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
30395         (test-xfail-XPG3/search.h/linknamespace): Likewise.
30396         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
30397         (test-xfail-XPG3/time.h/linknamespace): Likewise.
30398         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
30399         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
30400         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
30401         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
30402         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
30403         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
30404         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
30405         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
30406         (test-xfail-XPG4/math.h/linknamespace): Likewise.
30407         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
30408         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
30409         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
30410         (test-xfail-XPG4/search.h/linknamespace): Likewise.
30411         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
30412         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
30413         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
30414         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
30415         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
30416         (test-xfail-XPG4/time.h/linknamespace): Likewise.
30417         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
30418         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
30419         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
30420         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
30421         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
30422         (test-xfail-POSIX/math.h/linknamespace): Likewise.
30423         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
30424         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
30425         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
30426         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
30427         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
30428         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
30429         (test-xfail-POSIX/time.h/linknamespace): Likewise.
30430         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
30431         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
30432         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
30433         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
30434         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
30435         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
30436         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
30437         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
30438         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
30439         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
30440         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
30441         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
30442         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
30443         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
30444         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
30445         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
30446         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
30447         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
30448         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
30449         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
30450         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
30451         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
30452         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
30453         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
30454         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
30455         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
30456         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
30457         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
30458         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
30459         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
30460         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
30461         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
30462         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
30463         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
30464         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
30465         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
30466         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
30467         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
30468         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
30469         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
30470         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
30471         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
30472         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
30473         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
30474         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
30475         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
30476         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
30477         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
30478         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
30479         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
30480         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
30481         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
30482         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
30483         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
30484         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
30485         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
30486         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
30487         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
30488         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
30489         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
30490         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
30491         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
30492         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
30493         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
30494         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
30495         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
30496         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
30497         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
30498         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
30499         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
30500         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
30501         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
30502         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
30503         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
30504         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
30505         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
30506         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
30507         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
30508         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
30509         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
30510         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
30511         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
30512         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
30513         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
30514         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
30515         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
30516         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
30517         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
30518         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
30519         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
30520         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
30521         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
30522         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
30523         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
30524         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
30525         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
30526         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
30527         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
30529         [BZ #17589]
30530         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
30531         of fgets_unlocked.
30533         [BZ #17585]
30534         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
30535         (memmem): Rename to __memmem and define as weak alias of
30536         __memmem.  Use libc_hidden_weak.
30537         (__memmem): Use libc_hidden_def.
30538         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
30539         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
30540         memmem.
30542         [BZ #17582]
30543         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
30544         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
30545         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
30546         and define as weak alias of __fgets_unlocked.  Use
30547         libc_hidden_weak.
30548         (__fgets_unlocked): Use libc_hidden_def.
30549         * include/stdio.h (__fgets_unlocked): Declare.  Use
30550         libc_hidden_proto.
30551         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
30552         __fgets_unlocked instead of fgets_unlocked.
30553         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
30554         (GET_NPROCS_CONF_PARSER): Likewise.
30555         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
30556         (GET_NPROCS_CONF_PARSER): Likewise.
30558         [BZ #17574]
30559         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
30560         weak alias of __wmemset.  Use libc_hidden_weak.
30561         (__wmemset): Use libc_hidden_def.
30562         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
30563         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
30564         of wmemset.
30566         [BZ #17573]
30567         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
30568         with asm name __mempcpy.
30569         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
30571         [BZ #17572]
30572         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
30573         and define as weak alias of __rawmemchr.
30574         (__rawmemchr): Do not define as strong alias of rawmemchr.
30576         [BZ #17571]
30577         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
30578         alias of __qsort_r.
30579         (qsort): Call __qsort_r instead of qsort_r.
30580         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
30581         (__qsort_r): Declare.  Call libc_hidden_proto.
30582         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
30583         instead of qsort_r.
30584         * nscd/gai.c (__qsort_r): Define to qsort_r.
30585         * posix/tst-rfc3484.c (__qsort_r): Likewise.
30586         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
30587         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
30589         [BZ #17570]
30590         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
30591         define as weak alias of __malloc_info.
30593         [BZ #17584]
30594         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
30595         as weak alias of __rewinddir.  Don't use libc_hidden_def.
30596         (__rewinddir): Use libc_hidden_def.
30597         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
30598         as weak alias of __rewinddir.  Don't use libc_hidden_def.
30599         (__rewinddir): Use libc_hidden_def.
30600         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
30601         weak alias of __rewinddir.  Don't use libc_hidden_def.
30602         (__rewinddir): Use libc_hidden_def.
30603         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
30604         (__rewinddir): Use libc_hidden_proto.
30605         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
30606         rewinddir.
30607         (__getcwd): Use __rewinddir instead of rewinddir.
30609         [BZ #17583]
30610         * libio/fileno.c (fileno): Rename to __fileno and define as weak
30611         alias of __fileno.  Use libc_hidden_weak.
30612         (__fileno): Use libc_hidden_def.
30613         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
30614         * libio/ftello.c (ftello): Rename to __ftello and define as weak
30615         alias of __ftello.
30616         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
30617         __ftello.
30618         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
30619         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
30620         libc_hidden_def.
30621         (fread_unlocked): Don't use libc_hidden_ver.
30622         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
30623         and define as weak alias of __fread_unlocked.  Don't use
30624         libc_hidden_def.
30625         (__fread_unlocked): Use libc_hidden_def.
30626         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
30627         (ftello): Don't use libc_hidden_proto.
30628         (__ftello): Declare.  Use libc_hidden_proto.
30629         (fread_unlocked): Don't use libc_hidden_proto.
30630         (__fread_unlocked): Declare.  Use libc_hidden_proto.
30631         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
30632         and __ftello instead of fileno, fread_unlocked and ftello.
30634 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30636         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
30637         GOT12.
30638         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
30639         Likewise.
30640         (_dl_start_user): Likewise.
30641         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
30643 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
30644             Siddhesh Poyarekar  <siddhesh@redhat.com>
30646         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
30647         Move argv and envp down instead of moving argc up.
30648         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
30650 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
30652         [BZ #17506]
30653         * test-skeleton.c (main): Return successful if one of
30654         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
30655         * string/tst-strcoll-overflow.c: Define expected status.
30657 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
30659         [BZ #17475]
30660         * locale/iso-639.def: Define Bhili and Tulu language codes.
30662 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
30664         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
30666 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
30668         [BZ #17555]
30669         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
30671 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
30673         * configure.ac: Updated check of minimal required version to
30674         2.22.
30675         * manual/install.texi (Tools for Compilation): Updated version
30676         number.
30677         * configure: Regenerated.
30678         * INSTALL: Likewise.
30680 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
30682         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
30683         __tls_get_addr.
30685 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
30687         * include/sys/wait.h (__libc_waitpid): Remove declaration.
30688         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
30689         (__waitpid): Don't define as alias.  Use libc_hidden_def not
30690         libc_hidden_weak.
30691         (waitpid): Define as alias of __waitpid.
30692         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
30693         __waitpid.
30694         (__waitpid): Don't define as alias.  Use libc_hidden_def not
30695         libc_hidden_weak.
30696         (waitpid): Define as alias of __waitpid.
30697         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
30698         __libc_waitpid alias.
30699         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
30700         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
30701         Likewise.
30702         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
30703         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
30704         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
30705         alias.
30706         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
30707         __waitpid.
30708         (__waitpid): Don't define as alias.  Use libc_hidden_def not
30709         libc_hidden_weak.
30710         (waitpid): Define as alias of __waitpid.
30712 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
30714         * manual/llio.texi: Add comment that write safety has been
30715         fixed in Linux.
30717         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
30718         (localplt-build-dso): Add elf/ld.so.
30719         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
30720         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
30721         and free for ld.so.
30722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
30723         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
30724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
30725         Likewise.
30726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
30727         Likewise.
30728         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
30729         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
30730         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
30731         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
30732         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
30733         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
30734         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
30735         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
30736         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
30737         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
30738         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
30740 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
30742         [BZ #14132]
30743         * include/libc-symbols.h (INTUSE): Remove macro.
30744         (INTDEF): Likewise.
30745         (INTVARDEF): Likewise.
30746         (_INTVARDEF): Likewise.
30747         (INTDEF2): Likewise.
30748         (INTVARDEF2): Likewise.
30749         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
30750         rtld_hidden_def instead of INTVARDEF.
30751         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
30752         (_dl_starting_up_internal): Remove declaration.
30753         (_dl_starting_up): Use rtld_hidden_proto.
30754         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
30755         declaration.
30756         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
30757         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
30758         _dl_starting_up.
30759         * elf/dl-writev.h (_dl_writev): Likewise.
30760         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
30761         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
30762         _dl_starting_up_internal.
30764 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30766         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
30767         test-skeleton.c.
30769 2014-11-05  Will Newton  <will.newton@linaro.org>
30771         * benchtests/Makefile: (bench-malloc): Add malloc thread
30772         scalability benchmark.
30773         * benchtests/bench-malloc-threads.c: New file.
30775 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
30777         * sysdeps/aarch64/strchrnul.S: New file.
30779 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30781         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
30782         definition.
30783         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
30784         Likwise.
30785         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
30786         Likewise.
30787         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
30788         Likewise.
30789         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
30790         Likewise.
30791         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
30792         Likewise.
30794 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
30796         * catgets/test-gencat.c: Use test-skeleton.c.
30797         * catgets/tst-catgets.c: Likewise.
30798         * csu/tst-empty.c: Likewise.
30799         * elf/tst-audit2.c: Likewise.
30800         * elf/tst-global1.c: Likewise.
30801         * elf/tst-pathopt.c: Likewise.
30802         * elf/tst-piemod1.c: Likewise.
30803         * elf/tst-tls10.c: Likewise.
30804         * elf/tst-tls11.c: Likewise.
30805         * elf/tst-tls12.c: Likewise.
30806         * gnulib/tst-gcc.c: Likewise.
30807         * iconvdata/tst-e2big.c: Likewise.
30808         * iconvdata/tst-loading.c: Likewise.
30809         * iconv/tst-iconv1.c: Likewise.
30810         * iconv/tst-iconv2.c: Likewise.
30811         * inet/test-inet6_opt.c: Likewise.
30812         * inet/tst-gethnm.c: Likewise.
30813         * inet/tst-network.c: Likewise.
30814         * inet/tst-ntoa.c: Likewise.
30815         * intl/tst-codeset.c: Likewise.
30816         * intl/tst-gettext2.c: Likewise.
30817         * intl/tst-gettext3.c: Likewise.
30818         * intl/tst-ngettext.c: Likewise.
30819         * intl/tst-translit.c: Likewise.
30820         * io/test-stat.c: Likewise.
30821         * libio/test-fmemopen.c: Likewise.
30822         * libio/tst-freopen.c: Likewise.
30823         * libio/tst-sscanf.c: Likewise.
30824         * libio/tst-ungetwc1.c: Likewise.
30825         * libio/tst-ungetwc2.c: Likewise.
30826         * libio/tst-widetext.c: Likewise.
30827         * localedata/tst-ctype.c: Likewise.
30828         * localedata/tst-digits.c: Likewise.
30829         * localedata/tst-leaks.c: Likewise.
30830         * localedata/tst-mbswcs1.c: Likewise.
30831         * localedata/tst-mbswcs2.c: Likewise.
30832         * localedata/tst-mbswcs3.c: Likewise.
30833         * localedata/tst-mbswcs4.c: Likewise.
30834         * localedata/tst-mbswcs5.c: Likewise.
30835         * localedata/tst-setlocale.c: Likewise.
30836         * localedata/tst-trans.c: Likewise.
30837         * localedata/tst-wctype.c: Likewise.
30838         * localedata/tst-xlocale1.c: Likewise.
30839         * login/tst-grantpt.c: Likewise.
30840         * malloc/tst-calloc.c: Likewise.
30841         * malloc/tst-malloc.c: Likewise.
30842         * malloc/tst-mallocstate.c: Likewise.
30843         * malloc/tst-mcheck.c: Likewise.
30844         * malloc/tst-mtrace.c: Likewise.
30845         * malloc/tst-obstack.c: Likewise.
30846         * math/atest-exp2.c: Likewise.
30847         * math/atest-exp.c: Likewise.
30848         * math/atest-sincos.c: Likewise.
30849         * math/test-matherr.c: Likewise.
30850         * math/test-misc.c: Likewise.
30851         * math/test-powl.c: Likewise.
30852         * math/tst-definitions.c: Likewise.
30853         * misc/tst-dirname.c: Likewise.
30854         * misc/tst-efgcvt.c: Likewise.
30855         * misc/tst-fdset.c: Likewise.
30856         * misc/tst-hsearch.c: Likewise.
30857         * misc/tst-mntent2.c: Likewise.
30858         * nptl/tst-sem7.c: Likewise.
30859         * nptl/tst-sem8.c: Likewise.
30860         * nptl/tst-sem9.c: Likewise.
30861         * nss/test-netdb.c: Likewise.
30862         * posix/tst-fnmatch.c: Likewise.
30863         * posix/tst-getlogin.c: Likewise.
30864         * posix/tst-gnuglob.c: Likewise.
30865         * posix/tst-mmap.c: Likewise.
30866         * pwd/tst-getpw.c: Likewise.
30867         * resolv/tst-inet_ntop.c: Likewise.
30868         * rt/tst-timer.c: Likewise.
30869         * stdio-common/test-fseek.c: Likewise.
30870         * stdio-common/test-popen.c: Likewise.
30871         * stdio-common/test-vfprintf.c: Likewise.
30872         * stdio-common/tst-cookie.c: Likewise.
30873         * stdio-common/tst-fileno.c: Likewise.
30874         * stdio-common/tst-gets.c: Likewise.
30875         * stdio-common/tst-obprintf.c: Likewise.
30876         * stdio-common/tst-perror.c: Likewise.
30877         * stdio-common/tst-sprintf2.c: Likewise.
30878         * stdio-common/tst-sprintf3.c: Likewise.
30879         * stdio-common/tst-sprintf.c: Likewise.
30880         * stdio-common/tst-swprintf.c: Likewise.
30881         * stdio-common/tst-tmpnam.c: Likewise.
30882         * stdio-common/tst-unbputc.c: Likewise.
30883         * stdio-common/tst-wc-printf.c: Likewise.
30884         * stdlib/tst-environ.c: Likewise.
30885         * stdlib/tst-fmtmsg.c: Likewise.
30886         * stdlib/tst-limits.c: Likewise.
30887         * stdlib/tst-rand48-2.c: Likewise.
30888         * stdlib/tst-rand48.c: Likewise.
30889         * stdlib/tst-random2.c: Likewise.
30890         * stdlib/tst-random.c: Likewise.
30891         * stdlib/tst-strtol.c: Likewise.
30892         * stdlib/tst-strtoll.c: Likewise.
30893         * stdlib/tst-tls-atexit.c: Likewise.
30894         * stdlib/tst-xpg-basename.c: Likewise.
30895         * string/test-ffs.c: Likewise.
30896         * string/tst-bswap.c: Likewise.
30897         * string/tst-inlcall.c: Likewise.
30898         * string/tst-strtok.c: Likewise.
30899         * string/tst-strxfrm.c: Likewise.
30900         * sysdeps/x86_64/tst-audit10.c: Likewise.
30901         * sysdeps/x86_64/tst-audit3.c: Likewise.
30902         * sysdeps/x86_64/tst-audit4.c: Likewise.
30903         * sysdeps/x86_64/tst-audit5.c: Likewise.
30904         * time/tst-ftime_l.c: Likewise.
30905         * time/tst-getdate.c: Likewise.
30906         * time/tst-mktime3.c: Likewise.
30907         * time/tst-mktime.c: Likewise.
30908         * time/tst-posixtz.c: Likewise.
30909         * time/tst-strptime2.c: Likewise.
30910         * time/tst-strptime3.c: Likewise.
30911         * wcsmbs/tst-btowc.c: Likewise.
30912         * wcsmbs/tst-mbrtowc.c: Likewise.
30913         * wcsmbs/tst-mbsrtowcs.c: Likewise.
30914         * wcsmbs/tst-wchar-h.c: Likewise.
30915         * wcsmbs/tst-wcpncpy.c: Likewise.
30916         * wcsmbs/tst-wcrtomb.c: Likewise.
30917         * wcsmbs/tst-wcsnlen.c: Likewise.
30918         * wcsmbs/tst-wcstof.c: Likewise.
30920 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
30922         [BZ #14132]
30923         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
30924         INTDEF.
30925         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
30926         declaration.
30927         (_dl_mcount): Use rtld_hidden_proto.
30928         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
30929         _dl_mcount.
30930         * elf/rtld.c (_rtld_global_ro): Likewise.
30932         [BZ #14132]
30933         * elf/dl-init.c (_dl_init): Don't use INTDEF.
30934         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
30935         of _dl_init_internal.
30936         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
30937         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
30938         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
30939         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
30940         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
30941         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
30942         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
30943         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
30944         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
30945         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
30946         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
30947         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
30948         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30949         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30950         * sysdeps/tile/dl-start.S (_start): Likewise.
30951         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
30952         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
30954         [BZ #14132]
30955         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
30956         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
30957         (rtld_progname): Make macro definition unconditional.
30958         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
30959         INTDEF.
30960         (dlmopen_doit): Do not use INTUSE with _dl_argv.
30961         (dl_main): Likewise.
30962         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
30963         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
30964         instead of _dl_argv_internal.
30965         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
30966         __GI__dl_argv instead of INTUSE(_dl_argv).
30967         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
30968         __GI__dl_argv instead of _dl_argv_internal.
30970         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
30971         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
30972         macro.
30973         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
30974         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
30975         New macro.
30976         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
30977         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
30978         macro.
30979         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
30980         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
30982 2014-11-04  Andreas Schwab  <schwab@suse.de>
30984         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
30986 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30988         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
30989         mtvsrd instruction in binary form.
30991 2014-11-03  Andreas Schwab  <schwab@suse.de>
30993         [BZ #17522]
30994         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
30995         for less than MB_LEN_MAX use a local buffer of that size.
30996         * libio/tst-fputws.c: New file.
30997         * libio/Makefile (tests): Add tst-fputws.
30999 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
31001         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
31002         the size of the fpu_fr.fpu_dregs[] array.
31004 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
31006         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
31007         (__nanosleep): Do not define as alias.
31008         (nanosleep): Define as alias of __nanosleep.
31009         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
31010         __libc_nanosleep name.
31012 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
31014         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
31015         install.texi in comment.
31017 2014-10-31  Torvald Riegel  <triegel@redhat.com>
31019         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
31020         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
31021         ... add here and use lwsync or sync ...
31022         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
31023         ... and add here using lwsync.
31025 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
31027         * elf/dl-machine-reject-phdr.h: New file.
31028         * elf/dl-load.c: #include that.
31029         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
31030         if that returned true.
31032 2014-10-31  Roland McGrath  <roland@hack.frob.com>
31034         [BZ #17496]
31035         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
31036         gen-as-const-headers chunk.  Add a big scare comment after the last
31037         safe place to touch before-compile.
31039 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
31041         * manual/install.texi (Tools for Compilation): Update autoconf
31042         version requirements.
31043         * INSTALL: Regenerated.
31045         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
31046         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
31047         (__libc_pselect): Likewise.
31049         [BZ #14138]
31050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
31051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31055 2014-10-31  Torvald Riegel  <triegel@redhat.com>
31057         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
31058         correct barrier instruction.
31059         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
31060         Likewise.
31061         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
31062         Likewise.
31064 2014-10-30  Roland McGrath  <roland@hack.frob.com>
31066         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
31067         after defining inlines.  Instead, just use parens to defeat macro
31068         expansion of __isctype in its declaration.
31070 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
31072         * include/sys/uio.h (__libc_readv): Remove declaration.
31073         (__libc_writev): Likewise.
31074         * misc/readv.c (__libc_readv): Rename to __readv.
31075         (__readv): Do not define as alias.
31076         (readv): Define as alias of __readv.
31077         * misc/writev.c (__libc_writev): Rename to __writev.
31078         (__writev): Do not define as alias.
31079         (writev): Define as alias of __writev.
31080         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
31081         (__readv): Do not define as alias.
31082         (readv): Define unconditionally as alias of __readv.
31083         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
31084         (__writev): Do not define as alias.
31085         (writev): Define unconditionally as alias of __writev.
31086         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
31087         name.
31088         (writev): Do not define __libc_writev name.
31090 2014-10-30  Roland McGrath  <roland@hack.frob.com>
31092         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
31093         (convert_charseq): New function, broken out of ...
31094         (use_from_charmap): ... here.  Call it.
31095         (use_to_charmap): Use convert_charseq and free instead of duplicating
31096         its code with a variable-length stack struct.
31098 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
31100         * include/fcntl.h (__libc_creat): Remove declaration.
31101         * io/creat.c (__libc_creat): Rename to creat.
31102         (creat): Do not define as alias.
31103         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
31104         of creat instead of __libc_creat.
31105         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
31106         to creat.
31107         (creat): Do not define as alias.
31108         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
31109         __libc_creat.
31110         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
31111         __libc_creat name.
31112         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
31113         Likewise.
31115 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
31117         * manual/llio.texi: Add comments discussing why write() may be
31118         considered MT-unsafe on Linux.
31120 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
31122         * dl-load.c (local_strdup): Remove.
31123         (expand_dynamic_string_token): Use __strdup.
31124         (decompose_rpath): Likewise.
31125         (_dl_map_object): Likewise.
31127 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
31129         [BZ #14132]
31130         * sysdeps/generic/unwind-dw2-fde.c
31131         (__register_frame_info_bases_internal): Do not declare.
31132         (__register_frame_info_table_bases_internal): Likewise.
31133         (__deregister_frame_info_bases_internal): Likewise.
31134         (__register_frame_info_bases): Declare and use hidden_proto before
31135         definition.  Use hidden_def instead of INTDEF.
31136         (__register_frame_info_table_bases): Likewise.
31137         (__deregister_frame_info_bases): Likewise.
31138         (__register_frame_info): Do not use INTUSE.
31139         (__register_frame): Likewise.
31140         (__register_frame_info_table): Likewise.
31141         (__register_frame_table): Likewise.
31142         (__deregister_frame_info): Likewise.
31143         (__deregister_frame): Likewise.
31145 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
31147         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31148         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
31149         not undefine.
31150         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
31151         Likewise.
31152         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
31153         Likewise.
31155 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
31157         [BZ #14138]
31158         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
31159         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
31160         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
31161         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
31162         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
31163         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
31164         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
31165         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
31166         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
31167         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
31168         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
31169         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
31170         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
31171         syscall.
31172         (setfsuid): Likewise.
31173         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
31174         (setfsuid): Likewise.
31175         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
31176         (setfsuid): Likewise.
31177         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
31178         Likewise.
31179         (setfsuid): Likewise.
31180         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
31181         (setfsuid): Likewise.
31182         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
31183         Likewise.
31184         (setfsuid): Likewise.
31186 2014-10-27  Andreas Schwab  <schwab@suse.de>
31188         [BZ #17501]
31189         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
31190         check for Slow_SSE4_2 feature bit.
31191         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
31192         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
31193         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
31194         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
31196 2014-10-24  Roland McGrath  <roland@hack.frob.com>
31198         * configure.ac: Validate compiler version with a empirical test of
31199         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
31200         $CC -v output.
31201         * configure: Regenerated.
31203         * inet/htons.c (htons): Prototypify.
31204         * inet/htonl.c (htonl): Likewise.
31206 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31208         * string/strncat.c (strncat): Improve performance by using strlen.
31210 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31212         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
31214 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31216         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
31217         Call libc_fetestexcept_aarch64.
31219 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31221         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
31222         Call libc_feholdexcept_aarch64.
31224 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31226         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
31227         Call get_rounding_mode.
31229 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31231         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
31232         Simplify logic.
31234 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31236         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
31237         Simplify logic.
31239 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
31241         [BZ #14138]
31242         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
31243         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
31244         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
31245         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
31246         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
31247         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
31248         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
31249         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
31250         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
31251         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
31252         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
31253         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
31254         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
31255         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
31256         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
31257         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
31258         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
31259         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
31260         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
31261         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
31262         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
31263         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
31264         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
31265         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
31266         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
31267         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
31268         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
31269         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
31270         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
31271         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
31272         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
31273         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
31274         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
31275         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
31276         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
31277         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
31278         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
31279         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
31280         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
31281         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
31282         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
31283         syscall.
31284         (geteuid): Likewise.
31285         (getgid): Likewise.
31286         (getuid): Likewise.
31287         (getresgid): Likewise.
31288         (getresuid): Likewise.
31289         (getgroups): Likewise.
31290         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
31291         (geteuid): Likewise.
31292         (getgid): Likewise.
31293         (getuid): Likewise.
31294         (getresgid): Likewise.
31295         (getresuid): Likewise.
31296         (getgroups): Likewise.
31297         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
31298         (geteuid): Likewise.
31299         (getgid): Likewise.
31300         (getuid): Likewise.
31301         (getresgid): Likewise.
31302         (getresuid): Likewise.
31303         (getgroups): Likewise.
31304         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
31305         Likewise.
31306         (geteuid): Likewise.
31307         (getgid): Likewise.
31308         (getuid): Likewise.
31309         (getresgid): Likewise.
31310         (getresuid): Likewise.
31311         (getgroups): Likewise.
31312         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
31313         (geteuid): Likewise.
31314         (getgid): Likewise.
31315         (getuid): Likewise.
31316         (getresgid): Likewise.
31317         (getresuid): Likewise.
31318         (getgroups): Likewise.
31319         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
31320         Likewise.
31321         (geteuid): Likewise.
31322         (getgid): Likewise.
31323         (getuid): Likewise.
31324         (getgroups): Likewise.
31326         [BZ #14138]
31327         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
31328         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
31329         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
31330         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
31331         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
31332         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
31333         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
31334         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
31335         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
31336         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
31337         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
31338         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
31339         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
31340         __chown.
31341         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
31342         (lchown): Likewise.
31343         (fchown): Likewise.
31344         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
31345         Likewise.
31346         (lchown): Likewise.
31347         (fchown): Likewise.
31348         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
31349         (lchown): Likewise.
31350         (fchown): Likewise.
31351         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
31352         Likewise.
31353         (lchown): Likewise.
31354         (fchown): Likewise.
31356 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
31358         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
31359         Simplify logic.
31361 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
31363         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
31364         Cleanup logic.
31366 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
31368         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
31369         Remove unused include.
31371 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
31373         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
31374         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
31375         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
31376         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
31378 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
31379             Helge Deller <deller@gmx.de>
31381         [BZ #17508]
31382         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
31383         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
31384         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
31386 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
31388         [BZ #14132]
31389         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
31390         Remove macro definition.
31391         (__ashrdi3_v_glibc20): Likewise.
31392         (__lshrdi3_v_glibc20): Likewise.
31393         (__cmpdi2_v_glibc20): Likewise.
31394         (__ucmpdi2_v_glibc20): Likewise.
31395         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
31396         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
31397         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
31398         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
31399         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
31400         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
31402 2014-10-22  Roland McGrath  <roland@hack.frob.com>
31404         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
31405         old GNU extension [0] syntax.
31406         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
31407         alloca rather than an array member with variable length.
31408         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
31409         * nscd/nscd.c (invalidate_db): New function, broken out of ...
31410         (parse_opt): ... here.  Likewise use alloca there.
31411         Validate the -i argument before checking for rootness.
31412         (send_shutdown): New function, broken out of ...
31413         (parse_opt): ... here.
31415 2014-10-22  Roland McGrath  <roland@hack.frob.com>
31417         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
31418         macro to get at the _rt_local_ro field.
31419         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
31420         ([PIC] case) or _dl_hwcap ([!PIC] case).
31421         * sysdeps/arm/setjmp.S: Likewise.
31423         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
31424         * sysdeps/arm/configure.ac: New check to define it.
31425         * sysdeps/arm/configure: Regenerated.
31426         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
31427         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
31428         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
31429         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
31430         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
31431         Use move/movt pair instead of a load.
31432         (LDST_GLOBAL): Macro removed.
31433         (LDR_GLOBAL): New macro replaces it.
31434         (LDR_HIDDEN): New macro.
31435         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
31436         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
31438         * setjmp/tst-setjmp-static.c: New file.
31439         * setjmp/Makefile (tests): Add it.
31440         (tests-static): New variable.
31442 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
31444         [BZ #17485]
31445         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
31447 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
31449         [BZ #14132]
31450         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
31452 2014-10-21  Roland McGrath  <roland@hack.frob.com>
31454         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
31456 2014-10-20  Roland McGrath  <roland@hack.frob.com>
31458         * io/fts.c (dirent_not_directory): New function.
31459         (fts_build): Call it.
31461 2014-10-20  Roland McGrath  <roland@hack.frob.com>
31463         * nptl/version.c (__nptl_main): Use normal __write rather than
31464         INTERNAL_SYSCALL.
31465         (banner): Update copyright years.
31467         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
31468         gettimeofday.
31469         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
31470         * nptl/pthread_cond_timedwait.c: Likewise.
31471         * nptl/pthread_mutex_timedlock.c: Likewise.
31472         * nptl/sem_timedwait.c: Likewise.
31474         * sysdeps/nptl/bits/libc-lock.h
31475         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
31476         (__libc_lock_init_recursive): Return void, not 0.
31477         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
31478         (__libc_rwlock_init): Likewise.
31479         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
31481 2014-10-20  Torvald Riegel  <triegel@redhat.com>
31483         [BZ #15215]
31484         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
31485         (__pthread_once_slow): ... here.
31486         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
31487         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
31489 2014-10-20  Torvald Riegel  <triegel@redhat.com>
31491         [BZ #15215]
31492         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
31493         __PTHREAD_ONCE_FORK_GEN_INCR): New.
31494         * sysdeps/nptl/fork.c (__libc_fork): Use them.
31495         * nptl/pthread_once.c (__pthread_once): Likewise.
31496         Update comments.
31498 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
31500         [BZ #14138]
31501         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
31502         name.
31503         (writev): Use __libc_writev as strong name.
31504         * sysdeps/unix/sysv/linux/readv.c: Remove file.
31505         * sysdeps/unix/sysv/linux/writev.c: Likewise.
31507 2014-10-17  Roland McGrath  <roland@hack.frob.com>
31509         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
31511         * sysdeps/i386/nptl/tls.h
31512         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
31513         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
31514         New macros.
31515         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
31516         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
31517         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
31518         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
31519         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
31520         Call CHECK_THREAD_SYSINFO instead of doing an assert.
31522         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
31523         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
31524         on [__NR_futex].
31525         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
31526         broken out of ...
31527         (__pthread_mutex_init): ... here.  Call it.
31528         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
31529         Conditionalize PI cases on [__NR_futex].
31530         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
31531         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
31532         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
31534         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
31535         conditional on [SIGSETXID].
31536         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
31537         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
31538         is defined.  Likewise for SIGSETXID.
31539         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
31540         Conditionalize definitions on [SIGSETXID].
31541         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
31542         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
31543         unblocking on [SIGCANCEL].
31545         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
31546         [__NR_set_robust_list].
31548 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
31550         * string/strcoll_l.c (get_next_seq): Fix up formatting.
31551         (do_compare): Likewise.
31553 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
31555         [BZ #15884]
31556         * string/strcoll_l.c: Don't include stdio.h.
31557         (coll_seq): Remove members idxarr and rulearr.
31558         (get_next_seq_cached): Remove function.
31559         (get_next_seq): Likewise.
31560         (get_next_seq_nocache): Rename to get_next_seq.
31561         (do_compare): Remove function.
31562         (do_compare_nocache): Rename to do_compare.
31563         (STRCOLL): Remove weight and rules cache.
31565 2014-10-16  Roland McGrath  <roland@hack.frob.com>
31567         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
31568         * sysdeps/arm/sfp-machine.h: ... to here.
31569         * sysdeps/arm/Implies: Remove arm/soft-fp.
31571 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
31573         * conform/data/sys/utsname.h-data (*_t): Allow.
31574         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
31575         [POSIX] (WEXITED): Do not expect constant.
31576         [POSIX] (WSTOPPED): Likewise.
31577         [POSIX] (WNOHANG): Likewise.
31578         [POSIX] (WNOWAIT): Likewise.
31579         [POSIX] (siginfo_t): Do not expect type or elements.
31580         [POSIX] (pid_t): Do not expect type.
31581         [POSIX] (signal.h): Do not allow header.
31582         [POSIX] (sys/resource.h): Likewise.
31583         [POSIX] (si_*): Do not allow pattern.
31584         [POSIX] (W*): Likewise.
31585         [POSIX] (P_*): Likewise.
31586         [POSIX] (BUS_*): Likewise.
31587         [POSIX] (CLD_*): Likewise.
31588         [POSIX] (FPE_*): Likewise.
31589         [POSIX] (ILL_*): Likewise.
31590         [POSIX] (POLL_*): Likewise.
31591         [POSIX] (SEGV_*): Likewise.
31592         [POSIX] (SI_*): Likewise.
31593         [POSIX] (TRAP_*): Likewise.
31594         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
31595         variable.
31597 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
31599         [BZ #12926]
31600         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
31601         infinite loop when __recvmsg returns 0.
31603 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
31605         * CANCEL-FCT-WAIVE: Remove file.
31606         * CANCEL-FILE-WAIVE: Likewise.
31608         [BZ #14132]
31609         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
31610         instead of INTVARDEF.
31611         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
31612         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
31613         rtld_hidden_data_def instead of INTVARDEF.
31614         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
31615         * elf/dl-deps.c (expand_dst): Likewise.
31616         * elf/dl-load.c (_dl_dst_count): Likewise.
31617         (_dl_dst_substitute): Likewise.
31618         (decompose_rpath): Likewise.
31619         (_dl_init_paths): Likewise.
31620         (open_path): Likewise.
31621         (_dl_map_object): Likewise.
31622         * elf/rtld.c (dl_main): Likewise.
31623         (process_dl_audit): Likewise.
31624         (process_envvars): Likewise.
31625         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
31626         Remove declaration.
31627         (__libc_enable_secure): Use rtld_hidden_proto.
31629 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31631         * elf/dl-load.c
31632         (add_path): New function broken out of _dl_rtld_di_serinfo.
31633         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
31635 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
31637         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
31638         parentheses around macro arguments.
31639         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
31640         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
31641         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
31642         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
31643         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
31644         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
31645         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
31646         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
31647         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
31648         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
31649         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
31650         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
31651         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
31652         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
31653         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
31654         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
31655         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
31656         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
31657         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
31658         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
31659         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
31660         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
31661         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
31662         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
31663         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
31664         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
31665         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
31666         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
31667         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
31668         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
31669         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
31670         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
31671         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
31672         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
31673         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
31674         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
31675         Likewise.
31676         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
31677         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
31678         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
31679         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
31680         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
31681         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
31682         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
31683         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
31684         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
31685         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
31686         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
31687         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
31688         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
31689         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
31690         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
31691         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
31692         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
31693         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
31694         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
31695         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
31696         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
31697         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
31698         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
31699         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
31700         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
31701         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
31702         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
31703         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
31704         (_FP_FRAC_SRS_1): Likewise.
31705         (_FP_FRAC_CLZ_1): Likewise.
31706         (_FP_MUL_MEAT_1_imm): Likewise.
31707         (_FP_MUL_MEAT_1_wide): Likewise.
31708         (_FP_MUL_MEAT_1_hard): Likewise.
31709         (_FP_SQRT_MEAT_1): Likewise.
31710         (_FP_FRAC_ASSEMBLE_1): Likewise.
31711         (_FP_FRAC_DISASSEMBLE_1): Likewise.
31712         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
31713         (__FP_CLZ_2): Likewise.
31714         (_FP_MUL_MEAT_2_wide): Likewise.
31715         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
31716         (_FP_MUL_MEAT_2_gmp): Likewise.
31717         (_FP_MUL_MEAT_2_120_240_double): Likewise.
31718         (_FP_SQRT_MEAT_2): Likewise.
31719         (_FP_FRAC_ASSEMBLE_2): Likewise.
31720         (_FP_FRAC_DISASSEMBLE_2): Likewise.
31721         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
31722         (_FP_FRAC_CLZ_4): Likewise.
31723         (_FP_MUL_MEAT_4_wide): Likewise.
31724         (_FP_MUL_MEAT_4_gmp): Likewise.
31725         (_FP_SQRT_MEAT_4): Likewise.
31726         (_FP_FRAC_ASSEMBLE_4): Likewise.
31727         (_FP_FRAC_DISASSEMBLE_4): Likewise.
31728         * soft-fp/op-common.h (_FP_CMP): Likewise.
31729         (_FP_CMP_EQ): Likewise.
31730         (_FP_CMP_UNORD): Likewise.
31731         (_FP_TO_INT): Likewise.
31732         (_FP_FROM_INT): Likewise.
31733         [!__FP_CLZ] (__FP_CLZ): Likewise.
31734         (_FP_DIV_HELP_imm): Likewise.
31735         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
31736         Likewise.
31737         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
31738         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
31739         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
31740         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
31741         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
31742         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
31743         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
31744         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
31745         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
31746         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
31747         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
31748         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
31749         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
31750         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
31751         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
31752         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
31753         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
31754         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
31755         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
31756         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
31757         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
31758         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
31759         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
31760         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
31761         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
31762         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
31763         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
31764         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
31765         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
31766         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
31767         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
31768         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
31769         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
31770         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
31771         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
31772         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
31773         (FP_UNPACK_RAW_SP): Likewise.
31774         (FP_PACK_RAW_S): Likewise.
31775         (FP_PACK_RAW_SP): Likewise.
31776         (FP_UNPACK_S): Likewise.
31777         (FP_UNPACK_SP): Likewise.
31778         (FP_UNPACK_SEMIRAW_S): Likewise.
31779         (FP_UNPACK_SEMIRAW_SP): Likewise.
31780         (FP_PACK_S): Likewise.
31781         (FP_PACK_SP): Likewise.
31782         (FP_PACK_SEMIRAW_S): Likewise.
31783         (FP_PACK_SEMIRAW_SP): Likewise.
31784         (_FP_SQRT_MEAT_S): Likewise.
31785         (FP_CMP_S): Likewise.
31786         (FP_CMP_EQ_S): Likewise.
31787         (FP_CMP_UNORD_S): Likewise.
31788         (FP_TO_INT_S): Likewise.
31789         (FP_FROM_INT_S): Likewise.
31791         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
31793         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
31794         (FP_EX_INVALID_IMZ): Likewise.
31795         (FP_EX_INVALID_IMZ_FMA): Likewise.
31796         (FP_EX_INVALID_ISI): Likewise.
31797         (FP_EX_INVALID_ZDZ): Likewise.
31798         (FP_EX_INVALID_IDI): Likewise.
31799         (FP_EX_INVALID_SQRT): Likewise.
31800         (FP_EX_INVALID_CVI): Likewise.
31801         (FP_EX_INVALID_VC): Likewise.
31802         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
31803         "invalid" exceptions.
31804         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
31805         (_FP_ADD_INTERNAL): Likewise.
31806         (_FP_MUL): Likewise.
31807         (_FP_FMA): Likewise.
31808         (_FP_DIV): Likewise.
31809         (_FP_CMP_CHECK_NAN): Likewise.
31810         (_FP_SQRT): Likewise.
31811         (_FP_TO_INT): Likewise.
31812         (FP_EXTEND): Likewise.
31814 2014-10-09  Allan McRae  <allan@archlinux.org>
31816         * po/fr.po: Update French translation from translation project.
31818 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
31820         [BZ #14132]
31821         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
31822         of INTDEF.
31823         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
31824         (__cxa_atexit): Use libc_hidden_proto.
31825         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
31827         [BZ #14132]
31828         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
31829         declaration.
31830         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
31831         [!_ISOMAC] (__iswspace_l_internal): Likewise.
31832         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
31833         [!_ISOMAC] (__iswctype_internal): Likewise.
31834         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
31835         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
31836         alias.
31837         (fcntl): Remove __fcntl_internal alias.
31838         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
31839         __connect_internal alias.
31840         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
31841         Likewise.
31843         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
31844         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
31845         FP_DENORM_ZERO.
31846         (_FP_CHECK_FLUSH_ZERO): New macro.
31847         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
31848         (_FP_CMP): Likewise.
31849         (_FP_CMP_EQ): Likewise.
31850         (_FP_TO_INT): Do not set inexact for subnormal arguments if
31851         FP_DENORM_ZERO.
31852         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
31853         (FP_TRUNC): Likewise.
31855         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
31856         treated as invalid conversion, not as normal exponent.
31858         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
31859         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
31860         (_FP_CMP_EQ): Likewise.
31861         (_FP_CMP_UNORD): Likewise.
31862         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
31863         (FP_CMP_EQ_D): Likewise.
31864         (FP_CMP_UNORD_D): Likewise.
31865         * soft-fp/extended.h (FP_CMP_E): Likewise.
31866         (FP_CMP_EQ_E): Likewise.
31867         (FP_CMP_UNORD_E): Likewise.
31868         * soft-fp/quad.h (FP_CMP_Q): Likewise.
31869         (FP_CMP_EQ_Q): Likewise.
31870         (FP_CMP_UNORD_Q): Likewise.
31871         * soft-fp/single.h (FP_CMP_S): Likewise.
31872         (FP_CMP_EQ_S): Likewise.
31873         (FP_CMP_UNORD_S): Likewise.
31874         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
31875         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
31876         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
31877         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
31878         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
31879         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
31880         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
31881         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
31882         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
31883         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
31884         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
31885         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
31886         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
31887         to FP_CMP_Q.
31888         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
31889         FP_CMP_Q.
31890         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
31891         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
31892         FP_CMP_EQ_Q.
31893         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
31894         FP_CMP_Q.
31895         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
31896         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
31897         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
31898         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
31899         FP_CMP_EQ_Q.
31900         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
31901         FP_CMP_Q.
31902         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
31903         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
31904         FP_CMP_EQ_Q.
31905         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
31906         FP_CMP_Q.
31907         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
31908         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
31909         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
31910         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
31911         FP_CMP_EQ_Q.
31913         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
31914         a subnormal result, set the underflow exception if trapping on
31915         underflow is enabled.
31916         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
31917         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
31918         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
31919         redefine to 0.
31920         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
31921         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
31922         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
31923         * soft-fp/extendxftf2.c (__extendxftf2): Use
31924         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
31926         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
31927         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
31928         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
31929         FP_HANDLE_EXCEPTIONS.
31930         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
31931         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
31932         FP_HANDLE_EXCEPTIONS.
31933         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
31934         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
31935         FP_HANDLE_EXCEPTIONS.
31936         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
31937         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
31938         FP_HANDLE_EXCEPTIONS.
31940 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
31942         [BZ #14132]
31943         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
31944         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
31945         use INTUSE.
31946         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
31947         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
31948         Remove alias.
31949         (__adjtimex): Define using libc_hidden_ver.
31950         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
31951         Remove declaration.
31952         (ntp_gettime): Call __adjtimex directly.
31953         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
31954         Remove declaration.
31955         (ntp_gettimex): Call __adjtimex directly.
31956         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
31957         __adjtimex_internal alias.
31959 2014-10-08  Roland McGrath  <roland@hack.frob.com>
31961         [BZ #17460]
31962         * nscd/nscd.c (more_help): Rewrite list of tables collection
31963         using xstrdup and asprintf.
31965         * nscd/nscd_conf.c: Remove local xstrdup declaration.
31967 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31968             Roland McGrath  <roland@hack.frob.com>
31970         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
31971         (do_lookup_unique): ... local function 'enter' here; update callers.
31973 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
31975         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
31976         compat_symbol calls on [SHARED].
31977         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
31978         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
31979         Remove.
31980         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
31981         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
31982         (oldsetrlimit): Remove.
31983         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
31984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
31985         (lchown): New syscall entry.
31986         (oldsetrlimit): Remove.
31987         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
31988         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
31989         (oldsetrlimit): Remove.
31990         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
31992         [BZ #14138]
31993         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
31994         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
31995         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
31996         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
31997         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
31998         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
31999         (fchown): Likewise.
32000         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
32001         (fchown): Likewise.
32002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
32003         Likewise.
32005 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32007         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
32008         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
32009         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
32010         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
32011         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
32012         Likewise.
32013         (__old_sem_post): Likewise.
32015 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
32017         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
32018         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
32019         HAVE_CLOCK_GETTIME_VSYSCALL macros.
32020         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
32021         Use INLINE_VSYSCALL macro.
32022         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
32023         __vdso_clock_gettime.
32024         * sysdeps/unix/sysv/linux/tile/init-first.c
32025         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
32026         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
32027         __vdso_clock_gettime.
32029         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
32030         to set up frame more cleanly.
32032         * sysdeps/tile/memcmp.c: New file.
32034         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
32036         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
32037         * sysdeps/tile/tilegx/strcasestr.c: New file.
32038         * sysdeps/tile/tilegx/strnlen.c: New file.
32039         * sysdeps/tile/tilegx/strstr.c: New file.
32041         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
32043 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
32045         * nptl/tst-setuid3.c: Write errors to stdout.
32047 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32049         * elf/dl-deps.c
32050         (preload): New functions broken out of _dl_map_object_deps.
32051         (_dl_map_object_deps):  Remove a nested function. Update call sites.
32053 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
32055         [BZ #14138]
32056         * sysdeps/unix/sysv/linux/execve.c: Remove file.
32057         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
32059 2014-10-01  Steve Ellcey  <sellcey@mips.com>
32061         * sysdeps/mips/strcmp.S: New.
32063 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
32065         [BZ #14138]
32066         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
32067         (linkat): Likewise.
32068         (mkdirat): Likewise.
32069         (readlinkat): Likewise.
32070         (renameat): Likewise.
32071         (symlinkat): Likewise.
32072         (unlinkat): Likewise.
32073         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
32074         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
32075         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
32076         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
32077         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
32078         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
32079         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
32081 2014-09-30  Will Newton  <will.newton@linaro.org>
32083         * math/math.h: Define long double math functions if
32084         _LIBC_TEST is defined.
32085         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
32087         * localedata/Makefile: Move assignment to tests-special
32088         into an ifdef testing run-built-tests.
32089         * timezone/Makefile: Likewise.
32091 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
32093         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
32094         with $(BASH) not $(SHELL).
32096 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
32097             Matthew LeGendre  <legendre1@llnl.gov>
32099         [BZ #17411]
32100         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
32101         l_reloc_result.
32103 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32105         * stdio-common/printf_fp.c
32106         (hack_digit): New function, broken out of ...
32107         (__printf_fp): ... local function here.  Update call sites.
32108         hack_digit now takes an additional parameter that is a pointer
32109         to a struct of the referenced locals.  Those locals moved inside
32110         the struct and references updated.
32112 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
32114         * aclocal.m4: Require autoconf 2.69.
32115         * configure: Regenerated.
32116         * sysdeps/aarch64/configure: Likewise.
32117         * sysdeps/alpha/configure: Likewise.
32118         * sysdeps/arm/armv7/configure: Likewise.
32119         * sysdeps/arm/configure: Likewise.
32120         * sysdeps/ia64/configure: Likewise.
32121         * sysdeps/mach/configure: Likewise.
32122         * sysdeps/mips/configure: Likewise.
32123         * sysdeps/s390/configure: Likewise.
32124         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
32125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
32127         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
32128         file.
32129         * sysdeps/ia64/configure.ac: Likewise.
32131 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
32133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
32134         specify symbol version for ld.so.  Do not include entry for
32135         libpthread.
32136         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
32137         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
32138         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
32140         [BZ #14171]
32141         * Makeconfig [$(build-shared) = yes]
32142         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
32143         makefiles.
32144         [$(build-shared) = yes && $(soversions.mk-done) = t]
32145         ($(common-objpfx)gnu/lib-names.h): Remove rule.
32146         [$(build-shared) = yes && $(soversions.mk-done) = t]
32147         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
32148         to Makerules.
32149         [$(build-shared) = yes && $(soversions.mk-done) = t]
32150         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
32151         here.
32152         [$(build-shared) = yes && $(soversions.mk-done) = t]
32153         (common-generated): Don't append gnu/lib-names.h and
32154         gnu/lib-names.stmp here.
32155         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
32156         (lib-names-h-abi): New variable.
32157         [$(build-shared) = yes && $(soversions.mk-done) = t]
32158         (lib-names-stmp-abi): Likewise.
32159         [$(build-shared) = yes && $(soversions.mk-done) = t &&
32160         abi-variants] (before-compile): Append
32161         $(common-objpfx)$(lib-names-h-abi).
32162         [$(build-shared) = yes && $(soversions.mk-done) = t &&
32163         abi-variants] (common-generated): Append gnu/lib-names.h.
32164         [$(build-shared) = yes && $(soversions.mk-done) = t &&
32165         abi-variants] (install-others-nosubdir): Depend on
32166         $(inst_includedir)/$(lib-names-h-abi).
32167         [$(build-shared) = yes && $(soversions.mk-done) = t &&
32168         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
32169         [$(build-shared) = yes && $(soversions.mk-done) = t]
32170         ($(common-objpfx)$(lib-names-h-abi)): New rule.
32171         [$(build-shared) = yes && $(soversions.mk-done) = t]
32172         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
32173         [$(build-shared) = yes && $(soversions.mk-done) = t]
32174         (common-generated): Append $(lib-names-h-abi) and
32175         $(lib-names-stmp-abi).
32176         * scripts/lib-names.awk: Do not handle multi being set.
32177         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
32178         Remove variable.
32179         (abi-lp64_be-ld-soname): Likewise.
32180         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
32181         Likewise.
32182         (abi-hard-ld-soname): Likewise.
32183         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
32184         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
32185         Remove variable.
32186         (abi-o32_hard-ld-soname): Likewise.
32187         (abi-o32_soft_2008-ld-soname): Likewise.
32188         (abi-o32_hard_2008-ld-soname): Likewise.
32189         (abi-n32_soft-ld-soname): Likewise.
32190         (abi-n32_hard-ld-soname): Likewise.
32191         (abi-n32_soft_2008-ld-soname): Likewise.
32192         (abi-n32_hard_2008-ld-soname): Likewise.
32193         (abi-n64_soft-ld-soname): Likewise.
32194         (abi-n64_hard-ld-soname): Likewise.
32195         (abi-n64_soft_2008-ld-soname): Likewise.
32196         (abi-n64_hard_2008-ld-soname): Likewise.
32197         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
32198         Likewise.
32199         (abi-64-v2-ld-soname): Likewise.
32200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
32201         ld.so entries.
32202         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
32203         variable.
32204         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
32205         entry.
32206         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
32207         variable.
32208         (abi-64-ld-soname): Likewise.
32209         (abi-x32-ld-soname): Likewise.
32210         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
32211         entry.
32212         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
32214 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
32216         [BZ #14138]
32217         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
32218         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
32219         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
32220         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
32221         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
32222         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
32223         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
32224         syscall entry for GLIBC_2.2 symbol version.
32225         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
32226         Likewise.
32227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
32228         (setrlimit): Likewise.
32229         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
32230         Likewise.
32232 2014-09-23  Will Newton  <will.newton@linaro.org>
32234         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
32235         _LINUX_ARM_SYSDEP_H include guard too.
32236         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
32237         define.
32239 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
32241         * sysdeps/unix/sysv/linux/eventfd.c:
32242         Make first argument unsigned.
32243         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
32244         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
32246 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
32248         [BZ #16852]
32249         * socket/recvmmsg.c (recvmmsg): Drop const argument.
32250         * socket/sys/socket.h: Likewise.
32251         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
32253 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32255         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
32257 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
32259         * time/tst-ftime.c: New test.
32260         * time/Makefile (tests): Add tst-ftime.
32262 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
32264         * soft-fp/extended.h: Fix comment formatting.
32265         * soft-fp/op-1.h: Likewise.
32266         * soft-fp/op-2.h: Likewise.
32267         * soft-fp/op-4.h: Likewise.
32268         * soft-fp/op-8.h: Likewise.
32269         * soft-fp/op-common.h: Likewise.
32270         * soft-fp/soft-fp.h: Likewise.
32272         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
32274 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
32276         [BZ #6652]
32277         * Makeconfig (soversions-default-setname): Remove variable.
32278         ($(common-objpfx)soversions.i): Don't pass default_setname to
32279         soversions.awk.
32280         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
32281         oldest_abi to abi-versions.awk.
32282         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
32283         * config.make.in (oldest-abi): Remove variable.
32284         * configure.ac (--enable-oldest-abi): Remove configure option.
32285         * configure: Regenerated.
32286         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
32287         text.
32288         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
32289         * scripts/soversions.awk: Do not handle default_setname variable.
32290         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
32291         variable.
32292         * sysdeps/mach/hurd/configure: Regenerated.
32293         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
32294         variable.
32295         * sysdeps/unix/sysv/linux/configure: Regenerated.
32297 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32299         * elf/Makefile (CFLAGS-interp.c): Remove.
32300         ($(elf-objpfx)runtime-linker.h): Generate header with linker
32301         path string.
32302         * elf/interp.c: Include generated runtime-linker.h
32304         * Makerules (lib%.so): Don't include $(+interp) in
32305         prerequisites.
32306         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
32307         * dlfcn/eval.c: Remove file.
32309         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
32310         macros.
32312         [BZ #17266]
32313         * misc/sys/cdefs.h: Define __extern_always_inline for clang
32314         4.2 and newer.
32316         [BZ #17370]
32317         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
32319 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32320             Jakub Jelinek  <jakub@redhat.com>
32322         [BZ #17266]
32323         * libio/stdio.h: Check definition of __fortify_function
32324         instead of __extern_always_inline to include bits/stdio2.h.
32325         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
32326         check if __extern_always_inline is defined.
32327         [__USE_MISC || __USE_XOPEN]: Likewise.
32328         [__USE_ISOC99] Likewise.
32329         * misc/sys/cdefs.h (__fortify_function): Define only if
32330         __extern_always_inline is defined.
32331         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
32332         __extern_always_inline and __extern_inline only for g++-4.3
32333         and newer or a compatible gcc.
32335 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
32337         [BZ #17371]
32338         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
32339         last change to handle zero prefix length.
32341 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32343         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
32344         _SC_REGEX_VERSION.
32346         * posix/getconf.c (vars): Add _POSIX_IPV6 and
32347         _POSIX_RAW_SOCKETS.
32349 2014-09-13  Allan McRae  <allan@archlinux.org>
32351         * po/ru.po: Update Russian translation from translation project.
32353 2014-09-12  Roland McGrath  <roland@hack.frob.com>
32355         * locale/programs/locale.c (show_locale_vars): Inline local function
32356         into its sole call site.  Clean up some style nits.
32357         (print_item): New function, broken out of ...
32358         (show_info): ... local function here.  Clean up style nits.
32360         * locale/programs/ld-ctype.c (set_one_default): New function, broken
32361         out of ...
32362         (set_class_defaults): ... local function set_default here.
32363         Define set_default as a macro locally to pass constant parameters.
32364         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
32365         rather than a shared local.
32367         * stdlib/rpmatch.c (try): New function, broken out of ...
32368         (rpmatch): ... local function here.  Also, prototypify definition.
32370 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
32372         * scripts/soversions.awk: Do not handle configuration names.
32373         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
32374         vendor and os variables to soversions.awk.
32375         * configure.ac: Do not modify gnu-* host_os.
32376         * configure: Regenerated
32377         * shlib-versions: Remove first column with configuration names.
32378         * nptl/shlib-versions: Likewise.
32379         * nptl_db/shlib-versions: Likewise.
32380         * sysdeps/hppa/shlib-versions: Likewise.
32381         * sysdeps/m68k/shlib-versions: Likewise.
32382         * sysdeps/mach/hurd/shlib-versions: Likewise.
32383         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
32384         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
32385         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
32386         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
32387         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
32388         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
32389         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
32390         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
32391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
32392         Likewise.
32393         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
32394         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
32395         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
32396         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
32397         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
32398         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
32399         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
32400         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
32402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
32403         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
32404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
32405         Regenerated.
32406         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
32407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
32408         Condition symbol version definitions on [HAVE_ELFV2_ABI].
32410         * shlib-versions: Remove OS-specific entries.  Moved to files in
32411         sysdeps.
32412         * sysdeps/mach/hurd/shlib-versions: New file.
32413         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
32415         * nptl/shlib-versions: Remove architecture-specific entries.
32416         Moved to files in sysdeps.
32417         * shlib-versions: Likewise.
32418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
32419         file.
32420         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
32421         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
32422         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
32423         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
32425         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
32426         (UDP_NO_CHECK6_RX): Likewise.
32428 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32430         * sysdeps/posix/sysconf.c (__sysconf): Spell
32431         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
32433 2014-08-12  Florian Weimer  <fweimer@redhat.com>
32435         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
32436         loading.
32437         * iconv/Versions (__gconv_transliterate): Export for use from
32438         gconv modules.
32439         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
32440         (struct __gconv_trans_data, __gconv_trans_fct,
32441         __gconv_trans_context_fct, __gconv_trans_query_fct,
32442         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
32443         definitions.
32444         (struct __gconv_step_data): Remove __trans member.
32445         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
32446         longer hidden.  Remove unused trans_data argument.
32447         * iconv/gconv_int.h (struct trans_struct): Remove definition.
32448         (__gconv_translit_find): Remove declaration.
32449         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
32450         prototype.
32451         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
32452         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
32453         trans_data argument.  Add hidden definition.
32454         (__gconv_translit_find): Remove.
32455         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
32456         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
32457         * iconv/skeleton.c: Remove transliteration initialization.
32458         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
32459         __gconv_step_data initialization.
32460         * libio/iofwide.c (__libio_translit_): Remove.
32461         (_IO_fwide): Adjust struct __gconv_step_data initialization.
32462         * wcsmbs/btowc.c (__btowc): Likewise.
32463         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
32464         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
32465         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
32466         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
32467         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
32468         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
32469         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
32470         * wcsmbs/wctob.c (wctob): Likewise.
32472 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32474         [BZ #16194]
32475         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
32476         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
32477         register usage.
32478         * sysdeps/x86/Makefile: Adjust.
32480 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32481             Roland McGrath  <roland@hack.frob.com>
32483         * locale/weight.h: Add include guard.
32484         (findidx): Make static rather than auto; take new parameters
32485         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
32486         * locale/weightwc.h: Likewise.
32487         * posix/fnmatch_loop.c
32488         (FCT): Change type of EXTRA from int32_t to wint_t.
32489         Don't include either header inside the function.
32490         Call FINDIDX rather than findidx, and pass new arguments.
32491         #undef FINDIDX at the end of the file.
32492         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
32493         FINDIDX before including fnmatch_loop.c for the non-wide version.
32494         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
32495         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
32496         for the wide version.
32497         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
32498         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
32499         Pass new arguments to findidx.
32500         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
32501         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
32502         Don't #include it inside the function.  Pass new arguments to findidx.
32503         * posix/regex_internal.h
32504         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
32505         (re_string_elem_size_at): Don't #include it inside the function.
32506         Pass new arguments to findidx.
32507         * string/strcoll_l.c: #include WEIGHT_H at top level.
32508         (get_next_seq): Don't #include it inside the function.
32509         Pass new arguments to findidx.
32510         (get_next_seq_nocache): Likewise.
32511         * string/strxfrm_l.c: #include WEIGHT_H at top level.
32512         (STRXFRM): Don't #include it inside the function.
32513         Pass new arguments to findidx.
32515 2014-09-11  Florian Weimer  <fweimer@redhat.com>
32517         [BZ #17344]
32518         * malloc/malloc.c (unlink): Turn asserts into a call to
32519         malloc_printerr.
32521 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
32523         [BZ #17370]
32524         * libio/wfileops (do_ftell_wide): Free OUT.
32526 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
32528         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
32530 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32532         [BZ #17363]
32533         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
32534         group if the current group is empty.
32536 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32538         * benchtests/bench-memset.c (test_main): Add more test from size
32539         from 32 to 512 bytes.
32540         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32541         Add POWER8 memset object.
32542         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32543         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
32544         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
32545         implementation.
32546         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
32547         Likewise.
32548         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
32549         multiarch POWER8 memset optimization.
32550         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
32551         POWER8 memset optimization.
32553         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32554         Remove bzero multiarch objects.
32555         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
32556         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
32557         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
32558         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
32559         Remove define.
32560         [__bzero]: Redefine to specific name.
32561         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
32562         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
32563         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
32564         define.
32565         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
32566         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
32568 2014-09-10  Florian Weimer  <fweimer@redhat.com>
32570         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
32571         warnings into errors.
32573         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
32574         __cxa_thread_atexit_impl prototype.
32576 2014-09-09  Steve Ellcey  <sellcey@mips.com>
32578         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
32579         Fix capitalization of error message.
32581 2014-09-09  Steve Ellcey  <sellcey@mips.com>
32583         * sysdeps/mips/preconfigure: Modify ABI tests.
32585 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
32587         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
32589 2014-09-07  Roland McGrath  <roland@hack.frob.com>
32590             Carlos O'Donell  <carlos@systemhalted.org>
32592         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
32593         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
32594         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
32595         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
32596         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
32597         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
32598         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
32599         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
32600         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
32601         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
32602         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
32603         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
32604         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
32605         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
32606         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
32607         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
32608         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
32609         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
32610         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
32611         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
32612         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
32613         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
32614         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
32615         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
32616         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
32617         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
32618         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
32619         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
32620         Deconditionalize the code that was previously under [RESET_PID].
32621         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
32622         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
32623         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
32624         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
32625         include sysdep.h.
32627 2014-09-08  Allan McRae  <allan@archlinux.org>
32629         * version.h (RELEASE): Set to "development".
32630         (VERSION): Set to "2.20.90"
32632 2014-09-07  Allan McRae  <allan@archlinux.org
32634         * version.h (RELEASE): Set to "stable".
32635         (VERSION): Set to "2.20"
32636         * include/features.h (__GLIBC_MINOR__): Set to 20.
32638         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
32639         Liebler.
32641         * po/ko.po: Update Korean translation from translation project.
32643 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
32645         [BZ #17354]
32646         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
32647         macro for handling signed relocations.
32649 2014-09-03  Florian Weimer  <fweimer@redhat.com>
32651         [BZ #17325]
32652         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
32653         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
32654         assert.
32655         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
32656         * iconvdata/ibm935.c (BODY): Likewise.
32657         * iconvdata/ibm937.c (BODY): Likewise.
32658         * iconvdata/ibm939.c (BODY): Likewise.
32659         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
32660         assert.
32661         * iconvdata/Makefile (iconv-test.out): Pass module list to test
32662         script.
32663         * iconvdata/run-iconv-test.sh: New test loop for checking for
32664         decoder crashers.
32666 2014-09-02  Khem Raj  <raj.khem@gmail.com>
32668         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
32669         libm_hidden_ver.
32671 2014-09-01  Allan McRae  <allan@archlinux.org>
32673         * po/eo.po: Update Esperanto translation from translation project.
32675         * po/ca.po: Update Catalan translation from translation project.
32677 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32679         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
32680         __proc_dostop call.
32682 2014-08-27  Mark Wielaard  <mjw@redhat.com>
32684         [BZ #17319]
32685         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
32686         to call set_thread_area instead of hand written asm.
32687         (__NR_set_thread_area): Removed define.
32688         (TLS_FLAG_WRITABLE): Likewise.
32689         (__ASSUME_SET_THREAD_AREA): Remove check.
32690         (TLS_EBX_ARG): Remove define.
32691         (TLS_LOAD_EBX): Likewise.
32693 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32695         Simplify atomicity of socket creation in bind.
32697         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
32698         looking up the name after linking the file.
32700 2014-08-27  Allan McRae  <allan@archlinux.org>
32702         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32704 2014-08-26  Florian Weimer  <fweimer@redhat.com>
32706         [BZ #17187]
32707         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
32708         trans_compare, open_translit, __gconv_translit_find):
32709         Remove module loading code.
32711 2014-08-26  Allan McRae  <allan@archlinux.org>
32713         * po/vi.po: Update Vietnamese translation from translation project.
32715         * po/uk.po: Update Ukrainian translation from translation project.
32717         * po/fr.po: Update French translation from translation project.
32719         * po/ru.po: Update Russian translation from translation project.
32721         * po/pl.po: Update Polish translation from translation project.
32723         * po/cs.po: Update Czech translation from translation project.
32725         * po/de.po: Update German translation from translation project.
32727         * po/bg.po: Update Bulgarian translation from translation project.
32729         * po/sv.po: Update Sweedish translation from translation project.
32731         * po/nl.po: Update Dutch translation from translation project.
32733         * po/es.po: Update Spanish translation from translation project.
32735 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32737         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
32739         * catgets/Makefile (CPPFLAGS-gencat): Remove.
32740         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
32741         (CPPFLAGS-iconvconfig): Likewise.
32742         * timezone/Makefile (CPPFLAGS-zic): Likewise.
32744         * include/libc-symbols.h: Remove unnecessary check for
32745         NOT_IN_libc.
32746         * nptl/pthreadP.h: Likewise.
32747         * sysdeps/aarch64/setjmp.S: Likewise.
32748         * sysdeps/alpha/setjmp.S: Likewise.
32749         * sysdeps/arm/sysdep.h: Likewise.
32750         * sysdeps/i386/setjmp.S: Likewise.
32751         * sysdeps/m68k/setjmp.c: Likewise.
32752         * sysdeps/posix/getcwd.c: Likewise.
32753         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
32754         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
32755         * sysdeps/s390/s390-32/setjmp.S: Likewise.
32756         * sysdeps/s390/s390-64/setjmp.S: Likewise.
32757         * sysdeps/sh/sh3/setjmp.S: Likewise.
32758         * sysdeps/sh/sh4/setjmp.S: Likewise.
32759         * sysdeps/unix/alpha/sysdep.h: Likewise.
32760         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32761         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32762         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
32763         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32766         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32767         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32768         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32769         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32770         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32771         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
32772         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32773         * sysdeps/x86_64/setjmp.S: Likewise.
32775 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
32777         [BZ #17263]
32778         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
32779         <stdint.h>.
32780         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
32781         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
32783 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32785         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
32787         [BZ #17262]
32788         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
32789         and __x86_64__ when disabling x87 inline functions.
32791 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
32793         [BZ #17259]
32794         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
32795         asm statement with __cpuid_count.
32797 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
32799         * configure.ac: Change __ehdr_start code to dereference the struct.
32800         Run readelf on the output to look for relocations.
32801         * configure: Regenerated.
32803 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
32805         [BZ #17261]
32806         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
32807         value to 0.
32808         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
32810 2014-08-12  Roland McGrath  <roland@hack.frob.com>
32812         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
32814 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
32816         [BZ #16892]
32817         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
32818         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
32820 2014-08-12  Sean Anderson  <seanga2@gmail.com>
32822         * malloc/malloc.c: Fix typo in comment.
32824 2014-08-09  Allan McRae  <allan@archlinux.org>
32826         * Regenerate libc.po.
32828 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
32830         * intl/tst-gettext2.sh: Check every lang file for creation.
32832 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
32834         * sysdeps/aarch64/fpu/math_private.h
32835         (libc_feholdsetround_noex_aarch64_ctx): New function.
32837 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
32839         * sysdeps/arm/armv6/strcpy.S (strcpy):
32840         Fix performance issue in misaligned cases.
32842 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32844         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
32845         Move definition from termios.h.
32846         (struct termio): Likewise.
32847         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
32848         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
32849         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
32850         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
32851         Likewise.
32852         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
32853         Move definition to ioctl-types.h
32854         (struct termio): Likewise.
32855         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
32856         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
32857         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
32858         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
32859         Likewise.
32861 2014-08-05  Richard Henderson  <rth@redhat.com>
32863         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
32864         exceptions.
32865         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
32866         Add fraiseexcpt.
32867         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
32868         Use __feraiseexcept.
32869         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
32870         Protect libm symbols with IS_IN_libm.
32872         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
32874 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
32876         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
32878 2014-08-04  Will Newton  <will.newton@linaro.org>
32880         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
32881         file.
32883 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
32885         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
32886         variants for each function.
32888 2014-08-04  Roland McGrath  <roland@hack.frob.com>
32890         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
32891         appended ...
32892         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
32893         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
32894         appended ...
32895         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
32896         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
32897         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
32898         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
32899         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
32900         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
32901         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
32902         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
32903         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
32904         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
32905         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
32906         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
32907         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
32908         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
32909         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
32910         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
32911         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
32912         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
32913         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
32914         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
32915         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
32916         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
32917         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
32918         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
32919         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
32920         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
32921         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
32922         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
32923         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
32924         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
32925         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
32926         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
32927         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
32928         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
32929         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
32930         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
32931         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
32932         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
32933         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
32934         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
32935         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
32936         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
32937         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
32938         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
32939         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
32940         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
32941         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
32942         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
32943         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
32944         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
32945         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
32946         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
32947         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
32948         Update #include.
32949         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
32950         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
32952 2014-08-04  Roland McGrath  <roland@hack.frob.com>
32954         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
32955         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
32956         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
32957         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
32958         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
32959         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
32961 2014-08-04  Roland McGrath  <roland@hack.frob.com>
32963         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
32964         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
32965         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32966         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
32968 2014-08-04  Roland McGrath  <roland@hack.frob.com>
32970         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
32971         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
32972         (__libc_vfork): Define function under this name.
32973         (__vfork): Define as an alias.
32974         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
32975         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
32977 2014-08-04  Roland McGrath  <roland@hack.frob.com>
32979         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
32980         that was previously under [RESET_PID].
32981         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
32983 2014-08-04  Andreas Schwab  <schwab@suse.de>
32985         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
32987 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
32989         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
32990         (main): Likewise.
32992 2014-08-01  Roland McGrath  <roland@hack.frob.com>
32994         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
32996 2014-08-01  Richard Henderon  <rth@redhat.com>
32998         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
32999         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
33000         typo in exact zero test.
33001         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33002         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33003         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33005 2014-08-01  Roland McGrath  <roland@hack.frob.com>
33007         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
33008         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
33009         * sysdeps/arm/sysdep.h: ... here.
33010         [!__ASSEMBLER__]: Include <stdint.h>.
33012 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
33014         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
33015         (HAVE_WCTYPE_H): Likewise.
33016         (HAVE_ISWCTYPE): Likewise.
33017         (ENABLE_NLS): Likewise.
33018         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
33019         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
33021         * posix/regex_internal.c: Check if DEBUG is defined and is
33022         set.
33024         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
33025         (HAVE_MBSRTOWCS): Likewise.
33026         * posix/fnmatch.c: Include string.h unconditionally.
33028 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
33030         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
33031         reversal.
33033 2014-07-31  Roland McGrath  <roland@hack.frob.com>
33035         * sysdeps/generic/safe-fatal.h: New file.
33036         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
33037         * nptl/forward.c: Include it.
33038         (__pthread_unwind): Use __safe_fatal as default action, rather
33039         than a bogus use of INTERNAL_SYSCALL that could never work.
33041         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
33042         * configure.ac (libc_cv_builtin_trap): New test.
33043         * configure: Regenerated.
33044         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
33045         (ABORT_INSTRUCTION): Define using __builtin_trap.
33047         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
33048         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
33049         * sysdeps/nptl/nptl-signals.h: New file.
33050         * nptl/pthreadP.h: Include <nptl-signals.h>.
33052 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
33054         * sysdeps/s390/s390-64/utf16-utf32-z9.c
33055         (ONE_DIRECTION): Define.
33056         * sysdeps/s390/s390-64/utf8-utf16-z9.c
33057         (ONE_DIRECTION): Define.
33058         * sysdeps/s390/s390-64/utf8-utf32-z9.c
33059         (ONE_DIRECTION): Define.
33061 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
33063         * sysdeps/s390/Makefile: Delete file.
33064         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
33065         * sysdeps/s390/__longjmp.c: Delete file.
33066         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
33067         Remove fields __flags and __reserved.
33068         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
33069         and add versioning.
33070         * sysdeps/s390/rtld-__longjmp.c: Delete file.
33071         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
33072         * sysdeps/s390/rtld-setjmp.S: Likewise.
33073         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
33074         * sysdeps/s390/s390-32/__longjmp.c: ... here.
33075         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
33076         * sysdeps/s390/s390-32/setjmp.S: ... here.
33077         Add versioning.
33078         (__sigsetjmp): Remove setting __flags field.
33079         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
33080         * sysdeps/s390/s390-64/__longjmp.c: ... here.
33081         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
33082         * sysdeps/s390/s390-64/setjmp.S: ... here.
33083         Add versioning.
33084         (__sigsetjmp): Remove setting __flags field.
33085         * sysdeps/s390/setjmp.S: Delete file.
33086         * sysdeps/s390/sigjmp.c: Likewise.
33087         * sysdeps/s390/v1-longjmp.c: Likewise.
33088         * sysdeps/s390/v1-setjmp.h: Likewise.
33089         * sysdeps/s390/v1-sigjmp.c: Likewise.
33090         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
33091         Remove v1-longjmp_chk.
33092         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
33093         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
33094         Include debug/longjmp_chk.c and add versioning.
33095         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
33096         Include nptl/pt-longjmp.c and add versioning.
33097         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
33098         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
33099         Include __longjmp.c.
33100         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
33101         Move to ...
33102         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
33103         (__getcontext): Remove setting __flags field.
33104         Add versioning.
33105         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
33106         Don't restore upper high grps.
33107         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
33108         Likewise.
33109         (__swapcontext): Remove setting uc_flags field.
33110         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
33111         Delete file.
33112         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
33113         Include __longjmp.c.
33114         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
33115         Move to ...
33116         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
33117         (__getcontext): Remove setting __flags field.
33118         Add versioning.
33119         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
33120         (__swapcontext): Remove setting uc_flags field.
33121         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
33122         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
33123         Remove fields uc_high_gprs and __reserved.
33124         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
33125         New file with reverted content.
33126         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
33127         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
33128         Regenerated.
33129         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
33130         Regenerated.
33132 2014-07-31  Andreas Schwab  <schwab@suse.de>
33134         * config.h.in (HAVE_IFUNC): Define to 0.
33135         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
33136         definedness.
33138 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
33140         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33141         memmove-avx-unaligned, memcpy-avx-unaligned and
33142         mempcpy-avx-unaligned.
33143         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33144         Add tests for AVX memcpy functions.
33145         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
33146         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
33147         memcpy_chk.
33148         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
33149         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
33150         memmove_chk.
33151         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
33152         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
33153         mempcpy_chk.
33154         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
33155         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
33156         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
33158 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33160         [BZ #17213]
33161         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
33162         powerpc64le.
33164 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
33166         [BZ #16839]
33167         * manual/llio.texi: Add section about open file description locks.
33168         * manual/examples/ofdlocks.c: Example of open file description
33169         lock usage.
33170         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
33171         F_OFD_SETLK, and F_OFD_SETLKW.
33173 2014-07-23  Allan McRae  <allan@archlinux.org>
33175         * po/es.po: Update Spanish translation from translation project.
33177 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
33179         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
33181 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
33183         [BZ #17078]
33184         * sysdeps/arm/dl-machine.h (elf_machine_rela)
33185         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
33186         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
33188 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
33190         [BZ #17088]
33191         * math/fesetenv.c (__fesetenv)
33192         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
33193         * math/feupdateenv.c (__feupdateenv)
33194         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
33196         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
33197         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
33198         (__ASSUME_SOCKETCALL): Do not define.
33200         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
33201         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
33202         (__ASSUME_SOCKETCALL): Do not define.
33203         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
33204         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
33205         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
33206         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
33207         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
33208         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
33209         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
33210         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33212         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
33213         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
33214         (__ASSUME_SOCKETCALL): Do not define.
33215         (__ASSUME_IPC64): Define unconditionally.
33216         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
33217         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
33218         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
33219         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
33220         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
33221         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
33222         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
33223         Likewise.
33225         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
33226         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
33227         (__ASSUME_SOCKETCALL): Do not define.
33228         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
33229         (__ASSUME_FUTEX_LOCK_PI): Likewise.
33230         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
33231         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
33232         (__ASSUME_REQUEUE_PI): Define unconditionally.
33233         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
33234         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
33235         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33236         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
33237         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
33238         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33240         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
33241         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
33242         (__ASSUME_SOCKETCALL): Do not define.
33243         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
33244         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
33245         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33246         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
33247         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
33248         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33250         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
33251         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
33252         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
33253         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
33254         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
33255         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
33256         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
33257         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
33258         (__ASSUME_GETCPU_SYSCALL): Likewise.
33260         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
33261         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
33262         cases for individual architectures.
33263         * sysdeps/gnu/configure: Regenerated.
33264         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
33265         LIBC_SLIBDIR_RTLDDIR.
33266         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
33267         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
33268         LIBC_SLIBDIR_RTLDDIR.
33269         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
33270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
33271         LIBC_SLIBDIR_RTLDDIR.
33272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
33273         Regenerated.
33274         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
33275         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
33276         file.
33277         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
33278         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
33279         file.
33280         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
33281         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
33282         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
33283         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
33285         * sysdeps/aarch64/shlib-versions: Move to ...
33286         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
33287         * sysdeps/alpha/shlib-versions: Move to ...
33288         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
33289         * sysdeps/arm/shlib-versions: Move to ...
33290         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
33291         * sysdeps/hppa/shlib-versions: Move all contents except for
33292         libgcc_s entry to ...
33293         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
33294         entry from ...
33295         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
33296         * sysdeps/ia64/shlib-versions: Move to ...
33297         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
33298         entry from ...
33299         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
33300         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
33301         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
33302         * sysdeps/microblaze/shlib-versions: Move to ...
33303         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
33304         * sysdeps/mips/shlib-versions: Move to ...
33305         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
33306         entry from ...
33307         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
33308         * sysdeps/tile/shlib-versions: Move to ...
33309         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
33310         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
33311         from ...
33312         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
33313         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
33314         entry from ...
33315         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
33317 2014-07-17  Will Newton  <will.newton@linaro.org>
33319         * sysdeps/arm/bits/atomic.h
33320         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
33321         (__arch_compare_and_exchange_bool_16_int): Likewise.
33322         (__arch_compare_and_exchange_bool_64_int): Likewise.
33324         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
33325         into an #else block.
33327 2014-07-16  Roland McGrath  <roland@hack.frob.com>
33329         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
33330         just Linux configurations.  Test empirically that the compiler sets
33331         __ARM_EABI__, rather than using the tuple to decide.
33332         * sysdeps/arm/preconfigure: Regenerated.
33333         * sysdeps/unix/sysv/linux/arm/configure: File removed.
33334         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
33335         contents appended ...
33336         * sysdeps/arm/configure.ac: ... here.
33337         * sysdeps/arm/configure: Regenerated.
33339 2014-07-15  Roland McGrath  <roland@hack.frob.com>
33341         * nptl/pthread_kill.c: New file.
33342         * nptl/pthread_sigmask.c: New file.
33343         * nptl/pthread_sigqueue.c: New file.
33345         * sysdeps/nptl/lowlevellock.h: New file.
33346         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
33347         * sysdeps/nptl/lowlevellock-futex.h: New file.
33349         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
33350         Remove dead declarations.
33352 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
33354         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
33355         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
33356         config-cflags-avx2.
33357         * sysdeps/x86_64/configure.ac: Likewise.
33358         * sysdeps/i386/configure: Regenerated.
33359         * sysdeps/x86_64/configure: Likewise.
33360         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33361         memset-avx2 only if config-cflags-avx2 is yes.
33362         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33363         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
33364         defined.
33365         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
33366         only if HAVE_AVX2_SUPPORT is defined.
33367         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33369 2014-07-14  Alan Modra  <amodra@gmail.com>
33371         [BZ #17153]
33372         * elf/elf.h (DT_PPC64_NUM): Correct value.
33373         * NEWS: Add to fixed bug list.
33375 2014-07-13  Jim Meyering  <meyering@fb.com>
33377         [BZ 17150]
33378         regex: don't deref NULL upon heap allocation failure
33379         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
33380         failure in one more place.
33381         To trigger the segfault, configure grep -with-included-regex,
33382         build it, and run these commands:
33383         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
33385 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
33387         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
33389 2014-07-11  Richard Henderson  <rth@redhat.com>
33391         * sysdeps/aarch64/libm-test-ulps: Update.
33393 2014-07-10  Florian Weimer  <fweimer@redhat.com>
33395         [BZ #17135]
33396         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
33397         * nptl/allocatestack.c (__nptl_setxid_error): New function.
33398         (__nptl_setxid): Initialize error member.  Call
33399         __nptl_setxid_error.
33400         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
33401         * nptl/descr.h (struct xid_command): Add error member.
33402         * nptl/tst-setuid3.c: New file.
33403         * nptl/Makefile (tests): Add it.
33405 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33407         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
33408         New define.
33409         (__lll_trylock): Use __lll_base_trylock.
33410         (__lll_cond_trylock): Likewise.
33412 2014-07-10  Roland McGrath  <roland@hack.frob.com>
33414         * nptl/pthread_create.c (start_thread): Use atomic_or and
33415         lll_futex_wake directly rather than lll_robust_dead.
33416         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
33417         (lll_robust_dead): Macro removed.
33418         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
33419         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
33420         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
33421         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
33422         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
33423         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
33424         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
33425         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
33426         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
33427         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
33428         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
33429         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
33430         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
33431         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
33432         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
33434         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
33435         Use atomic_compare_and_exchange_val_acq directly rather than
33436         lll_robust_trylock.
33437         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
33438         (__lll_robust_trylock, lll_robust_trylock): Removed.
33439         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
33440         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
33441         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
33442         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
33443         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
33444         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
33445         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
33446         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
33447         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
33448         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
33449         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
33450         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
33451         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
33452         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
33454 2014-07-02  Florian Weimer  <fweimer@redhat.com>
33456         * manual/locale.texi (Locale Names): New section documenting
33457         locale name syntax.  Adjust menu and node chaining accordingly.
33458         (Choosing Locale): Reference Locale Names, Locale Categories.
33459         Mention setting LC_ALL=C.  Reflect that name syntax is now
33460         documented.
33461         (Locale Categories): New section title.  Reference Locale Names.
33462         LC_ALL is an environment variable, but not a category.
33463         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
33464         description, now in Locale Name.  Reference that section.  Locale
33465         name syntax is now documented.
33467 2014-07-02  Florian Weimer  <fweimer@redhat.com>
33469         [BZ #17137]
33470         * locale/findlocale.c (name_present, valid_locale_name): New
33471         functions.
33472         (_nl_find_locale): Use the loc_name variable to store name
33473         candidates.  Call name_present and valid_locale_name to check and
33474         validate locale names.  Return an error if the locale is invalid.
33476 2014-07-02  Florian Weimer  <fweimer@redhat.com>
33478         * locale/setlocale.c (setlocale): Use strdup for allocating
33479         composite name copy.
33481 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33483         Sync up with gnulib.
33484         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
33485         [!_LIBC && ENABLE_NLS]: Include gettext.h.
33486         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
33487         and _GL_ARG_NONNULL.
33488         [USE_UNLOCKED_IO]: Include unlocked-io.h.
33489         [!_LIBC]: Include code for Windows and Cygwin.
33490         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
33491         Include prototype for int strerror_r.
33492         [!_LIBC] (is_open): New function.
33493         (flush_stdout): New function.
33494         (print_errno_message): Use it.
33495         (error): Likewise.
33496         (error_at_line): Likewise.
33497         (error_tail) Add function attribute macros.  Use
33498         __builtin_expect.
33500         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
33502         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
33504         * io/ftw.c: Include sys/param.h unconditionally.
33506         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
33508         [BZ #17125]
33509         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
33510         libc_freeres_ptr.
33511         (freecache): New function to free CACHE on exit.
33513         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
33514         initialization.
33516 2014-07-09  David S. Miller  <davem@davemloft.net>
33518         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33520         * sysdeps/sparc/nptl/internaltypes.h: Delete.
33521         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
33522         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
33523         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
33524         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
33525         * sysdeps/sparc/nptl/sem_init.c: Likewise.
33526         * sysdeps/sparc/nptl/sem_post.c: Likewise.
33527         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
33528         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
33529         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
33530         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
33531         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
33532         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
33534 2014-07-09  Andreas Schwab  <schwab@suse.de>
33536         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
33537         output.
33538         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
33539         (do_test): Likewise.
33541         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33543 2014-07-09  Will Newton  <will.newton@linaro.org>
33545         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
33546         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
33547         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
33548         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
33549         * sysdeps/hppa/start.S (_start): Likewise.
33551 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
33553         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
33555         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
33556         defined.
33558 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
33560         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
33561         after checking that it is non-NULL.
33563         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
33565 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33567         * sysdeps/powerpc/memmove.c: Remove file.
33568         * sysdeps/powerpc/powerpc32/power4/memcopy.h
33569         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
33570         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
33571         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
33572         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
33573         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
33574         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
33575         string memmove instead of removed powerpc one.
33577         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
33578         [weak_alias]: Fix compiler warning due trailing data.
33579         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
33580         [weak_alias]: Likewise.
33581         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
33582         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
33584         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
33585         (__libc_ifunc_impl_list): Add memmove functions.
33587 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
33589         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
33590         Remove code.
33591         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
33592         Likewise.
33593         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
33594         Likewise.
33595         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
33596         Likewise.
33597         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
33598         Likewise.
33599         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
33600         Likewise.
33601         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
33602         Likewise.
33603         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
33604         Likewise.
33605         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
33606         Likewise.
33607         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
33608         Likewise.
33609         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
33610         Likewise.
33611         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
33612         Likewise.
33613         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
33614         Likewise.
33615         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
33616         Likewise.
33617         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
33618         Likewise.
33619         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
33620         Likewise.
33621         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
33622         Likewise.
33624 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33626         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
33627         to avoid alignment traps in non-cacheable memory.
33628         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
33630         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
33631         multiarch objects.
33632         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
33633         file: multiarch power7 memmove.
33634         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
33635         multiarch default memmove.
33636         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
33637         multiarch memove for powerpc32/power4.
33639         * string/bcopy.c: Use full path to include memmove.c.
33640         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
33641         multiarch objects.
33642         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
33643         bcopy for powerpc64.
33644         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
33645         bcopy for powerpc64.
33646         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
33647         and memmove implementations.
33648         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
33649         optimized multiarch memmove for POWER7/powerpc64.
33650         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
33651         default multiarch memmove for powerpc64.
33652         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
33653         multiarch for powerpc64.
33654         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
33655         for POWER7/powerpc64.
33656         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
33657         memmove for POWER7/powerpc64.
33659         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
33660         glibc default one.
33662         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
33663         __ELF_NATIVE_CLASS equal to 64.
33665 2014-07-07  Roland McGrath  <roland@hack.frob.com>
33667         * sysdeps/nptl/lowlevellock.h: File removed.
33669         * NEWS: NPTL is no longer an add-on!
33670         * nptl/internaltypes.h: Moved ...
33671         * sysdeps/nptl/internaltypes.h: ... here.
33672         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
33673         * sysdeps/nptl/fork.c: Likewise.
33674         * sysdeps/nptl/gai_misc.h: Likewise.
33675         * sysdeps/nptl/librt-cancellation.c: Likewise.
33676         * sysdeps/nptl/jmp-unwind.c: Likewise.
33677         * sysdeps/nptl/setxid.h: Likewise.
33678         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
33679         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
33680         * sysdeps/unix/sysv/linux/arm/Implies: New file.
33681         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
33682         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
33683         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
33684         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
33685         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
33686         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
33687         * sysdeps/unix/sysv/linux/mips/Implies: New file.
33688         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
33689         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
33690         * sysdeps/unix/sysv/linux/sh/Implies: New file.
33691         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
33692         * sysdeps/unix/sysv/linux/tile/Implies: New file.
33693         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
33694         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
33695         * nptl/Makeconfig: Moved ...
33696         * sysdeps/nptl/Makeconfig: ... here.
33697         * nptl/configure: File removed.
33698         * nptl/ANNOUNCE: File removed.
33699         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
33700         * sysdeps/unix/sysv/linux/configure: Regenerated.
33702         * nptl/Makefile (routines): Add libc_pthread_init,
33703         libc_multiple_threads, register-atfork and unregister-atfork.
33704         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
33705         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
33706         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
33707         pthread-pi-defines.sym, structsem.sym.
33708         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
33709         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
33710         [$(subdir) = nptl] (tests): Add tst-setgetname.
33711         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
33712         * sysdeps/unix/sysv/linux/sigaction.c: Just include
33713         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
33714         [!LIBC_SIGACTION]: Remove aliases.
33715         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
33716         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
33717         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
33718         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
33719         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
33720         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
33721         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
33722         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
33723         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
33724         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
33725         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
33726         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
33727         __libc_allocate_rtsig_private.
33728         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
33729         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
33730         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
33731         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
33732         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
33733         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
33734         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
33735         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
33736         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
33737         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
33738         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
33739         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
33740         * nptl/internaltypes.h: ... here.
33741         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
33742         * sysdeps/nptl/jmp-unwind.c: ... here.
33743         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
33744         * nptl/libc-lowlevellock.c: ... here.
33745         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
33746         * nptl/libc_multiple_threads.c: ... here.
33747         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
33748         * nptl/libc_pthread_init.c: ... here.
33749         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
33750         * nptl/lowlevelbarrier.sym: ... here.
33751         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
33752         * nptl/lowlevelcond.sym: ... here.
33753         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
33754         * nptl/lowlevellock.c: ... here.
33755         * nptl/lowlevellock.h: Moved ...
33756         * sysdeps/nptl/lowlevellock.h: ... here.
33757         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
33758         * nptl/lowlevelrobustlock.c: ... here.
33759         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
33760         * nptl/lowlevelrobustlock.sym: ... here.
33761         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
33762         * nptl/lowlevelrwlock.sym: ... here.
33763         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
33764         * nptl/pt-fork.c: ... here.
33765         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
33766         * nptl/pthread-pi-defines.sym: ... here.
33767         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
33768         * nptl/pthread_attr_getaffinity.c: ... here.
33769         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
33770         * nptl/pthread_attr_setaffinity.c: ... here.
33771         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
33772         * nptl/pthread_mutex_cond_lock.c: ... here.
33773         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
33774         Update #include.
33775         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
33776         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
33777         * nptl/pthread_once.c: ... here, replacing old file.
33778         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
33779         * nptl/pthread_yield.c: ... here.
33780         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
33781         * nptl/register-atfork.c: ... here.
33782         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
33783         * nptl/sem_post.c: ... here.
33784         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
33785         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
33786         * nptl/sem_timedwait.c: ... here.
33787         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
33788         * nptl/sem_trywait.c: ... here.
33789         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
33790         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
33791         * nptl/sem_wait.c: ... here.
33792         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
33793         * nptl/structsem.sym: ... here.
33794         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
33795         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
33796         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
33797         * nptl/unregister-atfork.c: ... here.
33798         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
33799         * nptl/unwindbuf.sym: ... here.
33800         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
33801         * sysdeps/nptl/fork.c: ... here.
33802         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
33803         * sysdeps/nptl/fork.h: ... here.
33804         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
33805         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
33806         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
33807         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
33808         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
33809         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
33810         * sysdeps/unix/sysv/linux/getpid.c: ... here.
33811         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
33812         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
33813         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
33814         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
33815         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
33816         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
33817         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
33818         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
33819         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
33820         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
33821         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
33822         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
33823         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
33824         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
33825         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
33826         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
33827         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
33828         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
33829         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
33830         * sysdeps/unix/sysv/linux/raise.c: ... here.
33831         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
33832         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
33833         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
33834         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
33835         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
33836         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
33837         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
33838         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
33839         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
33840         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
33841         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
33842         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
33843         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
33844         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
33845         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
33847 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33849         * sysdeps/generic/memcopy.h: Add comment for
33850         MEMCPY_OK_FOR_FWD_MEMMOVE.
33852 2014-07-04  Will Newton  <will.newton@linaro.org>
33854         * string/memchr.c: Merge from gnulib.
33855         [_LIBC]: Remove conditionals.
33856         (__ptr_t): Remove define.
33857         (LONG_MAX_32_BITS): Likewise.
33858         (LONG_MAX): Likewise.
33859         (MEMCHR): Use ANSI prototype and optimize algorithm.
33861         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
33863 2014-07-03  Roland McGrath  <roland@hack.frob.com>
33865         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
33866         (lll_futex_timed_wait_bitset): Fix syscall argument count.
33868         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
33869         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
33870         in a bare environment with no <stdlib.h> installed.
33871         * sysdeps/nptl/configure: Regenerated.
33873         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
33875         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
33876         AC_EGREP_CPP for kernel header checks, so they only succeed if
33877         including <linux/version.h> actually works right.
33878         * sysdeps/unix/sysv/linux/configure: Regenerated.
33880         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
33881         value so it's not diagnosed as unused.
33883         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
33884         thing) with "ifeq ($(subdir),rt)".
33886 2014-07-03  Richard Henderson  <rth@redhat.com>
33888         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
33889         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
33890         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
33892         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
33893         (math_force_eval): New.
33895         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
33896         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
33898         * sysdeps/alpha/fpu/s_round.c: Remove file.
33899         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
33901         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
33902         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
33903         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
33904         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
33905         (_dl_start, print_statistics): Likewise.
33906         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
33907         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
33909         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33910         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33911         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33912         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33913         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
33914         (HP_SMALL_TIMING_AVAIL): Define.
33915         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33916         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
33917         (HP_SMALL_TIMING_AVAIL): Define.
33918         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33919         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33921         * sysdeps/aarch64/hp-timing.h: New file.
33923         * sysdeps/generic/hp-timing.h: Remove dead comment.
33924         * sysdeps/generic/hp-timing-common.h: New file.
33925         * sysdeps/alpha/hp-timing.h: Include it.
33926         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
33927         * sysdeps/i386/i686/hp-timing.h: Likewise.
33928         * sysdeps/ia64/hp-timing.h: Likewise.
33929         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33930         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33931         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
33932         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
33933         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
33934         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
33935         (hp_timing_t): New.
33937         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
33938         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
33939         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
33940         * elf/rtld.c (_dl_start_final): Likewise.
33941         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
33942         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33943         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33944         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33945         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33946         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
33947         (HP_TIMING_DIFF_INIT): Remove.
33948         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33949         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
33950         (HP_TIMING_DIFF_INIT): Remove.
33951         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33952         * sysdeps/i386/i686/hp-timing.c: Remove file.
33953         * sysdeps/x86_64/hp-timing.c: Remove file.
33954         * sysdeps/ia64/hp-timing.c: Remove file.
33955         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
33956         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
33957         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
33958         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
33960         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
33961         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
33962         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
33963         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
33964         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
33965         (HP_TIMING_ACCUM): Remove.
33966         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
33967         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
33968         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
33970         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
33971         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
33972         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
33973         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
33974         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
33975         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
33976         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
33977         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
33979         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
33981 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
33983         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
33985 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33987         Sync up with gettext.
33988         * intl/loadmsgcat.c: Define O_BINARY if not defined.
33989         [_MSC_VER]: Include malloc.h
33990         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
33991         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
33992         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
33993         TEMP_FAILURE_RETRY.  Cast return of alloca.
33994         [!_LIBC] Call gl_rwlock_init.
33995         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
33997 2014-07-02  Roland McGrath  <roland@hack.frob.com>
33999         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
34000         before checking its value.
34002 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34004         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
34006         * debug/memcpy_chk.c: Don't include pagecopy.h.
34007         * debug/mempcpy_chk.c: Likewise.
34008         * string/memcpy.c: Likewise.
34009         * string/memmove.c: Likewise.
34010         * sysdeps/powerpc/memmove.c: Likewise.
34011         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
34012         definition of PAGE_COPY_FWD_MAYBE here...
34013         * sysdeps/generic/pagecopy.h: ... from here.
34014         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
34016 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34017             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34019         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
34020         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
34021         optimizations.
34022         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34023         (__libc_ifunc_impl_list): Likewise.
34024         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
34025         multiarch strcat for PPC64.
34026         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
34027         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
34029 2014-07-02  Roland McGrath  <roland@hack.frob.com>
34031         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
34033 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34035         * intl/loadmsgcat.c: Remove declaration of
34036         get_sysdep_segment_value.
34037         (get_sysdep_segment_value): Use ISO C style.
34038         (_nl_load_domain): Use ISO C style.  Get rid of redundant
34039         semicolon.  Fix typo and formatting in comment.
34040         (_nl_unload_domain): Use ISO C style.
34042         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
34044 2014-07-02  Will Newton  <will.newton@linaro.org>
34046         * malloc/obstack.c: Merge from gnulib master.
34047         [HAVE_CONFIG_H]: Remove conditional code.
34048         [!_LIBC]: Include config.h.
34049         [!ELIDE_CODE]: Don't include inttypes.h, include
34050         stdint.h unconditionally.
34051         (print_and_abort): Mark as _Noreturn.
34052         (_obstack_allocated_p): Mark as __attribute_pure__.
34053         (obstack_free): Rename to __obstack_free.
34054         [!__attribute__]: Remove conditional code.
34055         * malloc/obstack.h: Merge from gnulib master.
34056         [__cplusplus]: Move conditional down.
34057         [!__attribute_pure__]: Define __attribute_pure__ here
34058         if it is not already defined.
34059         (_obstack_memory_used): Mark as __attribute_pure__.
34060         [!__obstack_free]: Define as obstack_free.
34061         [__GNUC__]: Remove check for ancient NeXT gcc.
34063 2014-07-02  Will Newton  <will.newton@linaro.org>
34064             Paul Eggert  <eggert@cs.ucla.edu>
34066         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
34068 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34070         * resolv/gethnamaddr.c: Add comment warning that the file is
34071         not maintained.
34073 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
34075         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
34076         entries.
34078         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
34079         entry for aio_cancel and aio_cancel64.
34080         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
34081         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
34082         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
34083         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
34084         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
34085         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
34086         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
34087         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
34088         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
34089         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
34090         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
34091         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
34092         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
34094 2014-07-01  Roland McGrath  <roland@hack.frob.com>
34096         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
34097         * nptl/pthread_mutex_lock.c: Likewise.
34098         * nptl/pthread_mutex_timedlock.c: Likewise.
34099         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
34101 2014-07-01  Richard henderson  <rth@redhat.com>
34103         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
34104         (__isnan, __isnanl): Remove.
34105         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
34107         * sysdeps/alpha/fpu/libm-test-ulps: Update.
34109 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
34111         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34113 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
34115         * resolv/nss_dns/dns-host.c (getanswer_r)
34116         [MULTI_PTRS_ARE_ALIASES]: Remove code.
34118 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
34120         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34121         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
34122         undefine.
34123         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
34124         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
34126 2014-07-01  Roland McGrath <roland@hack.frob.com>
34128         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
34129         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
34131         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
34132         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
34134         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
34135         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
34136         ... here.
34137         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
34138         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
34140         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
34141         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
34142         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
34143         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
34145         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
34146         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
34147         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
34148         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
34149         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
34150         Moved ...
34151         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
34152         ... here.
34153         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
34154         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
34155         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
34156         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
34157         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
34158         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
34159         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
34160         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
34161         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
34162         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
34163         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
34164         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
34165         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
34166         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
34167         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
34168         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
34169         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
34170         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
34171         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
34172         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
34173         ... here.
34174         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
34175         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
34176         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
34177         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
34178         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
34179         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
34180         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
34181         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
34183 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
34185         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
34186         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
34187         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
34188         Add sysdep.
34190 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34192         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34194 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
34196         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
34197         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34199         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34201         * sysdeps/arm/libm-test-ulps: Regenerated.
34203 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
34204             Roland McGrath <roland@hack.frob.com>
34206         * test-skeleton.c (signal_handler): Kill the whole process group
34207         before killing the child individually.
34208         (main): Report any failure on `setpgid'.
34210 2014-06-30  Roland McGrath  <roland@hack.frob.com>
34212         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
34213         from _TLS_H to _ARM_NPTL_TLS_H.
34214         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
34215         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
34217 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
34219         [BZ #16539]
34220         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
34221         (__expm1l): Return argument unchanged when small but not
34222         subnormal.
34224         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
34225         include macro name.
34226         (_FP_UNPACK_RAW_1_P): Likewise.
34227         (_FP_PACK_RAW_1): Likewise.
34228         (_FP_PACK_RAW_1_P): Likewise.
34229         (_FP_MUL_MEAT_1_wide): Likewise.
34230         (_FP_MUL_MEAT_DW_1_hard): Likewise.
34231         (_FP_MUL_MEAT_1_hard): Likewise.
34232         (_FP_DIV_MEAT_1_imm): Likewise.
34233         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
34234         (_FP_DIV_MEAT_1_udiv): Likewise.
34235         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
34236         (_FP_UNPACK_RAW_2): Likewise.
34237         (_FP_UNPACK_RAW_2_P): Likewise.
34238         (_FP_PACK_RAW_2): Likewise.
34239         (_FP_PACK_RAW_2_P): Likewise.
34240         (_FP_MUL_MEAT_DW_2_wide): Likewise.
34241         (_FP_MUL_MEAT_2_wide): Likewise.
34242         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
34243         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
34244         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
34245         (_FP_MUL_MEAT_2_gmp): Likewise.
34246         (_FP_DIV_MEAT_2_udiv): Likewise.
34247         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
34248         (_FP_FRAC_SRL_4): Likewise.
34249         (_FP_FRAC_SRST_4): Likewise.
34250         (_FP_FRAC_SRS_4): Likewise.
34251         (_FP_UNPACK_RAW_4): Likewise.
34252         (_FP_UNPACK_RAW_4_P): Likewise.
34253         (_FP_PACK_RAW_4): Likewise.
34254         (_FP_PACK_RAW_4_P): Likewise.
34255         (_FP_MUL_MEAT_DW_4_wide): Likewise.
34256         (_FP_MUL_MEAT_4_wide): Likewise.
34257         (_FP_MUL_MEAT_4_gmp): Likewise.
34258         (umul_ppppmnnn): Likewise.
34259         (_FP_DIV_MEAT_4_udiv): Likewise.
34260         (__FP_FRAC_ADD_4): Likewise.
34261         (__FP_FRAC_SUB_3): Likewise.
34262         (__FP_FRAC_SUB_4): Likewise.
34263         (__FP_FRAC_DEC_3): Likewise.
34264         (__FP_FRAC_DEC_4): Likewise.
34265         (__FP_FRAC_ADDI_4): Likewise.
34266         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
34267         (_FP_FRAC_SRL_8): Likewise.
34268         (_FP_FRAC_SRS_8): Likewise.
34270         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
34271         include macro name.
34272         (FP_UNPACK_RAW_EP): Likewise.
34273         (FP_PACK_RAW_E): Likewise.
34274         (FP_PACK_RAW_EP): Likewise.
34275         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
34276         (_FP_ISSIGNAN): Likewise.
34277         (_FP_ADD_INTERNAL): Likewise.
34278         (_FP_FMA): Likewise.
34279         (_FP_CMP): Likewise.
34280         (_FP_SQRT): Likewise.
34281         (_FP_TO_INT): Likewise.
34282         (_FP_FROM_INT): Likewise.
34283         (FP_EXTEND): Likewise.
34284         (_FP_DIV_MEAT_N_loop): Likewise.
34286 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
34288         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
34289         throughout.
34291 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
34293         [BZ #17097]
34294         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
34295         result with correct sign in case of exponents that produce
34296         overflow except for X very close to 1.
34298 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
34300         mktime: merge #if/#ifdef usage from glibc
34301         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
34302         as that works with both Glibc's and Gnulib's style.
34303         See thread starting at Siddhesh Poyarekar's bug report at:
34304         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
34306 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34308         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
34309         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
34310         * sysdeps/tile/tilegx/memmove.c: Remove file.
34312 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
34314         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
34315         abi-name definition.
34316         * scripts/soversions.awk: Do not handle or generate ABI lines.
34317         * shlib-versions: Remove ABI entries.
34318         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
34319         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
34321 2014-06-27  Roland McGrath  <roland@hack.frob.com>
34323         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
34324         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
34325         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
34326         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
34327         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
34328         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
34329         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
34330         Moved ...
34331         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
34332         ... here.
34333         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
34334         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
34335         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
34336         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
34337         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
34338         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
34339         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
34340         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
34341         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
34342         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
34343         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
34344         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
34345         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
34346         Moved ...
34347         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
34348         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
34349         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
34350         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
34351         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
34352         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
34353         Moved ...
34354         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
34355         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
34356         Moved ...
34357         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
34358         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
34359         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
34360         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
34361         Moved ...
34362         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
34363         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
34364         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
34365         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
34366         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
34367         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
34368         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
34369         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
34370         Moved ...
34371         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
34372         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
34373         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
34374         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
34375         Moved ...
34376         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
34377         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
34378         Moved ...
34379         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
34380         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
34381         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
34382         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
34383         Moved ...
34384         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
34385         ... here.
34386         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
34387         Identical file removed.
34388         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
34389         Moved ...
34390         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
34391         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
34392         Identical file removed.
34393         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
34394         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
34395         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
34396         Moved ...
34397         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
34398         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
34399         Identical file removed.
34400         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
34401         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
34402         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
34403         Identical file removed.
34404         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
34405         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
34406         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
34407         Identical file removed.
34408         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
34409         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
34410         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
34411         Identical file removed.
34412         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
34413         Moved ...
34414         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
34415         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
34416         Identical file removed.
34417         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
34418         Moved ...
34419         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
34420         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
34421         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
34422         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
34423         Identical file removed.
34424         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
34425         Moved ...
34426         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
34427         ... here.
34428         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
34429         Identical file removed.
34430         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
34431         Moved ...
34432         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
34433         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
34434         Identical file removed.
34435         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
34436         Moved ...
34437         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
34438         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
34439         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
34440         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
34441         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
34442         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
34443         Moved ...
34444         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
34445         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
34446         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
34448         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
34449         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
34450         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
34451         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
34452         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
34454 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
34456         [BZ #17092]
34457         * nscd/nscd.c (monitor_child): Return exit status of child
34458         instead of return value from wait syscall.
34460 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
34462         * configure.ac (libc_commonpagesize): Remove variable.
34463         (libc_relro_required): Likewise.
34464         (libc_cv_z_relro): Remove configure test.
34465         * configure: Regenerated.
34466         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
34467         variable.
34468         (libc_relro_required): Likewise.
34469         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
34470         (libc_relro_required): Likewise.
34471         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
34472         (libc_relro_required): Likewise.
34473         * sysdeps/arm/preconfigure: Regenerated.
34474         * sysdeps/ia64/preconfigure: Remove file.
34475         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
34476         variable.
34477         (libc_relro_required): Likewise.
34479         [BZ #16561]
34480         [BZ #16562]
34481         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
34482         (__ieee754_yn): Set FE_TONEAREST mode internally and then
34483         recompute overflowing results in original rounding mode.
34484         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
34485         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
34486         recompute overflowing results in original rounding mode.
34487         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
34488         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
34489         recompute overflowing results in original rounding mode.
34490         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
34491         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
34492         recompute overflowing results in original rounding mode.
34493         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
34494         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
34495         recompute overflowing results in original rounding mode.
34496         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
34497         (libc_feholdsetround_ctx): New macro.
34498         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
34499         * sysdeps/i386/fpu/libm-test-ulps: Update.
34500         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
34502 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
34504         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
34505         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
34506         corresponding .cpsetup call.
34508 2014-06-26  Roland McGrath  <roland@hack.frob.com>
34510         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
34511         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
34512         * sysdeps/arm/Makefile [$(subdir) = csu]
34513         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
34514         (static-only-routines): Add aeabi_read_tp here.
34515         (shared-only-routines): Add libc-aeabi_read_tp here.
34516         (CFLAGS-libc-start.c): Add -fexceptions here.
34517         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
34518         (sysdep_routines, static-only-routines, shared-only-routines):
34519         Don't add to these here.
34520         (CFLAGS-libc-start.c): Likewise.
34522         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
34523         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
34524         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
34525         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
34526         * sysdeps/arm/Makefile [$(subdir) = rt]
34527         (librt-sysdep_routines, librt-shared-only-routines):
34528         Append rt-aeabi_unwind_cpp_pr1 here.
34529         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
34530         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
34531         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
34532         (libpthread-sysdep_routines, libpthread-shared-only-routines):
34533         Append nptl-aeabi_unwind_cpp_pr1 here.
34534         (tests): Filter out tst-cleanupx4 here.
34535         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
34536         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
34537         Don't do those here.
34539 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
34541         * scripts/list-sources.sh: Do not handle ports specially.
34543 2014-06-26  Roland McGrath  <roland@hack.frob.com>
34545         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
34546         * sysdeps/arm/feupdateenv.c: Likewise.
34548         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
34550 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
34552         * manual/texinfo.tex: Update to version 2014-05-05.10 with
34553         trailing whitespace removed.
34554         * scripts/config.guess: Update to version 2014-03-23.
34555         * scripts/config.sub: Update to version 2014-05-01
34556         * scripts/install-sh: Update to version 2013-12-25.23.
34557         * scripts/move-if-change: Update from gnulib.
34559 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34561         * debug/memmove_chk.c: Remove pagecopy.h include.
34563 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
34565         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
34566         identical to gnulib mktime.
34568 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
34570         * configure.ac: Do not test for machine being rs6000.  Do not test
34571         for powerpc*-*soft.
34572         * configure: Regenerated.
34574         [BZ #11505]
34575         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
34576         test.
34577         * configure: Regenerated.
34578         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
34579         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
34580         Remove configure test.
34581         * sysdeps/arm/configure: Regenerated.
34582         * sysdeps/nptl/configure.ac: Do not check
34583         libc_cv_asm_cfi_directives.
34584         * sysdeps/nptl/configure: Regenerated.
34585         * sysdeps/x86_64/nptl/configure.ac: Remove file.
34586         * sysdeps/x86_64/nptl/configure: Remove generated file.
34587         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
34588         unconditional.
34589         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
34591 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34593         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
34594         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
34595         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
34596         it is defined.
34598         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
34599         instead of whether it is defined.
34600         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
34601         * sysdeps/hppa/dl-machine.h: Likewise.
34602         * sysdeps/ia64/dl-machine.h: Likewise.
34603         * sysdeps/m68k/dl-machine.h: Likewise.
34604         * sysdeps/microblaze/dl-machine.h: Likewise.
34605         * sysdeps/mips/dl-machine.: Likewise.
34606         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
34607         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34608         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
34609         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
34610         * sysdeps/sh/dl-machine.h: Likewise.
34611         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34612         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34613         * sysdeps/tile/dl-machine.h: Likewise.
34614         * sysdeps/x86_64/dl-machine.h: Likewise.
34616         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
34617         code.
34618         (verify_persistent_db): Likewise.
34620 2014-06-26  Roland McGrath  <roland@hack.frob.com>
34622         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
34623         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
34624         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
34625         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
34626         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
34627         Moved ...
34628         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
34629         ... here.
34630         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
34631         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
34632         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
34633         Identical file removed.
34634         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
34635         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
34636         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
34637         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
34638         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
34639         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
34640         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
34641         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
34642         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
34643         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
34644         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34645         Moved ...
34646         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
34647         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
34648         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
34649         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
34650         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
34651         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
34652         Moved ...
34653         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
34654         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
34655         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
34656         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
34657         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
34658         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
34659         Identical file removed.
34660         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
34661         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
34662         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
34663         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
34664         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
34665         Moved ...
34666         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
34667         ... here.
34668         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
34669         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
34670         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
34671         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
34672         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
34673         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
34674         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
34675         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
34676         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
34677         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
34678         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34679         Moved ...
34680         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
34681         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
34682         Moved ...
34683         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
34684         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
34685         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
34686         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
34687         Moved ...
34688         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
34689         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
34690         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
34692         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
34693         folded into ...
34694         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
34695         * sysdeps/unix/sysv/linux/s390/Versions
34696         (libpthread: GLIBC_2.19): New version set.
34697         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
34698         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
34699         (librt: GLIBC_2.3.3): New version set.
34700         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
34701         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
34702         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
34703         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
34704         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
34705         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
34706         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
34707         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
34708         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
34709         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
34710         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
34711         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
34712         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
34713         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
34714         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
34715         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
34716         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
34717         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
34718         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
34719         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
34720         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
34721         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
34722         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
34723         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
34724         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
34725         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
34726         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
34727         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
34728         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
34729         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
34730         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
34731         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
34732         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
34733         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
34734         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
34735         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
34736         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
34737         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
34738         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
34739         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
34740         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
34741         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
34742         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
34743         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
34744         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
34746         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
34747         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
34748         (__libc_vfork): Define the function under this name.
34749         [!NOT_IN_libc] (__vfork): Make this an alias.
34750         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
34751         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
34752         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
34753         (__libc_vfork): Define the function under this name.
34754         [!NOT_IN_libc] (__vfork): Make this an alias.
34755         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
34756         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
34757         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
34758         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
34759         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
34760         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34762         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
34763         code that was previously under [RESET_PID].
34764         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
34765         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
34766         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
34768         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
34769         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
34770         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
34771         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
34772         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
34773         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
34774         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
34775         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
34776         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
34777         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
34778         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
34779         Moved ...
34780         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
34781         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
34782         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
34783         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
34784         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
34785         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
34786         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
34787         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
34788         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
34789         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
34790         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
34791         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
34792         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
34793         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
34794         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
34795         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
34796         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
34797         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
34798         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
34799         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
34800         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
34801         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
34802         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
34803         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
34804         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
34805         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
34806         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
34807         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
34808         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
34810 2014-06-25  Roland McGrath  <roland@hack.frob.com>
34812         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
34813         that was previously under [RESET_PID].
34814         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
34816 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
34818         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
34819         not undefine and redefine.
34820         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
34821         [O_CLOEXEC]: Make code unconditional.
34822         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
34823         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
34824         <kernel-features.h>.
34825         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
34826         conditional variable definition.
34827         (shm_open) [O_CLOEXEC]: Make code unconditional.
34828         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
34829         code.
34831         * configure.ac (USE_REGPARMS): Don't define here.
34832         * configure: Regenerated.
34833         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
34834         * sysdeps/i386/configure: Regenerated.
34836         * nptl/createthread.c: Don't include kernel-features.h.
34837         * nptl/pthread_cancel.c: Likewise.
34838         * nptl/pthread_condattr_setclock.c: Likewise.
34839         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
34840         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
34841         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
34842         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
34843         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
34844         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
34845         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
34846         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
34847         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
34848         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
34849         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
34850         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
34851         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
34852         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
34853         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
34854         * nscd/gai.c: Likewise.
34855         * nss/nss_db/db-open.c: Likewise.
34856         * sysdeps/generic/ldsodefs.h: Likewise.
34857         * sysdeps/sh/nptl/tls.h: Likewise.
34858         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
34859         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
34860         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
34861         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
34862         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
34863         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
34864         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
34865         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
34866         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
34867         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
34868         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
34869         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
34870         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
34871         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
34872         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
34873         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
34874         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
34875         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
34876         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
34877         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
34878         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
34879         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
34880         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
34881         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
34882         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
34883         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
34884         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
34885         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
34886         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
34887         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
34888         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
34889         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
34890         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
34891         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
34892         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
34893         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
34894         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
34895         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
34896         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
34897         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
34898         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
34899         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
34900         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
34901         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34902         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
34903         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
34904         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
34905         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
34906         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
34907         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
34908         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
34909         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
34910         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
34911         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
34912         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
34913         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
34914         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
34915         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
34916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
34917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
34918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
34919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
34920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
34921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
34922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
34923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
34924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
34925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
34926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
34927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
34928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
34929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
34930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
34931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
34936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
34937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
34938         * sysdeps/unix/sysv/linux/pread.c: Likewise.
34939         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
34940         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
34941         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
34942         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
34943         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
34944         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
34945         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
34946         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
34947         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
34948         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
34949         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
34950         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
34951         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
34952         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
34953         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
34954         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
34955         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
34956         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
34957         * sysdeps/unix/sysv/linux/system.c: Likewise.
34958         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
34959         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
34960         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34961         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34962         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
34963         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
34964         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
34966         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
34967         * configure: Regenerated.
34968         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
34970         * configure.ac (base_machine): Do not set specially for particular
34971         machines here.
34972         * configure: Regenerated.
34973         * sysdeps/powerpc/preconfigure: Move machine and base_machine
34974         settings from configure.ac.
34975         * sysdeps/i386/preconfigure: New file.
34976         * sysdeps/s390/preconfigure: Likewise.
34977         * sysdeps/sh/preconfigure: Likewise.
34978         * sysdeps/sparc/preconfigure: Likewise.
34980 2014-06-25  Roland McGrath  <roland@hack.frob.com>
34982         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
34983         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
34984         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
34985         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
34986         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
34987         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
34988         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
34989         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
34990         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
34991         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
34992         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
34993         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
34994         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
34995         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
34996         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
34997         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
34998         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
34999         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
35000         * sysdeps/sparc/sparc64/Makefile: ... appended here.
35002         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
35003         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
35004         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
35005         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
35006         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
35007         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
35008         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
35009         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
35010         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
35011         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
35012         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
35013         * sysdeps/sparc/sparc32/sem_post.c: ... here.
35014         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
35015         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
35016         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
35017         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
35018         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
35019         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
35020         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
35021         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
35022         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
35023         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
35024         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
35025         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
35026         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
35027         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
35028         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
35029         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
35030         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
35031         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
35032         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
35033         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
35034         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
35035         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
35036         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
35037         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
35038         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
35039         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
35041         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
35042         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
35043         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
35044         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
35045         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35046         Moved ...
35047         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
35048         ... here.
35049         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
35050         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
35051         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
35052         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
35053         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
35054         Moved ...
35055         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
35056         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
35057         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
35058         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
35059         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
35060         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
35061         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
35062         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35063         Moved ...
35064         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
35065         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35066         Moved ...
35067         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
35068         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
35069         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
35070         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35071         Moved ...
35072         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
35073         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
35074         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
35075         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
35076         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
35077         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
35078         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
35079         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
35080         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
35081         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35082         Moved ...
35083         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
35084         ... here.
35085         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
35086         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
35087         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
35088         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
35089         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
35090         Moved ...
35091         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
35092         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
35093         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
35094         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
35095         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
35096         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
35097         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
35098         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35099         Moved ...
35100         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
35101         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
35102         Moved ...
35103         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
35104         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
35105         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
35106         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
35107         Moved ...
35108         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
35109         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
35110         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
35111         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
35112         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
35114 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
35116         * timezone/checktab.awk: Update from tzcode 2014e.
35117         * timezone/private.h: Likewise.
35118         * timezone/tzfile.h: Likewise.
35119         * timezone/zdump.c: Likewise.
35120         * timezone/zic.c: Likewise.
35122         * sysdeps/unix/sysv/linux/kernel-features.h
35123         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
35124         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
35125         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
35126         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
35127         Remove conditional code.
35129 2014-06-25  Will Newton  <will.newton@linaro.org>
35131         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
35132         (_dl_arm_cap_flags): Add HWCAP2 values.
35133         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
35134         (_DL_HWCAP_COUNT): Increase to 37.
35135         (_DL_HWCAP_LAST): New define.
35136         (_DL_HWCAP2_LAST): New define.
35137         (_dl_procinfo): Add support for printing
35138         AT_HWCAP2 entries.
35139         (_dl_string_hwcap): Use _dl_hwcap_string.
35141 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35143         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35145 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
35147         * README: Do not mention ports directory.
35149         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
35150         Remove macro.
35151         * sysdeps/unix/sysv/linux/futimes.c: Do not include
35152         <kernel-features.h>.
35153         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
35154         conditional variable definition.
35155         (__futimes): Update comment.
35156         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
35157         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
35159         [BZ #16560]
35160         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
35161         arguments close to 0.
35162         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
35163         Likewise.
35164         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
35165         Likewise.
35166         * math/auto-libm-test-in: Add more tests of exp10.
35167         * math/auto-libm-test-out: Regenerated.
35168         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35170         * sysdeps/unix/sysv/linux/kernel-features.h
35171         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
35172         * sysdeps/unix/sysv/linux/readv.c: Do not include
35173         <kernel-features.h>.
35174         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
35175         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
35176         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
35177         unconditional.
35178         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
35179         conditional code.
35180         * sysdeps/unix/sysv/linux/writev.c: Do not include
35181         <kernel-features.h>.
35182         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
35183         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
35184         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
35185         unconditional.
35186         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
35187         conditional code.
35189 2014-06-25  Will Newton  <will.newton@linaro.org>
35191         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
35192         comment changes throughout the file.  Remove checks
35193         for HAVE_*_H definitions that are not required.
35194         (__gen_tempname): Call abort if an unknown kind value is
35195         passed.
35197 2014-06-25  Andreas Schwab  <schwab@suse.de>
35199         [BZ #17086]
35200         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
35201         scalbln, scalblnf, scalblnl in libc.
35203 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35205         [BZ #17086]
35206         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
35207         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
35208         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
35210 2014-06-24  Roland McGrath  <roland@hack.frob.com>
35212         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
35213         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
35214         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
35215         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
35216         Update #include.
35217         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
35218         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
35219         Update #include.
35220         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
35221         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
35222         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
35223         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
35224         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
35225         * sysdeps/x86/bits/pthreadtypes.h: ... here.
35226         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
35227         * sysdeps/x86/bits/semaphore.h: ... here.
35228         * sysdeps/x86/nptl/elide.h: Moved ...
35229         * sysdeps/x86/elide.h: ... here.
35230         * sysdeps/x86_64/nptl/Implies: File removed.
35231         * sysdeps/i386/nptl/Implies: File removed.
35233 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
35235         [BZ #16539]
35236         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
35237         return the argument for normal arguments with exponent below -64.
35238         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
35239         Likewise.
35240         * math/auto-libm-test-in: Add another test of expm1.
35241         * math/auto-libm-test-out: Regenerated.
35243         [BZ #16287]
35244         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
35245         calling __erfcl for arguments at least 16.
35246         * math/auto-libm-test-in: Add more tests of erf.
35247         * math/auto-libm-test-out: Regenerated.
35249         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
35250         individual architectures.
35251         * sysdeps/unix/sysv/linux/configure: Regenerated.
35252         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
35253         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
35254         * sysdeps/unix/sysv/linux/powerpc/configure.ac
35255         (ldd_rewrite_script): Define variable.
35256         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
35257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
35258         file.
35259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
35260         generated file.
35261         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
35262         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
35263         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
35264         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
35265         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
35266         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
35267         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
35268         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
35270 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35272         [BZ #17084]
35273         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
35274         Rename member __data.d to __data.__elision_data.
35276 2014-06-24  Wilco  <wdijkstr@arm.com>
35278         * NEWS: Add 16918 to fixed bug list.
35280 2014-06-24  Wilco  <wdijkstr@arm.com>
35282         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
35284 2014-06-24  Wilco  <wdijkstr@arm.com>
35286         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
35287         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
35288         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
35289         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
35290         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
35291         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
35292         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
35293         Use _FPU_MASK_RM.
35295 2014-06-24  Wilco  <wdijkstr@arm.com>
35297         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
35299 2014-06-24  Wilco  <wdijkstr@arm.com>
35301         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
35302         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
35303         * sysdeps/arm/fesetround.c (fesetround): Remove space.
35304         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
35306 2014-06-24  Wilco  <wdijkstr@arm.com>
35308         [BZ #16918]
35309         * sysdeps/arm/feupdateenv.c (feupdateenv):
35310         Rewrite to reduce FPSCR accesses and fix return value.
35312 2014-06-24  Wilco  <wdijkstr@arm.com>
35314         * sysdeps/arm/fclrexcpt.c (feclearexcept):
35315         Optimize to avoid unnecessary FPSCR writes.
35316         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
35317         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
35318         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
35319         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
35321 2014-06-24  Wilco  <wdijkstr@arm.com>
35323         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
35324         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
35325         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
35326         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
35327         Call libc_fetestexcept_vfp.
35328         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
35329         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
35330         __SOFTFP__ ifdef so that they can be built for softfp.
35332 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35334         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
35335         argument type signed char.
35337         * Makerules (check-abi): Dump diff of symlist if the test
35338         fails.
35340 2014-06-23  Roland McGrath  <roland@hack.frob.com>
35342         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
35343         using abort.
35345         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
35346         Remove unused variable ST.
35348 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
35350         [BZ #16354]
35351         [BZ #17061]
35352         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
35353         small arguments before calling __expm1.
35354         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
35355         small arguments before calling __expm1f.
35356         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
35357         small arguments before calling __expm1l.
35358         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
35359         Likewise.
35360         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
35361         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
35362         spurious underflow for some cosh tests.
35363         * math/auto-libm-test-out: Regenerated.
35364         * sysdeps/i386/fpu/libm-test-ulps: Update.
35366         [BZ #17050]
35367         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
35368         (__ieee754_y1): Set errno if return value overflows.
35369         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
35370         (__ieee754_y1f): Set errno if return value overflows.
35371         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
35372         (__ieee754_y1l): Set errno if return value overflows.
35373         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
35374         (__ieee754_y1l): Set errno if return value overflows.
35375         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
35376         * math/auto-libm-test-out: Regenerated.
35378         * math/gen-auto-libm-tests.c: Document use of
35379         ignore-zero-inf-sign.
35380         (input_flag_type): Add value flag_ignore_zero_inf_sign.
35381         (input_flags): Add ignore-zero-inf-sign.
35382         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
35383         * math/gen-libm-test.pl (generate_testfile): Handle
35384         ignore-zero-inf-sign.
35385         * math/auto-libm-test-in: Mark some cpow tests with
35386         ignore-zero-inf-sign and some with xfail-rounding.
35387         * math/auto-libm-test-out: Regenerated.
35388         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
35389         * sysdeps/i386/fpu/libm-test-ulps: Update.
35390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35392         [BZ #16315]
35393         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
35394         overflowing or underflowing operations take place with sign of
35395         result.
35396         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35397         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
35398         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
35399         (__ieee754_pow): Recompute overflowing and underflowing results in
35400         original rounding mode.
35401         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
35402         (__powl_helper): Allow negative argument X and scale negated value
35403         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
35404         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
35405         overflowing or underflowing operations take place with sign of
35406         result.
35407         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
35408         Include <math.h>.
35409         * math/auto-libm-test-in: Add more tests of pow.
35410         * math/auto-libm-test-out: Regenerated.
35411         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
35412         (pow_tonearest_test_data): Remove.
35413         (pow_test_tonearest): Likewise.
35414         (pow_towardzero_test_data): Likewise.
35415         (pow_test_towardzero): Likewise.
35416         (pow_downward_test_data): Likewise.
35417         (pow_test_downward): Likewise.
35418         (pow_upward_test_data): Likewise.
35419         (pow_test_upward): Likewise.
35420         (main): Don't call removed functions.
35421         * sysdeps/i386/fpu/libm-test-ulps: Update.
35422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35424 2014-06-23  Roland McGrath  <roland@hack.frob.com>
35426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
35427         Moved ...
35428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
35429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35430         Moved ...
35431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
35432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
35433         Moved ...
35434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
35435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
35436         Moved ...
35437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
35438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
35439         File removed.
35440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
35441         File removed.
35442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
35443         File removed.
35444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
35445         File removed.
35446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
35447         File removed.
35448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
35449         File removed.
35450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
35451         File removed.
35452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35453         File removed.
35454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
35455         File removed.
35456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
35457         File removed.
35458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
35459         File removed.
35460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
35461         File removed.
35462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
35463         Moved ...
35464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
35465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
35466         Moved ...
35467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
35468         ... here.
35469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
35470         Moved ...
35471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
35472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
35473         Moved ...
35474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
35475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
35476         Moved ...
35477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
35478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
35479         Moved ...
35480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
35481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
35482         Moved ...
35483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
35484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
35485         Moved ...
35486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
35487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
35488         Moved ...
35489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
35490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
35491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
35492         ... here.
35493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
35494         Moved ...
35495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
35496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
35497         Moved ...
35498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
35499         ... here.
35500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
35501         Moved ...
35502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
35503         ... here.
35504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
35505         Moved ...
35506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
35507         ... here.
35508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
35509         Moved ...
35510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
35511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
35512         Moved ...
35513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
35514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
35515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
35516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
35517         Moved ...
35518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
35519         ... here.
35520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
35521         Moved ...
35522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
35523         ... here.
35524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
35525         Moved ...
35526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
35527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
35528         Moved ...
35529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
35530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
35531         Moved ...
35532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
35533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35534         Moved ...
35535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
35536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
35537         Moved ...
35538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
35539         ... here.
35540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
35541         Moved ...
35542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
35543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
35544         Moved ...
35545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
35546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
35547         Moved ...
35548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
35549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
35550         Moved ...
35551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
35552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
35553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
35554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
35555         Moved ...
35556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
35557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
35558         Moved ...
35559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
35560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
35561         Moved ...
35562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
35563         ... here.
35564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35565         Moved ...
35566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
35567         ... here.
35568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
35569         Moved ...
35570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
35571         ... here.
35572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
35573         Moved ...
35574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
35575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
35576         Moved ...
35577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
35578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
35579         Moved ...
35580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
35581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
35582         Moved ...
35583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
35584         ... here.
35585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
35586         Moved ...
35587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
35588         ... here.
35589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
35590         Moved ...
35591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
35592         ... here.
35593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
35594         Moved ...
35595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
35596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
35597         Moved ...
35598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
35600 2014-06-23  Will Newton  <will.newton@linaro.org>
35601             Wilco  <wdijkstr@arm.com>
35603         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
35604         implementation.  Include get-rounding-mode.h.
35605         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
35606         [!libc_feholdsetround_noex_ctx]: Define
35607         libc_feholdsetround_noex_ctx.
35608         [!libc_feholdsetround_noexf_ctx]: Define
35609         libc_feholdsetround_noexf_ctx.
35610         [!libc_feholdsetround_noexl_ctx]: Define
35611         libc_feholdsetround_noexl_ctx.
35612         (libc_feholdsetround_ctx): New function.
35613         (libc_feresetround_ctx): New function.
35614         (libc_feholdsetround_noex_ctx): New function.
35615         (libc_feresetround_noex_ctx): New function.
35617 2014-06-23  Roland McGrath  <roland@hack.frob.com>
35619         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
35620         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
35621         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
35622         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
35623         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
35624         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
35626         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
35627         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
35628         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
35629         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
35630         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
35631         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
35632         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
35633         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
35634         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
35635         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
35636         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
35637         Moved ...
35638         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
35639         ... here.
35640         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
35641         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
35642         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
35643         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
35644         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
35645         Moved ...
35646         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
35647         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
35648         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
35649         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
35650         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
35651         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
35652         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
35653         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
35654         Moved ...
35655         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
35656         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
35657         Moved ...
35658         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
35659         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
35660         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
35661         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
35662         Moved ...
35663         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
35664         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
35665         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
35666         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
35667         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
35668         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
35669         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
35670         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
35671         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
35672         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
35673         Moved ...
35674         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
35675         ... here.
35676         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
35677         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
35678         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
35679         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
35680         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
35681         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
35682         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
35683         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
35684         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
35685         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
35686         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
35687         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
35688         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
35689         Moved ...
35690         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
35691         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
35692         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
35693         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
35694         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
35695         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
35696         Moved ...
35697         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
35698         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
35699         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
35700         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
35701         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
35703         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
35704         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
35705         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
35706         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
35707         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
35708         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
35709         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
35710         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
35711         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
35712         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
35713         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
35714         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
35715         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
35716         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
35717         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
35718         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
35719         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
35720         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
35721         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
35722         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
35723         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
35724         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
35725         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
35726         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
35727         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
35728         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
35729         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
35730         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
35732 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
35734         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
35735         (FALLOC_FL_COLLAPSE_RANGE): New macro.
35736         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
35737         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
35738         (IPV6_PMTUDISC_INTERFACE): Likewise.
35739         (IPV6_PMTUDISC_OMIT): Likewise.
35741 2014-06-23  Andreas Schwab  <schwab@suse.de>
35743         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
35744         Remove unused errout label.
35746 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35748         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
35749         macro: hardware supports Vector Crypto instructions.
35751 2014-06-23  Will Newton  <will.newton@linaro.org>
35753         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
35754         rather than __builtin_expect.
35756         * elf/dl-lookup.c (undefined_msg): Remove variable.
35757         (_dl_lookup_symbol_x): Replace undefined_msg with string
35758         literal.
35760         * elf/dl-lookup.c (do_lookup_unique): New function.
35761         (do_lookup_x): Move STB_GNU_UNIQUE handling code
35762         to a separate function.
35764 2014-06-23  Andreas Schwab  <schwab@suse.de>
35766         [BZ #17079]
35767         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
35768         before reading the next line.
35770 2014-06-23  Will Newton  <will.newton@linaro.org>
35772         * test-skeleton.c (signal_handler): Use printf and %m
35773         rather than perror.  Use printf rather than fprintf to
35774         stderr.  Use puts rather than fputs to stderr.
35775         (main): Likewise.
35777 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
35779         * nscd/nscd.c (thread_info_t): Remove typedef.
35780         (thread_info): Remove variable.
35782 2014-06-21  Allan McRae  <allan@archlinux.org>
35784         * NEWS: Mention CVE-2014-4043.
35786 2014-06-20  Roland McGrath  <roland@hack.frob.com>
35788         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
35789         * nptl/smp.h: ... here.
35791         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
35793         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
35794         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
35795         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
35796         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
35798         * nptl/allocatestack.c: Include <stack-aliasing.h>.
35799         * nptl/stack-aliasing.h: New file.
35800         * sysdeps/i386/i686/stack-aliasing.h: New file.
35801         * sysdeps/i386/i686/nptl/Makefile: File removed.
35802         * sysdeps/x86_64/stack-aliasing.h: New file.
35803         * sysdeps/x86_64/nptl/Makefile
35804         (CFLAGS-pthread_create.c): Variable removed.
35806         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
35807         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
35808         old file.
35809         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
35810         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
35811         old file.
35813 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
35815         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35816         (__ASSUME_SIGFRAME_V2): Remove macro.
35817         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
35818         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
35819         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
35820         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
35821         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
35822         Declare as function.  Remove conditional macro definitions.
35823         (__default_rt_sa_restorer): Likewise.
35824         (__default_sa_restorer_v1): Remove declaration.
35825         (__default_sa_restorer_v2): Likewise.
35826         (__default_rt_sa_restorer_v1): Likewise.
35827         (__default_rt_sa_restorer_v2): Likewise.
35828         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
35829         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
35830         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
35832 2014-06-20  Roland McGrath  <roland@hack.frob.com>
35834         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
35835         (libpthread-routines): Add sysdep.
35836         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
35837         * sysdeps/unix/sysv/linux/sparc/Versions
35838         (libpthread: GLIBC_2.3.3): New version set.
35839         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
35840         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
35841         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
35842         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
35843         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
35844         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
35845         Moved ...
35846         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
35847         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
35848         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
35849         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
35850         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
35851         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
35852         * sysdeps/sparc/nptl/sem_init.c: ... here.
35853         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
35854         * sysdeps/sparc/nptl/sem_post.c: ... here.
35855         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
35856         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
35857         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
35858         * sysdeps/sparc/nptl/sem_wait.c: ... here.
35859         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
35860         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
35861         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
35862         (libpthread-routines): Add cpu_relax.
35863         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
35864         File removed.
35865         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
35866         (librt: GLIBC_2.3.3): New version set.
35867         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
35868         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
35869         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
35870         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
35871         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
35872         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
35873         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
35874         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
35875         Moved ...
35876         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
35877         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
35878         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
35879         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
35880         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
35881         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
35882         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
35883         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
35884         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
35885         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
35886         Moved ...
35887         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
35888         Update #include.
35889         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
35890         Moved ...
35891         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
35892         Update #include.
35893         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
35894         Moved ...
35895         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
35896         Update #include.
35897         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
35898         Moved ...
35899         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
35900         Update #include.
35901         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
35902         Moved ...
35903         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
35904         Update #include.
35905         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
35906         Moved ...
35907         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
35908         Update #include.
35909         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
35910         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
35911         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
35912         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
35913         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
35914         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
35915         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
35916         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
35917         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
35918         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
35919         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
35920         Moved ...
35921         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
35922         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
35923         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
35924         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
35925         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
35927 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
35929         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
35930         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
35931         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
35932         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
35933         * nscd/nscd.c: Likewise.
35934         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
35935         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
35936         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
35937         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
35939         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
35940         <kernel-features.h>.
35941         (init_mq_netlink): Remove conditional have_sock_cloexec
35942         definitions.  Remove code conditional on have_sock_cloexec < 0.
35943         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
35944         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
35945         * sysdeps/unix/sysv/linux/opensock.c: Do not include
35946         <kernel-features.h>.
35947         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
35948         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
35950 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
35952         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35953         Add tests for memset_chk and memset.
35955         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
35956         with AVX2_Usable.
35958 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
35960         [BZ #16046]
35961         * elf/tst-dl-iter-static.c: New file.
35962         * elf/Makefile (tests-static): Add tst-dl-iter-static.
35964         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
35965         error.
35967 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
35969         * sysdeps/unix/sysv/linux/kernel-features.h
35970         (__ASSUME_F_GETOWN_EX): Remove macro.
35971         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
35972         <kernel-features.h>.
35973         (miss_F_GETOWN_EX): Remove variable or macro.
35974         (do_fcntl): Do not check miss_F_GETOWN_EX.
35975         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
35977         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
35978         Remove macro.
35979         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
35980         [!__ASSUME_AT_RANDOM]: Remove conditional code.
35981         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
35983         * sysdeps/unix/sysv/linux/kernel-features.h
35984         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
35985         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
35986         [ADJ_OFFSET_SS_READ]: Make code unconditional.
35987         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
35989 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
35991         [BZ #17075]
35992         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
35993         Fix calculation of the symbol's value.
35994         * sysdeps/arm/tst-armtlsdescloc.c: New file.
35995         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
35996         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
35997         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
35998         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
35999         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
36000         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
36001         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
36002         (modules-names): Add `tst-armtlsdescmod',
36003         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
36004         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
36005         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
36006         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
36007         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
36008         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
36009         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
36010         ($(objpfx)tst-armtlsdescloc): New dependency.
36011         ($(objpfx)tst-armtlsdescextnow): Likewise.
36012         ($(objpfx)tst-armtlsdescextlazy): Likewise.
36013         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
36014         TLS scheme support.
36015         * sysdeps/arm/configure: Regenerate.
36017 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
36019         * include/fcntl.h (__atfct_seterrno): Remove prototype.
36020         (__atfct_seterrno_2): Likewise.
36021         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
36022         <kernel-features.h>.
36023         (__ASSUME_ATFCTS): Do not undefine and redefine.
36024         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
36025         (__have_atfcts): Remove conditional definition.
36026         (__fxstatat([__NR_fstatat64]: Make code unconditional.
36027         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
36028         unreachable if [__ASSUME_ATFCTS].
36029         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
36030         not undefine and redefine.
36031         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
36032         <kernel-features.h>.
36033         (faccessat) [__NR_faccessat]: Make code unconditional.
36034         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
36035         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
36036         <kernel-features.h>.
36037         (fchmodat) [__NR_fchmodat]: Make code unconditional.
36038         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
36039         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
36040         <kernel-features.h>.
36041         (fchownat) [__NR_fchownat]: Make code unconditional.
36042         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
36043         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
36044         <kernel-features.h>.
36045         (futimesat) [__NR_futimesat]: Make code unconditional.
36046         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
36047         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
36048         <kernel-features.h>.
36049         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
36050         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
36051         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
36052         <kernel-features.h>.
36053         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
36054         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
36055         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
36056         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
36057         <kernel-features.h>.
36058         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
36059         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
36060         * sysdeps/unix/sysv/linux/linkat.c: Do not include
36061         <kernel-features.h>.
36062         (linkat) [__NR_linkat]: Make code unconditional.
36063         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
36064         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
36065         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
36066         <kernel-features.h>.
36067         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
36068         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
36069         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
36070         <kernel-features.h>.
36071         (mkdirat) [__NR_mkdirat]: Make code unconditional.
36072         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
36073         * sysdeps/unix/sysv/linux/openat.c: Do not include
36074         <kernel-features.h>.
36075         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
36076         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
36077         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
36078         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
36079         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
36080         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
36081         <kernel-features.h>.
36082         (readlinkat) [__NR_readlinkat]: Make code unconditional.
36083         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
36084         result of INLINE_SYSCALL directly, not via int variable.
36085         * sysdeps/unix/sysv/linux/renameat.c: Do not include
36086         <kernel-features.h>.
36087         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
36088         (renameat) [__NR_renameat]: Make code unconditional.
36089         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
36090         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
36091         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
36092         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
36093         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
36094         (__ASSUME_ATFCTS): Do not undefine and redefine.
36095         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
36096         <kernel-features.h>.
36097         (symlinkat) [__NR_symlinkat]: Make code unconditional.
36098         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
36099         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
36100         <kernel-features.h>.
36101         (unlinkat) [__NR_unlinkat]: Make code unconditional.
36102         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
36103         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
36104         (__ASSUME_ATFCTS): Do not undefine and redefine.
36105         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
36106         <kernel-features.h>.
36107         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
36108         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
36109         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
36110         <kernel-features.h>.
36111         (__xmknodat) [__NR_mknodat]: Make code unconditional.
36112         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
36114 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
36116         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
36118 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
36120         [BZ #17069]
36121         * posix/regcomp.c (parse_reg_exp): Deallocate partially
36122         constructed tree before returning error.
36123         * posix/bug-regexp36.c: Expand test case.
36125 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
36127         [BZ #6803]
36128         * math/libm-test.inc (scalbln_test_date):
36129         Add errno expectations.
36130         * math/w_scalblnf.c: New File.
36131         Add wrapper which checks for setting errno to ERANGE.
36132         Add weak_alias for corresponding scalbln function.
36133         * math/w_scalbln.c: Likewise.
36134         * math/w_scalblnl.c: Likewise.
36135         * math/Makefile (libm-calls): Add w_scalbln.
36136         * sysdeps/ieee754/flt-32/s_scalblnf.c:
36137         Remove weak_alias for corresponding scalbln function.
36138         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36139         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
36140         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36141         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36142         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
36143         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
36144         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
36145         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
36146         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
36147         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
36148         Remove long_double_symbol for scalblnl function in libm, libc.
36149         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
36150         Add wrapper which checks for setting errno to ERANGE.
36151         Add long_double_symbol for scalblnl function in libm, libc.
36152         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
36153         Remove long_double_symbol for scalblnl in libm.
36154         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
36155         Add wrapper which checks for setting errno to ERANGE.
36156         Add long_double_symbol for scalblnl function in libm.
36157         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
36158         Do not use wrapper because of own implementation.
36160 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
36162         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
36163         3 bytes for __pad1 for x32.
36164         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
36166 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
36167             H.J. Lu  <hongjiu.lu@intel.com>
36169         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
36170         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
36171         * sysdeps/x86_64/multiarch/memset.S: Likewise.
36172         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36173         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
36175 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
36177         [BZ #17069]
36178         * posix/regcomp.c (parse_expression): Deallocate partially
36179         constructed tree before returning error.
36180         * posix/Makefile.c (tests): Add bug-regex36.
36181         (generated): Add bug-regex36.mtrace.
36182         (tests-special): Add $(objpfx)bug-regex36-mem.out
36183         (bug-regex36-ENV): New variable.
36184         ($(objpfx)bug-regex36-mem.out): New rule.
36185         * posix/bug-regex36.c: New file.
36187 2014-06-19  Will Newton  <will.newton@linaro.org>
36189         * malloc/malloc.c (systrim): If extra is zero then return
36190         early.
36192 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36194         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
36196 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
36198         * sysdeps/aarch64/strchr.S: New file.
36200 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
36202         [BZ #17022]
36203         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
36204         from arguments -2 or below.
36205         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
36206         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
36208 2014-06-18  Andreas Schwab  <schwab@suse.de>
36210         [BZ #17062]
36211         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
36212         of a bracket expr not to run off the end of the string.
36213         * posix/Makefile (tests): Add tst-fnmatch3.
36214         * posix/tst-fnmatch3.c: New file.
36216 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
36218         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
36219         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
36220         [$(cross-compiling) = no]: Likewise.
36221         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
36222         [$(cross-compiling) = no]: Likewise.
36224 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
36226         [BZ #17031]
36227         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
36228         double, adjusted for any remainder from the high double.
36229         * math/libm-test.inc (nearbyint): Add tests.
36230         (rint): Likewise.
36232 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36234         * nptl/sysdeps/powerpc/Makefile: Moved ...
36235         * sysdeps/powerpc/nptl/Makefile: ... here.
36236         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
36237         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
36238         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
36239         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
36240         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
36241         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
36242         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
36243         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
36244         * nptl/sysdeps/powerpc/tls.h: Moved ...
36245         * sysdeps/powerpc/nptl/tls.h: ... here.
36247 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
36249         [BZ #16681]
36250         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
36251         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
36252         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
36253         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
36254         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
36255         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
36256         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
36257         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
36258         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
36260 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
36262         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
36264 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
36266         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
36267         defined operator.
36269         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
36270         $TIMEOUTFACTOR.
36272 2014-06-16  Florian Weimer  <fweimer@redhat.com>
36274         [BZ #17058]
36275         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
36276         non-executed part of the test.
36278 2014-06-16  Andreas Schwab  <schwab@suse.de>
36280         * string/bits/string2.h (strdup, strndup): Update feature guard.
36282 2014-06-14  David S. Miller  <davem@davemloft.net>
36284         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36286 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
36288         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
36289         that was previously under [RESET_PID].
36290         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
36292         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
36293         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
36294         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
36295         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36296         (__libc_vfork): New strong alias.
36297         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
36299 2014-06-14 Andi Kleen  <ak@linux.intel.com>
36301         * sysdeps/generic/elide.h: New file.
36303 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36305         * Makefile (installed-headers): Adjust path of pthread.h header.
36307 2014-06-13  Roland McGrath  <roland@hack.frob.com>
36309         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
36310         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
36311         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
36312         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
36314         * nptl/sysdeps/s390/Makefile: Moved ...
36315         * sysdeps/s390/nptl/Makefile: ... here.
36316         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
36317         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
36318         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
36319         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
36320         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
36321         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
36322         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
36323         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
36324         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
36325         * sysdeps/s390/nptl/pthreaddef.h: ... here.
36326         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
36327         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
36328         * nptl/sysdeps/s390/tls.h: Moved ...
36329         * sysdeps/s390/nptl/tls.h: ... here.
36331         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
36332         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
36334 2014-06-13  David S. Miller  <davem@davemloft.net>
36336         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
36337         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
36338         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
36339         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
36340         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
36341         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
36342         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
36343         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
36344         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
36345         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
36346         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
36347         Remove RESET_PID cpp guards.
36348         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
36349         Remove RESET_PID cpp guards.
36350         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
36352 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
36354         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
36355         __sp to uintptr_t.
36357 2014-06-13  Andi Kleen  <ak@linux.intel.com>
36359         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
36360         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
36361         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
36362         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
36363         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
36364         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
36365         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
36366         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
36367         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
36368         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
36369         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
36370         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
36371         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
36372         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
36373         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
36374         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
36375         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
36376         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
36377         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
36378         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
36380         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
36381         (pthread_rwlock_rdlock): Add elision.
36382         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
36383         (pthread_rwlock_wrlock): Add elision.
36384         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
36385         (pthread_rwlock_trywrlock): Add elision.
36386         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
36387         (pthread_rwlock_tryrdlock): Add elision.
36388         * nptl/pthread_rwlock_unlock.c: Include elide.h.
36389         (pthread_rwlock_tryrdlock): Add elision unlock.
36390         * nptl/sysdeps/pthread/pthread.h:
36391         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
36392         (PTHREAD_RWLOCK_INITIALIZER,
36393         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
36394         Handle new elision field.
36395         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
36396         * sysdeps/arm/nptl/bits/pthreadtypes.h
36397         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36398         * sysdeps/sh/nptl/bits/pthreadtypes.h
36399         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36400         * sysdeps/tile/nptl/bits/pthreadtypes.h
36401         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36402         * sysdeps/a/nptl/bits/pthreadtypes.h
36403         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36404         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
36405         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36406         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
36407         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36408         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
36409         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36410         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
36411         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36412         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
36413         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36414         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
36415         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36416         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
36417         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36418         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
36419         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36420         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
36421         (elision_init): Set try_xbegin to zero when no RTM.
36422         * sysdeps/x86/nptl/bits/pthreadtypes.h
36423         (pthread_rwlock_t): Change __pad1 to __rwelision.
36424         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36426 2014-06-13  Andi Kleen  <ak@linux.intel.com>
36428         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
36429         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
36430         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
36431         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
36433 2014-06-13  Meador Inge  <meadori@codesourcery.com>
36435         [BZ #16996]
36436         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
36437         that the cached result has been set before returning it.
36439 2014-06-12  Roland McGrath  <roland@hack.frob.com>
36441         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
36442         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
36443         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
36444         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
36445         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
36446         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
36448         * nptl/sysdeps/sparc/Makefile: Moved ...
36449         * sysdeps/sparc/nptl/Makefile: ... here.
36450         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
36451         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
36452         * nptl/sysdeps/sparc/tls.h: Moved ...
36453         * sysdeps/sparc/nptl/tls.h: ... here.
36454         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
36455         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
36456         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
36457         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
36458         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
36459         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
36460         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
36461         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
36462         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
36463         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
36464         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
36465         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
36466         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
36467         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
36468         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
36469         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
36470         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
36471         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
36472         Update #include.
36473         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
36474         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
36475         Update #include.
36476         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
36477         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
36478         Update #include.
36479         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
36480         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
36481         Update #include.
36483         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
36485         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
36486         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
36488         * sysdeps/pthread/posix-timer.h: Include <list.h>.
36489         (struct list_links): Type removed.
36490         (struct thread_node, struct timer_node): Replace struct list_links
36491         with struct list_head.
36492         (list_unlink_ip): Likewise.
36493         * sysdeps/pthread/timer_routines.c
36494         (timer_free_list, thread_free_list, thread_active_list): Likewise.
36495         (list_append, list_insbefore): Likewise.
36496         (list_init): Function removed.
36497         (thread_init, init_module): Use INIT_LIST_HEAD instead.
36498         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
36499         * sysdeps/pthread/Makefile: ... here, new file.
36501         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
36502         * sysdeps/nptl/Implies: ... here.
36503         * sysdeps/unix/sysv/linux/Implies: Add nptl.
36504         * nptl/sysdeps/pthread/list.h: Moved ...
36505         * include/list.h: ... here.
36506         * nptl/sysdeps/pthread/createthread.c: Moved ...
36507         * nptl/createthread.c: ... here.
36508         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
36509         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
36510         * nptl/pt-longjmp.c: ... here.
36511         * nptl/sysdeps/pthread/Makefile: Moved ...
36512         * sysdeps/nptl/Makefile: ... here.
36513         * nptl/sysdeps/pthread/Subdirs: Moved ...
36514         * sysdeps/nptl/Subdirs: ... here.
36515         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
36516         * sysdeps/nptl/aio_misc.h: ... here.
36517         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
36518         * sysdeps/nptl/bits/libc-lock.h: ... here.
36519         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
36520         * sysdeps/nptl/bits/libc-lockP.h: ... here.
36521         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
36522         * sysdeps/nptl/bits/stdio-lock.h: ... here.
36523         * nptl/sysdeps/pthread/configure: Moved ...
36524         * sysdeps/nptl/configure: ... here.
36525         * nptl/sysdeps/pthread/configure.ac: Moved ...
36526         * sysdeps/nptl/configure.ac: ... here.
36527         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
36528         * sysdeps/nptl/gai_misc.h: ... here.
36529         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
36530         * sysdeps/nptl/librt-cancellation.c: ... here.
36531         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
36532         * sysdeps/nptl/malloc-machine.h: ... here.
36533         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
36534         * sysdeps/nptl/pthread-functions.h: ... here.
36535         * nptl/sysdeps/pthread/pthread.h: Moved ...
36536         * sysdeps/nptl/pthread.h: ... here.
36537         * nptl/sysdeps/pthread/setxid.h: Moved ...
36538         * sysdeps/nptl/setxid.h: ... here.
36539         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
36540         * sysdeps/nptl/sigfillset.c: ... here.
36541         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
36542         * sysdeps/nptl/tcb-offsets.h: ... here.
36543         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
36544         * sysdeps/nptl/tst-mqueue8x.c: ... here.
36545         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
36546         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
36547         * nptl/sysdeps/pthread/allocalim.h: Moved ...
36548         * sysdeps/pthread/allocalim.h: ... here.
36549         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
36550         * sysdeps/pthread/bits/sigthread.h: ... here.
36551         * nptl/sysdeps/pthread/flockfile.c: Moved ...
36552         * sysdeps/pthread/flockfile.c: ... here.
36553         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
36554         * sysdeps/pthread/ftrylockfile.c: ... here.
36555         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
36556         * sysdeps/pthread/funlockfile.c: ... here.
36557         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
36558         * sysdeps/pthread/posix-timer.h: ... here.
36559         * nptl/sysdeps/pthread/timer_create.c: Moved ...
36560         * sysdeps/pthread/timer_create.c: ... here.
36561         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
36562         * sysdeps/pthread/timer_delete.c: ... here.
36563         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
36564         * sysdeps/pthread/timer_getoverr.c: ... here.
36565         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
36566         * sysdeps/pthread/timer_gettime.c: ... here.
36567         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
36568         * sysdeps/pthread/timer_routines.c: ... here.
36569         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
36570         * sysdeps/pthread/timer_settime.c: ... here.
36571         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
36572         * sysdeps/pthread/tst-timer.c: ... here.
36573         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
36574         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
36576         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
36577         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
36579         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
36580         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
36581         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
36582         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
36583         Update #include target.
36584         * nptl/sysdeps/i386/i686/Makefile: Moved ...
36585         * sysdeps/i386/i686/nptl/Makefile: ... here.
36586         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
36587         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
36588         Update #include target.
36589         * nptl/sysdeps/i386/i686/tls.h: Moved ...
36590         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
36591         * nptl/sysdeps/i386/Makefile: Moved ...
36592         * sysdeps/i386/nptl/Makefile: ... here.
36593         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
36594         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
36595         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
36596         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
36597         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
36598         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
36599         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
36600         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
36601         * sysdeps/i386/nptl/pthreaddef.h: ... here.
36602         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
36603         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
36604         * nptl/sysdeps/i386/tls.h: Moved ...
36605         * sysdeps/i386/nptl/tls.h: ... here.
36607         * sysdeps/sh/Makefile [$(subdir) = csu]
36608         (gen-as-const-headers): Add tcb-offsets.sym.
36609         * nptl/sysdeps/sh/Makefile: File removed.
36610         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
36611         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
36612         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
36613         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
36614         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
36615         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
36616         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
36617         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
36618         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
36619         * sysdeps/sh/nptl/pthreaddef.h: ... here.
36620         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
36621         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
36622         * nptl/sysdeps/sh/tls.h: Moved ...
36623         * sysdeps/sh/nptl/tls.h: ... here.
36624         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
36625         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
36626         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
36627         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
36628         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
36629         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
36630         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
36631         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
36632         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
36633         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
36634         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
36635         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
36636         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
36637         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
36638         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
36639         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
36640         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
36641         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
36642         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
36643         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
36644         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
36645         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
36646         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
36647         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
36648         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
36649         Moved ...
36650         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
36651         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
36652         Moved ...
36653         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
36654         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
36655         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
36656         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
36657         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
36658         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
36659         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
36660         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
36661         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
36662         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
36663         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
36664         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
36665         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
36666         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
36667         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
36668         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
36669         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
36670         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
36671         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
36673 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
36675         * posix/spawn_faction_addopen.c: Include string.h.
36677 2014-06-11  Roland McGrath  <roland@hack.frob.com>
36679         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
36680         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
36681         * nptl/sysdeps/x86_64/Makefile: Moved ...
36682         * sysdeps/x86_64/nptl/Makefile: ... here.
36683         * nptl/sysdeps/x86_64/configure: Moved ...
36684         * sysdeps/x86_64/nptl/configure: ... here.
36685         * nptl/sysdeps/x86_64/configure.ac: Moved ...
36686         * sysdeps/x86_64/nptl/configure.ac: ... here.
36687         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
36688         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
36689         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
36690         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
36691         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
36692         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
36693         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
36694         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
36695         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
36696         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
36697         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
36698         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
36699         * nptl/sysdeps/x86_64/tls.h: Moved ...
36700         * sysdeps/x86_64/nptl/tls.h: ... here.
36701         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
36702         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
36703         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
36704         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
36706         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
36708 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36710         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36712 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
36714         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
36715         type.
36716         [POSIX] (off_t): Likewise.
36717         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
36718         [POSIX] (S_ISBLK): Require macro.
36719         [POSIX] (S_ISCHR): Likewise.
36720         [POSIX] (S_ISDIR): Likewise.
36721         [POSIX] (S_ISFIFO): Likewise.
36722         [POSIX] (S_ISREG): Likewise.
36723         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
36724         optional-macro.
36725         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
36726         type.
36727         [POSIX] (time_t): Likewise.
36728         [POSIX] (timer_t): Likewise.
36730 2014-06-11  Florian Weimer  <fweimer@redhat.com>
36732         [BZ #17048]
36733         * posix/spawn_int.h (struct __spawn_action): Make the path string
36734         non-const to support deallocation.
36735         * posix/spawn_faction_addopen.c
36736         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
36737         * posix/spawn_faction_destroy.c
36738         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
36739         path in all spawn_do_open actions.
36740         * posix/tst-spawn.c (do_test): Exercise the copy operation in
36741         posix_spawn_file_actions_addopen.
36743 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
36745         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
36746         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
36747         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
36748         conditional code always true.
36749         (__libc_vfork): New alias.
36751 2014-06-11  Roland McGrath  <roland@hack.frob.com>
36753         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36754         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
36756         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
36758         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36759         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
36761         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
36762         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
36764         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36765         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
36767 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36769         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
36770         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
36771         multiarch strcmp for PPC64.
36772         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
36773         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
36774         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
36775         multiarch optimizations.
36776         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36777         (__libc_ifunc_impl_list): Likewise.
36779 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36781         * benchtests/scripts/validate_benchout.py: New script.
36782         * benchtests/Makefile (bench-func): Call it.
36783         * benchtests/scripts/benchout.schema.json: New file.
36785 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
36787         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
36788         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
36789         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
36790         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
36791         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
36792         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
36793         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
36794         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
36795         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
36796         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
36797         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
36798         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
36799         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
36800         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
36801         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
36802         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
36803         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
36804         Moved ...
36805         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
36806         ... here.
36807         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
36808         Moved ...
36809         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
36810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
36811         Moved ...
36812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
36813         ... here.
36814         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
36815         Moved ...
36816         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
36817         ... here.
36818         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
36819         Moved ...
36820         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
36821         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
36822         Moved ...
36823         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
36824         ... here.
36825         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
36826         Moved ...
36827         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
36828         ... here.
36829         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
36830         Moved ...
36831         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
36832         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
36833         Moved ...
36834         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
36835         ... here.
36836         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
36837         Moved ...
36838         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
36839         ... here.
36840         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
36841         Moved ...
36842         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
36843         ... here.
36844         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
36845         Moved ...
36846         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
36847         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
36848         Moved ...
36849         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
36850         ... here.
36851         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
36852         Moved ...
36853         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
36854         ... here.
36855         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
36856         Moved ...
36857         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
36858         ... here.
36859         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
36860         Moved ...
36861         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
36862         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
36863         Moved ...
36864         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
36865         ... here.
36866         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
36867         Moved ...
36868         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
36869         ... here.
36870         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
36871         Moved ...
36872         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
36873         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
36874         Moved ...
36875         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
36876         ... here.
36877         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
36878         Moved ...
36879         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
36880         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
36881         Moved ...
36882         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
36883         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
36884         Moved ...
36885         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
36886         ... here.
36887         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
36888         Moved ...
36889         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
36890         ... here.
36891         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
36892         Moved ...
36893         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
36894         ... here.
36895         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
36896         Moved ...
36897         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
36898         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
36899         Moved ...
36900         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
36901         ... here.
36902         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
36903         Moved ...
36904         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
36905         ... here.
36906         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
36907         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
36908         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
36909         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
36910         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
36911         Moved ...
36912         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
36913         ... here.
36914         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
36915         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
36916         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
36917         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
36918         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
36919         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
36920         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
36921         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
36922         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
36923         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
36924         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
36925         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
36926         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
36927         Moved ...
36928         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
36929         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
36930         Moved ...
36931         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
36932         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
36933         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
36934         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
36935         Moved ...
36936         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
36937         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
36938         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
36939         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
36940         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
36941         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
36942         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
36944 2014-06-10  Wilco  <wdijkstr@arm.com>
36946         * math/test-fenv-return.c: New file.
36947         * math/Makefile: Add new test test-fenv-return.
36949 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
36951         [BZ #17042]
36952         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
36953         when x - 1 is zero.
36954         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
36955         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
36956         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
36957         0.0L for an argument of 1.0L.
36958         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
36959         Likewise.
36960         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
36961         value when x - 1 is zero.
36962         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
36963         * sysdeps/i386/fpu/libm-test-ulps: Update.
36964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36966 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
36968         [BZ #15119]
36969         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
36971 2014-06-09  Roland McGrath  <roland@hack.frob.com>
36973         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
36974         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
36976 2014-06-09  Roland McGrath  <roland@hack.frob.com>
36978         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36979         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
36981         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36982         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
36984         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36985         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
36987         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36988         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
36990         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
36991         if not already defined.
36992         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
36993         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
36994         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
36995         (TLS_INIT_TP): Use it.
36996         (TLS_DEFINE_INIT_TP): New macro.
36997         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
36999 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
37001         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
37002         constant.
37003         [POSIX] (IXANY): Likewise.
37004         [POSIX] (OLCUC): Likewise.
37005         [POSIX || POSIX2008] (CBAUD): Do not allow.
37006         [POSIX || POSIX2008] (DEFECHO): Likewise.
37007         [POSIX || POSIX2008] (ECHOCTL): Likewise.
37008         [POSIX || POSIX2008] (ECHOKE): Likewise.
37009         [POSIX || POSIX2008] (ECHOPRT): Likewise.
37010         [POSIX || POSIX2008] (EXTA): Likewise.
37011         [POSIX || POSIX2008] (EXTB): Likewise.
37012         [POSIX || POSIX2008] (FLUSHO): Likewise.
37013         [POSIX || POSIX2008] (LOBLK): Likewise.
37014         [POSIX || POSIX2008] (PENDIN): Likewise.
37015         [POSIX || POSIX2008] (SWTCH): Likewise.
37016         [POSIX || POSIX2008] (VDISCARD): Likewise.
37017         [POSIX || POSIX2008] (VDSUSP): Likewise.
37018         [POSIX || POSIX2008] (VLNEXT): Likewise.
37019         [POSIX || POSIX2008] (VREPRINT): Likewise.
37020         [POSIX || POSIX2008] (VSTATUS): Likewise.
37021         [POSIX || POSIX2008] (VWERASE): Likewise.
37022         (B*): Change to B[0123456789]*.
37023         * conform/data/time.h-data [POSIX || UNIX98]
37024         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
37025         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
37026         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
37027         [POSIX] (tm_*): Do not allow.
37029 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
37031         * Makefile (install): Don't set LANGUAGE.
37032         * Makefile.in (install): Likewise.
37033         * assert/Makefile (test-assert-ENV): Remove variable.
37034         (test-assert-perr-ENV): Likewise.
37035         * elf/Makefile (neededtest4-ENV): Likewise.
37036         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
37037         [$(cross-compiling) = no]: Don't set LANGUAGE.
37038         * io/ftwtest-sh (LANG): Remove variable.
37039         * libio/Makefile (tst-widetext-ENV): Likewise.
37040         * manual/install.texi (Running make install): Don't refer to
37041         environment settings for make install.
37042         * INSTALL: Regenerated.
37043         * nptl/tst-tls6.sh: Don't set LANG.
37044         * posix/globtest.sh (LANG): Remove variable.
37045         * string/Makefile (tester-ENV): Likewise.
37046         (inl-tester-ENV): Likewise.
37047         (noinl-tester-ENV): Likewise.
37048         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
37049         [$(cross-compiling) = no]: Don't set LANGUAGE.
37050         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
37051         without explicit environment settings.
37053 2014-06-06  Roland McGrath  <roland@hack.frob.com>
37055         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
37056         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
37057         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
37058         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
37060 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
37062         * crypt/crypt-private.h [DOS]: Add some includes taken from the
37063         other files in the crypt directory.
37064         * crypt/crypt.c: Remove duplicate includes.
37065         * crypt/crypt-entry.c: Likewise.
37066         * crypt/crypt_util.c: Likewise.
37068 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
37070         * Makeconfig (run-program-env): New variable.
37071         (run-program-prefix-before-env): Likewise.
37072         (run-program-prefix-after-env): Likewise.
37073         (run-program-prefix): Define in terms of new variables.
37074         (built-program-cmd-before-env): New variable.
37075         (built-program-cmd-after-env): Likewise.
37076         (built-program-cmd): Define in terms of new variables.
37077         (test-program-prefix-before-env): New variable.
37078         (test-program-prefix-after-env): Likewise.
37079         (test-program-prefix): Define in terms of new variables.
37080         (test-program-cmd-before-env): New variable.
37081         (test-program-cmd-after-env): Likewise.
37082         (test-program-cmd): Define in terms of new variables.
37083         * Rules (make-test-out): Use $(run-program-env).
37084         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
37085         (help): Do not mention environment variables.  Mention
37086         --timeoutfactor option.
37087         (timeoutfactor): New variable.
37088         (blacklist_exports): Remove function.
37089         (exports): Remove variable.
37090         (command): Do not include ${exports}.
37091         * manual/install.texi (Configuring and compiling): Do not mention
37092         test wrappers preserving environment variables.  Mention that last
37093         assignment to a variable must take precedence.
37094         * INSTALL: Regenerated.
37095         * benchtests/Makefile (run-bench): Use $(run-program-env).
37096         * catgets/Makefile ($(objpfx)test1.cat): Use
37097         $(built-program-cmd-before-env), $(run-program-env) and
37098         $(built-program-cmd-after-env).
37099         ($(objpfx)test2.cat): Do not specify environment variables
37100         explicitly.
37101         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
37102         $(run-program-env) and $(built-program-cmd-after-env).
37103         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
37104         $(run-program-env) and $(test-program-cmd-after-env).
37105         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
37106         explicitly.
37107         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
37108         run_program_env and test_program_cmd_after_env arguments.
37109         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
37110         * elf/tst-pathopt.sh: Use run_program_env argument.
37111         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
37112         $(test-wrapper-env) and $(run-program-env).
37113         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
37114         run_program_env arguments.
37115         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
37116         * intl/Makefile ($(objpfx)tst-gettext.out): Use
37117         $(test-program-prefix-before-env), $(run-program-env) and
37118         $(test-program-prefix-after-env).
37119         ($(objpfx)tst-gettext2.out): Likewise.
37120         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
37121         run_program_env and test_program_prefix_after_env arguments.
37122         * intl/tst-gettext2.sh: Likewise.
37123         * intl/tst-gettext4.sh: Do not set environment variables
37124         explicitly.
37125         * intl/tst-gettext6.sh: Likewise.
37126         * intl/tst-translit.sh: Likewise.
37127         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
37128         $(test-program-prefix-before-env), $(run-program-env) and
37129         $(test-program-prefix-after-env).
37130         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
37131         run_program_env and test_program_prefix_after_env arguments.
37132         * math/Makefile (run-regen-ulps): Use $(run-program-env).
37133         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
37134         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
37135         explicitly with each use of ${test_wrapper_env}.
37136         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
37137         $(test-program-prefix-before-env), $(run-program-env) and
37138         $(test-program-prefix-after-env).
37139         * posix/tst-getconf.sh: Do not set environment variables
37140         explicitly.
37141         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
37142         run_program_env and test_program_prefix_after_env arguments.
37143         * stdio-common/tst-printf.sh: Do not set environment variables
37144         explicitly.
37145         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
37146         $(test-program-prefix-before-env), $(run-program-env) and
37147         $(test-program-prefix-after-env).
37148         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
37149         run_program_env and test_program_prefix_after_env arguments.
37150         Split $test calls into $test_pre and $test.
37151         * timezone/Makefile (build-testdata): Use
37152         $(built-program-cmd-before-env), $(run-program-env) and
37153         $(built-program-cmd-after-env).
37155 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37157         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
37158         strlen for non SHARED builds.
37160 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37162         * nptl/allocatestack.c (check_list): Inlined function...
37163         (__reclaim_stacks): ... here.
37165 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
37167         [BZ #15698]
37168         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
37169         memory overrun.
37171 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
37173         * Rules (make-test-out): Include
37174         LOCPATH=$(common-objpfx)localedata in default environment.
37175         * debug/Makefile (tst-chk1-ENV): Remove variable.
37176         (tst-chk2-ENV): Likewise.
37177         (tst-chk3-ENV): Likewise.
37178         (tst-chk4-ENV): Likewise.
37179         (tst-chk5-ENV): Likewise.
37180         (tst-chk6-ENV): Likewise.
37181         (tst-lfschk1-ENV): Likewise.
37182         (tst-lfschk2-ENV): Likewise.
37183         (tst-lfschk3-ENV): Likewise.
37184         (tst-lfschk4-ENV): Likewise.
37185         (tst-lfschk5-ENV): Likewise.
37186         (tst-lfschk6-ENV): Likewise.
37187         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
37188         (tst-iconv7-ENV): Likewise.
37189         * intl/Makefile (LOCPATH-ENV): Likewise.
37190         (tst-codeset-ENV): Likewise.
37191         (tst-gettext3-ENV): Likewise.
37192         (tst-gettext5-ENV): Likewise.
37193         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
37194         (tst-fopenloc-ENV): Likewise.
37195         (tst-fgetws-ENV): Remove variable.
37196         (tst-ungetwc1-ENV): Likewise.
37197         (tst-ungetwc2-ENV): Likewise.
37198         (bug-ungetwc2-ENV): Likewise.
37199         (tst-swscanf-ENV): Likewise.
37200         (bug-ftell-ENV): Likewise.
37201         (tst-fgetwc-ENV): Likewise.
37202         (tst-fseek-ENV): Likewise.
37203         (tst-ftell-partial-wide-ENV): Likewise.
37204         (tst-ftell-active-handler-ENV): Likewise.
37205         (tst-ftell-append-ENV): Likewise.
37206         * posix/Makefile (tst-fnmatch-ENV): Likewise.
37207         (tst-regexloc-ENV): Likewise.
37208         (bug-regex1-ENV): Likewise.
37209         (tst-regex-ENV): Likewise.
37210         (tst-regex2-ENV): Likewise.
37211         (bug-regex5-ENV): Likewise.
37212         (bug-regex6-ENV): Likewise.
37213         (bug-regex17-ENV): Likewise.
37214         (bug-regex18-ENV): Likewise.
37215         (bug-regex19-ENV): Likewise.
37216         (bug-regex20-ENV): Likewise.
37217         (bug-regex22-ENV): Likewise.
37218         (bug-regex23-ENV): Likewise.
37219         (bug-regex25-ENV): Likewise.
37220         (bug-regex26-ENV): Likewise.
37221         (bug-regex30-ENV): Likewise.
37222         (bug-regex32-ENV): Likewise.
37223         (bug-regex33-ENV): Likewise.
37224         (bug-regex34-ENV): Likewise.
37225         (bug-regex35-ENV): Likewise.
37226         (tst-rxspencer-ENV): Likewise.
37227         (tst-rxspencer-no-utf8-ENV): Likewise.
37228         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
37229         (tst-sscanf-ENV): Likewise.
37230         (tst-swprintf-ENV): Likewise.
37231         (tst-swscanf-ENV): Likewise.
37232         (test-vfprintf-ENV): Likewise.
37233         (scanf13-ENV): Likewise.
37234         (bug14-ENV): Likewise.
37235         (tst-grouping-ENV): Likewise.
37236         * stdlib/Makefile (tst-strtod-ENV): Likewise.
37237         (tst-strtod3-ENV): Likewise.
37238         (tst-strtod4-ENV): Likewise.
37239         (tst-strtod5-ENV): Likewise.
37240         (testmb2-ENV): Likewise./
37241         * string/Makefile (tst-strxfrm-ENV): Likewise.
37242         (tst-strxfrm2-ENV): Likewise.
37243         (bug-strcoll1-ENV): Likewise.
37244         (test-strcasecmp-ENV): Likewise.
37245         (test-strncasecmp-ENV): Likewise.
37246         * time/Makefile (tst-strptime-ENV): Likewise.
37247         (tst-ftime_l-ENV): Likewise.
37248         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
37249         (tst-mbrtowc-ENV): Likewise.
37250         (tst-wcrtomb-ENV): Likewise.
37251         (tst-mbrtowc2-ENV): Likewise.
37252         (tst-c16c32-1-ENV): Likewise.
37253         (tst-mbsnrtowcs-ENV): Likewise.
37255 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
37257         * manual/resource.texi (How to get information about the memory
37258         subsystem?): Fix typo.
37259         Reported by Peon de la Parra Ivan <peon@keba.com>
37261 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
37263         [BZ #16882]
37264         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
37265         (pthread_spin_lock): Branch out of spin loop to proper location.
37266         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
37267         (pthread_spin_lock): Likewise.
37269         * nptl/tst-spin4.c: New test.
37270         * nptl/Makefile (tests): Add tst-spin4.
37272 2014-06-03  Andreas Schwab  <schwab@suse.de>
37274         [BZ #15946]
37275         * resolv/res_send.c (send_dg): Reload file descriptor after
37276         calling reopen.
37278 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
37280         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37282 2014-06-03  Richard Henderson  <rth@redhat.com>
37284         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
37285         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
37286         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
37287         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
37288         in the SAVE_PID block.
37289         (__libc_vfork): New alias.
37290         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
37292         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
37293         child in registers, not on the stack.  Remove RESET_PID conditionals.
37294         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
37296 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
37298         * sysdeps/aarch64/libm-test-ulps: Regenerate.
37300 2014-06-03  Wilco  <wdijkstr@arm.com>
37302         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
37303         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
37304         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
37305         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
37306         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
37307         Likewise.
37309 2014-06-03  Wilco  <wdijkstr@arm.com>
37311         * sysdeps/aarch64/fpu/math_private.h
37312         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
37313         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
37314         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
37315         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
37316         Fix declarations.
37318 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37320         * crypt/crypt-private.h: Include ufc-crypt.h.
37321         (__b64_from_24bit): Declare extern.
37322         * crypt/crypt_util.c(__b64_from_24bit): New function.
37323         (b64t): New static const variable.
37324         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
37325         (b64t): Remove variable.
37326         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
37327         * crypt/sha256-crypt.c: Include crypt-private.h.
37328         (b64t): Remove variable.
37329         (__sha256_crypt_r): Remove b64_from_24bit and replace
37330         with __b64_from_24bit.
37331         * crypt/sha512-crypt.c: Likewise.
37333 2014-06-02  Roland McGrath  <roland@hack.frob.com>
37335         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
37336         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
37337         Label the code __libc_vfork rather than __vfork.
37338         [!NOT_IN_libc] (vfork): Define as weak alias.
37339         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
37340         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
37341         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
37343 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37345         * malloc/malloc.c (malloc_info): Fix format specifier for
37346         n_mmaps.
37348 2014-06-02  Wilco  <wdijkstr@arm.com>
37350         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
37351         FPCR write.
37353 2014-06-02  Wilco  <wdijkstr@arm.com>
37355         [BZ #17009]
37356         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
37357         Rewrite to reduce FPCR/FPSR accesses.
37359 2014-06-01  David S. Miller  <davem@davemloft.net>
37361         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37363 2014-05-31  David S. Miller  <davem@davemloft.net>
37365         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
37366         to occur in round to nearest mode when |x| >= 2.0
37368 2014-05-30  Richard Henderson  <rth@twiddle.net>
37370         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
37371         (PSEUDO_RET_NOERRNO): Remove.
37372         (ret): Don't redefine.
37373         (ret_NOERRNO): Define in terms of ret.
37374         (ret_ERRVAL): Likewise.
37376         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
37377         use of PSEUDO_RET; perform the error check directly.
37379 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
37381         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
37382         with __int128_t.
37384 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37386         * malloc/malloc (malloc_info): Fix formatting.
37388 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37389             Roland McGrath  <roland@hack.frob.com>
37391         * malloc/malloc (malloc_info): Also print mmapped statistics.
37393 2014-05-30  Roland McGrath  <roland@hack.frob.com>
37395         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
37396         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
37398 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
37400         * malloc/malloc.c (malloc_info): Inline mi_arena.
37402 2014-05-29  Richard Henderson  <rth@twiddle.net>
37404         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
37405         Remove comma before expanding ASM_ARGS_##nr.
37406         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
37407         Make _x0 a strict output; make _x8 a strict input; adjust expansion
37408         of ASM_ARGS_##nr.
37409         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
37410         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
37411         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
37412         (ASM_ARGS_1): Add leading comma.
37414         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
37415         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
37416         to __errno_location.
37417         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
37418         Remove the expected plt for __errno_location.
37420         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
37421         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
37422         call to __read_tp.
37424         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
37425         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
37426         it and break it down.
37427         (DOCARGS_0, DOCARGS_1): Do nothing.
37428         (DOCARGS_2): Update to store into the new stack frame.
37429         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
37430         (UNDOCARGS_1): Update to restore from the new stack frame.
37431         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
37432         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
37434         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
37435         (SINGLE_THREAD_P): New parameter for result regno.
37436         (PSEUDO): Update to match; use cbz instead of beq.
37438         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
37439         Use ENTRY to define the _nocancel entry point.  Share the syscall
37440         and syscall error check paths with the cancel path.
37441         (PSEUDO_END): New.
37443         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
37444         whitespace; tabs before and after asm mnemonics.
37446 2014-05-29  Eric Wong  <normalperson@yhbt.net>
37448         [BZ #15132]
37449         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37450         Call fstat64 or stat64 internally, depending on arguments passed.
37451         Replace stat buffer argument with file descriptor argument.
37452         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
37453         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
37454         Pass fd to __internal_statvfs instead of calling fstat64.
37455         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
37456         Pass fd to __internal_statvfs64 instead of calling fstat64.
37457         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
37458         Pass -1 to __internal_statvfs instead of calling stat64.
37459         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
37460         Pass -1 to __internal_statvfs64 instead of calling stat64.
37462 2014-05-28  Roland McGrath  <roland@hack.frob.com>
37464         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
37465         that was previously under [RESET_PID].
37466         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
37468         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
37469         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
37471 2014-05-27  Roland McGrath  <roland@hack.frob.com>
37473         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
37475         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
37476         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
37478 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
37480         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
37482 2014-05-27  Andreas Schwab  <schwab@suse.de>
37484         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
37485         TLS_INIT_TP macro.
37486         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
37487         * elf/rtld.c (init_tls, dl_main): Likewise.
37488         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
37489         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
37490         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
37491         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
37492         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
37493         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
37494         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
37495         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
37496         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
37497         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
37498         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
37499         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
37500         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
37501         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
37502         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
37503         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
37504         * sysdeps/generic/tls.h: Update description.
37506 2014-05-27  Will Newton  <will.newton@linaro.org>
37508         [BZ #16990]
37509         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
37510         and restore r2 rather than just restoring.
37512 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37514         [BZ #16724]
37515         * libio/tst-ftell-append.c: New test case.
37516         * libio/Makefile (tests): Add test case.
37517         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
37518         append mode.
37519         * libio/wfileops.c (do_ftell_wide): Likewise.
37521 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37523         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37525         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
37526         ...
37527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
37528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
37529         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
37530         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
37531         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
37532         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
37533         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
37534         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
37535         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
37536         Moved ...
37537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
37538         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
37539         Moved ...
37540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
37541         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
37542         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
37543         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
37544         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
37545         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
37546         ...
37547         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
37548         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
37549         Moved ...
37550         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
37551         here.
37552         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
37553         ...
37554         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
37555         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
37556         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
37558         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
37559         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
37560         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
37561         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
37563         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
37564         merge into ...
37565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
37566         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
37567         ...
37568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
37569         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
37570         ...
37571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
37572         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
37573         Moved ...
37574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
37575         here.
37576         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
37577         Moved ...
37578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
37579         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
37580         Moved ...
37581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
37583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
37584         conditional [RESET_PID].
37585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
37586         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
37587         removed.
37588         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
37589         removed.
37591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
37592         <tcb-offsets.h>.
37593         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37594         (__libc_vfork): New strong alias.
37595         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
37596         removed.
37597         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
37598         Removed.
37600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
37601         <tcb-offsets.h>.
37602         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
37603         (__libc_vfork): New strong alias.
37604         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
37605         removed.
37606         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
37607         removed.
37609 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
37611         * malloc/malloc.c (mi_arena): New function.
37612         (malloc_info): Remove nested function mi_arena. Call non-nosted
37613         function mi_arena.
37615 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37617         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
37618         by insrwi.
37619         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
37620         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
37621         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
37622         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
37623         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
37624         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
37625         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
37627 2014-05-26  Andreas Schwab  <schwab@suse.de>
37629         [BZ #16984]
37630         * locale/programs/repertoire.c (repertoire_read): Add slash
37631         between I18NPATH element and file name.
37632         * locale/programs/locfile.c (locfile_read): Likewise.
37634 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
37636         * nptl/pthread_mutexattr_settype.c
37637         (__pthread_mutexattr_settype):
37638         Disable lock elision for PTHREAD_MUTEX_NORMAL.
37640 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
37642         * nptl/tst-mutex5 (do_test):
37643         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
37645 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37647         * benchtests/README: Document 'init' directive.
37648         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
37649         BENCH_INIT.
37650         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
37651         (parse_file): Recognize 'init' directive.
37653 2014-05-26  Kyle McMartin  <kyle@redhat.com>
37655         [BZ #16796]
37656         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
37657         alignment of struct pthread.
37659 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37661         [BZ #16878]
37662         * nscd/netgroupcache.c (addgetnetgrentX): Look for
37663         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
37664         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
37665         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
37667 2014-05-25  Richard Henderson  <rth@twiddle.net>
37669         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
37670         (SINGLE_THREAD_P_PIC): Remove.
37671         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
37672         (SINGLE_THREAD_P_PIC): Remove.
37674         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
37675         branch to syscall error ...
37676         (PSEUDO): ... here.
37677         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
37678         from __local_syscall_error to .Lsyscall_error.
37679         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
37680         (SYSCALL_ERROR): Update label name.
37682         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
37683         Do not use DOARGS/UNDOARGS.
37684         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
37685         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
37686         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
37687         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
37688         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
37690         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
37691         block comment.
37693         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
37694         define if !NOT_IN_libc.
37695         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
37696         define with non-default symbol versions.
37698 2014-05-23  Richard Henderson  <rth@twiddle.net>
37700         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
37701         (vfork, __vfork): Define via compat_symbol.
37703         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
37704         [!HAVE_IFUNC] (vfork_compat): Remove.
37705         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
37707 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
37709         [BZ #16978]
37710         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
37711         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
37712         variable.
37714 2014-05-23  Richard Henderson  <rth@twiddle.net>
37716         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
37717         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
37718         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
37719         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
37721         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
37722         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
37723         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
37724         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
37725         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
37726         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
37727         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
37728         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
37729         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
37730         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
37731         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
37732         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
37733         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
37734         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
37735         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
37736         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
37737         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
37738         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
37739         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
37740         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
37741         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
37742         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
37743         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
37744         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
37745         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
37746         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
37747         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
37748         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
37749         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
37750         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
37751         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
37752         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
37753         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
37754         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
37755         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
37756         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
37757         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
37758         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
37759         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
37760         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
37761         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
37762         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
37763         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
37764         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
37765         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
37766         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
37767         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
37768         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
37769         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
37770         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
37771         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
37772         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
37773         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
37774         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
37775         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
37776         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
37778         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
37779         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
37780         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
37781         before exiting on error.
37782         (__libc_vfork): New strong alias.
37783         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
37784         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
37786         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
37787         that was previously under [RESET_PID].
37788         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
37790         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
37792 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
37794         [BZ #16977]
37795         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
37796         value when x - 1 is zero.
37797         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
37798         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
37799         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
37800         0.0L for an argument of 1.0L.
37801         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
37802         Likewise.
37803         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
37804         value when x - 1 is zero.
37805         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
37806         * sysdeps/i386/fpu/libm-test-ulps: Update.
37807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37809 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
37811         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
37812         alphasort and versionsort.
37814 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37816         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
37817         macro.
37818         [copysignf]: Likewise.
37820 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
37822         * crypt/md5-crypt.c: Fix formatting.
37824 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37826         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
37827         (b64_from_24bit): New function.
37829 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37831         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
37832         libc_hidden_builtin_def to ifunc.
37833         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
37834         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
37836 2014-05-21  Roland McGrath  <roland@hack.frob.com>
37838         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
37839         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
37841 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
37843         * nscd/Depend (linuxthreads): Remove.
37844         (nptl): Add.
37845         * resolv/Depend (linuxthreads): Remove.
37846         * rt/Depend (linuxthreads): Remove.
37848         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
37849         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
37850         $(common-objpfx)elf/.
37851         (link-libc-before-gnulib): Likewise.
37852         (elfobjdir): Remove variable.
37853         * Makefile (install): Use $(elf-objpfx) instead of
37854         $(common-objpfx)elf/.
37855         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
37856         $(elfobjdir)/.
37857         (link-libc-deps): Likewise.
37858         ($(common-objpfx)libc.so): Likewise.
37859         ($(common-objpfx)linkobj/libc.so): Likewise.
37860         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
37861         instead of $(common-objpfx)elf/.
37862         (symbolic-link-list): Likewise.
37863         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
37864         [$(cross-compiling) = no]: Likewise.
37865         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
37866         $(elfobjdir)/.
37867         (static-gnulib-arch): Likewise.
37868         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
37869         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
37870         $(common-objpfx)elf/.
37872 2014-05-21  Richard Henderson  <rth@redhat.com>
37874         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
37875         (SINGLE_THREAD_P): Use the correct width load.  Fold
37876         into the ldr offset.
37878         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
37879         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
37881 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
37883         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
37884         (libgcc_s_resume): Use __attribute_used__.
37885         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
37886         Likewise.
37888 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37890         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
37891         optimization when used with float constants.
37893         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37895 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
37897         [BZ #16915]
37898         * locale/nl_langinfo_l.c: Make direct reference to every
37899         _nl_current_CATEGORY symbol.
37900         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
37901         (tests-static): Add tst-langinfo-static.
37902         (tests-special): Add tst-langinfo-static.out.
37903         ($(objpfx)tst-langinfo.out): Redirect output.
37904         ($(objpfx)tst-langinfo-static.out): New.
37905         * localedata/tst-langinfo.sh: Send output to stdout.
37906         * localedata/tst-langinfo-static.c: New file.
37908         [BZ #16965]
37909         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
37910         when the shift amount is modulo the limb size.
37912 2014-05-20  Richard Henderson  <rth@redhat.com>
37914         [BZ #16967]
37915         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
37916         Change type of sa_flags from unsigned int to int.
37918         [BZ #16966]
37919         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
37921         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
37923 2014-05-20  Will Newton  <will.newton@linaro.org>
37925         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
37926         Test the return value of the system call in the nocancel case.
37928 2014-05-20  Will Newton  <will.newton@linaro.org>
37929             Yvan Roux  <yvan.roux@linaro.org>
37931         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
37932         #include of asm/ptrace.h.
37933         (PTRACE_GET_THREAD_AREA): Remove #undef.
37934         (PTRACE_GETHBPREGS): Likewise.
37935         (PTRACE_SETHBPREGS): Likewise.
37936         (struct user_regs_struct): New structure.
37937         (struct user_fpsimd_struct): New structure.
37938         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
37939         #include of asm/ptrace.h and second #include of sys/user.h.
37940         (PTRACE_GET_THREAD_AREA): Remove #undef.
37941         (PTRACE_GETHBPREGS): Likewise.
37942         (PTRACE_SETHBPREGS): Likewise.
37943         (ELF_NGREG): Use new struct user_regs_struct.
37944         (elf_fpregset_t): Use new struct user_fpsimd_struct.
37946 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37948         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
37949         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
37951 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
37953         [BZ #16958]
37954         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
37955         membar to avoid block loads/stores to overlap previous stores.
37957 2014-05-17  Richard Henderson  <rth@redhat.com>
37959         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
37960         Create the __##syscall_name##_nocancel entry point.
37961         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
37962         Remove; let the sysdep-cancel.h code create it.
37964 2014-05-17  David S. Miller  <davem@davemloft.net>
37966         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
37967         Protect with __USE_GNU.
37968         (TIOCSET_TEMPT): Likewise.
37969         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
37970         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
37971         these are already provided in bits/ioctl-types.h
37973 2014-05-16  Roland McGrath  <roland@hack.frob.com>
37975         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
37976         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
37978         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
37979         Use wait4 regardless of [__NR_waitpid].
37981 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
37983         PR libgcc/60166
37984         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
37985         (_FP_NANSIGN_Q): Set the quiet bit.
37987 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
37989         * benchtests/Makefile
37990         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
37991         not $(common-objpfx)math/libm.so.
37992         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
37993         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
37994         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
37995         $(common-objpfx)dlfcn/libdl.so.
37996         ($(objpfx)tst-audit8): Depend on $(libm), not
37997         $(common-objpfx)math/libm.so.
37998         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
37999         not $(common-objpfx)dlfcn/libdl.so.
38000         * math/Makefile
38001         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
38002         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
38003         [$(build-shared) = yes].
38004         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
38005         $(common-objpfx)nptl/libpthread.so.
38006         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
38007         $(common-objpfx)math/libm.so$(libm.so-version) or
38008         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
38009         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
38010         $(common-objpfx)dlfcn/libdl.so.
38011         * setjmp/Makefile (link-libm): Remove variable.
38012         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
38013         * stdio-common/Makefile (link-libm): Remove variable.
38014         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
38015         * stdlib/Makefile (link-libm): Remove variable.
38016         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
38017         ($(objpfx)tst-strtod-round): Likewise.
38018         ($(objpfx)tst-tininess): Likewise.
38019         ($(objpfx)tst-strtod-underflow): Likewise.
38020         ($(objpfx)tst-strtod6): Likewise.
38021         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
38022         $(libdl), not $(common-objpfx)nptl/libpthread.so and
38023         $(common-objpfx)dlfcn/libdl.so.
38025 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38027         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
38028         BSD terminal modes definitions.
38030 2014-05-16  Roland McGrath  <roland@hack.frob.com>
38032         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
38033         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
38035         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
38036         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
38037         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
38038         Don't do #include_next.
38039         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
38040         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
38041         Don't do #include_next.
38042         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
38043         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
38044         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
38045         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
38047 2014-05-16  Allan McRae  <allan@archlinux.org>
38049         * po/sv.po: Update Swedish translation from translation project.
38051         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
38052         in sed expression.
38054 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
38056         [BZ #16917]
38057         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
38058         errno if the TIOCGPTN ioctl fails with an error different than
38059         EINVAL.
38060         * login/tst-ptsname.c: New file.
38061         * login/Makefile (tests): Add tst-ptsname.
38063         [BZ #16943]
38064         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
38065         and prlimit64.
38067 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38069         [BZ #16849]
38070         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
38071         herrno to return EAI_AGAIN.
38073 2014-05-14  Roland McGrath  <roland@hack.frob.com>
38075         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
38076         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
38077         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
38078         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
38079         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
38080         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
38081         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
38082         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
38083         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
38084         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
38085         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
38086         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
38087         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
38088         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
38089         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
38090         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
38091         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
38092         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
38093         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
38094         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
38095         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
38096         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
38097         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
38098         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
38099         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
38100         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
38101         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
38102         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
38103         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
38104         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
38105         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
38106         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
38107         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
38108         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
38109         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
38110         Moved ...
38111         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
38112         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
38113         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
38114         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
38115         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
38116         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
38117         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
38118         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
38119         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
38120         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
38121         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
38122         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
38123         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
38124         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
38125         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
38126         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
38127         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
38128         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
38129         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
38130         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
38131         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
38132         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
38133         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
38134         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
38135         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
38136         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
38137         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
38138         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
38139         Moved ...
38140         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
38141         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
38142         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
38143         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
38144         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
38145         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
38146         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
38147         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
38148         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
38149         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
38150         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
38151         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
38152         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
38153         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
38154         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
38155         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
38156         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
38157         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
38158         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
38159         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
38160         Moved ...
38161         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
38162         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
38163         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
38165         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
38166         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
38167         (libpthread-sysdep_routines): Add elision-related stuff here instead.
38168         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
38169         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
38170         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
38171         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
38172         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
38173         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
38174         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
38175         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
38176         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
38177         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
38178         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
38179         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
38180         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
38181         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
38182         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
38183         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
38184         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
38185         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
38186         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
38187         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
38188         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
38189         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
38190         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
38191         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
38192         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
38193         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
38194         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
38195         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
38197         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
38198         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
38200         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
38201         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
38202         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
38203         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
38204         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
38205         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
38206         Moved ...
38207         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
38208         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
38209         Moved ...
38210         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
38211         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
38212         Moved ...
38213         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
38214         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
38215         Moved ...
38216         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
38217         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
38218         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
38219         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
38220         Moved ...
38221         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
38222         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
38223         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
38224         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
38225         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
38226         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
38227         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
38228         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
38229         Moved ...
38230         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
38231         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
38232         Moved ...
38233         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
38234         ... here.
38235         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
38236         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
38237         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
38238         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
38239         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
38240         Moved ...
38241         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
38242         ... here.
38243         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
38244         Moved ...
38245         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
38246         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
38247         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
38248         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
38249         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
38250         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
38251         Moved ...
38252         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
38253         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
38254         Moved ...
38255         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
38256         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
38257         Moved ...
38258         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
38259         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
38260         Moved ...
38261         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
38262         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
38263         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
38264         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
38265         Moved ...
38266         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
38267         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
38268         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
38269         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
38270         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
38271         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
38272         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
38273         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
38274         Moved ...
38275         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
38276         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
38277         Moved ...
38278         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
38279         ... here.
38280         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
38281         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
38282         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
38283         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
38284         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
38285         Moved ...
38286         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
38287         ... here.
38288         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
38289         Moved ...
38290         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
38291         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
38292         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
38293         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
38294         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
38295         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
38296         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
38297         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
38298         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
38299         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
38300         Moved ...
38301         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
38302         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
38303         Moved ...
38304         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
38305         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
38306         Moved ...
38307         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
38308         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
38309         Moved ...
38310         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
38311         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
38312         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
38313         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
38314         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
38315         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
38316         Moved ...
38317         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
38318         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
38319         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
38320         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
38321         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
38322         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
38323         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
38324         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
38325         Moved ...
38326         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
38327         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
38328         Moved ...
38329         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
38330         ... here.
38331         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
38332         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
38333         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
38334         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
38335         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
38336         Moved ...
38337         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
38338         ... here.
38339         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
38340         Moved ...
38341         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
38342         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
38343         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
38344         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
38345         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
38346         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
38347         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
38348         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
38349         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
38350         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
38351         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
38353         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
38354         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
38356         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
38357         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
38359         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
38360         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
38361         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
38362         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
38363         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
38364         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
38365         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
38366         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
38367         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
38368         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
38369         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
38370         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
38371         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
38372         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
38373         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
38374         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
38375         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
38376         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
38377         Moved ...
38378         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
38379         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
38380         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
38381         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
38382         Moved ...
38383         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
38384         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
38385         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
38386         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
38387         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
38388         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
38389         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
38390         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
38391         Moved ...
38392         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
38393         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
38394         Moved ...
38395         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
38396         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
38397         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
38398         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
38399         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
38400         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
38401         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
38402         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
38403         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
38404         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
38405         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
38406         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
38407         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
38408         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
38409         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
38410         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
38411         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
38413         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
38414         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
38415         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
38416         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
38417         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
38419         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
38420         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
38421         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
38422         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
38423         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
38424         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
38425         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
38426         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
38427         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
38428         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
38430         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
38431         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
38433         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
38434         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
38435         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
38436         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
38437         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
38438         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
38439         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
38440         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
38441         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
38442         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
38443         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
38444         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
38445         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
38446         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
38447         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
38448         Update #include.
38449         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
38450         Likewise.
38451         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
38452         Likewise.
38453         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
38454         Likewise.
38455         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
38456         Likewise.
38457         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
38458         Likewise.
38459         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
38460         Likewise.
38461         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
38462         Likewise.
38463         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
38464         Likewise.
38465         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
38466         Likewise.
38467         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
38468         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
38469         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
38470         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
38471         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
38472         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
38473         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
38474         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
38475         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
38476         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
38477         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
38478         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
38479         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
38480         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
38481         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
38483         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
38484         that was previously under [RESET_PID].
38485         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
38486         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
38487         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
38489         * sysdeps/i386/nptl/Implies: New file.
38490         * sysdeps/x86_64/nptl/Implies: New file.
38491         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
38492         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
38493         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
38494         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
38496         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
38497         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
38498         (__libc_vfork): New strong alias.
38499         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
38500         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
38502         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
38503         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
38504         (__libc_vfork): New strong alias.
38505         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
38506         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
38508         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
38509         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
38510         (__libc_vfork): New strong alias.
38511         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
38512         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
38513         * nptl/pt-vfork.c: New file.
38514         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
38515         (libpthread: GLIBC_2.20): New version set (empty).
38517 2014-05-14  Will Newton  <will.newton@linaro.org>
38519         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
38520         rather than #if.
38522 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
38524         [BZ #16564]
38525         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
38526         arguments with exponent 65 or above.
38527         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
38528         arguments 0x1p113L or above.
38529         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
38530         to arguments 0x1p107L or above.
38531         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
38532         positive arguments with exponent 65 or above.
38533         * math/auto-libm-test-in: Add more tests of log1p.
38534         * math/auto-libm-test-out: Regenerated.
38536         [BZ #16928]
38537         * math/s_cacos.c (__cacos): Ensure zero real part of result from
38538         non-finite arguments is +0.
38539         * math/s_cacosf.c (__cacosf): Likewise.
38540         * math/s_cacosl.c (__cacosl): Likewise.
38541         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
38542         * sysdeps/i386/fpu/libm-test-ulps: Update.
38543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38545         [BZ #16927]
38546         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
38547         value.
38548         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
38549         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
38550         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
38551         for explicit high bit of mantissa when testing for argument equal
38552         to 1.
38553         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
38554         * sysdeps/i386/fpu/libm-test-ulps: Update.
38555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38557         [BZ #16516]
38558         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
38559         (__erf): Scale by 16 instead of 8 in potentially underflowing
38560         case.  Ensure exception if result actually underflows.
38561         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
38562         (__erff): Scale by 16 instead of 8 in potentially underflowing
38563         case.  Ensure exception if result actually underflows.
38564         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
38565         (efx8): Remove variable.
38566         (__erfl): Scale by 16 instead of 8 in potentially underflowing
38567         case.  Ensure exception if result actually underflows.
38568         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
38569         (efx8): Remove variable.
38570         (__erfl): Scale by 16 instead of 8 in potentially underflowing
38571         case.  Ensure exception if result actually underflows.
38572         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
38573         (efx8): Remove variable.
38574         (__erfl): Scale by 16 instead of 8 in potentially underflowing
38575         case.  Ensure exception if result actually underflows.
38576         * math/auto-libm-test-in: Add more tests of erf.
38577         * math/auto-libm-test-out: Regenerated.
38579 2014-05-14  Andreas Schwab  <schwab@suse.de>
38581         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
38582         Remove code conditionalized on USE___THREAD.
38584         * config.h.in (HAVE_PT_CHOWN): Define as 0.
38585         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
38586         not definedness.
38588 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
38590         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
38591         Define unconditionally.
38592         (__ASSUME_O_CLOEXEC): Likewise.
38593         (__ASSUME_SOCK_CLOEXEC): Likewise.
38594         (__ASSUME_IN_NONBLOCK): Likewise.
38595         (__ASSUME_PIPE2): Likewise.
38596         (__ASSUME_EVENTFD2): Likewise.
38597         (__ASSUME_SIGNALFD4): Likewise.
38598         (__ASSUME_DUP3): Likewise.
38599         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38600         (__ASSUME_DUP3): Do not define.
38601         (__ASSUME_EVENTFD2): Likewise.
38602         (__ASSUME_IN_NONBLOCK): Likewise.
38603         (__ASSUME_O_CLOEXEC): Likewise.
38604         (__ASSUME_PIPE2): Likewise.
38605         (__ASSUME_SIGNALFD4): Likewise.
38606         (__ASSUME_SOCK_CLOEXEC): Likewise.
38607         (__ASSUME_UTIMES): Undefine.
38608         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38609         (__ASSUME_UTIMES): Do not define.
38610         (__ASSUME_O_CLOEXEC): Likewise.
38611         (__ASSUME_SOCK_CLOEXEC): Likewise.
38612         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
38613         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
38614         0x020621].
38615         (__ASSUME_PIPE2): Likewise.
38616         (__ASSUME_EVENTFD2): Likewise.
38617         (__ASSUME_SIGNALFD4): Likewise.
38618         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
38619         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
38620         Do not define.
38621         (__ASSUME_EVENTFD2): Likewise.
38622         (__ASSUME_SIGNALFD4): Likewise.
38623         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
38624         (__ASSUME_32BITUIDS): Likewise.
38625         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
38626         (__ASSUME_IPC64): Likewise.
38627         (__ASSUME_ST_INO_64_BIT): Likewise.
38628         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
38629         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
38630         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38631         (__ASSUME_UTIMES): Do not define.
38632         (__ASSUME_PSELECT): Likewise.
38633         (__ASSUME_PPOLL): Likewise.
38634         (__ASSUME_O_CLOEXEC): Likewise.
38635         (__ASSUME_SOCK_CLOEXEC): Likewise.
38636         (__ASSUME_IN_NONBLOCK): Likewise.
38637         (__ASSUME_PIPE2): Likewise.
38638         (__ASSUME_EVENTFD2): Likewise.
38639         (__ASSUME_SIGNALFD4): Likewise.
38640         (__ASSUME_DUP3): Likewise.
38641         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
38642         (__ASSUME_UTIMES): Likewise.
38643         (__ASSUME_O_CLOEXEC): Likewise.
38644         (__ASSUME_SOCK_CLOEXEC): Likewise.
38645         (__ASSUME_IN_NONBLOCK): Likewise.
38646         (__ASSUME_PIPE2): Likewise.
38647         (__ASSUME_EVENTFD2): Likewise.
38648         (__ASSUME_SIGNALFD4): Likewise.
38649         (__ASSUME_DUP3): Likewise.
38650         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38651         (__ASSUME_UTIMES): Likewise.
38652         (__ASSUME_O_CLOEXEC): Likewise.
38653         (__ASSUME_SOCK_CLOEXEC): Likewise.
38654         (__ASSUME_IN_NONBLOCK): Likewise.
38655         (__ASSUME_PIPE2): Likewise.
38656         (__ASSUME_EVENTFD2): Likewise.
38657         (__ASSUME_SIGNALFD4): Likewise.
38658         (__ASSUME_DUP3): Likewise.
38659         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
38660         Likewise.
38661         (__ASSUME_UTIMES): Likewise.
38662         (__ASSUME_EVENTFD2): Likewise.
38663         (__ASSUME_SIGNALFD4): Likewise.
38664         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38665         (__ASSUME_O_CLOEXEC): Likewise.
38666         (__ASSUME_SOCK_CLOEXEC): Likewise.
38667         (__ASSUME_IN_NONBLOCK): Likewise.
38668         (__ASSUME_PIPE2): Likewise.
38669         (__ASSUME_EVENTFD2): Likewise.
38670         (__ASSUME_SIGNALFD4): Likewise.
38671         (__ASSUME_DUP3): Likewise.
38672         (__ASSUME_UTIMES): Undefine.
38674         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
38675         feclearexcept.  Remove symbol versioning code.
38676         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
38677         symbol versioning code.
38678         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
38679         symbol versioning code.
38680         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
38681         feupdateenv.  Remove symbol versioning code.
38682         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
38683         fegetexceptflag.  Remove symbol versioning code.
38684         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
38685         fesetexceptflag.  Remove symbol versioning code.
38686         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
38687         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
38688         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
38689         (__posix_fadvise64_l32): Remove prototype.
38690         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
38691         code.
38693 2014-05-13  Roland McGrath  <roland@hack.frob.com>
38695         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
38696         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
38697         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
38698         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
38700 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
38702         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
38703         current working directory
38705 2014-05-13  Roland McGrath  <roland@hack.frob.com>
38707         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
38708         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
38709         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
38710         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
38711         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
38712         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
38713         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
38714         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
38715         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
38716         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
38717         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
38718         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
38719         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
38720         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
38721         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
38722         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
38723         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
38724         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
38725         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
38726         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
38727         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
38728         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
38729         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
38730         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
38731         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
38732         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
38733         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
38734         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
38735         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
38736         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
38737         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
38738         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
38739         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
38740         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
38741         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
38742         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
38743         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
38744         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
38745         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
38746         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
38747         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
38748         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
38750         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
38751         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
38753         * sysdeps/unix/sysv/linux/arm/Makefile
38754         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
38755         Add rt-aeabi_unwind_cpp_pr1.
38756         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
38757         Add nptl-aeabi_unwind_cpp_pr1.
38758         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
38759         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
38760         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
38761         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
38762         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
38763         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
38765         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
38766         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
38767         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
38768         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
38770         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
38771         Deconditionalize the code that was previously under [RESET_PID].
38772         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
38774         * sysdeps/generic/exit-thread.h: New file.
38775         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
38776         * include/unistd.h (__exit_thread): Remove declaration.
38777         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
38778         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
38779         * csu/libc-start.c: Include <exit-thread.h>.
38780         (LIBC_START_MAIN): Pass no argument to __exit_thread.
38781         * nptl/pthread_create.c: Include <exit-thread.h>.
38782         (start_thread): Call __exit_thread in place of __exit_thread_inline.
38783         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
38784         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
38785         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
38786         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
38787         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
38788         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
38789         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
38790         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
38791         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
38792         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
38793         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
38794         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
38795         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
38796         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
38797         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
38798         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
38800 2014-05-13  Andreas Schwab  <schwab@suse.de>
38802         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
38804 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
38806         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
38807         (__ASSUME_UTIMES): Do not condition on kernel version.
38808         (__ASSUME_PSELECT): Define unconditionally.
38809         (__ASSUME_PPOLL): Likewise.
38810         (__ASSUME_ATFCTS): Likewise.
38811         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
38812         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
38813         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
38814         (__ASSUME_UTIMENSAT): Define unconditionally.
38815         (__ASSUME_PRIVATE_FUTEX): Likewise.
38816         (__ASSUME_FALLOCATE): Likewise.
38817         (__ASSUME_O_CLOEXEC): Likewise.
38818         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
38819         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
38820         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
38821         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
38822         (__ASSUME_IN_NONBLOCK): Likewise.
38823         (__ASSUME_PIPE2): Likewise.
38824         (__ASSUME_EVENTFD2): Likewise.
38825         (__ASSUME_SIGNALFD4): Likewise.
38826         (__ASSUME_DUP3): Likewise.
38827         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
38828         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
38829         (__ASSUME_AT_RANDOM): Likewise.
38830         (__ASSUME_PREADV): Likewise.
38831         (__ASSUME_PWRITEV): Likewise.
38832         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
38833         (__ASSUME_F_GETOWN_EX): Define unconditionally.
38834         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
38835         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
38836         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
38837         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38838         (__ASSUME_O_CLOEXEC): Define unconditionally.
38839         (__ASSUME_PSELECT): Do not undefine conditionally.
38840         (__ASSUME_PPOLL): Likewise.
38841         (__ASSUME_ATFCTS): Likewise.
38842         (__ASSUME_SET_ROBUST_LIST): Likewise.
38843         (__ASSUME_UTIMENSAT): Likewise.
38844         (__ASSUME_FDATASYNC): Define unconditionally.
38845         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38846         (__ASSUME_SIGFRAME_V2): Likewise.
38847         )__ASSUME_EVENTFD2): Likewise.
38848         (__ASSUME_SIGNALFD4): Likewise.
38849         (__ASSUME_PSELECT): Do not undefine conditionally.
38850         (__ASSUME_PPOLL): Likewise.
38851         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38852         (__ASSUME_PSELECT): Define unconditionally.
38853         (__ASSUME_PPOLL): Likewise.
38854         (__ASSUME_O_CLOEXEC): Likewise.
38855         (__ASSUME_SOCK_CLOEXEC): Likewise.
38856         (__ASSUME_IN_NONBLOCK): Likewise.
38857         (__ASSUME_PIPE2): Likewise.
38858         (__ASSUME_EVENTFD2): Likewise.
38859         (__ASSUME_SIGNALFD4): Likewise.
38860         (__ASSUME_DUP3): Likewise.
38861         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
38862         (__ASSUME_O_CLOEXEC): Likewise.
38863         (__ASSUME_SOCK_CLOEXEC): Likewise.
38864         (__ASSUME_IN_NONBLOCK): Likewise.
38865         (__ASSUME_PIPE2): Likewise.
38866         (__ASSUME_EVENTFD2): Likewise.
38867         (__ASSUME_SIGNALFD4): Likewise.
38868         (__ASSUME_DUP3): Likewise.
38869         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38870         (__ASSUME_EVENTFD2): Likewise.
38871         (__ASSUME_SIGNALFD4): Likewise.
38872         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
38874 2014-05-12  Andreas Schwab  <schwab@suse.de>
38876         [BZ #16932]
38877         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
38878         (_nss_nis_gethostbyname4_r): Return error if item length is larger
38879         than maximum RPC packet size.
38880         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
38881         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
38882         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
38883         (_nss_nis_getservbyport_r): Likewise.
38885 2014-05-12  Will Newton  <will.newton@linaro.org>
38887         * malloc/Makefile (tests): Add tst-mallopt.
38888         * malloc/tst-mallopt.c: New file.
38890 2014-05-09  Roland McGrath  <roland@hack.frob.com>
38892         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
38893         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
38895 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38897         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
38898         (tst-tlsmod6.so): Likewise.
38900 2014-05-09  Roland McGrath  <roland@hack.frob.com>
38902         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
38904 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
38906         [BZ #16064]
38907         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
38908         and <dl-procinfo.h>.
38909         (__fegetenv): Save SSE state in envp->__eip if supported.
38910         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
38911         envp->__eip if supported.
38912         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
38913         and <dl-procinfo.h>.
38914         (__fesetenv): Always set __eip, __cs_selector, __opcode,
38915         __data_offset and __data_selector in environment to 0.  Set SSE
38916         state if supported.
38917         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
38918         test-fenv-sse.
38919         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
38920         -mfpmath=sse.
38921         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
38923 2014-05-09  Will Newton  <will.newton@linaro.org>
38925         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
38926         and libc_relro_required for ARM.
38927         * sysdeps/arm/preconfigure: Regenerate.
38929 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
38930             Stefan Liebler  <stli@linux.vnet.ibm.com>
38932         * config.make.in (enable-lock-elision): New Makefile variable.
38933         * configure.ac: Likewise.
38934         * configure: Regenerate.
38935         * sysdeps/s390/configure.ac:
38936         Add check for gcc transactions support.
38937         * sysdeps/s390/configure: Regenerate.
38938         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
38939         Build elision files if enabled.
38940         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
38941         Add lock elision support for s390.
38942         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
38943         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
38944         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
38945         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
38946         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
38947         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
38948         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
38949         Likewise.
38950         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
38951         Likewise.
38952         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
38953         Likewise.
38954         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
38955         Likewise.
38956         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
38957         (__lll_timedlock_elision, __lll_lock_elision)
38958         (__lll_unlock_elision, __lll_trylock_elision)
38959         (lll_timedlock_elision, lll_lock_elision)
38960         (lll_unlock_elision, lll_trylock_elision): Add.
38961         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
38962         (pthread_mutex_t): Add lock elision support for s390.
38964 2014-05-14  Wilco  <wdijkstr@arm.com>
38966         * sysdeps/arm/fclrexcpt.c: Cleanup.
38967         * sysdeps/arm/fedisblxcpt.c: Cleanup.
38968         * sysdeps/arm/feenablxcpt.c: Cleanup.
38969         * sysdeps/arm/fegetenv.c: Cleanup.
38970         * sysdeps/arm/fegetexcept.c: Cleanup.
38971         * sysdeps/arm/fegetround.c: Cleanup.
38972         * sysdeps/arm/feholdexcpt.c: Cleanup.
38973         * sysdeps/arm/fesetenv.c: Cleanup.
38974         * sysdeps/arm/fesetround.c: Cleanup.
38975         * sysdeps/arm/feupdateenv.c: Cleanup.
38976         * sysdeps/arm/fgetexcptflg.c: Cleanup.
38977         * sysdeps/arm/fraiseexcpt.c: Cleanup.
38978         * sysdeps/arm/fsetexcptflg.c: Cleanup.
38979         * sysdeps/arm/ftestexcept.c: Cleanup.
38980         * sysdeps/arm/get-rounding-mode.h: Cleanup.
38981         * sysdeps/arm/setfpucw.c: Cleanup.
38983 2014-05-09  Will Newton  <will.newton@linaro.org>
38985         * sysdeps/arm/armv7/strcmp.S: New file.
38986         * NEWS: Mention addition of ARMv7 optimized strcmp.
38988 2014-05-08  Roland McGrath  <roland@hack.frob.com>
38990         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
38991         look for %.ac rather than %.in.
38993         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
38994         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
38995         * sysdeps/mach/hurd/configure: Regenerated.
38996         * sysdeps/unix/sysv/linux/configure: Regenerated.
38998         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
39000 2014-05-07  Steve Ellcey  <sellcey@mips.com>
39002         [BZ# 16922]
39003         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
39004         (LONG_SUB): Ditto.
39005         (PTR_SUB): Ditto.
39007 2014-05-07  Andreas Schwab  <schwab@suse.de>
39009         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
39010         when skipping over non-matching result from nscd.
39012 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
39014         [BZ #16876]
39015         * nptl/sockperf.c (client): Check socket return value.
39017         [BZ #16877]
39018         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
39019         nscd security class.
39021 2014-05-06  Roland McGrath  <roland@hack.frob.com>
39023         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
39024         * sysdeps/arm/unwind.h: ... here.
39026 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
39028         [BZ# 16916]
39029         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
39030         Define.
39032 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39034         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
39035         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
39036         multiarch strncpy for PPC64.
39037         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
39038         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
39039         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
39040         multiarch optimizations.
39041         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39042         (__libc_ifunc_impl_list): Likewise.
39043         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
39044         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
39045         multiarch stpncpy for PPC64.
39046         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
39047         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
39049 2014-05-06  Andreas Schwab  <schwab@suse.de>
39051         [BZ #16912]
39052         * gmon/mcount.c (_MCOUNT_DECL): Use
39053         atomic_compare_and_exchange_bool_acq instead of
39054         catomic_compare_and_exchange_bool_acq.
39056 2014-05-05  Roland McGrath  <roland@hack.frob.com>
39058         * elf/Makefile (others, install-bin): Remove pldd.
39059         (pldd-modules): Variable removed.
39060         ($(objpfx)pldd): Target removed.
39061         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
39062         (others, install-bin): Append pldd here.
39063         ($(objpfx)pldd): New target.
39065         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
39066         to 0, so the first #if test emitted later doesn't see it undefined.
39067         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
39068         * sysdeps/gnu/errlist.c: Regenerated.
39070 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39072         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
39073         [libc_hidden_builtin_def]: Define to empty value.
39074         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
39075         [libc_hidden_builtin_def]: Likewise.
39076         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
39077         [libc_hidden_builtin_def]: Likewise.
39078         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
39079         [libc_hidden_builtin_def]: Likewise.
39080         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
39081         __redirect_memcpy and define ifunc as default hidden symbol.
39082         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
39083         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
39085 2014-05-04  Adam Conrad  <adconrad@0c3.net>
39087         * locale/iso-4217.def: Reintroduce XDR currency.
39089 2014-05-04  Allan McRae  <allan@archlinux.org>
39091         * po/eo.po: Update Esperanto translation from translation project.
39093 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
39095         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
39096         and FEATURE_INDEX_MAX to 1.
39097         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
39099 2014-05-01  Steve Ellcey  <sellcey@mips.com>
39101         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
39102         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
39103         * iconvdata/big5.c (ONE_DIRECTION): Define.
39104         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
39105         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
39106         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
39107         * iconvdata/cp932.c (ONE_DIRECTION): Define.
39108         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
39109         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
39110         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
39111         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
39112         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
39113         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
39114         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
39115         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
39116         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
39117         * iconvdata/gbk.c (ONE_DIRECTION): Define.
39118         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
39119         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
39120         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
39121         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
39122         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
39123         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
39124         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
39125         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
39126         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
39127         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
39128         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
39129         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
39130         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
39131         * iconvdata/iso646.c (ONE_DIRECTION): Define.
39132         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
39133         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
39134         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
39135         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
39136         * iconvdata/johab.c (ONE_DIRECTION): Define.
39137         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
39138         * iconvdata/sjis.c (ONE_DIRECTION): Define.
39139         * iconvdata/t.61.c (ONE_DIRECTION): Define.
39140         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
39141         * iconvdata/tscii.c (ONE_DIRECTION): Define.
39142         * iconvdata/uhc.c (ONE_DIRECTION): Define.
39143         * iconvdata/unicode.c (ONE_DIRECTION): Define.
39144         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
39145         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
39146         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
39148 2014-05-01  Roland McGrath  <roland@hack.frob.com>
39150         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
39151         (_IO_JUMPS_OFFSET): Define to 0.
39153         * nptl/sysdeps/pthread/bits/libc-lock.h
39154         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
39155         (__libc_lock_define_initialized_recursive): Always define using
39156         initializer.  Modern compilers treat uninitialized (implicit zero) and
39157         explicit zero initializers the same (i.e. put the datum in bss).
39159 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
39161         * nscd/nscd-client.h: Include <string.h>.
39163 2014-05-01  David S. Miller  <davem@davemloft.net>
39165         [BZ #16885]
39166         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
39167         multiple zero bytes exist at the end of a string.
39168         Reported by Aurelien Jarno <aurelien@aurel32.net>
39170         * string/test-strcmp.c (check): Add explicit test for situations where
39171         there are multiple zero bytes after the first.
39173 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
39175         [BZ #16890]
39176         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
39177         when compiling wprintf.
39178         * stdio-common/tstdiomisc.c (t3): New function.
39179         (main): Call it.
39181 2014-05-01  Steve Ellcey  <sellcey@mips.com>
39183         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
39184         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
39185         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
39186         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
39188 2014-05-01  Steve Ellcey  <sellcey@mips.com>
39190         * stdlib/longlong.h: Updated from GCC.
39192 2014-05-01  Will Newton  <will.newton@linaro.org>
39193             Bernard Ogden  <bernie.ogden@linaro.org>
39195         * NEWS: Update fixed bug list.
39197         [BZ #15119]
39198         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
39200 2014-04-30  David S. Miller  <davem@davemloft.net>
39202         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
39203         (libc_feholdexcept_setround_sparc_ctx): New function.
39204         (libc_fesetenv_sparc_ctx): Likewise.
39205         (libc_feupdateenv_sparc_ctx): Likewise.
39206         (libc_feholdsetround_sparc_ctx): Likewise.
39207         (libc_feholdexcept_setround_ctx): Define.
39208         (libc_feholdexcept_setroundf_ctx): Likewise.
39209         (libc_feholdexcept_setroundl_ctx): Likewise.
39210         (libc_fesetenv_ctx): Likewise.
39211         (libc_fesetenvf_ctx): Likewise.
39212         (libc_fesetenvl_ctx): Likewise.
39213         (libc_feupdateenv_ctx): Likewise.
39214         (libc_feupdateenvf_ctx): Likewise.
39215         (libc_feupdateenvl_ctx): Likewise.
39216         (libc_feresetround_ctx): Likewise.
39217         (libc_feresetroundf_ctx): Likewise.
39218         (libc_feresetroundl_ctx): Likewise.
39219         (libc_feholdsetround_ctx): Likewise.
39220         (libc_feholdsetroundf_ctx): Likewise.
39221         (libc_feholdsetroundl_ctx): Likewise.
39223         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
39224         with __USE_GNU instead of XOPEN cpp guards.
39226         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
39227         0.
39229         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
39230         with XOPEN cpp guards.
39232 2014-04-30  Julian Brown  <julian@codesourcery.com>
39234         [BZ #16888]
39235         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
39236         handling.
39238 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
39240         [BZ #9894]
39241         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
39242         Change to 2.6.32.
39243         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
39244         * sysdeps/unix/sysv/linux/configure: Regenerated.
39245         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
39246         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
39247         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
39248         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
39249         * README: Update reference to required Linux kernel version.
39250         * manual/install.texi (Linux): Update reference to required Linux
39251         kernel headers version.
39252         * INSTALL: Regenerated.
39254         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
39255         header inclusion.
39256         [POSIX] (limits.h): Likewise.
39257         [POSIX] (math.h): Likewise.
39258         [POSIX] (sys/wait.h): Likewise.
39259         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
39260         function.
39261         [POSIX] (stddef.h): Do not allow header inclusion.
39263 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39265         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
39267 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
39269         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
39270         Return immediately after lll_futex_wake.
39272 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39274         [BZ #16791]
39275         * nscd/nscd-client.h (datahead_init_common): Initialize entire
39276         structure.
39277         (datahead_init_pos): Call datahead_init_common early.
39278         (datahead_init_neg): Likewise.
39280         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
39281         datahead_init_neg): New functions.
39282         * nscd/aicache.c (addhstaiX): Use them.
39283         * nscd/grpcache.c (cache_addgr): Likewise.
39284         * nscd/hstcache.c (cache_addhst): Likewise.
39285         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39286         * nscd/netgroupcache.c (do_notfound): Likewise.
39287         (addgetnetgrentX): Likewise.
39288         (addinnetgrX): Likewise.
39289         * nscd/pwdcache.c (cache_addpw): Likewise.
39290         * nscd/servicescache.c (cache_addserv): Likewise.
39292 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39293             Atsushi Onoe  <atsushi@onoe.org>
39295         [BZ #14308]
39296         [BZ #12994]
39297         [BZ #13651]
39298         * resolv/res_query.c (__libc_res_nsearch): Return if at least
39299         one response is valid.
39300         * resolv/res_send.c (send_dg): Check for validity of other
39301         response if the current response is a referral.
39303 2014-04-29  Steve Ellcey  <sellcey@mips.com>
39305         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
39307 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
39309         [BZ #16823]
39310         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
39311         Always divide by positive zero when computing -Inf result.
39312         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
39313         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
39315 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39317         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
39318         FPSCR if value do not change.
39319         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
39320         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
39321         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
39322         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
39323         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
39324         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
39325         function.
39327 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
39329         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
39330         * sysdeps/unix/sysv/linux/hppa: Move directory from
39331         ports/systeps/unix/sysv/linux/hppa.
39332         * README: Update listing for hppa-*-linux-gnu.
39334 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
39336         [BZ #16754]
39337         * manual/stdio.texi (Hook functions): Fix types of stream hook
39338         functions.
39339         [BZ #16854]
39340         * socket/sys/socket.h: Fix typo in comment.
39342 2014-04-28  Wilco  <wdijkstr@arm.com>
39344         * sysdeps/arm/fenv_private.h: New file.
39345         * sysdeps/arm/math_private.h: New file.
39346         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
39348 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
39350         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
39351         with __int128_t.
39352         (La_x86_64_retval): Likewise.
39354 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
39356         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
39357         fpsr if value didn't change.
39358         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
39359         to fpcr if value didn't change.
39360         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
39361         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
39362         fpsr or fpcr if value didn't change.
39363         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
39364         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
39365         fpcr if value didn't change.
39366         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
39367         to fpsr if value didn't change.
39369 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
39371         * nptl/tst-sem3.c: Use test-skeleton.c
39372         (main): Rename to do_test.  Use return instead of
39373         exit.
39374         * nptl/tst-sem4.c: Use test-skeleton.c
39375         (main): Rename to do_test.
39377 2014-04-22  David S. Miller  <davem@davemloft.net>
39379         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
39380         (struct sigaction): New struct member __glibc_reserved0, change
39381         type of sa_flags to int.
39383 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
39385         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
39386         (COUNT_LEADING_ZEROS_0): Define for AArch64.
39388 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
39390         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
39391         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
39393 2014-04-22  Will Newton  <will.newton@linaro.org>
39394             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
39396         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
39397         (__longjmp): Add longjmp and longjmp_target SystemTap
39398         probes.
39399         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
39400         (__sigsetjmp): Add setjmp SystemTap probe.
39402 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
39404         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
39405         match manual order.
39407 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39409         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
39411         * sysdeps/powerpc/fpu/fenv_private.h
39412         (libc_feholdexcept_setroundl_ctx): Define to
39413         libc_feholdexcept_setround_ppc_ctx.
39414         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
39415         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
39416         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
39417         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
39419 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
39421         * sysdeps/aarch64/math-tests.h: New file.
39423 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
39425         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
39426         New.
39427         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39428         Check and set bit_AVX2_Usable.
39429         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
39430         macro.
39431         (bit_AVX2): Likewise.
39432         (index_AVX2_Usable): Likewise.
39433         (CPUID_AVX2): Likewise.
39434         (HAS_AVX2): Likewise.
39436 2014-04-17  Will Newton  <will.newton@linaro.org>
39438         * manual/setjmp.texi (System V contexts): Add note that
39439         calling setcontext on a context created by a call to a
39440         signal handler is undefined.  Update text to note that
39441         setcontext from a signal handler is possible but not
39442         recommended.
39444         [BZ #16629]
39445         * stdlib/tst-setcontext.c: Include signal.h.
39446         (main): Check that the signal stack before and
39447         after swapcontext is the same.
39449         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
39450         Re-implement to restore registers in user code and avoid
39451         rt_sigreturn system call.
39453 2014-04-17  Wilco  <wdijkstr@arm.com>
39455         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
39456         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
39457         * math/test-fenv.c: Skip exception trap tests on targets which only
39458         support non-stop mode.
39460 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
39461             Wilco Dijkstra  <wilco.dijkstra@arm.com>
39463         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
39464         (libc_feholdsetround_aarch64_ctx)
39465         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
39466         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
39467         (libc_feresetround_ctx, libc_feresetroundf_ctx)
39468         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
39469         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
39470         (libc_feresetround_noexl_ctx): Define.
39472 2014-04-16  Richard Henderson  <rth@redhat.com>
39474         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
39476         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
39477         unwind tables.
39479         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
39480         const from the non-libc, non-ldso copy.
39482         * sysdeps/alpha/libm-test-ulps: Regenerate.
39484 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
39485             Wilco Dijkstra  <wilco.dijkstra@arm.com>
39487         * sysdeps/aarch64/fpu/math_private.h: New file.
39489 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
39491         * sysdeps/aarch64/libm-test-ulps: Regenerate.
39493 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
39495         [BZ #16275]
39496         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
39497         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
39498         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
39499         Intel MPX bound registers before _dl_profile_fixup.
39500         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
39501         registers after _dl_profile_fixup.  Save and restore bound
39502         registers bnd0/bnd1 when calling _dl_call_pltexit.
39503         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
39504         (LR_BND_OFFSET): Likewise.
39505         (LRV_BND0_OFFSET): Likewise.
39506         (LRV_BND1_OFFSET): Likewise.
39508 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39510         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
39511         to...
39512         * sysdeps/mach/hurd/i386/tls.h: ... here.
39513         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
39514         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
39515         fields.
39517 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39519         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
39521 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
39523         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39525 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
39527         [BZ #14770]
39528         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
39529         * sysdeps/s390/configure: Regenerate.
39531         [BZ #16824]
39532         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
39533         Set round-to-nearest internally to reduce error accumulation.
39535 2014-04-16  Alan Modra  <amodra@gmail.com>
39537         [BZ #16740]
39538         [BZ #16619]
39539         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
39540         * math/libm-test.inc (frexp_test_data): Add tests.
39541         * NEWS: Update fixed bug list.
39543 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39545         * benchtests/Makefile: Depend on libraries in build directory.
39546         (bench-math): Separate out math tests.
39547         (bench-pthread): Separate out pthread tests.
39548         (bench): Include math and pthread tests.
39550 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
39552         [BZ #16831]
39553         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
39554         _dl_debug_initialize.
39556         * configure.ac: Remove SELinux header check.
39557         * configure: Regenerate.
39558         * nscd/selinux.c (perms): Array of const char* to permission names.
39559         (nscd_request_avc_has_perm): Call security_deny_unknown to find
39560         default policy. Call string_to_security_class and string_to_av_perm to
39561         translate strings. Enforce default policy and call avs_has_perm with
39562         results of translated strings.
39564 2014-04-13  David S. Miller  <davem@davemloft.net>
39566         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39568 2014-04-12  Allan McRae  <allan@archlinux.org>
39570         [BZ #16838]
39571         * manual/string.texi (Collation Functions): Fix qsort argument
39572         order in example.
39573         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
39575 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
39577         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
39578         Make the test a no-op if there are no exceptions defined.
39580 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
39582         * elf/Makefile (tests): make tst-dlopen-aout conditional on
39583         enable-hardcoded-path-in-tests
39585 2014-04-11  Will Newton  <will.newton@linaro.org>
39587         * benchtests/Makefile (extra-objs): Add json-lib.o.
39588         (bench-func): Tidy up JSON output.
39589         * benchtests/bench-skeleton.c: Include json-lib.h.
39590         (main): Use JSON library functions to do output of
39591         benchmark results.
39592         * benchtests/bench-timing-type.c (main): Output the
39593         timing type simply, leaving formatting to the user.
39594         * benchtests/json-lib.c: New file.
39595         * benchtests/json-lib.h: Likewise.
39597 2014-04-11  Torvald Riegel  <triegel@redhat.com>
39599         [BZ #15215]
39600         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
39601         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
39602         memory barriers.  Add comments.
39603         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
39604         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
39605         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
39606         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
39607         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
39608         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
39610 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
39612         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
39613         * sysdeps/s390/s390-64/configure.ac: ... this ...
39614         * sysdeps/s390/configure.ac: ... to here.
39615         * sysdeps/s390/s390-32/configure: Delete file.
39616         * sysdeps/s390/s390-64/configure: Delete file.
39617         * sysdeps/s390/configure: Regenerate.
39619 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
39621         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
39623 2014-04-11  Will Newton  <will.newton@linaro.org>
39625         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
39626         to zero if it is not defined elsewhere.  (mtrim): Test
39627         the value of MALLOC_DEBUG with #if rather than #ifdef.
39629 2014-04-10 Torvald Riegel  <triegel@redhat.com>
39631         * benchtests/pthread_once-inputs: New file.
39632         * benchtests/pthread_once-source.c: New file.
39633         * benchtests/README: Update documentation.
39635 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
39636             H.J. Lu  <hongjiu.lu@intel.com>
39638         [BZ #16275]
39639         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
39640         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
39641         * sysdeps/x86_64/configure: Regenerated.
39642         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
39643         macro.
39644         (REGISTER_SAVE_RAX): Likewise.
39645         (REGISTER_SAVE_RCX): Likewise.
39646         (REGISTER_SAVE_RDX): Likewise.
39647         (REGISTER_SAVE_RSI): Likewise.
39648         (REGISTER_SAVE_RDI): Likewise.
39649         (REGISTER_SAVE_R8): Likewise.
39650         (REGISTER_SAVE_R9): Likewise.
39651         (REGISTER_SAVE_BND0): Likewise.
39652         (REGISTER_SAVE_BND1): Likewise.
39653         (REGISTER_SAVE_BND2): Likewise.
39654         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
39655         bound registers when calling _dl_fixup.
39657 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39659         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
39660         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
39661         of its definition.
39662         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
39663         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
39664         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
39665         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
39666         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
39667         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
39668         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
39670 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
39672         [BZ #15514]
39673         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
39674         pathconf(_PC_NAME_MAX).
39676 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39678         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
39679         Remove macro usage.
39680         (__PTHREAD_SPINS): Move definition to ...
39681         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
39682         (__PTHREAD_SPINS): ... here.
39683         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
39684         (__PTHREAD_SPIN): Likewise.
39685         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
39686         (__PTHREAD_SPIN): Likewise.
39687         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
39688         (__PTHREAD_SPIN): Likewise.
39689         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
39690         (__PTHREAD_SPIN): Likewise.
39691         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
39692         (__PTHREAD_SPIN): Likewise.
39693         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
39694         (__PTHREAD_SPIN): Likewise.
39695         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
39696         (__PTHREAD_SPIN): Likewise.
39697         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
39698         (__PTHREAD_SPIN): Likewise.
39699         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
39700         (__PTHREAD_SPIN): Likewise.
39701         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
39702         (__PTHREAD_SPIN): Likewise.
39703         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
39704         (__PTHREAD_SPIN): Likewise.
39705         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
39706         (__PTHREAD_SPIN): Likewise.
39708         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
39709         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
39710         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
39711         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
39712         imply folder.
39713         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
39714         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
39715         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
39716         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
39717         correct imply path.
39718         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
39719         strlen symbol for non multi-arch builds.
39720         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
39721         missing hidden_def and weak_alias.
39723 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
39725         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
39727 2014-04-07  Will Newton  <will.newton@linaro.org>
39729         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
39730         and contents.  [!_LIBC] Remove #ifndef and contents.
39731         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
39732         * string/memccpy.c (__memccpy): Use ANSI prototype.
39733         * string/memfrob.c (memfrob): Likewise.
39734         * string/strcoll.c (STRCOLL): Likewise.
39735         * string/strlen.c (strlen): Likewise.
39736         * string/strtok.c (STRTOK): Likewise.
39737         * string/strcat.c: Remove unused #include of memcopy.h.
39738         (strcat): Use ANSI prototype.
39739         * string/strchr.c: Remove unused #include of memcopy.h.
39740         (strchr): Use ANSI prototype.
39741         * string/strcmp.c: Remove unused #include of memcopy.h.
39742         (strcmp): Use ANSI prototype.
39743         * string/strcpy.c: Remove unused #include of memcopy.h.
39744         (strcpy): Use ANSI prototype.
39746 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39748         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
39749         * config.make.in (config-extra-cppflags): Set it from
39750         libc_extra_cppflags.
39751         * configure.ac (libc_extra_cflags): Make it accumulate over
39752         configure fragments.
39753         (libc_extra_cppflags): New flag.
39754         * configure. Regenerate.
39755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
39756         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
39757         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
39758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
39760         [BZ #16815]
39761         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
39762         result for FE_DOWNWARD rounding mode.
39763         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
39764         Likewise.
39765         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39767 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
39769         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
39770         in function argument name.
39772 2014-04-03  David Svoboda  <svoboda@cert.org>
39774         [BZ #5666]
39775         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
39776         explicitly.
39778 2014-04-03  Roland McGrath  <roland@hack.frob.com>
39780         * elf/dl-unmap-segments.h: New file.
39781         * sysdeps/generic/ldsodefs.h
39782         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
39783         * elf/dl-close.c: Include <dl-unmap-segments.h>.
39784         * elf/dl-fptr.c: Likewise.
39785         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
39786         * sysdeps/aarch64/tlsdesc.c: Likewise.
39787         * sysdeps/arm/tlsdesc.c: Likewise.
39788         * sysdeps/i386/tlsdesc.c: Likewise.
39789         * sysdeps/tile/dl-runtime.c: Likewise.
39790         * sysdeps/x86_64/tlsdesc.c: Likewise.
39791         * elf/dl-load.h: New file.
39792         * elf/dl-load.c: Include it.
39793         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
39794         Macros moved to dl-load.h.
39795         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
39796         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
39797         Use _dl_unmap_segments in place of __munmap.
39798         Break out segment-mapping loop into ...
39799         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
39801 2014-04-03  Will Newton  <will.newton@linaro.org>
39803         * elf/dl-lookup.c (do_lookup_x): Remove comment
39804         referring to nested function and move variable
39805         declarations down to before first use.
39807 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
39809         [BZ #16799]
39810         [BZ #16800]
39811         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
39812         with 0 numerator.
39813         * math/s_catanf.c (__catanf): Likewise.
39814         * math/s_catanh.c (__catanh): Likewise.
39815         * math/s_catanhf.c (__catanhf): Likewise.
39816         * math/s_catanhl.c (__catanhl): Likewise.
39817         * math/s_catanl.c (__catanl): Likewise.
39818         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
39819         by positive zero when computing -Inf result.
39820         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
39821         (catanh_test): Likewise.
39822         * sysdeps/i386/fpu/libm-test-ulps: Update.
39823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39825         [BZ #16789]
39826         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
39827         instead of using underflowing value in computing result.
39828         * math/s_clog10.c (__clog10): Likewise.
39829         * math/s_clog10f.c (__clog10f): Likewise.
39830         * math/s_clog10l.c (__clog10l): Likewise.
39831         * math/s_clogf.c (__clogf): Likewise.
39832         * math/s_clogl.c (__clogl): Likewise.
39833         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
39834         (clog10_test): Likewise.
39835         * sysdeps/i386/fpu/libm-test-ulps: Update.
39836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39838 2014-04-02  Alan Modra  <amodra@gmail.com>
39840         [BZ #16739]
39841         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
39842         output when value is near a power of two.  Use int64_t for lx and
39843         remove casts.  Use decimal rather than hex exponent constants.
39844         Don't use long double multiplication when double will suffice.
39845         * math/libm-test.inc (nextafter_test_data): Add tests.
39846         * NEWS: Add 16739 and 16786 to bug list.
39848         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
39850         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
39852 2014-04-01  Will Newton  <will.newton@linaro.org>
39854         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
39855         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
39857 2014-04-01  Florian Weimer  <fweimer@redhat.com>
39859         [BZ #13347]
39860         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
39861         * nptl/tst-setuid2.c: New file.
39862         * nptl/Makefile (xtests): Add tst-setuid2.
39864 2014-04-01  Alan Modra  <amodra@gmail.com>
39866         [BZ #16786]
39867         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
39869 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
39871         [BZ #6803]
39872         [BZ #6804]
39873         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
39874         set errno as appropriate.
39875         * math/w_scalbf.c (__scalbf): Likewise.
39876         * math/w_scalbl.c (__scalbl): Likewise.
39877         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
39878         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
39879         * math/libm-test.inc (scalb_test_data): Add errno expectations.
39880         Add more NaN tests.
39882         [BZ #16349]
39883         * math/w_atan2.c: Include <errno.h>.
39884         (__atan2): Set errno for result underflowing to zero.
39885         * math/w_atan2f.c: Include <errno.h>.
39886         (__atan2f): Set errno for result underflowing to zero.
39887         * math/w_atan2l.c: Include <errno.h>.
39888         (__atan2l): Set errno for result underflowing to zero.
39889         * math/auto-libm-test-in: Don't allow missing errno for some atan2
39890         tests.
39891         * math/auto-libm-test-out: Regenerated.
39893 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39895         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
39896         Encode instruction correctly in little endian.
39897         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
39898         Likewise.
39899         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
39900         Likewise.
39901         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
39902         Likewise.
39903         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
39904         Likewise.
39906 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
39908         [BZ #9894]
39909         * sysdeps/unix/sysv/linux/kernel-features.h
39910         [__sparc__ && !__arch64__ && !__sparc_v9__]
39911         (__ASSUME_SET_ROBUST_LIST): Do not define.
39912         [__sparc__ && !__arch64__ && !__sparc_v9__]
39913         (__ASSUME_FUTEX_LOCK_PI): Likewise.
39914         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
39915         Likewise.
39916         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39917         (__ASSUME_FUTEX_LOCK_PI): Undefine.
39918         (__ASSUME_REQUEUE_PI): Likewise.
39919         (__ASSUME_SET_ROBUST_LIST): Likewise.
39920         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
39921         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
39922         Undefine.
39923         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39924         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
39925         Likewise.
39926         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
39927         Likewise.
39928         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
39929         Likewise.
39930         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39931         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
39932         Undefine.
39933         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
39934         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
39935         Likewise.
39937         [BZ #16648]
39938         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39939         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
39940         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
39942 2014-03-31  Will Newton  <will.newton@linaro.org>
39944         * benchtests/Makefile (bench): Add ffs and ffsll to list
39945         of tests.
39946         * benchtests/ffs-inputs: New file.
39947         * benchtests/ffsll-inputs: Likewise.
39949 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
39951         [BZ #16770]
39952         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
39953         too large before casting to int.
39954         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
39955         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
39956         * math/libm-test.inc (scalb_test_data): Add more tests.
39958 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39960         * benchtests/Makefile (DETAILED_OPT): New make option.
39961         (bench-func): Run benchmark program with -d if DETAILED_OPT is
39962         set.
39963         * benchtests/bench-skeleton.c: Include stdbool.h.
39964         (main): Store and print timings per input.
39965         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
39966         member to each argument value.
39967         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
39968         (_print_arg_data): Initialize per-input timing to 0.
39970         * benchtests/Makefile (timing-type): New binary.
39971         (bench-clean): Also remove bench-timing-type.
39972         (bench): New target for timing-type.
39973         (bench-func): Print output in JSON format.
39974         * benchtests/bench-skeleton.c (main): Print output in JSON
39975         format.
39976         * benchtests/bench-timing-type.c: New file.
39977         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
39978         (TIMING_PRINT_STATS): Remove.
39979         * benchtests/scripts/bench.py (_print_arg_data): Store variant
39980         name separately.
39982         * benchtests/bench-modf.c: Remove.
39983         * benchtests/modf-inputs: New inputs file.
39985 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
39987         [BZ #16362]
39988         * math/s_clog10.c (M_PI_LOG10E): New macro.
39989         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
39990         imaginary parts are 0.
39991         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
39992         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
39993         imaginary parts are 0.
39994         * math/s_clog10l.c (M_PI_LOG10El): New macro.
39995         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
39996         imaginary parts are 0.
39997         * math/libm-test.inc (clog10_test_data): Update expected results
39998         for when real and imaginary parts are 0.
40000 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
40002         * elf/dl-load.c: Finish conversion of __builtin_expect into
40003         __glibc_{un}likely.
40005 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
40007         [BZ #16348]
40008         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
40009         1+x for argument with exponent below -67.
40010         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
40011         Likewise.
40012         * math/auto-libm-test-in: Add more tests of exp.
40013         * math/auto-libm-test-out: Regenerated.
40015 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40017         [BZ #16759]
40018         * inet/getnetgrent_r.c (get_nonempty_val): New function.
40019         (nscd_getnetgrent): Use it.
40021         [BZ #16760]
40022         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
40023         of stpcpy.
40025 2014-03-27  Andi Kleen  <ak@linux.intel.com>
40027         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
40028         (lll_robust_lock, lll_cond_lock, lll_timedlock)
40029         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
40030         (lll_robust_unlock): Remove out of line section. Use cfi
40031         intrinsics.
40032         (LLL_STUB_UNWIND_INFO*): Remove.
40033         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
40034         (lll_robust_lock, lll_cond_lock, lll_timedlock)
40035         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
40036         (lll_robust_unlock): Remove out of line section. Use cfi
40037         intrinsics.
40038         (LLL_STUB_UNWIND_INFO*): Remove.
40040 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40042         [BZ #16758]
40043         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
40044         blank values.
40046 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
40048         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
40050 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
40052         [BZ #16198]
40053         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
40054         fnstenv.
40055         * math/test-fenv-preserve.c: New file.
40056         * math/Makefile (tests): Add test-fenv-preserve.
40058 2014-03-26  Will Newton <will.newton@linaro.org>
40060         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
40062 2014-03-25  Roland McGrath  <roland@hack.frob.com>
40064         * scripts/versionlist.awk: Partition the version sets and emit all
40065         GLIBC_* (sorted) before all others (sorted).
40067 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
40069         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
40070         GLIBC_2.2.5 version.
40072 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40074         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
40075         calls.
40077         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
40078         previous change.
40080         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40082 2014-03-25  Andreas Schwab  <schwab@suse.de>
40084         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
40085         label to be used after in6ailist is initialized.
40087 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40089         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40090         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
40092 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
40094         [BZ #16357]
40095         [BZ #16599]
40096         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
40097         min_plus_half.
40098         (fp_formats): Update initializers.
40099         (init_fp_formats): Initialize new field.
40100         (output_for_one_input_case): Allow underflow for results up to
40101         min_plus_half.
40102         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
40103         * math/auto-libm-test-in: Don't mark some underflows from asin and
40104         atanh as spurious.
40105         * math/auto-libm-test-out: Regenerated.
40106         * sysdeps/i386/fpu/libm-test-ulps: Update.
40107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40109 2014-03-25  Andreas Schwab  <schwab@suse.de>
40111         * libio/Makefile (tst-ftell-partial-wide-ENV)
40112         (tst-ftell-active-handler-ENV): Define.
40114 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
40116         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
40118 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
40120         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
40122 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
40124         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
40125         * sysdeps/x86_64/fpu/multiarch/e_exp.c
40126         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
40128 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
40130         [BZ #16634]
40131         * elf/dl-load.c (open_verify): Add mode parameter.
40132         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
40133         (open_path): Change from boolean 'secure' to complete flag 'mode'
40134         (_dl_map_object): Adjust.
40135         * elf/Makefile (tests): Add tst-dlopen-aout.
40136         * elf/tst-dlopen-aout.c: New test.
40138 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
40140         [BZ #16714]
40141         * sysdeps/unix/sysv/linux/s390/bits/stat.h
40142         (struct stat): Rename member pad0 to __glibc_reserved0.
40144         [BZ #16712]
40145         * sysdeps/s390/s390-32/bits/wordsize.h
40146         (__WORDSIZE32_SIZE_ULONG): New define.
40147         * sysdeps/s390/s390-64/bits/wordsize.h
40148         (__WORDSIZE32_SIZE_ULONG): Likewise.
40149         * sysdeps/generic/stdint.h (SIZE_MAX):
40150         Define as UL if __WORDSIZE32_SIZE_ULONG.
40152         [BZ #16713]
40153         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
40154         (__glibc_reserved0): New variable.
40155         (sa_flags): Change type to int.
40157         * posix/Makefile (before-compile): Use += before-compile instead
40158         of a :=.
40160         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
40161         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
40163 2014-03-20  Andreas Schwab  <schwab@suse.de>
40165         [BZ #16743]
40166         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
40167         non-matching result from nscd.
40169 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40171         * scripts/bench.py: Moved to ...
40172         * benchtests/scripts/bench.py: ... here.
40173         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
40175 2014-03-24  Andreas Schwab  <schwab@suse.de>
40177         [BZ #16002]
40178         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
40179         alloca_account and account alloca use for struct in6ailist.
40181 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
40183         [BZ #16284]
40184         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
40185         rounding mode to recompute results that overflow to infinity or
40186         underflow to zero.
40187         * math/auto-libm-test-in: Don't mark tests as expected to fail for
40188         bug 16284.
40189         * math/auto-libm-test-out: Regenerated.
40190         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
40191         (ccosh_test): Likewise.
40192         (csin_test_data): Use plus_oflow.
40193         (csin_test): Use ALL_RM_TEST.
40194         (csinh_test_data): Use plus_oflow.
40195         (csinh_test): Use ALL_RM_TEST.
40196         * sysdeps/i386/fpu/libm-test-ulps: Update.
40197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40199 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
40201         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
40202         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
40203         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
40205         [BZ #16731]
40206         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
40207         when x - 1 is zero.
40208         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
40209         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
40210         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
40211         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
40212         argument is 1.
40213         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
40214         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
40215         zero.
40216         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
40217         * sysdeps/i386/fpu/libm-test-ulps: Update.
40218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40220 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40222         * scripts/bench.pl: Remove file.
40223         * scripts/bench.py: New benchmark script.
40224         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
40225         * benchtests/README: Mention python dependency.
40226         * scripts/pylintrc: New file.
40227         * scripts/pylint: New file.
40229         * bits/mathdef.h: Use #ifdef instead of #if.
40230         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
40231         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
40232         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
40233         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
40234         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
40235         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
40237 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40238             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
40240         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
40241         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
40242         and strpbrk-ppc64 objects.
40243         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40244         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
40245         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
40246         multiarch strpbrk for POWER7.
40247         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
40248         multiarch strpbrk for PPC64.
40249         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
40250         ifunc selector.
40251         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
40252         strpbrk for POWER7.
40254 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
40256         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
40257         (atan_test): Likewise.
40258         (atanh_test_data): Use NO_TEST_INLINE for two tests.
40259         (atanh_test): Use ALL_RM_TEST.
40260         (atan2_test_data): Likewise.
40261         (cabs_test): Likewise.
40262         (cacosh_test): Likewise.
40263         (carg_test): Likewise.
40264         (casin_test): Likewise.
40265         (casinh_test): Likewise.
40266         (cbrt_test): Likewise.
40267         (csqrt_test): Likewise.
40268         (erf_test): Likewise.
40269         (erfc_test): Likewise.
40270         (pow10_test): Likewise.
40271         (exp2_test): Likewise.
40272         (hypot_test): Likewise.
40273         (j0_test): Likewise.
40274         (j1_test): Likewise.
40275         (lgamma_test): Likewise.
40276         (gamma_test): Likewise.
40277         (sincos_test): Likewise.
40278         (tanh_test): Likewise.
40279         (y0_test): Likewise.
40280         (y1_test): Likewise.
40281         * sysdeps/i386/fpu/libm-test-ulps: Update.
40282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40284 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40286         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
40287         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
40288         and strcspn-ppc64 objects.
40289         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40290         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
40291         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
40292         multiarch strcspn for POWER7.
40293         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
40294         multiarch strcspn for PPC64.
40295         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
40296         ifunc selector.
40297         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
40298         strcspn for POWER7.
40300 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
40302         * math/gen-libm-test.pl (generate_testfile): Expect only function
40303         name as argument to AUTO_TESTS_* and pass results for all rounding
40304         modes to parse_args.
40305         (parse_auto_input): Separate inputs of automatic tests from
40306         outputs before storing in %auto_tests.
40307         * math/libm-test.inc (acos_test_data): Update call to
40308         AUTO_TESTS_f_f.
40309         (acos_test): Use ALL_RM_TEST.
40310         (acos_tonearest_test_data): Remove.
40311         (acos_test_tonearest): Likewise.
40312         (acos_towardzero_test_data): Likewise.
40313         (acos_test_towardzero): Likewise.
40314         (acos_downward_test_data): Likewise.
40315         (acos_test_downward): Likewise.
40316         (acos_upward_test_data): Likewise.
40317         (acos_test_upward): Likewise.
40318         (acosh_test_data): Update call to AUTO_TESTS_f_f.
40319         (asin_test_data): Likewise.
40320         (asin_test): Use ALL_RM_TEST.
40321         (asin_tonearest_test_data): Remove.
40322         (asin_test_tonearest): Likewise.
40323         (asin_towardzero_test_data): Likewise.
40324         (asin_test_towardzero): Likewise.
40325         (asin_downward_test_data): Likewise.
40326         (asin_test_downward): Likewise.
40327         (asin_upward_test_data): Likewise.
40328         (asin_test_upward): Likewise.
40329         (asinh_test_data): Update call to AUTO_TESTS_f_f.
40330         (atan_test_data): Likewise.
40331         (atanh_test_data): Likewise.
40332         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
40333         (cabs_test_data): Update call to AUTO_TESTS_c_f.
40334         (carg_test_data): Likewise.
40335         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
40336         (ccos_test_data): Update call to AUTO_TESTS_c_c.
40337         (ccosh_test_data): Likewise.
40338         (cexp_test_data): Likewise.
40339         (clog_test_data): Likewise.
40340         (clog10_test_data): Likewise.
40341         (cos_test_data): Update call to AUTO_TESTS_f_f.
40342         (cos_test): Use ALL_RM_TEST.
40343         (cos_tonearest_test_data): Remove.
40344         (cos_test_tonearest): Likewise.
40345         (cos_towardzero_test_data): Likewise.
40346         (cos_test_towardzero): Likewise.
40347         (cos_downward_test_data): Likewise.
40348         (cos_test_downward): Likewise.
40349         (cos_upward_test_data): Likewise.
40350         (cos_test_upward): Likewise.
40351         (cosh_test_data): Update call to AUTO_TESTS_f_f.
40352         (cosh_test): Use ALL_RM_TEST.
40353         (cosh_tonearest_test_data): Remove.
40354         (cosh_test_tonearest): Likewise.
40355         (cosh_towardzero_test_data): Likewise.
40356         (cosh_test_towardzero): Likewise.
40357         (cosh_downward_test_data): Likewise.
40358         (cosh_test_downward): Likewise.
40359         (cosh_upward_test_data): Likewise.
40360         (cosh_test_upward): Likewise.
40361         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
40362         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
40363         (ctan_test_data): Likewise.
40364         (ctan_test): Use ALL_RM_TEST.
40365         (ctan_tonearest_test_data): Remove.
40366         (ctan_test_tonearest): Likewise.
40367         (ctan_towardzero_test_data): Likewise.
40368         (ctan_test_towardzero): Likewise.
40369         (ctan_downward_test_data): Likewise.
40370         (ctan_test_downward): Likewise.
40371         (ctan_upward_test_data): Likewise.
40372         (ctan_test_upward): Likewise.
40373         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
40374         (ctanh_test): Use ALL_RM_TEST.
40375         (ctanh_tonearest_test_data): Remove.
40376         (ctanh_test_tonearest): Likewise.
40377         (ctanh_towardzero_test_data): Likewise.
40378         (ctanh_test_towardzero): Likewise.
40379         (ctanh_downward_test_data): Likewise.
40380         (ctanh_test_downward): Likewise.
40381         (ctanh_upward_test_data): Likewise.
40382         (ctanh_test_upward): Likewise.
40383         (erf_test_data): Update call to AUTO_TESTS_f_f.
40384         (erfc_test_data): Likewise.
40385         (exp_test_data): Likewise.
40386         (exp_test): Use ALL_RM_TEST.
40387         (exp_tonearest_test_data): Remove.
40388         (exp_test_tonearest): Likewise.
40389         (exp_towardzero_test_data): Likewise.
40390         (exp_test_towardzero): Likewise.
40391         (exp_downward_test_data): Likewise.
40392         (exp_test_downward): Likewise.
40393         (exp_upward_test_data): Likewise.
40394         (exp_test_upward): Likewise.
40395         (exp10_test_data): Update call to AUTO_TESTS_f_f.
40396         (exp10_test): Use ALL_RM_TEST.
40397         (exp10_tonearest_test_data): Remove.
40398         (exp10_test_tonearest): Likewise.
40399         (exp10_towardzero_test_data): Likewise.
40400         (exp10_test_towardzero): Likewise.
40401         (exp10_downward_test_data): Likewise.
40402         (exp10_test_downward): Likewise.
40403         (exp10_upward_test_data): Likewise.
40404         (exp10_test_upward): Likewise.
40405         (exp2_test_data): Update call to AUTO_TESTS_f_f.
40406         (expm1_test_data): Likewise.
40407         (expm1_test): Use ALL_RM_TEST.
40408         (expm1_tonearest_test_data): Remove.
40409         (expm1_test_tonearest): Likewise.
40410         (expm1_towardzero_test_data): Likewise.
40411         (expm1_test_towardzero): Likewise.
40412         (expm1_downward_test_data): Likewise.
40413         (expm1_test_downward): Likewise.
40414         (expm1_upward_test_data): Likewise.
40415         (expm1_test_upward): Likewise.
40416         (fma_test_data): Update call to AUTO_TESTS_fff_f.
40417         (fma_test): Use ALL_RM_TEST.
40418         (fma_towardzero_test_data): Remove.
40419         (fma_test_towardzero): Likewise.
40420         (fma_downward_test_data): Likewise.
40421         (fma_test_downward): Likewise.
40422         (fma_upward_test_data): Likewise.
40423         (fma_test_upward): Likewise.
40424         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
40425         (j0_test_data): Update call to AUTO_TESTS_f_f.
40426         (j1_test_data): Likewise.
40427         (jn_test_data): Update call to AUTO_TESTS_if_f.
40428         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
40429         (log_test_data): Update call to AUTO_TESTS_f_f.
40430         (log10_test_data): Likewise.
40431         (log1p_test_data): Likewise.
40432         (log2_test_data): Likewise.
40433         (pow_test_data): Update call to AUTO_TESTS_ff_f.
40434         (pow_tonearest_test_data): Likewise.
40435         (sin_test_data): Update call to AUTO_TESTS_f_f.
40436         (sin_test): Use ALL_RM_TEST.
40437         (sin_tonearest_test_data): Remove.
40438         (sin_test_tonearest): Likewise.
40439         (sin_towardzero_test_data): Likewise.
40440         (sin_test_towardzero): Likewise.
40441         (sin_downward_test_data): Likewise.
40442         (sin_test_downward): Likewise.
40443         (sin_upward_test_data): Likewise.
40444         (sin_test_upward): Likewise.
40445         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
40446         (sinh_test_data): Update call to AUTO_TESTS_f_f.
40447         (sinh_test): Use ALL_RM_TEST.
40448         (sinh_tonearest_test_data): Remove.
40449         (sinh_test_tonearest): Likewise.
40450         (sinh_towardzero_test_data): Likewise.
40451         (sinh_test_towardzero): Likewise.
40452         (sinh_downward_test_data): Likewise.
40453         (sinh_test_downward): Likewise.
40454         (sinh_upward_test_data): Likewise.
40455         (sinh_test_upward): Likewise.
40456         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
40457         (sqrt_test): Use ALL_RM_TEST.
40458         (sqrt_tonearest_test_data): Remove.
40459         (sqrt_test_tonearest): Likewise.
40460         (sqrt_towardzero_test_data): Likewise.
40461         (sqrt_test_towardzero): Likewise.
40462         (sqrt_downward_test_data): Likewise.
40463         (sqrt_test_downward): Likewise.
40464         (sqrt_upward_test_data): Likewise.
40465         (sqrt_test_upward): Likewise.
40466         (tan_test_data): Update call to AUTO_TESTS_f_f.
40467         (tan_test): Use ALL_RM_TEST.
40468         (tan_tonearest_test_data): Remove.
40469         (tan_test_tonearest): Likewise.
40470         (tan_towardzero_test_data): Likewise.
40471         (tan_test_towardzero): Likewise.
40472         (tan_downward_test_data): Likewise.
40473         (tan_test_downward): Likewise.
40474         (tan_upward_test_data): Likewise.
40475         (tan_test_upward): Likewise.
40476         (tanh_test_data): Update call to AUTO_TESTS_f_f.
40477         (tgamma_test_data): Likewise.
40478         (y0_test_data): Likewise.
40479         (y1_test_data): Likewise.
40480         (yn_test_data): Update call to AUTO_TESTS_if_f.
40481         (main): Do not call removed functions.
40483 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
40485         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
40486         (ldexp_test_data): Remove.
40487         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
40488         scalbn_test_data.
40489         (scalb_test): Use ALL_RM_TEST.
40491 2014-03-19  Andreas Schwab  <schwab@suse.de>
40493         * nscd/nscd.service: Also invalidate netgroup cache on reload.
40495 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
40497         [BZ #16649]
40498         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40499         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
40500         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
40501         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40502         (__ASSUME_PREADV): Undefine.
40503         (__ASSUME_PWRITEV): Likewise.
40505 2014-03-18  Roland McGrath  <roland@hack.frob.com>
40507         * bits/mman-linux.h: Add comment about non-Linux use.
40508         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
40509         bits/mman-linux.h resting place.
40511         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
40512         * bits/mman-linux.h: ... here.
40514 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40516         * conform/conformtest.pl: Add standard definition when calling C
40517         preprocessor on data files.
40518         (checknamespace): Remove unused variable.
40520 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
40522         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
40523         minus_oflow, plus_uflow and minus_uflow in expected results.
40524         * math/libm-test.inc (scalbn_test_data): Add more tests of
40525         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
40526         minus_uflow.
40527         (scalbn_test): Use ALL_RM_TEST.
40528         (scalbln_test_data): Add more tests of negative arguments.  Use
40529         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
40530         (scalbln_test): Use ALL_RM_TEST.
40532 2014-03-18  Roland McGrath  <roland@hack.frob.com>
40534         * scripts/abilist.awk: Ignore symbols marked with .hidden.
40536 2014-03-18  Will Newton  <will.newton@linaro.org>
40538         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
40539         inaccurate comment.
40541 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
40543         * Makerules [!subdir] (check-abi): Exit with error status if a
40544         test failed.
40546 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
40548         * math/libm-test.inc (nearbyint_test_data): Include all tests used
40549         for rint.  Include results for all rounding modes.
40550         (nearbyint_test): Use ALL_RM_TEST.
40551         (rint_test_data): Include all tests used for nearbyint.
40553 2014-03-17  Will Newton  <will.newton@linaro.org>
40555         * nptl/sysdeps/pthread/pthread.h: Revert previous
40556         change.
40558         * sysdeps/generic/ldsodefs.h: Revert previous
40559         change.
40561         * libio/genops.c: Revert previous change.
40562         * libio/libioP.h: Likewise.
40563         * stdio-common/vfprintf.c: Likewise.
40565         * sysdeps/generic/math_private.h: Revert previous
40566         change.
40568         * sysdeps/generic/math_private.h: Check whether
40569         HAVE_RM_CTX is defined with #ifdef rather
40570         than #if.
40572         * argp/argp-fmtstream.h: Check whether
40573         __STRICT_ANSI__ is defined with #ifdef rather
40574         than #if.
40575         * argp/argp.h: Likewise.
40577         * libio/genops.c: Check whether
40578         _IO_JUMPS_OFFSET is defined with #ifdef rather
40579         than #if.
40580         * libio/libioP.h: Likewise.
40581         * stdio-common/vfprintf.c: Likewise.
40583         * sysdeps/generic/ldsodefs.h: Check whether
40584         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
40585         than #if.
40587         * nptl/sysdeps/pthread/pthread.h: Check
40588         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
40589         its value.
40591 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
40593         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
40594         setting O_APPEND.
40595         * libio/tst-ftell-active-handler.c (do_append_test): Add a
40596         test case.
40598         [BZ #16680]
40599         * libio/fileops.c (_IO_file_open): Seek to end of file but
40600         don't cache the offset.
40601         (get_file_offset): Remove function.
40602         (do_ftell): Use cached offset when available.
40603         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
40604         don't cache the offset.
40605         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
40606         case.
40607         (do_one_test): Call it.
40608         (do_ftell_test): Fix up expected old offset for a+ mode.
40609         * libio/wfileops.c (do_ftell_wide): Used cached offset when
40610         available.
40612         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
40613         up test status with function return status.
40614         (do_write_test): Likewise.
40615         (do_append_test): Likewise.
40617         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
40618         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
40619         Remove.
40621 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
40623         * math/gen-libm-test.pl (parse_args): Handle results specified for
40624         each rounding mode separately.
40625         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
40626         tests and results from lrint_tonearest_test_data,
40627         lrint_towardzero_test_data, lrint_downward_test_data and
40628         lrint_upward_test_data.
40629         (lrint_test): Use ALL_RM_TEST.
40630         (lrint_tonearest_test_data): Remove.
40631         (lrint_test_tonearest): Likewise.
40632         (lrint_towardzero_test_data): Likewise.
40633         (lrint_test_towardzero): Likewise.
40634         (lrint_downward_test_data): Likewise.
40635         (lrint_test_downward): Likewise.
40636         (lrint_upward_test_data): Likewise.
40637         (lrint_test_upward): Likewise.
40638         (llrint_test_data): Merge in per-rounding-mode tests and results
40639         from llrint_tonearest_test_data, llrint_towardzero_test_data,
40640         llrint_downward_test_data and llrint_upward_test_data.
40641         (llrint_test): Use ALL_RM_TEST.
40642         (llrint_tonearest_test_data): Remove.
40643         (llrint_test_tonearest): Likewise.
40644         (llrint_towardzero_test_data): Likewise.
40645         (llrint_test_towardzero): Likewise.
40646         (llrint_downward_test_data): Likewise.
40647         (llrint_test_downward): Likewise.
40648         (llrint_upward_test_data): Likewise.
40649         (llrint_test_upward): Likewise.
40650         (rint_test_data): Merge in per-rounding-mode tests and results
40651         from rint_tonearest_test_data, rint_towardzero_test_data,
40652         rint_downward_test_data and rint_upward_test_data.  Add
40653         per-rounding-mode results for tests not in those arrays.
40654         (rint_test): Use ALL_RM_TEST.
40655         (rint_tonearest_test_data): Remove.
40656         (rint_test_tonearest): Likewise.
40657         (rint_towardzero_test_data): Likewise.
40658         (rint_test_towardzero): Likewise.
40659         (rint_downward_test_data): Likewise.
40660         (rint_test_downward): Likewise.
40661         (rint_upward_test_data): Likewise.
40662         (rint_test_upward): Likewise.
40663         (main): Don't call removed functions.
40665 2014-03-14  Roland McGrath  <roland@hack.frob.com>
40667         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
40668         "Compiled on ..." crapola.  It is anti-useful.
40670 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
40672         * scripts/evaluate-test.sh: Handle fourth argument to determine
40673         whether test run should stop on failure.
40674         * Makeconfig (stop-on-test-failure): New variable.
40675         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
40676         $(stop-on-test-failure).
40677         * Makefile (tests): Give a summary of results from testing and
40678         exit with failure status if they include an ERROR or FAIL.
40679         (xtests): Likewise.
40680         * manual/install.texi (Configuring and compiling): Mention
40681         stop-on-test-failure=y.
40682         * INSTALL: Regenerated.
40684 2014-03-14  Roland McGrath  <roland@hack.frob.com>
40686         * scripts/versionlist.awk: New file.
40687         * Makerules [$(build-shared) = yes]
40688         (postclean-generated): Add Versions.def, not Versions.def.v and
40689         Versions.def.v.i.
40690         ($(common-objpfx)Versions.def.v.i): Target removed.
40691         ($(common-objpfx)Versions.def): New target.
40692         ($(common-objpfx)Versions.all): Depend on that rather that
40693         $(common-objpfx)Versions.def.v.
40694         * Versions.def: File removed.
40696         * Makeconfig (+gccwarn): Add -Wundef.
40697         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
40698         a dl-sysdep.h breaking its contract.
40699         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
40700         * include/stackinfo.h: New file.
40701         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
40702         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
40703         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
40704         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
40705         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
40706         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
40707         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40708         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40709         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40710         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40711         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40712         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
40713         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40714         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40715         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40717 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40719         [BZ #16707]
40720         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
40721         implementation.
40722         * math/libm-test.inc (round_test_data): Add more tests.
40724         [BZ #16706]
40725         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
40726         implementation.
40727         * math/libm-test.inc (nearbyint_test_data): Add more tests.
40729         [BZ #16701]
40730         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
40731         implementation.
40732         * math/libm-test.inc (ceil_test_data): Add more tests.
40734         * math/libm-test.inc (trunc_test_data): Add more tests related to
40735         BZ#16414.
40737 2014-03-14  Roland McGrath  <roland@hack.frob.com>
40739         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
40740         with #if rather than #ifdef.
40741         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
40743 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
40745         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
40746         first.  Disable AVX-512 GCC support if assembler doesn't support
40747         it.
40748         * sysdeps/x86_64/configure: Regenerated.
40750 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
40752         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
40753         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
40754         (__old_pthread_attr_setstack): Likewise.
40755         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
40756         [!_STACK_GROWS_DOWN]: Likewise.
40758 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
40760         * config.make.in (have-bash2): Delete.
40761         * configure.ac (libc_cv_have_bash2): Delete.
40762         * configure: Regenerate.
40763         * elf/Makefile (common-ldd-rewrite): Rename to ...
40764         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
40765         (sh-ldd-rewrite): Delete.
40766         (bash-ldd-rewrite): Delete.
40767         (have-bash2): Delete checks.
40768         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
40769         ldd-rewrite.
40771         * config.make.in (have-ksh): Delete.
40772         (KSH): Delete.
40773         * configure.ac (libc_cv_have_ksh): Delete.
40774         * configure: Regenerate.
40776         * elf/Makefile: Delete $(have-ksh) check.
40777         ($(objpfx)sotruss): Change KSH to BASH.
40778         * elf/sotruss.ksh: Rename to ...
40779         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
40780         function style to match POSIX.  Drop ksh vim mode setting.
40782         * manual/time.texi (Specifying the Time Zone with TZ): Change
40783         Tuesday to Thursday.
40785         * debug/tst-longjmp_chk2.c: Update header comment.
40786         (stackoverflow_handler): Add comment.  Call assert on pass value.
40788 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
40790         [BZ #16194]
40791         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
40792         (HAVE_AVX512_ASM_SUPPORT): Likewise.
40793         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
40794         (La_x86_64_vector): Add zmm.
40795         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
40796         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
40797         ($(objpfx)tst-audit10): New target.
40798         ($(objpfx)tst-audit10.out): Likewise.
40799         (tst-audit10-ENV): New.
40800         (AVX512-CFLAGS): Likewise.
40801         (CFLAGS-tst-audit10.c): Likewise.
40802         (CFLAGS-tst-auditmod10a.c): Likewise.
40803         (CFLAGS-tst-auditmod10b.c): Likewise.
40804         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
40805         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
40806         * sysdeps/x86_64/configure: Regenerated.
40807         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
40808         AVX-512 zmm register support.
40809         (_dl_x86_64_save_sse): Likewise.
40810         (_dl_x86_64_restore_sse): Likewise.
40811         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
40812         size vector registers.
40813         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
40814         (ZMM_SIZE): Likewise.
40815         * sysdeps/x86_64/tst-audit10.c: New file.
40816         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
40817         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
40819 2014-03-13  Roland McGrath  <roland@hack.frob.com>
40821         * configure.ac (HAVE_EHDR_START): New check.
40822         * configure: Regenerated.
40823         * config.h.in (HAVE_EHDR_START): New #undef.
40824         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
40825         assuming the lowest-addressed segment maps the start of the file.
40827 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
40829         * INSTALL: Regenerated.
40831 2014-03-13  Will Newton  <will.newton@linaro.org>
40833         * manual/setjmp.texi (System V contexts): Improve
40834         clarity and grammar of documentation.
40836 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
40838         [BZ #16381]
40839         * elf/Makefile (tests): Add tst-pie2.
40840         (tests-pie): Add tst-pie2.
40841         * elf/tst-pie2.c: New file.
40842         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
40843         for ET_EXEC.
40844         * elf/rtld.c (map_doit): Load executable as lt_executable.
40845         (dl_main): Likewise.
40847 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
40849         [BZ #16642]
40850         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40851         (__ASSUME_PSELECT): Undefine.
40853 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40855         [BZ #16689]
40856         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
40857         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
40858         static build.
40859         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
40860         selector for static builds.
40862 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40864         [BZ #16695]
40865         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
40866         key in the buffer.
40868 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40870         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
40871         IFUNC selector for static builds.
40873 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
40875         * sysdeps/mips/math_private.h [__mips_hard_float]
40876         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
40877         libc_feresetround_mips_ctx.
40878         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
40879         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
40880         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
40882         [BZ #16677]
40883         * math/s_nextafter.c (__nextafter): Do not return value from
40884         overflowing computation.
40885         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
40886         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
40887         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
40888         Likewise.
40889         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
40890         Likewise.
40891         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
40892         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
40894 2014-03-11  Roland McGrath  <roland@hack.frob.com>
40896         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
40897         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
40898         Move sfi_sp use from the load-multiple (that no longer sets sp) to
40899         the new mov targetting sp.
40901 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40903         [BZ #16683]
40904         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
40905         Define it for static builds as well.
40906         (NO_BZERO_IMPL): Likewise.
40908 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
40910         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
40911         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
40912         multiarch strspn for PPC64.
40913         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
40914         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
40915         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40916         (__libc_ifunc_impl_list): Likewise.
40917         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
40918         multiarch optimizations
40919         * string/strspn.c (strspn): Using macro to redefine symbol name.
40921 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
40922             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40924         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
40925         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
40926         multiarch strncat for PPC64.
40927         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
40928         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
40929         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40930         (__libc_ifunc_impl_list): Likewise.
40931         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
40932         multiarch optimizations
40934 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40936         [BZ #16639]
40937         * nscd/nscd.service: Make service type forking.
40939 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40941         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
40942         sign in non default rounding modes.
40943         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
40945 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
40947         * math/libm-test.inc (ALL_RM_TEST): New macro.
40948         (ceil_test): Use ALL_RM_TEST.
40949         (cimag_test): Likewise.
40950         (conj_test): Likewise.
40951         (copysign_test): Likewise.
40952         (cproj_test): Likewise.
40953         (creal_test): Likewise.
40954         (fabs_test): Likewise.
40955         (floor_test): Likewise.
40956         (fmax_test): Likewise.
40957         (fmin_test): Likewise.
40958         (fmod_test): Likewise.
40959         (fpclassify_test): Likewise.
40960         (frexp_test): Likewise.
40961         (ilogb_test): Likewise.
40962         (isfinite_test): Likewise.
40963         (finite_test): Likewise.
40964         (isgreater_test): Likewise.
40965         (isgreaterequal_test): Likewise.
40966         (isinf_test): Likewise.
40967         (isless_test): Likewise.
40968         (islessequal_test): Likewise.
40969         (islessgreater_test): Likewise.
40970         (isnan_test): Likewise.
40971         (isnormal_test): Likewise.
40972         (issignaling_test): Likewise.
40973         (isunordered_test): Likewise.
40974         (logb_test): Likewise.
40975         (logb_downward_test_data): Remove.
40976         (logb_test_downward): Likewise.
40977         (lround_test): Use ALL_RM_TEST.
40978         (llround_test): Likewise.
40979         (modf_test): Likewise.
40980         (nexttoward_test): Likewise.
40981         (remainder_test): Likewise.
40982         (drem_test): Likewise.
40983         (remainder_tonearest_test_data): Likewise.
40984         (remainder_test_tonearest): Likewise.
40985         (drem_test_tonearest): Likewise.
40986         (remainder_towardzero_test_data): Likewise.
40987         (remainder_test_towardzero): Likewise.
40988         (drem_test_towardzero): Likewise.
40989         (remainder_downward_test_data): Likewise.
40990         (remainder_test_downward): Likewise.
40991         (drem_test_downward): Likewise.
40992         (remainder_upward_test_data): Likewise.
40993         (remainder_test_upward): Likewise.
40994         (drem_test_upward): Likewise.
40995         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
40996         (round_test): Use ALL_RM_TEST.
40997         (signbit_test): Likewise.
40998         (trunc_test): Likewise.
40999         (significand_test): Likewise.
41000         (main): Don't call removed functions.
41002 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
41004         [BZ #16674]
41005         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
41006         || __USE_XOPEN2K8].
41007         (ILL_ILLOPN): Likewise.
41008         (ILL_ILLADR): Likewise.
41009         (ILL_ILLTRP): Likewise.
41010         (ILL_PRVOPC): Likewise.
41011         (ILL_PRVREG): Likewise.
41012         (ILL_COPROC): Likewise.
41013         (ILL_BADSTK): Likewise.
41014         (FPE_INTDIV): Likewise.
41015         (FPE_INTOVF): Likewise.
41016         (FPE_FLTDIV): Likewise.
41017         (FPE_FLTOVF): Likewise.
41018         (FPE_FLTUND): Likewise.
41019         (FPE_FLTRES): Likewise.
41020         (FPE_FLTINV): Likewise.
41021         (FPE_FLTSUB): Likewise.
41022         (SEGV_MAPERR): Likewise.
41023         (SEGV_ACCERR): Likewise.
41024         (BUS_ADRALN): Likewise.
41025         (BUS_ADRERR): Likewise.
41026         (BUS_OBJERR): Likewise.
41027         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41028         (TRAP_TRACE): Likewise.
41029         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41030         __USE_XOPEN2K8].
41031         (CLD_KILLED): Likewise.
41032         (CLD_DUMPED): Likewise.
41033         (CLD_TRAPPED): Likewise.
41034         (CLD_STOPPED): Likewise.
41035         (CLD_CONTINUED): Likewise.
41036         (POLL_IN): Likewise.
41037         (POLL_OUT): Likewise.
41038         (POLL_MSG): Likewise.
41039         (POLL_ERR): Likewise.
41040         (POLL_PRI): Likewise.
41041         (POLL_HUP): Likewise.
41042         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
41043         Likewise.
41044         (ILL_ILLOPN): Likewise.
41045         (ILL_ILLADR): Likewise.
41046         (ILL_ILLTRP): Likewise.
41047         (ILL_PRVOPC): Likewise.
41048         (ILL_PRVREG): Likewise.
41049         (ILL_COPROC): Likewise.
41050         (ILL_BADSTK): Likewise.
41051         (FPE_INTDIV): Likewise.
41052         (FPE_INTOVF): Likewise.
41053         (FPE_FLTDIV): Likewise.
41054         (FPE_FLTOVF): Likewise.
41055         (FPE_FLTUND): Likewise.
41056         (FPE_FLTRES): Likewise.
41057         (FPE_FLTINV): Likewise.
41058         (FPE_FLTSUB): Likewise.
41059         (SEGV_MAPERR): Likewise.
41060         (SEGV_ACCERR): Likewise.
41061         (BUS_ADRALN): Likewise.
41062         (BUS_ADRERR): Likewise.
41063         (BUS_OBJERR): Likewise.
41064         (BUS_MCEERR_AR): Likewise.
41065         (BUS_MCEERR_AO): Likewise.
41066         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41067         (TRAP_TRACE): Likewise.
41068         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41069         __USE_XOPEN2K8].
41070         (CLD_KILLED): Likewise.
41071         (CLD_DUMPED): Likewise.
41072         (CLD_TRAPPED): Likewise.
41073         (CLD_STOPPED): Likewise.
41074         (CLD_CONTINUED): Likewise.
41075         (POLL_IN): Likewise.
41076         (POLL_OUT): Likewise.
41077         (POLL_MSG): Likewise.
41078         (POLL_ERR): Likewise.
41079         (POLL_PRI): Likewise.
41080         (POLL_HUP): Likewise.
41081         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
41082         (ILL_ILLOPN): Likewise.
41083         (ILL_ILLADR): Likewise.
41084         (ILL_ILLTRP): Likewise.
41085         (ILL_PRVOPC): Likewise.
41086         (ILL_PRVREG): Likewise.
41087         (ILL_COPROC): Likewise.
41088         (ILL_BADSTK): Likewise.
41089         (FPE_INTDIV): Likewise.
41090         (FPE_INTOVF): Likewise.
41091         (FPE_FLTDIV): Likewise.
41092         (FPE_FLTOVF): Likewise.
41093         (FPE_FLTUND): Likewise.
41094         (FPE_FLTRES): Likewise.
41095         (FPE_FLTINV): Likewise.
41096         (FPE_FLTSUB): Likewise.
41097         (SEGV_MAPERR): Likewise.
41098         (SEGV_ACCERR): Likewise.
41099         (BUS_ADRALN): Likewise.
41100         (BUS_ADRERR): Likewise.
41101         (BUS_OBJERR): Likewise.
41102         (BUS_MCEERR_AR): Likewise.
41103         (BUS_MCEERR_AO): Likewise.
41104         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41105         (TRAP_TRACE): Likewise.
41106         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41107         __USE_XOPEN2K8].
41108         (CLD_KILLED): Likewise.
41109         (CLD_DUMPED): Likewise.
41110         (CLD_TRAPPED): Likewise.
41111         (CLD_STOPPED): Likewise.
41112         (CLD_CONTINUED): Likewise.
41113         (POLL_IN): Likewise.
41114         (POLL_OUT): Likewise.
41115         (POLL_MSG): Likewise.
41116         (POLL_ERR): Likewise.
41117         (POLL_PRI): Likewise.
41118         (POLL_HUP): Likewise.
41119         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
41120         Likewise.
41121         (ILL_ILLOPN): Likewise.
41122         (ILL_ILLADR): Likewise.
41123         (ILL_ILLTRP): Likewise.
41124         (ILL_PRVOPC): Likewise.
41125         (ILL_PRVREG): Likewise.
41126         (ILL_COPROC): Likewise.
41127         (ILL_BADSTK): Likewise.
41128         (ILL_BADIADDR): Likewise.
41129         (ILL_BREAK): Likewise.
41130         (FPE_INTDIV): Likewise.
41131         (FPE_INTOVF): Likewise.
41132         (FPE_FLTDIV): Likewise.
41133         (FPE_FLTOVF): Likewise.
41134         (FPE_FLTUND): Likewise.
41135         (FPE_FLTRES): Likewise.
41136         (FPE_FLTINV): Likewise.
41137         (FPE_FLTSUB): Likewise.
41138         (FPE_DECOVF): Likewise.
41139         (FPE_DECDIV): Likewise.
41140         (FPE_DECERR): Likewise.
41141         (FPE_INVASC): Likewise.
41142         (FPE_INVDEC): Likewise.
41143         (SEGV_MAPERR): Likewise.
41144         (SEGV_ACCERR): Likewise.
41145         (SEGV_PSTKOVF): Likewise.
41146         (BUS_ADRALN): Likewise.
41147         (BUS_ADRERR): Likewise.
41148         (BUS_OBJERR): Likewise.
41149         (BUS_MCEERR_AR): Likewise.
41150         (BUS_MCEERR_AO): Likewise.
41151         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41152         (TRAP_TRACE): Likewise.
41153         (TRAP_BRANCH): Likewise.
41154         (TRAP_HWBKPT): Likewise.
41155         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41156         __USE_XOPEN2K8].
41157         (CLD_KILLED): Likewise.
41158         (CLD_DUMPED): Likewise.
41159         (CLD_TRAPPED): Likewise.
41160         (CLD_STOPPED): Likewise.
41161         (CLD_CONTINUED): Likewise.
41162         (POLL_IN): Likewise.
41163         (POLL_OUT): Likewise.
41164         (POLL_MSG): Likewise.
41165         (POLL_ERR): Likewise.
41166         (POLL_PRI): Likewise.
41167         (POLL_HUP): Likewise.
41168         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
41169         (ILL_ILLOPN): Likewise.
41170         (ILL_ILLADR): Likewise.
41171         (ILL_ILLTRP): Likewise.
41172         (ILL_PRVOPC): Likewise.
41173         (ILL_PRVREG): Likewise.
41174         (ILL_COPROC): Likewise.
41175         (ILL_BADSTK): Likewise.
41176         (FPE_INTDIV): Likewise.
41177         (FPE_INTOVF): Likewise.
41178         (FPE_FLTDIV): Likewise.
41179         (FPE_FLTOVF): Likewise.
41180         (FPE_FLTUND): Likewise.
41181         (FPE_FLTRES): Likewise.
41182         (FPE_FLTINV): Likewise.
41183         (FPE_FLTSUB): Likewise.
41184         (SEGV_MAPERR): Likewise.
41185         (SEGV_ACCERR): Likewise.
41186         (BUS_ADRALN): Likewise.
41187         (BUS_ADRERR): Likewise.
41188         (BUS_OBJERR): Likewise.
41189         (BUS_MCEERR_AR): Likewise.
41190         (BUS_MCEERR_AO): Likewise.
41191         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41192         (TRAP_TRACE): Likewise.
41193         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41194         __USE_XOPEN2K8].
41195         (CLD_KILLED): Likewise.
41196         (CLD_DUMPED): Likewise.
41197         (CLD_TRAPPED): Likewise.
41198         (CLD_STOPPED): Likewise.
41199         (CLD_CONTINUED): Likewise.
41200         (POLL_IN): Likewise.
41201         (POLL_OUT): Likewise.
41202         (POLL_MSG): Likewise.
41203         (POLL_ERR): Likewise.
41204         (POLL_PRI): Likewise.
41205         (POLL_HUP): Likewise.
41206         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
41207         (ILL_ILLOPN): Likewise.
41208         (ILL_ILLADR): Likewise.
41209         (ILL_ILLTRP): Likewise.
41210         (ILL_PRVOPC): Likewise.
41211         (ILL_PRVREG): Likewise.
41212         (ILL_COPROC): Likewise.
41213         (ILL_BADSTK): Likewise.
41214         (FPE_INTDIV): Likewise.
41215         (FPE_INTOVF): Likewise.
41216         (FPE_FLTDIV): Likewise.
41217         (FPE_FLTOVF): Likewise.
41218         (FPE_FLTUND): Likewise.
41219         (FPE_FLTRES): Likewise.
41220         (FPE_FLTINV): Likewise.
41221         (FPE_FLTSUB): Likewise.
41222         (SEGV_MAPERR): Likewise.
41223         (SEGV_ACCERR): Likewise.
41224         (BUS_ADRALN): Likewise.
41225         (BUS_ADRERR): Likewise.
41226         (BUS_OBJERR): Likewise.
41227         (BUS_MCEERR_AR): Likewise.
41228         (BUS_MCEERR_AO): Likewise.
41229         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41230         (TRAP_TRACE): Likewise.
41231         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41232         __USE_XOPEN2K8].
41233         (CLD_KILLED): Likewise.
41234         (CLD_DUMPED): Likewise.
41235         (CLD_TRAPPED): Likewise.
41236         (CLD_STOPPED): Likewise.
41237         (CLD_CONTINUED): Likewise.
41238         (POLL_IN): Likewise.
41239         (POLL_OUT): Likewise.
41240         (POLL_MSG): Likewise.
41241         (POLL_ERR): Likewise.
41242         (POLL_PRI): Likewise.
41243         (POLL_HUP): Likewise.
41244         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
41245         (ILL_ILLOPN): Likewise.
41246         (ILL_ILLADR): Likewise.
41247         (ILL_ILLTRP): Likewise.
41248         (ILL_PRVOPC): Likewise.
41249         (ILL_PRVREG): Likewise.
41250         (ILL_COPROC): Likewise.
41251         (ILL_BADSTK): Likewise.
41252         (FPE_INTDIV): Likewise.
41253         (FPE_INTOVF): Likewise.
41254         (FPE_FLTDIV): Likewise.
41255         (FPE_FLTOVF): Likewise.
41256         (FPE_FLTUND): Likewise.
41257         (FPE_FLTRES): Likewise.
41258         (FPE_FLTINV): Likewise.
41259         (FPE_FLTSUB): Likewise.
41260         (SEGV_MAPERR): Likewise.
41261         (SEGV_ACCERR): Likewise.
41262         (BUS_ADRALN): Likewise.
41263         (BUS_ADRERR): Likewise.
41264         (BUS_OBJERR): Likewise.
41265         (BUS_MCEERR_AR): Likewise.
41266         (BUS_MCEERR_AO): Likewise.
41267         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41268         (TRAP_TRACE): Likewise.
41269         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41270         __USE_XOPEN2K8].
41271         (CLD_KILLED): Likewise.
41272         (CLD_DUMPED): Likewise.
41273         (CLD_TRAPPED): Likewise.
41274         (CLD_STOPPED): Likewise.
41275         (CLD_CONTINUED): Likewise.
41276         (POLL_IN): Likewise.
41277         (POLL_OUT): Likewise.
41278         (POLL_MSG): Likewise.
41279         (POLL_ERR): Likewise.
41280         (POLL_PRI): Likewise.
41281         (POLL_HUP): Likewise.
41282         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
41283         (ILL_ILLOPN): Likewise.
41284         (ILL_ILLADR): Likewise.
41285         (ILL_ILLTRP): Likewise.
41286         (ILL_PRVOPC): Likewise.
41287         (ILL_PRVREG): Likewise.
41288         (ILL_COPROC): Likewise.
41289         (ILL_BADSTK): Likewise.
41290         (ILL_DBLFLT): Likewise.
41291         (ILL_HARDWALL): Likewise.
41292         (FPE_INTDIV): Likewise.
41293         (FPE_INTOVF): Likewise.
41294         (FPE_FLTDIV): Likewise.
41295         (FPE_FLTOVF): Likewise.
41296         (FPE_FLTUND): Likewise.
41297         (FPE_FLTRES): Likewise.
41298         (FPE_FLTINV): Likewise.
41299         (FPE_FLTSUB): Likewise.
41300         (SEGV_MAPERR): Likewise.
41301         (SEGV_ACCERR): Likewise.
41302         (BUS_ADRALN): Likewise.
41303         (BUS_ADRERR): Likewise.
41304         (BUS_OBJERR): Likewise.
41305         (BUS_MCEERR_AR): Likewise.
41306         (BUS_MCEERR_AO): Likewise.
41307         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41308         (TRAP_TRACE): Likewise.
41309         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41310         __USE_XOPEN2K8].
41311         (CLD_KILLED): Likewise.
41312         (CLD_DUMPED): Likewise.
41313         (CLD_TRAPPED): Likewise.
41314         (CLD_STOPPED): Likewise.
41315         (CLD_CONTINUED): Likewise.
41316         (POLL_IN): Likewise.
41317         (POLL_OUT): Likewise.
41318         (POLL_MSG): Likewise.
41319         (POLL_ERR): Likewise.
41320         (POLL_PRI): Likewise.
41321         (POLL_HUP): Likewise.
41322         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
41323         (ILL_ILLOPN): Likewise.
41324         (ILL_ILLADR): Likewise.
41325         (ILL_ILLTRP): Likewise.
41326         (ILL_PRVOPC): Likewise.
41327         (ILL_PRVREG): Likewise.
41328         (ILL_COPROC): Likewise.
41329         (ILL_BADSTK): Likewise.
41330         (FPE_INTDIV): Likewise.
41331         (FPE_INTOVF): Likewise.
41332         (FPE_FLTDIV): Likewise.
41333         (FPE_FLTOVF): Likewise.
41334         (FPE_FLTUND): Likewise.
41335         (FPE_FLTRES): Likewise.
41336         (FPE_FLTINV): Likewise.
41337         (FPE_FLTSUB): Likewise.
41338         (SEGV_MAPERR): Likewise.
41339         (SEGV_ACCERR): Likewise.
41340         (BUS_ADRALN): Likewise.
41341         (BUS_ADRERR): Likewise.
41342         (BUS_OBJERR): Likewise.
41343         (BUS_MCEERR_AR): Likewise.
41344         (BUS_MCEERR_AO): Likewise.
41345         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41346         (TRAP_TRACE): Likewise.
41347         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41348         __USE_XOPEN2K8].
41349         (CLD_KILLED): Likewise.
41350         (CLD_DUMPED): Likewise.
41351         (CLD_TRAPPED): Likewise.
41352         (CLD_STOPPED): Likewise.
41353         (CLD_CONTINUED): Likewise.
41354         (POLL_IN): Likewise.
41355         (POLL_OUT): Likewise.
41356         (POLL_MSG): Likewise.
41357         (POLL_ERR): Likewise.
41358         (POLL_PRI): Likewise.
41359         (POLL_HUP): Likewise.
41360         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
41361         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
41363         [BZ #16670]
41364         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
41365         before #include of <time.h>.
41366         [!__USE_XOPEN2K] (__need_timespec): Likewise.
41367         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
41368         (test-xfail-UNIX98/sched.h/conform): Likewise.
41370 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
41372         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
41373         error absence of trapping exception support.
41374         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
41376 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
41378         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
41379         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
41380         * timezone/Makefile (testdata): Move definition above include of
41381         Rules.
41382         (test-zones): New variable.
41383         (tests-special): Add zone files.
41384         (build-testdata): Use $(evaluate-test).
41386         * elf/Makefile (tests-special): Rename tests to end with .out.
41387         ($(objpfx)noload-mem): Likewise.
41388         ($(objpfx)tst-leaks1-mem): Likewise.
41389         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
41390         * iconv/Makefile (xtests-special): Change test-iconvconfig to
41391         $(objpfx)test-iconvconfig.out.
41392         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
41393         set -e inside subshell and redirect output to file.
41394         * iconvdata/Makefile (generated): Rename tests to end with .out.
41395         Correct type.
41396         (tests-special): Rename tests to end with .out.
41397         ($(objpfx)mtrace-tst-loading): Likewise.
41398         * intl/Makefile (generated): Likewise.
41399         (tests-special): Likewise.
41400         ($(objpfx)mtrace-tst-gettext): Likewise.
41401         * misc/Makefile (generated): Likewise.
41402         (tests-special): Likewise.
41403         ($(objpfx)tst-error1-mem): Likewise.
41404         * nptl/Makefile (tests-special): Likewise.
41405         ($(objpfx)tst-stack3-mem): Likewise.
41406         (generated): Likewise.
41407         * posix/Makefile (generated): Likewise.
41408         (tests-special): Likewise.
41409         (xtests-special): Likewise.
41410         ($(objpfx)tst-fnmatch-mem): Likewise.
41411         ($(objpfx)bug-regex2-mem): Likewise.
41412         ($(objpfx)bug-regex14-mem): Likewise.
41413         ($(objpfx)bug-regex21-mem): Likewise.
41414         ($(objpfx)bug-regex31-mem): Likewise.
41415         ($(objpfx)tst-vfork3-mem): Likewise.
41416         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
41417         ($(objpfx)tst-pcre-mem): Likewise.
41418         ($(objpfx)tst-boost-mem): Likewise.
41419         ($(objpfx)bug-ga2-mem): Likewise.
41420         ($(objpfx)bug-glob2-mem): Likewise.
41421         * resolv/Makefile (generate): Likewise.
41422         (tests-special): Likewise.
41423         (xtests-special): Likewise.
41424         (generated): Likewise.
41425         ($(objpfx)mtrace-tst-leaks): Likewise.
41426         ($(objpfx)mtrace-tst-leaks2): Likewise.
41428         * scripts/merge-test-results.sh: New file.
41429         * Makefile (tests-special-notdir): New variable.
41430         (tests): Run merge-test-results.sh.
41431         (xtests): Likewise.
41432         * Rules (tests-special-notdir): New variable.
41433         (xtests-special-notdir): Likewise.
41434         (tests): Run merge-test-results.sh
41435         (xtests): Likewise.
41437         * Makeconfig (test-xfail-name): New variable.
41438         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
41439         compute variable name for expected failures.
41440         * conform/Makefile (conformtest-headers-data): New variable.
41441         (conformtest-standards): Likewise.
41442         (conformtest-headers-ISO): Likewise.
41443         (conformtest-headers-ISO99): Likewise.
41444         (conformtest-headers-ISO11): Likewise.
41445         (conformtest-headers-POSIX): Likewise.
41446         (conformtest-headers-XPG3): Likewise.
41447         (conformtest-headers-XPG4): Likewise.
41448         (conformtest-headers-UNIX98): Likewise.
41449         (conformtest-headers-XOPEN2K): Likewise.
41450         (conformtest-headers-POSIX2008): Likewise.
41451         (conformtest-headers-XOPEN2K8): Likewise.
41452         (conformtest-header-list-base): Likewise.
41453         (conformtest-header-list-tests): Likewise.
41454         (conformtest-header-base): Likewise.
41455         (conformtest-header-tests): Likewise.
41456         (tests-special): Add $(conformtest-header-list-tests).  If
41457         [$(fast-check) && !$(cross-compiling)], add
41458         $(conformtest-header-tests) instead of
41459         $(objpfx)run-conformtest.out.
41460         (generated): Add $(conformtest-header-list-base).  If
41461         [$(fast-check) && !$(cross-compiling)], add
41462         $(conformtest-header-base).  Remove previous setting.
41463         ($(conformtest-header-list-tests)): New target.
41464         (test-xfail-run-conformtest): Remove variable.
41465         ($(objpfx)run-conformtest.out): Remove target.
41466         (test-xfail-ISO11/complex.h/conform): New variable.
41467         (test-xfail-ISO11/stdalign.h/conform): Likewise.
41468         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
41469         (test-xfail-XPG3/varargs.h/conform): Likewise.
41470         (test-xfail-XPG4/varargs.h/conform): Likewise.
41471         (test-xfail-UNIX98/varargs.h/conform): Likewise.
41472         (test-xfail-XPG4/ndbm.h/conform): Likewise.
41473         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
41474         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
41475         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
41476         (test-xfail-XPG3/fcntl.h/conform): Likewise.
41477         (test-xfail-XPG3/ftw.h/conform): Likewise.
41478         (test-xfail-XPG3/grp.h/conform): Likewise.
41479         (test-xfail-XPG3/langinfo.h/conform): Likewise.
41480         (test-xfail-XPG3/limits.h/conform): Likewise.
41481         (test-xfail-XPG3/pwd.h/conform): Likewise.
41482         (test-xfail-XPG3/search.h/conform): Likewise.
41483         (test-xfail-XPG3/signal.h/conform): Likewise.
41484         (test-xfail-XPG3/stdio.h/conform): Likewise.
41485         (test-xfail-XPG3/stdlib.h/conform): Likewise.
41486         (test-xfail-XPG3/string.h/conform): Likewise.
41487         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
41488         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
41489         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
41490         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
41491         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
41492         (test-xfail-XPG3/sys/types.h/conform): Likewise.
41493         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
41494         (test-xfail-XPG3/termios.h/conform): Likewise.
41495         (test-xfail-XPG3/time.h/conform): Likewise.
41496         (test-xfail-XPG3/unistd.h/conform): Likewise.
41497         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
41498         (test-xfail-XPG4/fcntl.h/conform): Likewise.
41499         (test-xfail-XPG4/langinfo.h/conform): Likewise.
41500         (test-xfail-XPG4/netdb.h/conform): Likewise.
41501         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
41502         (test-xfail-XPG4/signal.h/conform): Likewise.
41503         (test-xfail-XPG4/stdio.h/conform): Likewise.
41504         (test-xfail-XPG4/stdlib.h/conform): Likewise.
41505         (test-xfail-XPG4/stropts.h/conform): Likewise.
41506         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
41507         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
41508         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
41509         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
41510         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
41511         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
41512         (test-xfail-XPG4/sys/time.h/conform): Likewise.
41513         (test-xfail-XPG4/sys/types.h/conform): Likewise.
41514         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
41515         (test-xfail-XPG4/termios.h/conform): Likewise.
41516         (test-xfail-XPG4/ucontext.h/conform): Likewise.
41517         (test-xfail-XPG4/unistd.h/conform): Likewise.
41518         (test-xfail-XPG4/utmpx.h/conform): Likewise.
41519         (test-xfail-POSIX/sched.h/conform): Likewise.
41520         (test-xfail-POSIX/signal.h/conform): Likewise.
41521         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
41522         (test-xfail-POSIX/tar.h/conform): Likewise.
41523         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
41524         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
41525         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
41526         (test-xfail-UNIX98/netdb.h/conform): Likewise.
41527         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
41528         (test-xfail-UNIX98/sched.h/conform): Likewise.
41529         (test-xfail-UNIX98/signal.h/conform): Likewise.
41530         (test-xfail-UNIX98/stdio.h/conform): Likewise.
41531         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
41532         (test-xfail-UNIX98/stropts.h/conform): Likewise.
41533         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
41534         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
41535         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
41536         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
41537         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
41538         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
41539         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
41540         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
41541         (test-xfail-UNIX98/unistd.h/conform): Likewise.
41542         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
41543         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
41544         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
41545         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
41546         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
41547         (test-xfail-XOPEN2K/math.h/conform): Likewise.
41548         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
41549         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
41550         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
41551         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
41552         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
41553         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
41554         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
41555         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
41556         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
41557         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
41558         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
41559         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
41560         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
41561         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
41562         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
41563         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
41564         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
41565         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
41566         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
41567         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
41568         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
41569         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
41570         (test-xfail-POSIX2008/signal.h/conform): Likewise.
41571         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
41572         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
41573         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
41574         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
41575         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
41576         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
41577         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
41578         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
41579         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
41580         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
41581         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
41582         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
41583         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
41584         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
41585         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
41586         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
41587         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
41588         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
41589         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
41590         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
41591         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
41592         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
41593         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
41594         (conformtest-cc-flags): Likewise.
41595         ($(conformtest-header-tests): New target.
41596         * conform/check-header-lists.sh: New file.
41597         * conform/run-conformtest.sh: Remove.
41599         * conform/conformtest.pl: Allow ' and \ in values given for
41600         constants.
41601         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
41602         inclusion.
41603         [POSIX] (sys/types.h): Likewise.
41604         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
41605         inclusion.
41606         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
41607         inclusion.
41608         * conform/data/signal.h-data (SIGIO): Remove expectation.
41609         [XPG3] (SIGBUS): Do not expect.
41610         [POSIX || XPG3] (SIGPOLL): Likewise.
41611         [POSIX || XPG3] (SIGPROF): Likewise.
41612         [POSIX || XPG3] (SIGSYS): Likewise.
41613         [XPG3] (SIGTRAP): Likewise.
41614         [POSIX || XPG3] (SIGURG): Likewise.
41615         [POSIX || XPG3] (SIGVTALRM): Likewise.
41616         [POSIX || XPG3] (SIGXCPU): Likewise.
41617         [POSIX || XPG3] (SIGXFSZ): Likewise.
41618         [POSIX] (SA_SIGINFO): Expect.
41619         [XPG3] (siginfo_t): Do not expect type or contents.
41620         [POSIX] (si_pid): Do not expect element.
41621         [POSIX] (si_uid): Likewise.
41622         [POSIX] (si_addr): Likewise.
41623         [POSIX] (si_status): Likewise.
41624         [POSIX] (si_band): Likewise.
41625         [XPG4] (si_value): Likewise.
41626         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
41627         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
41628         [POSIX || XPG3] (ILL_ILLADR): Likewise.
41629         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
41630         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
41631         [POSIX || XPG3] (ILL_PRVREG): Likewise.
41632         [POSIX || XPG3] (ILL_COPROC): Likewise.
41633         [POSIX || XPG3] (ILL_BADSTK): Likewise.
41634         [POSIX || XPG3] (FPE_INTDIV): Likewise.
41635         [POSIX || XPG3] (FPE_INTOVF): Likewise.
41636         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
41637         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
41638         [POSIX || XPG3] (FPE_FLTUND): Likewise.
41639         [POSIX || XPG3] (FPE_FLTRES): Likewise.
41640         [POSIX || XPG3] (FPE_FLTINV): Likewise.
41641         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
41642         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
41643         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
41644         [POSIX || XPG3] (BUS_ADRALN): Likewise.
41645         [POSIX || XPG3] (BUS_ADRERR): Likewise.
41646         [POSIX || XPG3] (BUS_OBJERR): Likewise.
41647         [POSIX || XPG3] (CLD_EXITED): Likewise.
41648         [POSIX || XPG3] (CLD_KILLED): Likewise.
41649         [POSIX || XPG3] (CLD_DUMPED): Likewise.
41650         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
41651         [POSIX || XPG3] (CLD_STOPPED): Likewise.
41652         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
41653         [POSIX || XPG3] (POLL_IN): Likewise.
41654         [POSIX || XPG3] (POLL_OUT): Likewise.
41655         [POSIX || XPG3] (POLL_MSG): Likewise.
41656         [POSIX || XPG3] (POLL_ERR): Likewise.
41657         [POSIX || XPG3] (POLL_PRI): Likewise.
41658         [POSIX || XPG3] (POLL_HUP): Likewise.
41659         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
41660         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
41661         (SIG*): Do not allow.
41662         [XPG3] (si_*): Likewise.
41663         [XPG3] (SI_*): Likewise.
41664         [XPG3 || XPG4] (sigev_*): Likewise.
41665         [XPG3 || XPG4] (SIGEV_*): Likewise.
41666         [XPG3 || XPG4] (sival_*): Likewise.
41667         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
41668         [POSIX || XPG3] (BUS_*): Likewise.
41669         [POSIX || XPG3] (CLD_*): Likewise.
41670         [POSIX || XPG3] (FPE_*): Likewise.
41671         [POSIX || XPG3] (ILL_*): Likewise.
41672         [POSIX || XPG3] (POLL_*): Likewise.
41673         [POSIX || XPG3] (SEGV_*): Likewise.
41674         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
41675         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
41676         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
41677         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
41678         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
41679         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
41680         Specify type and value.
41681         (TVERSLEN): Likewise.
41682         (REGTYPE): Likewise.
41683         (AREGTYPE): Likewise.
41684         (LNKTYPE): Likewise.
41685         (SYMTYPE): Likewise.
41686         (CHRTYPE): Likewise.
41687         (BLKTYPE): Likewise.
41688         (DIRTYPE): Likewise.
41689         (FIFOTYPE): Likewise.
41690         (CONTTYPE): Likewise.
41691         (TSUID): Likewise.
41692         (TSGID): Likewise.
41693         (TSVTX): Likewise.
41694         (TUREAD): Likewise.
41695         (TUWRITE): Likewise.
41696         (TUEXEC): Likewise.
41697         (TGREAD): Likewise.
41698         (TGWRITE): Likewise.
41699         (TGEXEC): Likewise.
41700         (TOREAD): Likewise.
41701         (TOWRITE): Likewise.
41702         (TOEXEC): Likewise.
41703         [POSIX] (TSVTX): Expect constant.
41705 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
41707         * Makefile (tests): Change dependencies to ....
41708         (tests-special): ... additions to this variable.
41709         (tests): Depend on $(tests-special).
41710         * Makerules (check-abi-list): New variable.
41711         (check-abi): Depend on $(check-abi-list).
41712         [$(subdir) = elf] (tests-special): Add
41713         $(objpfx)check-abi-libc.out.
41714         [$(build-shared) = yes && subdir] (tests-special): Add
41715         $(check-abi-list).
41716         [$(build-shared) = yes && subdir] (tests): Do not depend on
41717         check-abi.
41718         * Rules (tests): Depend on $(tests-special).
41719         (xtests): Depend on $(xtests-special).
41720         * catgets/Makefile (tests): Change dependencies to ....
41721         (tests-special): ... additions to this variable.
41722         * conform/Makefile (tests): Change dependencies to ....
41723         (tests-special): ... additions to this variable.
41724         * elf/Makefile (tests): Change dependencies to ....
41725         (tests-special): ... additions to this variable.
41726         * grp/Makefile (tests): Change dependencies to ....
41727         (tests-special): ... additions to this variable.
41728         * iconv/Makefile (xtests): Change dependencies to ....
41729         (xtests-special): ... additions to this variable.
41730         * iconvdata/Makefile (tests): Change dependencies to ....
41731         (tests-special): ... additions to this variable.
41732         * intl/Makefile (tests): Change dependencies to ....
41733         (tests-special): ... additions to this variable.  Also add
41734         $(objpfx)tst-gettext.out.
41735         * io/Makefile (tests): Change dependencies to ....
41736         (tests-special): ... additions to this variable.
41737         * libio/Makefile (tests): Change dependencies to ....
41738         (tests-special): ... additions to this variable.
41739         * malloc/Makefile (tests): Change dependencies to ....
41740         (tests-special): ... additions to this variable.
41741         * misc/Makefile (tests): Change dependencies to ....
41742         (tests-special): ... additions to this variable.
41743         * nptl/Makefile (tests): Change dependencies to ....
41744         (tests-special): ... additions to this variable.
41745         * nptl_db/Makefile (tests): Change dependencies to ....
41746         (tests-special): ... additions to this variable.
41747         * posix/Makefile (tests): Change dependencies to ....
41748         (tests-special): ... additions to this variable.
41749         (xtests): Change dependencies to ....
41750         (xtests-special): ... additions to this variable.
41751         * resolv/Makefile (tests): Change dependencies to ....
41752         (tests-special): ... additions to this variable.
41753         (xtests): Change dependencies to ....
41754         (xtests-special): ... additions to this variable.
41755         * stdio-common/Makefile (tests): Change dependencies to ....
41756         (tests-special): ... additions to this variable.
41757         (do-tst-unbputc): Remove target.
41758         (do-tst-printf): Likewise.
41759         * stdlib/Makefile (tests): Change dependencies to ....
41760         (tests-special): ... additions to this variable.
41761         * string/Makefile (tests): Change dependencies to ....
41762         (tests-special): ... additions to this variable.
41763         * sysdeps/x86/Makefile (tests): Change dependencies to ....
41764         (tests-special): ... additions to this variable.
41766         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
41767         whole file.
41768         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
41769         whole file.
41770         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
41771         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
41773         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
41774         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
41775         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
41776         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
41777         * conform/data/libgen.h-data [XPG3]: Likewise.
41778         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
41779         * conform/data/ndbm.h-data [XPG3]: Likewise.
41780         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
41781         * conform/data/netdb.h-data [XPG3]: Likewise.
41782         * conform/data/netinet/in.h-data [XPG3]: Likewise.
41783         * conform/data/poll.h-data [XPG3]: Likewise.
41784         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
41785         * conform/data/strings.h-data [XPG3]: Likewise.
41786         * conform/data/stropts.h-data [XPG3]: Likewise.
41787         * conform/data/sys/mman.h-data [XPG3]: Likewise.
41788         * conform/data/sys/resource.h-data [XPG3]: Likewise.
41789         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
41790         Likewise.
41791         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
41792         * conform/data/sys/time.h-data [XPG3]: Likewise.
41793         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
41794         * conform/data/sys/uio.h-data [XPG3]: Likewise.
41795         * conform/data/sys/un.h-data [XPG3]: Likewise.
41796         * conform/data/syslog.h-data [XPG3]: Likewise.
41797         * conform/data/ucontext.h-data [XPG3]: Likewise.
41798         * conform/data/utmpx.h-data [XPG3]: Likewise.
41799         * conform/data/varargs.h-data [UNIX98]: Enable file.
41801         * manual/Makefile (INSTALL_INFO): Remove variable setting.
41803         * math/libm-test.inc (struct test_f_f_data): Move expected results
41804         into structure for each rounding mode.
41805         (struct test_ff_f_data): Likewise.
41806         (struct test_ff_f_data_nexttoward): Likewise.
41807         (struct test_fi_f_data): Likewise.
41808         (struct test_fl_f_data): Likewise.
41809         (struct test_if_f_data): Likewise.
41810         (struct test_fff_f_data): Likewise.
41811         (struct test_c_f_data): Likewise.
41812         (struct test_f_f1_data): Likewise.
41813         (struct test_fF_f1_data): Likewise.
41814         (struct test_ffI_f1_data): Likewise.
41815         (struct test_c_c_data): Likewise.
41816         (struct test_cc_c_data): Likewise.
41817         (struct test_f_i_data): Likewise.
41818         (struct test_ff_i_data): Likewise.
41819         (struct test_f_l_data): Likewise.
41820         (struct test_f_L_data): Likewise.
41821         (struct test_fFF_11_data): Likewise.
41822         (RM_): New macro.
41823         (RM_FE_DOWNWARD): Likewise.
41824         (RM_FE_TONEAREST): Likewise.
41825         (RM_FE_TOWARDZERO): Likewise.
41826         (RM_FE_UPWARD): Likewise.
41827         (RUN_TEST_LOOP_f_f): Update references to expected results.
41828         (RUN_TEST_LOOP_2_f): Likewise.
41829         (RUN_TEST_LOOP_fff_f): Likewise.
41830         (RUN_TEST_LOOP_c_f): Likewise.
41831         (RUN_TEST_LOOP_f_f1): Likewise.
41832         (RUN_TEST_LOOP_fF_f1): Likewise.
41833         (RUN_TEST_LOOP_fI_f1): Likewise.
41834         (RUN_TEST_LOOP_ffI_f1): Likewise.
41835         (RUN_TEST_LOOP_c_c): Likewise.
41836         (RUN_TEST_LOOP_cc_c): Likewise.
41837         (RUN_TEST_LOOP_f_i): Likewise.
41838         (RUN_TEST_LOOP_f_i_tg): Likewise.
41839         (RUN_TEST_LOOP_ff_i_tg): Likewise.
41840         (RUN_TEST_LOOP_f_b): Likewise.
41841         (RUN_TEST_LOOP_f_b_tg): Likewise.
41842         (RUN_TEST_LOOP_f_l): Likewise.
41843         (RUN_TEST_LOOP_f_L): Likewise.
41844         (RUN_TEST_LOOP_fFF_11): Likewise.
41845         * math/gen-libm-test.pl (parse_args): Output four copies of
41846         expected results for each test.
41848         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41849         (__ASSUME_UTIMES): Remove.
41850         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41851         (__ASSUME_UTIMES): Likewise.
41853         * math/gen-auto-libm-tests.c: Update comment on output format.
41854         (output_for_one_input_case): Generate before-rounding and
41855         after-rounding information as conditions on output flags not
41856         floating-point format.
41857         * math/auto-libm-test-out: Regenerated.
41858         * math/gen-libm-test.pl (cond_value): New function.
41859         (or_cond_value): Use cond_value.
41860         (generate_testfile): Handle conditional exceptions.
41862 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
41864         * math/libm-test.inc (max_valid_error): New variable.
41865         (init_max_error): Take new argument specifying whether function
41866         results are exactly determined.  Set max_valid_error and bound
41867         other variables for errors based on this argument.
41868         (set_max_error): Do not record results above max_valid_error.
41869         (check_float_internal): Only accept errors of up to 0.5ulps if
41870         also at most max_valid_error.
41871         (START): Take new argument EXACT and pass it to init_max_error.
41872         (acos_test): Update call to START.
41873         (acos_test_tonearest): Likewise.
41874         (acos_test_towardzero): Likewise.
41875         (acos_test_downward): Likewise.
41876         (acos_test_upward): Likewise.
41877         (acosh_test): Likewise.
41878         (asin_test): Likewise.
41879         (asin_test_tonearest): Likewise.
41880         (asin_test_towardzero): Likewise.
41881         (asin_test_downward): Likewise.
41882         (asin_test_upward): Likewise.
41883         (asinh_test): Likewise.
41884         (atan_test): Likewise.
41885         (atanh_test): Likewise.
41886         (atan2_test): Likewise.
41887         (cabs_test): Likewise.
41888         (cacos_test): Likewise.
41889         (cacosh_test): Likewise.
41890         (carg_test): Likewise.
41891         (casin_test): Likewise.
41892         (casinh_test): Likewise.
41893         (catan_test): Likewise.
41894         (catanh_test): Likewise.
41895         (cbrt_test): Likewise.
41896         (ccos_test): Likewise.
41897         (ccosh_test): Likewise.
41898         (ceil_test): Likewise.
41899         (cexp_test): Likewise.
41900         (cimag_test): Likewise.
41901         (clog_test): Likewise.
41902         (clog10_test): Likewise.
41903         (conj_test): Likewise.
41904         (copysign_test): Likewise.
41905         (cos_test): Likewise.
41906         (cos_test_tonearest): Likewise.
41907         (cos_test_towardzero): Likewise.
41908         (cos_test_downward): Likewise.
41909         (cos_test_upward): Likewise.
41910         (cosh_test): Likewise.
41911         (cosh_test_tonearest): Likewise.
41912         (cosh_test_towardzero): Likewise.
41913         (cosh_test_downward): Likewise.
41914         (cosh_test_upward): Likewise.
41915         (cpow_test): Likewise.
41916         (cproj_test): Likewise.
41917         (creal_test): Likewise.
41918         (csin_test): Likewise.
41919         (csinh_test): Likewise.
41920         (csqrt_test): Likewise.
41921         (ctan_test): Likewise.
41922         (ctan_test_tonearest): Likewise.
41923         (ctan_test_towardzero): Likewise.
41924         (ctan_test_downward): Likewise.
41925         (ctan_test_upward): Likewise.
41926         (ctanh_test): Likewise.
41927         (ctanh_test_tonearest): Likewise.
41928         (ctanh_test_towardzero): Likewise.
41929         (ctanh_test_downward): Likewise.
41930         (ctanh_test_upward): Likewise.
41931         (erf_test): Likewise.
41932         (erfc_test): Likewise.
41933         (exp_test): Likewise.
41934         (exp_test_tonearest): Likewise.
41935         (exp_test_towardzero): Likewise.
41936         (exp_test_downward): Likewise.
41937         (exp_test_upward): Likewise.
41938         (exp10_test): Likewise.
41939         (exp10_test_tonearest): Likewise.
41940         (exp10_test_towardzero): Likewise.
41941         (exp10_test_downward): Likewise.
41942         (exp10_test_upward): Likewise.
41943         (pow10_test): Likewise.
41944         (exp2_test): Likewise.
41945         (expm1_test): Likewise.
41946         (expm1_test_tonearest): Likewise.
41947         (expm1_test_towardzero): Likewise.
41948         (expm1_test_downward): Likewise.
41949         (expm1_test_upward): Likewise.
41950         (fabs_test): Likewise.
41951         (fdim_test): Likewise.
41952         (floor_test): Likewise.
41953         (fma_test): Likewise.
41954         (fma_test_towardzero): Likewise.
41955         (fma_test_downward): Likewise.
41956         (fma_test_upward): Likewise.
41957         (fmax_test): Likewise.
41958         (fmin_test): Likewise.
41959         (fmod_test): Likewise.
41960         (fpclassify_test): Likewise.
41961         (frexp_test): Likewise.
41962         (hypot_test): Likewise.
41963         (ilogb_test): Likewise.
41964         (isfinite_test): Likewise.
41965         (finite_test): Likewise.
41966         (isgreater_test): Likewise.
41967         (isgreaterequal_test): Likewise.
41968         (isinf_test): Likewise.
41969         (isless_test): Likewise.
41970         (islessequal_test): Likewise.
41971         (islessgreater_test): Likewise.
41972         (isnan_test): Likewise.
41973         (isnormal_test): Likewise.
41974         (issignaling_test): Likewise.
41975         (isunordered_test): Likewise.
41976         (j0_test): Likewise.
41977         (j1_test): Likewise.
41978         (jn_test): Likewise.
41979         (ldexp_test): Likewise.
41980         (lgamma_test): Likewise.
41981         (gamma_test): Likewise.
41982         (lrint_test): Likewise.
41983         (lrint_test_tonearest): Likewise.
41984         (lrint_test_towardzero): Likewise.
41985         (lrint_test_downward): Likewise.
41986         (lrint_test_upward): Likewise.
41987         (llrint_test): Likewise.
41988         (llrint_test_tonearest): Likewise.
41989         (llrint_test_towardzero): Likewise.
41990         (llrint_test_downward): Likewise.
41991         (llrint_test_upward): Likewise.
41992         (log_test): Likewise.
41993         (log10_test): Likewise.
41994         (log1p_test): Likewise.
41995         (log2_test): Likewise.
41996         (logb_test): Likewise.
41997         (logb_test_downward): Likewise.
41998         (lround_test): Likewise.
41999         (llround_test): Likewise.
42000         (modf_test): Likewise.
42001         (nearbyint_test): Likewise.
42002         (nextafter_test): Likewise.
42003         (nexttoward_test): Likewise.
42004         (pow_test): Likewise.
42005         (pow_test_tonearest): Likewise.
42006         (pow_test_towardzero): Likewise.
42007         (pow_test_downward): Likewise.
42008         (pow_test_upward): Likewise.
42009         (remainder_test): Likewise.
42010         (drem_test): Likewise.
42011         (remainder_test_tonearest): Likewise.
42012         (drem_test_tonearest): Likewise.
42013         (remainder_test_towardzero): Likewise.
42014         (drem_test_towardzero): Likewise.
42015         (remainder_test_downward): Likewise.
42016         (drem_test_downward): Likewise.
42017         (remainder_test_upward): Likewise.
42018         (drem_test_upward): Likewise.
42019         (remquo_test): Likewise.
42020         (rint_test): Likewise.
42021         (rint_test_tonearest): Likewise.
42022         (rint_test_towardzero): Likewise.
42023         (rint_test_downward): Likewise.
42024         (rint_test_upward): Likewise.
42025         (round_test): Likewise.
42026         (scalb_test): Likewise.
42027         (scalbn_test): Likewise.
42028         (scalbln_test): Likewise.
42029         (signbit_test): Likewise.
42030         (sin_test): Likewise.
42031         (sin_test_tonearest): Likewise.
42032         (sin_test_towardzero): Likewise.
42033         (sin_test_downward): Likewise.
42034         (sin_test_upward): Likewise.
42035         (sincos_test): Likewise.
42036         (sinh_test): Likewise.
42037         (sinh_test_tonearest): Likewise.
42038         (sinh_test_towardzero): Likewise.
42039         (sinh_test_downward): Likewise.
42040         (sinh_test_upward): Likewise.
42041         (sqrt_test): Likewise.
42042         (sqrt_test_tonearest): Likewise.
42043         (sqrt_test_towardzero): Likewise.
42044         (sqrt_test_downward): Likewise.
42045         (sqrt_test_upward): Likewise.
42046         (tan_test): Likewise.
42047         (tan_test_tonearest): Likewise.
42048         (tan_test_towardzero): Likewise.
42049         (tan_test_downward): Likewise.
42050         (tan_test_upward): Likewise.
42051         (tanh_test): Likewise.
42052         (tgamma_test): Likewise.
42053         (trunc_test): Likewise.
42054         (y0_test): Likewise.
42055         (y1_test): Likewise.
42056         (yn_test): Likewise.
42057         (significand_test): Likewise.
42059         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
42060         individual tests in comment.
42061         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
42062         (prev_max_error): New variable.
42063         (prev_real_max_error): Likewise.
42064         (prev_imag_max_error): Likewise.
42065         (compare_ulp_data): Don't refer to test names in comment.
42066         (find_test_ulps): Remove function.
42067         (find_function_ulps): Likewise.
42068         (find_complex_function_ulps): Likewise.
42069         (init_max_error): Take function name as argument.  Look up ulps
42070         for that function.
42071         (print_ulps): Remove function.
42072         (print_max_error): Use prev_max_error instead of calling
42073         find_function_ulps.
42074         (print_complex_max_error): Use prev_real_max_error and
42075         prev_imag_max_error instead of calling find_complex_function_ulps.
42076         (check_float_internal): Take max_ulp parameter instead of calling
42077         find_test_ulps.  Don't call print_ulps.
42078         (check_float): Update call to check_float_internal.
42079         (check_complex): Update calls to check_float_internal.
42080         (START): Pass argument to init_max_error.
42081         * math/gen-libm-test.pl (%results): Don't include "kind"
42082         information.
42083         (parse_ulps): Don't handle ulps of individual tests.
42084         (print_ulps_file): Likewise.
42085         (output_ulps): Likewise.
42086         * math/README.libm-test: Update.
42087         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
42088         individual tests.
42089         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
42090         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
42091         * sysdeps/arm/libm-test-ulps: Likewise.
42092         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
42093         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
42094         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
42095         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
42096         * sysdeps/microblaze/libm-test-ulps: Likewise.
42097         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
42098         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
42099         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42100         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
42101         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42102         * sysdeps/sh/libm-test-ulps: Likewise.
42103         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42104         * sysdeps/tile/libm-test-ulps: Likewise.
42105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42107 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
42109         * math/libm-test.inc (print_complex_max_error): Check separately
42110         whether real and imaginary errors are within allowed range and
42111         pass 0 to print_complex_function_ulps instead of value within
42112         allowed range.
42114 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42116         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
42117         formatting.
42118         (get_handles_fopen): Likewise.
42119         (do_write_test): Likewise.
42121         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
42123         * libio/fileops.c (do_ftell): Use cached offset when
42124         available.
42125         * libio/iofwide.c (do_ftell_wide): Likewise.
42126         * libio/iofdopen.c (_IO_new_fdopen): Don't use
42127         _IO_file_attach.
42128         * libio/wfileops.c (_IO_fwide): Don't cache offset.
42130         [BZ #16532]
42131         * libio/libioP.h (get_file_offset): New function.
42132         * libio/fileops.c (get_file_offset): Likewise.
42133         (do_ftell): Likewise.
42134         (_IO_new_file_seekoff): Split out ftell logic.
42135         * libio/wfileops.c (do_ftell_wide): Likewise.
42136         (_IO_wfile_seekoff): Split out ftell logic.
42137         * libio/tst-ftell-active-handler.c: New test case.
42138         * libio/Makefile (tests): Add it.
42140 2014-03-03  Roland McGrath  <roland@hack.frob.com>
42142         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
42143         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
42145 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
42147         [BZ #16639]
42148         * nscd/connections.c (nscd_init): Call do_exit.
42149         (start_threads): Call do_exit and notify_parent.
42150         (begin_drop_privileges): Call do_exit.
42151         (finish_drop_privileges): Likewise.
42152         * nscd/selinux.c (preserve_capabilities): Likewise.
42153         (install_real_capabilities): Likewise.
42154         (nscd_selinux_enabled): Likewise.
42155         (avc_create_thread): Likewise.
42156         (avc_alloc_lock): Likewise.
42157         (nscd_avc_init): Likewise.
42158         * nscd/nscd.c (parent_fd): New static variable.
42159         (main): Create a pipe between parent and child processes.
42160         Skip closing parent_fd.
42161         (monitor_child): New function.
42162         (do_exit): Likewise.
42163         (notify_parent): Likewise.
42164         * nscd/nscd.h (notify_parent): Likewise.
42165         (do_exit): Likewise.
42167 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
42169         * malloc/malloc.c (__libc_calloc): Revert last change.
42171 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42173         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42175 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
42177         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
42178         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
42179         implementation.
42180         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42181         (__libc_ifunc_impl_list): Likewise.
42182         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
42183         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
42184         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
42185         * string/strrchr.c: Define STRRCHR.
42187 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
42189         * benchtest/bench-strtok.c (simple_strtok): Delete.
42190         (strtok_string): Use as benchmark.
42191         * string/strtok (STRTOK): New macro.
42193 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
42195         * manual/threads.texi: Add header and standard comments to all
42196         functions.
42198         * elf/dl-lookup.c (check_match): New function.
42199         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
42200         (do_lookup_x): Remove nested function check_match. Use non-nested
42201         function check_match.
42203 2014-02-28  Roland McGrath  <roland@hack.frob.com>
42205         * csu/Makefile (generated, before-compile): Use += rather than =.
42206         * catgets/Makefile (generated, generated-dirs): Likewise.
42207         * debug/Makefile (generated): Likewise.
42208         * dlfcn/Makefile (generated): Likewise.
42209         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
42210         * iconvdata/Makefile (before-compile, generated): Likewise.
42211         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
42212         * libio/Makefile (generated): Likewise.
42213         * malloc/Makefile (generated): Likewise.
42214         * manual/Makefile (generated, generated-dirs): Likewise.
42215         * misc/Makefile (generated): Likewise.
42216         * posix/Makefile (generated): Likewise.
42217         * resolv/Makefile (generated): Likewise.
42218         * sunrpc/Makefile (generated, generated-dirs): Likewise.
42219         * timezone/Makefile (generated, generated-dirs): Likewise.
42221         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
42223 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42225         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
42226         power8 implementation.
42227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
42228         file: POWER8 llround ifunc implementation.
42229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
42230         (__lllround): Add POWER8 implementation.
42231         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
42232         POWER8 llround implementation.
42234         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
42235         power8 implementation.
42236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
42237         file: POWER8 llrint ifunc implementation.
42238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
42239         Add POWER8 implementation.
42240         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
42241         POWER8 llrint implementation.
42243         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
42244         power8 implementation.
42245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
42246         file: POWER8 finite ifunc implementation.
42247         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
42248         Add POWER8 implementation.
42249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
42250         Likewise.
42251         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
42252         POWER8 finite implementation.
42253         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
42255         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
42256         power8 implementation.
42257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
42258         file: POWER8 isinf ifunc implementation.
42259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
42260         POWER8 implementation.
42261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
42262         Likewise.
42263         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
42264         isinf implementation.
42265         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
42267         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
42268         (INIT_ARCH): Add hwcap2 initialization.
42269         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
42270         power8 implementation.
42271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
42272         file: POWER8 isnan ifunc implementation.
42273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
42274         POWER8 implementation.
42275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
42276         Likewise.
42277         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
42278         isnan implementation.
42279         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
42281 2014-02-27  Joey Ye  <joey.ye@arm.com>
42283         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
42284         (_FP_NANFRAC_Q): Set to zero.
42286 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42288         [BZ #16623]
42289         * math/auto-libm-test-in: New test inputs.
42290         * math/auto-libm-test-out: Regenerate.
42291         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
42292         and DA.
42293         (__cos): Likewise.
42294         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
42296 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
42298         * scripts/evaluate-test.sh: Take new argument indicating whether
42299         failure is expected.
42300         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
42301         indicating whether failure is expected.
42302         * conform/Makefile (test-xfail-run-conformtest): New variable.
42303         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
42304         level.
42305         * posix/Makefile (test-xfail-annexc): New variable.
42306         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
42308 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
42310         * argp/Makefile: Include Makeconfig immediately after defining
42311         subdir.
42312         * assert/Makefile: Likewise.
42313         * benchtests/Makefile: Likewise.
42314         * catgets/Makefile: Likewise.
42315         * conform/Makefile: Likewise.
42316         * crypt/Makefile: Likewise.
42317         * csu/Makefile: Likewise.
42318         (all): Remove target.
42319         * ctype/Makefile: Include Makeconfig immediately after defining
42320         subdir.
42321         * debug/Makefile: Likewise.
42322         * dirent/Makefile: Likewise.
42323         * dlfcn/Makefile: Likewise.
42324         * gmon/Makefile: Likewise.
42325         * gnulib/Makefile: Likewise.
42326         * grp/Makefile: Likewise.
42327         * gshadow/Makefile: Likewise.
42328         * hesiod/Makefile: Likewise.
42329         * hurd/Makefile: Likewise.
42330         (all): Remove target.
42331         * iconvdata/Makefile: Include Makeconfig immediately after
42332         defining subdir.
42333         * inet/Makefile: Likewise.
42334         * intl/Makefile: Likewise.
42335         * io/Makefile: Likewise.
42336         * libio/Makefile: Likewise.
42337         (all): Remove target.
42338         * locale/Makefile: Include Makeconfig immediately after defining
42339         subdir.
42340         * login/Makefile: Likewise.
42341         * mach/Makefile: Likewise.
42342         (all): Remove target.
42343         * malloc/Makefile: Include Makeconfig immediately after defining
42344         subdir.
42345         (all): Remove target.
42346         * manual/Makefile: Include Makeconfig immediately after defining
42347         subdir.
42348         * math/Makefile: Likewise.
42349         * misc/Makefile: Likewise.
42350         * nis/Makefile: Likewise.
42351         * nss/Makefile: Likewise.
42352         * po/Makefile: Likewise.
42353         (all): Remove target.
42354         * posix/Makefile: Include Makeconfig immediately after defining
42355         subdir.
42356         * pwd/Makefile: Likewise.
42357         * resolv/Makefile: Likewise.
42358         * resource/Makefile: Likewise.
42359         * rt/Makefile: Likewise.
42360         * setjmp/Makefile: Likewise.
42361         * shadow/Makefile: Likewise.
42362         * signal/Makefile: Likewise.
42363         * socket/Makefile: Likewise.
42364         * soft-fp/Makefile: Likewise.
42365         * stdio-common/Makefile: Likewise.
42366         * stdlib/Makefile: Likewise.
42367         * streams/Makefile: Likewise.
42368         * string/Makefile: Likewise.
42369         * sunrpc/Makefile: Likewise.
42370         (all): Remove target.
42371         * sysvipc/Makefile: Include Makeconfig immediately after defining
42372         subdir.
42373         * termios/Makefile: Likewise.
42374         * time/Makefile: Likewise.
42375         * timezone/Makefile: Likewise.
42376         (all): Remove target.
42377         * wcsmbs/Makefile: Include Makeconfig immediately after defining
42378         subdir.
42379         * wctype/Makefile: Likewise.
42381 2014-02-26  Steve Ellcey  <sellcey@mips.com>
42383         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
42384         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
42385         (libc_feholdexcept_setround_mips): Ditto.
42386         (libc_feholdsetround): New.
42387         (libc_feholdsetroundf): New.
42388         (libc_feholdsetroundl): New.
42389         (libc_feupdateenv_test_mips): New.
42390         (libc_feupdateenv_test): New.
42391         (libc_feupdateenv_testf): New.
42392         (libc_feupdateenv_testl): New.
42393         (libc_feresetround): New.
42394         (libc_feresetroundf): New.
42395         (libc_feresetroundl): New.
42396         (libc_fetestexcept_mips): New.
42397         (libc_fetestexcept): New.
42398         (libc_fetestexceptf): New.
42399         (libc_fetestexceptl): New.
42400         (HAVE_RM_CTX): New.
42401         (libc_feholdexcept_setround_mips_ctx): New.
42402         (libc_feholdexcept_setround_ctx): New.
42403         (libc_feholdexcept_setroundf_ctx): New.
42404         (libc_feholdexcept_setroundl_ctx): New.
42405         (libc_fesetenv_mips_ctx): New.
42406         (libc_fesetenv_ctx): New.
42407         (libc_fesetenv_ctxf): New.
42408         (libc_fesetenv_ctxl): New.
42409         (libc_feupdateenv_mips_ctx): New.
42410         (libc_feupdateenv_ctx): New.
42411         (libc_feupdateenvf_ctx): New.
42412         (libc_feupdateenvl_ctx): New.
42413         (libc_feholdsetround_mips_ctx): New.
42414         (libc_feholdsetround_ctx): New.
42415         (libc_feholdsetroundf_ctx): New.
42416         (libc_feholdsetroundl_ctx): New.
42417         (libc_feresetround_mips_ctx): New.
42418         (libc_feresetround_ctx): New.
42419         (libc_feresetroundf_ctx): New.
42420         (libc_feresetroundl_ctx): New.
42422 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
42424         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
42426         * manual/ipc.texi: New file.
42427         * manual/Makefile (chapters): Add ipc.
42428         * manual/job.texi: Add "Inter-Process Communication" to next.
42429         * manual/process.texi: Add "Inter-Process Communication" to prev.
42431 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42433         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42435 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
42437         * malloc/malloc.c (__libc_calloc): Simplify implementation.
42439         * manual/arith.texi: Fix spaces after sentences.
42440         * manual/charset.texi: Likewise.
42441         * manual/errno.texi: Likewise.
42442         * manual/install.texi: Likewise.
42443         * manual/llio.texi: Likewise.
42444         * manual/locale.texi: Likewise.
42445         * manual/maint.texi: Likewise.
42446         * manual/math.texi: Likewise.
42447         * manual/memory.texi: Likewise.
42448         * manual/message.texi: Likewise.
42449         * manual/probes.texi: Likewise.
42450         * manual/resource.texi: Likewise.
42451         * manual/signal.texi: Likewise.
42452         * manual/socket.texi: Likewise.
42453         * manual/stdio.texi: Likewise.
42454         * manual/string.texi: Likewise.
42455         * manual/time.texi: Likewise.
42456         * manual/users.texi: Likewise.
42458 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
42460         [BZ #16632]
42461         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
42462         _DEFAULT_SOURCE is defined.
42464 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
42465             Carlos O'Donell  <carlos@redhat.com>
42467         [BZ #16613]
42468         * elf/dl-tls.c (_dl_count_modids): New function.
42469         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
42470         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
42471         audit library and increment generation counter.
42472         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
42473         * elf/tst-audit9.c: New file.
42474         * elf/tst-auditmod9a.c: New file.
42475         * elf/tst-auditmod9b.c: New file.
42476         * elf/Makefile: Add rules to build and run tst-audit9.
42478 2014-02-25  Florian Weimer  <fweimer@redhat.com>
42480         [BZ #15347]
42481         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
42483 2014-02-25  Will Newton  <will.newton@linaro.org>
42485         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
42486         (__longjmp): Restore sp and lr before restoring callee
42487         saved registers.  Add longjmp and longjmp_target
42488         SystemTap probe point.
42489         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
42490         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
42491         Define to zero to match jmpbuf layout.
42492         * sysdeps/arm/setjmp.S: Include stap-probe.h.
42493         (__sigsetjmp): Save sp and lr before saving callee
42494         saved registers.  Add setjmp SystemTap probe point.
42496 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
42498         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42500 2014-02-24  Andreas Schwab  <schwab@suse.de>
42502         [BZ #15804]
42503         * elf/pldd.c (wait_for_ptrace_stop): New function.
42504         (main): Call it after attaching.
42506 2014-02-22  Roland McGrath  <roland@hack.frob.com>
42508         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
42509         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
42510         Versions files is now verboten.
42511         * hurd/Versions (libc: GLIBC_2.0):
42512         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
42513         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
42514         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
42515         * mach/Versions: Likewise.
42517         * csu/Versions: Remove unused %include.
42518         * resolv/Versions: Likewise.
42520 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
42522         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
42523         ($(objpfx)check-local-headers.out): Likewise.
42524         ($(objpfx)begin-end-check.out): Likewise.
42525         * Makerules (check-abi-%.out): Likewise.
42526         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
42527         ($(objpfx)test2.cat): Likewise.
42528         ($(objpfx)de/libc.cat): Likewise.
42529         ($(objpfx)test-gencat.out): Likewise.
42530         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
42531         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
42532         ($(objpfx)noload-mem): Likewise.
42533         ($(objpfx)tst-pathopt.out): Likewise.
42534         ($(objpfx)tst-rtld-load-self.out): Likewise.
42535         ($(objpfx)tst-array1-cmp.out): Likewise.
42536         ($(objpfx)tst-array1-static-cmp.out): Likewise.
42537         ($(objpfx)tst-array2-cmp.out): Likewise.
42538         ($(objpfx)tst-array3-cmp.out): Likewise.
42539         ($(objpfx)tst-array4-cmp.out): Likewise.
42540         ($(objpfx)tst-array5-cmp.out): Likewise.
42541         ($(objpfx)tst-array5-static-cmp.out): Likewise.
42542         ($(objpfx)check-textrel.out): Likewise.
42543         ($(objpfx)check-execstack.out): Likewise.
42544         ($(objpfx)check-localplt.out): Likewise.
42545         ($(objpfx)order2-cmp.out): Likewise.
42546         ($(objpfx)tst-leaks1-mem): Likewise.
42547         ($(objpfx)tst-leaks1-static-mem): Likewise.
42548         ($(objpfx)tst-initorder-cmp.out): Likewise.
42549         ($(objpfx)tst-initorder2-cmp.out): Likewise.
42550         ($(objpfx)tst-unused-dep.out): Likewise.
42551         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
42552         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
42553         * iconv/Makefile (test-iconvconfig): Likewise.
42554         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
42555         ($(objpfx)iconv-test.out): Likewise.
42556         ($(objpfx)tst-tables.out): Likewise.
42557         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
42558         ($(objpfx)tst-gettext.out): Likewise.
42559         ($(objpfx)tst-translit.out): Likewise.
42560         ($(objpfx)tst-gettext2.out): Likewise.
42561         ($(objpfx)tst-gettext4.out): Likewise.
42562         ($(objpfx)tst-gettext6.out): Likewise.
42563         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
42564         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
42565         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
42566         ($(objpfx)tst-fopenloc-mem.out): Likewise.
42567         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
42568         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
42569         * posix/Makefile ($(objpfx)globtest.out): Likewise.
42570         ($(objpfx)wordexp-tst.out): Likewise.
42571         ($(objpfx)annexc.out): Likewise.
42572         ($(objpfx)tst-fnmatch-mem): Likewise.
42573         ($(objpfx)bug-regex2-mem): Likewise.
42574         ($(objpfx)bug-regex14-mem): Likewise.
42575         ($(objpfx)bug-regex21-mem): Likewise.
42576         ($(objpfx)bug-regex31-mem): Likewise.
42577         ($(objpfx)tst-vfork3-mem): Likewise.
42578         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
42579         ($(objpfx)tst-pcre-mem): Likewise.
42580         ($(objpfx)tst-boost-mem): Likewise.
42581         ($(objpfx)tst-getconf.out): Likewise.
42582         ($(objpfx)bug-ga2-mem): Likewise.
42583         ($(objpfx)bug-glob2-mem): Likewise.
42584         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
42585         ($(objpfx)mtrace-tst-leaks2): Likewise.
42586         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
42587         ($(objpfx)tst-printf.out): Likewise.
42588         ($(objpfx)tst-setvbuf1.out): Likewise.
42589         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
42590         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
42591         ($(objpfx)tst-fmtmsg.out): Likewise.
42592         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
42593         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
42595         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
42596         * bits/sigaction.h [__USE_MISC]: Likewise.
42597         * bits/waitstatus.h: Update #endif comments.
42598         * ctype/ctype.h: Likewise.
42599         * dirent/dirent.h: Likewise.
42600         [__USE_MISC]: Remove redundant conditionals.
42601         * grp/grp.h: Update #endif comments.
42602         [__USE_GNU]: Remove redundant conditionals.
42603         [__USE_MISC]: Likewise.
42604         * inet/netinet/in.h [__USE_GNU]: Likewise.
42605         * io/sys/stat.h [__USE_MISC]: Likewise.
42606         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
42607         * libio/bits/stdio.h: Update #endif comments.
42608         [__USE_MISC]: Remove redundant conditionals.
42609         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
42610         * libio/stdio.h: Update #endif comments.
42611         [__USE_MISC]: Remove redundant conditionals.
42612         * math/bits/math-finite.h [__USE_MISC]: Likewise.
42613         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
42614         * math/math.h: Update #else and #endif comments.
42615         [__USE_MISC]: Remove redundant conditionals.
42616         * misc/sys/uio.h: Update #endif comments.
42617         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
42618         * posix/glob.h [__USE_MISC]: Likewise.
42619         * posix/sys/types.h: Update #endif comments.
42620         [__USE_MISC]: Remove redundant conditionals.
42621         * posix/sys/wait.h: Update #endif comments.
42622         [__USE_MISC]: Remove redundant conditionals.
42623         * posix/unistd.h: Update #endif comments.
42624         [__USE_MISC]: Remove redundant conditionals.
42625         * pwd/pwd.h [__USE_GNU]: Likewise.
42626         [__USE_MISC]: Likewise.
42627         * resolv/netdb.h [__USE_GNU]: Likewise.
42628         * signal/signal.h: Update #endif comments.
42629         [__USE_MISC]: Remove redundant conditionals.
42630         * stdlib/stdlib.h: Update #else and #endif comments.
42631         [__USE_MISC]: Remove redundant conditionals.
42632         [__USE_GNU]: Likewise.
42633         * string/bits/string2.h [__USE_MISC]: Likewise.
42634         * string/string.h: Update #endif comments.
42635         [__USE_MISC]: Remove redundant conditionals.
42636         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
42637         Likewise.
42638         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
42639         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
42640         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
42641         Likewise.
42642         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
42643         Likewise.
42644         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
42645         comments.
42646         [__USE_MISC]: Remove redundant conditionals.
42647         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
42648         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
42649         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
42650         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
42651         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
42652         Likewise.
42653         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
42654         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
42655         Likewise.
42656         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
42657         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
42658         Likewise.
42659         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
42660         Likewise.
42661         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
42662         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
42663         Likewise.
42664         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
42665         Likewise.
42666         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
42667         * sysdeps/x86/bits/string.h: Update #endif comments.
42668         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
42669         conditionals.
42670         * time/sys/time.h: Update #endif comments.
42671         * time/time.h: Likewise.
42672         [__USE_MISC]: Remove redundant conditionals.
42674 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
42676         [BZ #16600]
42677         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
42679 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
42681         * Versions.def (librt): Add GLIBC_2.17.
42683 2014-02-21  Adam Conrad  <adconrad@0c3.net>
42685         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
42686         synonym for _SYS_AUXV_H to allow direct inclusion.
42687         * sysdeps/sparc/bits/hwcap.h: Likewise.
42688         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
42689         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
42690         * sysdeps/sparc/sysdep.h: Likewise.
42692 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42694         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
42696 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
42698         * benchtests/bench-strrchr.c: Print length instead of position.
42700 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
42702         [BZ #16611]
42703         * sysdeps/unix/sysv/linux/kernel-features.h
42704         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
42705         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
42706         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
42707         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
42708         Likewise.
42709         [__i386__ || __powerpc__ || __sh__ || __sparc__]
42710         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42711         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
42712         (__ASSUME_SENDMMSG): Define instead of using previous
42713         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
42714         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42715         (__ASSUME_SENDMMSG_SYSCALL): Define.
42716         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
42717         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
42718         Likewise.
42719         * sysdeps/unix/sysv/linux/arm/kernel-features.h
42720         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
42721         Likewise.
42722         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
42723         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
42724         Likewise.
42725         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
42726         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
42727         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
42728         [__ASSUME_SENDMMSG]: Change conditionals to
42729         [__ASSUME_SENDMMSG_SOCKETCALL].
42730         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42731         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
42732         Define.
42733         * sysdeps/unix/sysv/linux/mips/kernel-features.h
42734         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
42735         Likewise.
42736         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
42737         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
42738         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
42739         [!__ASSUME_SENDMMSG]: Change conditional to
42740         [!__ASSUME_SENDMMSG_SOCKETCALL].
42741         * sysdeps/unix/sysv/linux/tile/kernel-features.h
42742         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
42743         Define.
42745         [BZ #16610]
42746         * sysdeps/unix/sysv/linux/kernel-features.h
42747         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
42748         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
42749         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
42750         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
42751         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
42752         [__i386__ || __sparc__]
42753         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42754         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
42755         (__ASSUME_RECVMMSG): Define instead of using previous
42756         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
42757         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42758         (__ASSUME_RECVMMSG_SYSCALL): Define.
42759         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
42760         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
42761         Likewise.
42762         * sysdeps/unix/sysv/linux/arm/kernel-features.h
42763         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
42764         Likewise.
42765         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
42766         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
42767         Likewise.
42768         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
42769         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
42770         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
42771         [__ASSUME_RECVMMSG]: Change condition to
42772         [__ASSUME_RECVMMSG_SOCKETCALL].
42773         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42774         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
42775         Define.
42776         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42777         * sysdeps/unix/sysv/linux/mips/kernel-features.h
42778         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
42779         Likewise.
42780         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
42781         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
42782         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
42783         [!__ASSUME_RECVMMSG]: Change condition to
42784         [!__ASSUME_RECVMMSG_SOCKETCALL].
42785         * sysdeps/unix/sysv/linux/tile/kernel-features.h
42786         (__ASSUME_RECVMMSG_SYSCALL): Define.
42788         [BZ #16609]
42789         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
42790         __powerpc__ || __s390__ || __sh__ || __sparc__]
42791         (__ASSUME_SOCKETCALL): Define.
42792         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
42793         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
42794         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
42795         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
42796         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
42797         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
42798         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
42799         (__ASSUME_ACCEPT4): Define instead of using previous
42800         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
42801         __powerpc__ || __sparc__ || __s390__)] condition.
42802         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42803         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
42804         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
42805         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
42806         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
42807         [!__ASSUME_ACCEPT4]: Change condition to
42808         [!__ASSUME_ACCEPT4_SOCKETCALL].
42809         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
42810         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
42811         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
42812         * sysdeps/unix/sysv/linux/arm/kernel-features.h
42813         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
42814         __ASSUME_ACCEPT4_SYSCALL.
42815         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
42816         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
42817         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
42818         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
42819         __ASSUME_ACCEPT4_SYSCALL.
42820         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
42821         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
42822         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
42823         [__ASSUME_ACCEPT4]: Change condition to
42824         [__ASSUME_ACCEPT4_SOCKETCALL].
42825         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
42826         (__ASSUME_SOCKETCALL): Define.
42827         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
42828         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42829         (__ASSUME_SOCKETCALL): Define.
42830         (__ASSUME_ACCEPT4): Remove.
42831         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
42832         Define.
42833         * sysdeps/unix/sysv/linux/mips/kernel-features.h
42834         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
42835         Likewise.
42836         * sysdeps/unix/sysv/linux/tile/kernel-features.h
42837         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
42839         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
42840         macro.
42841         (HWCAP_ARM_LPAE): Likewise.
42842         (HWCAP_ARM_EVTSTRM): Likewise.
42843         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
42844         Add vpfd32, lpae and evtstrm.
42845         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
42846         Increase to 22.
42848 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
42850         * math/auto-libm-test-in: Add tests of clog10.
42851         * math/auto-libm-test-out: Regenerated.
42852         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
42853         * sysdeps/i386/fpu/libm-test-ulps: Update.
42854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42856 2014-02-18  Andreas Schwab  <schwab@suse.de>
42858         [BZ #16574]
42859         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
42860         Store non-zero if the second buffer was newly allocated.
42861         (send_dg): Likewise.
42862         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
42863         to send_vc and send_dg.
42864         (res_nsend): Pass NULL for ansp2_malloced.
42865         * resolv/res_query.c (__libc_res_nquery): Add parameter
42866         answerp2_malloced and pass it down to __libc_res_nsend.
42867         (res_nquery): Pass additional NULL to __libc_res_nquery.
42868         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
42869         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
42870         second answer buffer if answerp2_malloced was set.
42871         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
42872         (__libc_res_nquerydomain): Add parameter
42873         answerp2_malloced and pass it down to __libc_res_nquery.
42874         (res_nquerydomain): Pass additional NULL to
42875         __libc_res_nquerydomain.
42876         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
42877         additional NULL to __libc_res_nsend and __libc_res_nquery.
42878         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
42879         additional NULL to __libc_res_nsearch.
42880         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
42881         parameter of __libc_res_nsearch to check for separately allocated
42882         second buffer.
42883         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
42884         __libc_res_nquery.
42885         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
42886         additional NULL to __libc_res_nquery.
42887         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
42888         __libc_res_nsearch.
42889         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
42890         * include/resolv.h: Update prototypes of __libc_res_nquery,
42891         __libc_res_nsearch, __libc_res_nsend.
42893 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
42895         * math/auto-libm-test-in: Add tests of fma.
42896         * math/auto-libm-test-out: Regenerated.
42897         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
42898         (fma_towardzero_test_data): Likewise.
42899         (fma_downward_test_data): Likewise.
42900         (fma_upward_test_data): Likewise.
42901         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
42902         mpc_mode.
42903         (rounding_modes): Add values for new field.
42904         (func_calc_method): Add value mpfr_fff_f.
42905         (func_calc_desc): Add mpfr_fff_f union field.
42906         (test_function): Add field exact_args.
42907         (FUNC): Add macro argument EXACT_ARGS.
42908         (FUNC_mpfr_f_f): Update call to FUNC.
42909         (FUNC_mpfr_f_f): Likewise.
42910         (FUNC_mpfr_ff_f): Likewise.
42911         (FUNC_mpfr_if_f): Likewise.
42912         (FUNC_mpc_c_f): Likewise.
42913         (FUNC_mpc_c_c): Likewise.
42914         (test_functions): Add fma.  Update calls to FUNC.
42915         (handle_input_arg): Add argument exact_args.
42916         (add_test): Update call to handle_input_arg.
42917         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
42918         (output_for_one_input_case): Update call to calc_generic_results.
42919         Recalculate exact zero results in each rounding mode.
42921         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
42922         non-negative before setting low bit.
42923         * math/auto-libm-test-in: Mark one asin test possibly having
42924         spurious underflow.
42925         * math/auto-libm-test-out: Regenerated.
42926         * sysdeps/i386/fpu/libm-test-ulps: Update.
42927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42929 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
42931         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
42932         * sysdeps/unix/sysv/linux/microblaze: Move directory from
42933         ports/sysdeps/unix/sysv/linux/microblaze.
42934         * README: Add missing listing for microblaze*-*-linux-gnu.
42936 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
42938         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
42939         duplicate code
42941 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
42943         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
42944         * sysdeps/unix/sysv/linux/ia64: Move directory from
42945         ports/sysdeps/unix/sysv/linux/ia64.
42946         * README: Update listing for ia64-*-linux-gnu.
42948 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
42949             Joseph Myers  <joseph@codesourcery.com>
42951         * Makeconfig (test-name): New variable.
42952         (evaluate-test): Likewise.
42953         * Makerules (do-test-clean): Remove .test-result files.
42954         (common-mostlyclean): Likewise.
42955         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
42956         * scripts/evaluate-test.sh: New file.
42958 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
42960         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
42961         separate $(objpfx)tst-fopenloc-cmp.out and
42962         $(objpfx)tst-fopenloc-mem.out targets.
42963         (tests): Update dependencies.
42964         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
42965         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
42966         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
42967         (tst-rxspencer-no-utf8-ARGS): New variable.
42968         (tst-rxspencer-no-utf8-ENV): Likewise.
42969         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
42970         instead of $(objpfx)tst-rxspencer-mem.
42971         ($(objpfx)tst-rxspencer-mem): Change target to
42972         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
42973         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
42974         * posix/tst-rxspencer-no-utf8.c: New file.
42976         * elf/Makefile ($(objpfx)order.out): Remove rule.
42977         [$(run-built-tests) = yes] (tests): Depend on
42978         $(objpfx)order-cmp.out.
42979         ($(objpfx)order-cmp.out): New rule.
42980         [$(run-built-tests) = yes] (tests): Depend on
42981         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
42982         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
42983         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
42984         $(objpfx)tst-array5-static-cmp.out.
42985         ($(objpfx)tst-array1.out): Remove rule.
42986         ($(objpfx)tst-array1-cmp.out): New rule.
42987         ($(objpfx)tst-array1-static.out): Remove rule.
42988         ($(objpfx)tst-array1-static-cmp.out): New rule.
42989         ($(objpfx)tst-array2.out): Remove rule.
42990         ($(objpfx)tst-array2-cmp.out): New rule.
42991         ($(objpfx)tst-array3.out): Remove rule.
42992         ($(objpfx)tst-array3-cmp.out): New rule.
42993         ($(objpfx)tst-array4.out): Remove rule.
42994         ($(objpfx)tst-array4-cmp.out): New rule.
42995         ($(objpfx)tst-array5.out): Remove rule.
42996         ($(objpfx)tst-array5-cmp.out): New rule.
42997         ($(objpfx)tst-array5-static.out): Remove rule.
42998         ($(objpfx)tst-array5-static-cmp.out): New rule.
42999         [$(run-built-tests) = yes] (tests): Depend on
43000         $(objpfx)order2-cmp.out.
43001         ($(objpfx)order2.out): Remove rule.
43002         ($(objpfx)order2-cmp.out): New rule.
43003         ($(objpfx)tst-initorder.out): Remove rule.
43004         [$(run-built-tests) = yes] (tests): Depend on
43005         $(objpfx)tst-initorder-cmp.out.
43006         ($(objpfx)tst-initorder-cmp.out): New rule.
43007         ($(objpfx)tst-initorder2.out): Remove rule.
43008         [$(run-built-tests) = yes] (tests): Depend on
43009         $(objpfx)tst-initorder2-cmp.out.
43010         ($(objpfx)tst-initorder2-cmp.out): New rule.
43011         [$(run-built-tests) = yes] (tests): Depend on
43012         $(objpfx)tst-unused-dep-cmp.out.
43013         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
43014         ($(objpfx)tst-unused-dep-cmp.out): New rule.
43015         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
43016         on $(objpfx)tst-setvbuf1-cmp.out.
43017         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
43018         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
43019         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
43020         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
43021         ($(objpfx)tst-svc.out): Remove rule.
43022         ($(objpfx)tst-svc-cmp.out): New rule.
43024 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
43026         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
43027         * ctype/ctype.h [__USE_MISC]: Likewise.
43028         * dirent/dirent.h [__USE_MISC]: Likewise.
43029         * grp/grp.h [__USE_MISC]: Likewise.
43030         * io/fcntl.h [__USE_MISC]: Likewise.
43031         * io/sys/stat.h [__USE_MISC]: Likewise.
43032         * libio/stdio.h [__USE_MISC]: Likewise.
43033         * posix/unistd.h [__USE_MISC]: Likewise.
43034         * pwd/pwd.h [__USE_MISC]: Likewise.
43035         * stdlib.h [__USE_MISC]: Likewise.
43036         * string/bits/string2.h [__USE_MISC]: Likewise.
43037         * string/string.h [__USE_MISC]: Likewise.
43038         * time/time.h [__USE_MISC]: Likewise.
43040 2014-02-13  Andreas Schwab  <schwab@suse.de>
43042         [BZ #16574]
43043         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
43044         second answer buffer if it was separately allocated.
43046 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
43048         * sysdeps/mips/math-tests.h: Include <features.h>.
43049         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
43050         (ROUNDING_TESTS_long_double): Do not define.
43051         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
43052         (EXCEPTION_TESTS_long_double): Likewise.
43053         * sysdeps/mips/mips64/libm-test-ulps: Update.
43055         * include/features.h (__USE_BSD): Remove macro definitions.
43056         (__USE_SVID): Likewise.
43057         (_BSD_SOURCE): Likewise.
43058         (_SVID_SOURCE): Likewise.
43059         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
43060         from definition of _DEFAULT_SOURCE.
43061         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
43062         [_DEFAULT_SOURCE].
43063         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
43064         * bits/mman.h [__USE_BSD]: Likewise.
43065         * bits/termios.h [__USE_BSD]: Likewise.
43066         * bits/waitstatus.h [__USE_BSD]: Likewise.
43067         * ctype/ctype.h [__USE_SVID]: Likewise.
43068         * dirent/dirent.h [__USE_BSD]: Likewise.
43069         * grp/grp.h [__USE_SVID]: Likewise.
43070         [__USE_BSD]: Likewise.
43071         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
43072         * io/fcntl.h [__USE_BSD]: Likewise.
43073         * io/ftw.h [__USE_BSD]: Likewise.
43074         * io/sys/stat.h [__USE_BSD]: Likewise.
43075         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
43076         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
43077         * libio/stdio.h [__USE_SVID]: Likewise.
43078         [__USE_BSD]: Likewise.
43079         * math/math.h [__USE_SVID]: Likewise.
43080         [__USE_BSD]: Likewise.
43081         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
43082         * misc/bits/syslog.h [__USE_BSD]: Likewise.
43083         * misc/search.h [__USE_SVID]: Likewise.
43084         * misc/sys/mman.h [__USE_BSD]: Likewise.
43085         * misc/sys/syslog.h [__USE_BSD]: Likewise.
43086         * misc/sys/uio.h [__USE_BSD]: Likewise.
43087         * posix/bits/unistd.h [__USE_BSD]: Likewise.
43088         * posix/glob.h [__USE_BSD]: Likewise.
43089         * posix/regex.h [__USE_BSD]: Likewise.
43090         * posix/sys/types.h [__USE_BSD]: Likewise.
43091         [__USE_SVID]: Likewise.
43092         * posix/sys/utsname.h [__USE_SVID]: Likewise.
43093         * posix/sys/wait.h [__USE_BSD]: Likewise.
43094         [__USE_SVID]: Likewise.
43095         * posix/unistd.h [__USE_BSD]: Likewise.
43096         [__USE_SVID]: Likewise.
43097         * pwd/pwd.h [__USE_SVID]: Likewise.
43098         * resolv/netdb.h [__USE_BSD]: Likewise.
43099         * setjmp/setjmp.h [__USE_BSD]: Likewise.
43100         * signal/signal.h [__USE_BSD]: Likewise.
43101         [__USE_SVID]: Likewise.
43102         * socket/sys/socket.h [__USE_BSD]: Likewise.
43103         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
43104         * stdlib/stdlib.h [__USE_BSD]: Likewise.
43105         [__USE_SVID]: Likewise.
43106         * string/bits/string2.h [__USE_BSD]: Likewise.
43107         [__USE_SVID]: Likewise.
43108         * string/bits/string3.h [__USE_BSD]: Likewise.
43109         * string/endian.h [__USE_BSD]: Likewise.
43110         * string/string.h [__USE_SVID]: Likewise.
43111         [__USE_BSD]: Likewise.
43112         * string/strings.h [__USE_BSD]: Likewise.
43113         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
43114         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
43115         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
43116         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
43117         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
43118         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
43119         Likewise.
43120         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
43121         Likewise.
43122         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
43123         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
43124         Likewise.
43125         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
43126         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
43127         Likewise.
43128         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
43129         Likewise.
43130         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
43131         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
43132         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
43133         Likewise.
43134         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
43135         Likewise.
43136         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
43137         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
43138         * termios/termios.h [__USE_BSD]: Likewise.
43139         * time/sys/time.h [__USE_BSD]: Likewise.
43140         * time/time.h [__USE_BSD]: Likewise.
43141         [__USE_SVID]: Likewise.
43143         * Makefile (subdir_targets): Remove subdir_lint.out.
43145         * stdio-common/Makefile (do-tst-unbputc): Remove target.
43146         (do-tst-printf): Likewise.
43147         (tests): Depend directly on $(objpfx)tst-unbputc.out and
43148         $(objpfx)tst-printf.out.
43150         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
43152         * Makerules (check-abi-%): Change target to
43153         $(objpfx)check-abi-%.out.
43154         (check-abi target): Update dependencies.
43155         (check-abi-pattern variable): Redirect output of diff to $@.
43156         (check-abi variable): Likewise.
43157         * elf/Makefile (check-abi): Update dependencies.
43159         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
43160         unused.
43161         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
43162         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
43163         subnormal range.
43164         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
43165         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
43166         value has largest subnormal exponent.
43167         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
43168         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
43169         * sysdeps/aarch64/soft-fp/sfp-machine.h
43170         (_FP_TININESS_AFTER_ROUNDING): New macro.
43171         * sysdeps/alpha/soft-fp/sfp-machine.h
43172         (_FP_TININESS_AFTER_ROUNDING): Likewise.
43173         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
43174         Likewise.
43175         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
43176         (_FP_TININESS_AFTER_ROUNDING): Likewise.
43177         * sysdeps/mips/soft-fp/sfp-machine.h
43178         (_FP_TININESS_AFTER_ROUNDING): Likewise.
43179         * sysdeps/powerpc/soft-fp/sfp-machine.h
43180         (_FP_TININESS_AFTER_ROUNDING): Likewise.
43181         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
43182         Likewise.
43183         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
43184         (_FP_TININESS_AFTER_ROUNDING): Likewise.
43185         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
43186         (_FP_TININESS_AFTER_ROUNDING): Likewise.
43187         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
43188         Likewise.
43190 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
43192         [BZ #16545]
43193         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
43194         model 1.
43196 2014-02-12  Richard Henderson  <rth@redhat.com>
43198         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
43199         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
43200         * sysdeps/unix/sysv/linux/alpha: Move directory from
43201         ports/sysdeps/unix/sysv/linux/alpha.
43202         * README: Update listing for alpha-*-linux-gnu.
43204 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
43206         * include/features.h: Update comment documenting feature test
43207         macros.
43208         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
43209         _DEFAULT_SOURCE.
43210         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
43211         (_SVID_SOURCE): Likewise.
43212         (_DEFAULT_SOURCE): Update description of default features.
43213         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
43214         with _GNU_SOURCE.
43215         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
43216         (S_ISVTX): Likewise.
43217         * manual/math.texi (Mathematical Constants): Likewise.
43218         * manual/signal.texi (Interrupted Primitives): Likewise.
43219         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
43220         * math/test-matherr.c (_SVID_SOURCE): Do not define.
43221         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
43222         Don't refer to _SVID_SOURCE in warning text.
43224         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43226         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
43227         already defined.
43228         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
43229         * sysdeps/mips/dl-lookup.c: Remove.
43230         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
43232 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
43234         [BZ #16447]
43235         * math/auto-libm-test-in: Add testcase for expl.
43236         * math/auto-libm-test-out: Regenerate.
43237         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
43238         calculation of unsafe.
43239         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
43241 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
43243         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
43244         * sysdeps/unix/sysv/linux/aarch64: Move directory from
43245         ports/sysdeps/unix/sysv/linux/aarch64.
43246         * README: Update listing for aarch64*-*-linux-gnu.
43248 2014-02-11  Will Newton  <will.newton@linaro.org>
43250         * manual/probes.texi (Mathematical Function Probes): Use
43251         "triggered" instead of "hit".
43253         * manual/probes.texi (Internal Probes): Add documentation
43254         of setjmp, longjmp and longjmp_target probes.
43256         * include/stap-probe.h: Add comment about probe argument
43257         format.
43259         * malloc/mtrace.c (attribute_hidden): Remove unused macro
43260         definition.  (tr_where, tr_freehook, tr_mallochook,
43261         tr_reallochook, tr_memalignhook): Use ANSI protoype.
43263 2014-02-11  David S. Miller  <davem@davemloft.net>
43265         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
43266         processing int_tests.
43268 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
43270         * sysdeps/mips: Move directory from ports/sysdeps/mips.
43271         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
43272         * sysdeps/unix/sysv/linux/mips: Move directory from
43273         ports/sysdeps/unix/sysv/linux/mips.
43274         * README: Update listing for mips-*-linux-gnu and
43275         mips64-*-linux-gnu.
43277 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
43279         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
43280         * sysdeps/unix/sysv/linux/m68k: Move directory from
43281         ports/sysdeps/unix/sysv/linux/m68k.
43282         * README: Update listing for m68k-*-linux-gnu.
43284 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
43286         * sysdeps/tile: Move directory from ports/sysdeps/tile.
43287         * sysdeps/unix/sysv/linux/generic: Move directory from
43288         ports/sysdeps/unix/sysv/linux/generic.
43289         * sysdeps/unix/sysv/linux/tile: Move directory from
43290         ports/sysdeps/unix/sysv/linux/tile.
43291         * README: Update listing for tile*-*-linux-gnu.
43293 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
43295         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
43296         __builtin_expect.
43297         * benchtests/bench-memmem.c (simple_memmem): Likewise.
43298         * catgets/open_catalog.c (__open_catalog): Likewise.
43299         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
43300         * debug/confstr_chk.c: Likewise.
43301         * debug/fread_chk.c (__fread_chk): Likewise.
43302         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
43303         * debug/getgroups_chk.c: Likewise.
43304         * debug/mbsnrtowcs_chk.c: Likewise.
43305         * debug/mbsrtowcs_chk.c: Likewise.
43306         * debug/mbstowcs_chk.c: Likewise.
43307         * debug/memcpy_chk.c: Likewise.
43308         * debug/memmove_chk.c: Likewise.
43309         * debug/mempcpy_chk.c: Likewise.
43310         * debug/memset_chk.c: Likewise.
43311         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
43312         * debug/strcat_chk.c (__strcat_chk): Likewise.
43313         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
43314         * debug/strncat_chk.c (__strncat_chk): Likewise.
43315         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
43316         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
43317         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
43318         * debug/wcpncpy_chk.c: Likewise.
43319         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
43320         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
43321         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
43322         * debug/wcsncpy_chk.c: Likewise.
43323         * debug/wcsnrtombs_chk.c: Likewise.
43324         * debug/wcsrtombs_chk.c: Likewise.
43325         * debug/wcstombs_chk.c: Likewise.
43326         * debug/wmemcpy_chk.c: Likewise.
43327         * debug/wmemmove_chk.c: Likewise.
43328         * debug/wmempcpy_chk.c: Likewise.
43329         * debug/wmemset_chk.c: Likewise.
43330         * dirent/scandirat.c (SCANDIRAT): Likewise.
43331         * dlfcn/dladdr1.c (dladdr1): Likewise.
43332         * dlfcn/dladdr.c (dladdr): Likewise.
43333         * dlfcn/dlclose.c (dlclose_doit): Likewise.
43334         * dlfcn/dlerror.c (__dlerror): Likewise.
43335         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
43336         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
43337         * dlfcn/dlopen.c (dlopen_doit): Likewise.
43338         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
43339         * dlfcn/dlsym.c (dlsym_doit): Likewise.
43340         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
43341         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
43342         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
43343         Likewise.
43344         * elf/dl-conflict.c: Likewise.
43345         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
43346         * elf/dl-dst.h: Likewise.
43347         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
43348         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
43349         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
43350         * elf/dl-init.c (call_init, _dl_init): Likewise.
43351         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
43352         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
43353         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
43354         Likewise.
43355         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
43356         Likewise.
43357         * elf/dl-minimal.c (__libc_memalign): Likewise.
43358         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
43359         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
43360         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
43361         * elf/dl-sym.c (do_sym): Likewise.
43362         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
43363         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
43364         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
43365         * elf/dl-writev.h (_dl_writev): Likewise.
43366         * elf/ldconfig.c (search_dir): Likewise.
43367         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
43368         (dl_main): Likewise.
43369         * elf/setup-vdso.h (setup_vdso): Likewise.
43370         * grp/compat-initgroups.c (compat_call): Likewise.
43371         * grp/fgetgrent.c (fgetgrent): Likewise.
43372         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
43373         * grp/putgrent.c (putgrent): Likewise.
43374         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
43375         Likewise.
43376         * hurd/hurdinit.c: Likewise.
43377         * iconvdata/8bit-gap.c (struct): Likewise.
43378         * iconvdata/ansi_x3.110.c : Likewise.
43379         * iconvdata/big5.c : Likewise.
43380         * iconvdata/big5hkscs.c : Likewise.
43381         * iconvdata/cp1255.c: Likewise.
43382         * iconvdata/cp1258.c : Likewise.
43383         * iconvdata/cp932.c : Likewise.
43384         * iconvdata/euc-cn.c: Likewise.
43385         * iconvdata/euc-jisx0213.c : Likewise.
43386         * iconvdata/euc-jp.c: Likewise.
43387         * iconvdata/euc-jp-ms.c : Likewise.
43388         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
43389         * iconvdata/gb18030.c : Likewise.
43390         * iconvdata/gbbig5.c (const): Likewise.
43391         * iconvdata/gbgbk.c: Likewise.
43392         * iconvdata/gbk.c : Likewise.
43393         * iconvdata/ibm1364.c : Likewise.
43394         * iconvdata/ibm930.c : Likewise.
43395         * iconvdata/ibm932.c: Likewise.
43396         * iconvdata/ibm933.c : Likewise.
43397         * iconvdata/ibm935.c : Likewise.
43398         * iconvdata/ibm937.c : Likewise.
43399         * iconvdata/ibm939.c : Likewise.
43400         * iconvdata/ibm943.c: Likewise.
43401         * iconvdata/iso_11548-1.c: Likewise.
43402         * iconvdata/iso-2022-cn.c : Likewise.
43403         * iconvdata/iso-2022-cn-ext.c : Likewise.
43404         * iconvdata/iso-2022-jp-3.c: Likewise.
43405         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
43406         * iconvdata/iso-2022-kr.c : Likewise.
43407         * iconvdata/iso646.c (gconv_end): Likewise.
43408         * iconvdata/iso_6937-2.c : Likewise.
43409         * iconvdata/iso_6937.c : Likewise.
43410         * iconvdata/iso8859-1.c: Likewise.
43411         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
43412         * iconvdata/shift_jisx0213.c : Likewise.
43413         * iconvdata/sjis.c : Likewise.
43414         * iconvdata/t.61.c : Likewise.
43415         * iconvdata/tcvn5712-1.c : Likewise.
43416         * iconvdata/tscii.c: Likewise.
43417         * iconvdata/uhc.c : Likewise.
43418         * iconvdata/unicode.c (gconv_end): Likewise.
43419         * iconvdata/utf-16.c (gconv_end): Likewise.
43420         * iconvdata/utf-32.c (gconv_end): Likewise.
43421         * iconvdata/utf-7.c (base64): Likewise.
43422         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
43423         * iconv/gconv_close.c (__gconv_close): Likewise.
43424         * iconv/gconv_open.c (__gconv_open): Likewise.
43425         * iconv/gconv_simple.c (internal_ucs4_loop_single)
43426         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
43427         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
43428         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
43429         (ucs4le_internal_loop_single): Likewise.
43430         * iconv/iconv.c (iconv): Likewise.
43431         * iconv/iconv_close.c: Likewise.
43432         * iconv/loop.c (SINGLE): Likewise.
43433         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
43434         * include/atomic.h: Likewise.
43435         * inet/inet6_option.c (option_alloc): Likewise.
43436         * intl/bindtextdom.c (set_binding_values): Likewise.
43437         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
43438         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
43439         * intl/localealias.c (read_alias_file): Likewise.
43440         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
43441         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
43442         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
43443         * libio/fmemopen.c (fmemopen): Likewise.
43444         * libio/iofgets.c (_IO_fgets): Likewise.
43445         * libio/iofgets_u.c (fgets_unlocked): Likewise.
43446         * libio/iofgetws.c (fgetws): Likewise.
43447         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
43448         * libio/iogetdelim.c (_IO_getdelim): Likewise.
43449         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
43450         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
43451         * locale/findlocale.c (_nl_find_locale): Likewise.
43452         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
43453         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
43454         Likewise.
43455         * locale/setlocale.c (setlocale): Likewise.
43456         * login/programs/pt_chown.c (main): Likewise.
43457         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
43458         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
43459         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
43460         (mmap, mmap64, mremap, munmap): Likewise.
43461         * math/e_exp2l.c: Likewise.
43462         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
43463         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
43464         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
43465         * math/s_catan.c (__catan): Likewise.
43466         * math/s_catanf.c (__catanf): Likewise.
43467         * math/s_catanh.c (__catanh): Likewise.
43468         * math/s_catanhf.c (__catanhf): Likewise.
43469         * math/s_catanhl.c (__catanhl): Likewise.
43470         * math/s_catanl.c (__catanl): Likewise.
43471         * math/s_ccosh.c (__ccosh): Likewise.
43472         * math/s_ccoshf.c (__ccoshf): Likewise.
43473         * math/s_ccoshl.c (__ccoshl): Likewise.
43474         * math/s_cexp.c (__cexp): Likewise.
43475         * math/s_cexpf.c (__cexpf): Likewise.
43476         * math/s_cexpl.c (__cexpl): Likewise.
43477         * math/s_clog10.c (__clog10): Likewise.
43478         * math/s_clog10f.c (__clog10f): Likewise.
43479         * math/s_clog10l.c (__clog10l): Likewise.
43480         * math/s_clog.c (__clog): Likewise.
43481         * math/s_clogf.c (__clogf): Likewise.
43482         * math/s_clogl.c (__clogl): Likewise.
43483         * math/s_csin.c (__csin): Likewise.
43484         * math/s_csinf.c (__csinf): Likewise.
43485         * math/s_csinh.c (__csinh): Likewise.
43486         * math/s_csinhf.c (__csinhf): Likewise.
43487         * math/s_csinhl.c (__csinhl): Likewise.
43488         * math/s_csinl.c (__csinl): Likewise.
43489         * math/s_csqrt.c (__csqrt): Likewise.
43490         * math/s_csqrtf.c (__csqrtf): Likewise.
43491         * math/s_csqrtl.c (__csqrtl): Likewise.
43492         * math/s_ctan.c (__ctan): Likewise.
43493         * math/s_ctanf.c (__ctanf): Likewise.
43494         * math/s_ctanh.c (__ctanh): Likewise.
43495         * math/s_ctanhf.c (__ctanhf): Likewise.
43496         * math/s_ctanhl.c (__ctanhl): Likewise.
43497         * math/s_ctanl.c (__ctanl): Likewise.
43498         * math/w_pow.c: Likewise.
43499         * math/w_powf.c: Likewise.
43500         * math/w_powl.c: Likewise.
43501         * math/w_scalb.c (sysv_scalb): Likewise.
43502         * math/w_scalbf.c (sysv_scalbf): Likewise.
43503         * math/w_scalbl.c (sysv_scalbl): Likewise.
43504         * misc/error.c (error_tail): Likewise.
43505         * misc/pselect.c (__pselect): Likewise.
43506         * nis/nis_callback.c (__nis_create_callback): Likewise.
43507         * nis/nis_call.c (__nisfind_server): Likewise.
43508         * nis/nis_creategroup.c (nis_creategroup): Likewise.
43509         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
43510         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
43511         * nis/nis_getservlist.c (nis_getservlist): Likewise.
43512         * nis/nis_lookup.c (nis_lookup): Likewise.
43513         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
43514         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
43515         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
43516         * nis/nis_xdr.c (xdr_endpoint): Likewise.
43517         * nis/nss_compat/compat-grp.c (getgrent_next_file)
43518         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
43519         * nis/nss_compat/compat-initgroups.c (add_group)
43520         (internal_getgrent_r): Likewise.
43521         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
43522         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
43523         * nis/nss_compat/compat-spwd.c (getspent_next_file)
43524         (internal_getspnam_r): Likewise.
43525         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
43526         (_nss_nis_getaliasbyname_r): Likewise.
43527         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
43528         (_nss_nis_getntohost_r): Likewise.
43529         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
43530         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
43531         (_nss_nis_getgrgid_r): Likewise.
43532         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
43533         (internal_nis_gethostent_r, internal_gethostbyname2_r)
43534         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
43535         (_nss_nis_gethostbyname4_r): Likewise.
43536         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
43537         (initgroups_netid): Likewise.
43538         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
43539         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
43540         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
43541         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
43542         (_nss_nis_getprotobynumber_r): Likewise.
43543         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
43544         (_nss_nis_getsecretkey): Likewise.
43545         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
43546         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
43547         (_nss_nis_getpwuid_r): Likewise.
43548         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
43549         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
43550         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
43551         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
43552         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
43553         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
43554         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
43555         Likewise.
43556         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
43557         (_nss_nisplus_getntohost_r): Likewise.
43558         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
43559         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
43560         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
43561         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
43562         Likewise.
43563         * nis/nss_nisplus/nisplus-initgroups.c
43564         (_nss_nisplus_initgroups_dyn): Likewise.
43565         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
43566         (_nss_nisplus_getnetbyaddr_r): Likewise.
43567         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
43568         (_nss_nisplus_getprotobynumber_r): Likewise.
43569         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
43570         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
43571         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
43572         Likewise.
43573         * nis/nss_nisplus/nisplus-service.c
43574         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
43575         (_nss_nisplus_getservbyport_r): Likewise.
43576         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
43577         (_nss_nisplus_getspnam_r): Likewise.
43578         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
43579         Likewise.
43580         * nscd/aicache.c (addhstaiX): Likewise.
43581         * nscd/cache.c (cache_search, prune_cache): Likewise.
43582         * nscd/connections.c (register_traced_file, send_ro_fd)
43583         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
43584         (main_loop_epoll): Likewise.
43585         * nscd/grpcache.c (addgrbyX): Likewise.
43586         * nscd/hstcache.c (addhstbyX): Likewise.
43587         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43588         * nscd/mem.c (gc, mempool_alloc): Likewise.
43589         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
43590         (addinnetgrX): Likewise.
43591         * nscd/nscd-client.h (__nscd_acquire_maplock)
43592         (__nscd_drop_map_ref): Likewise.
43593         * nscd/nscd_getai.c (__nscd_getai): Likewise.
43594         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
43595         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
43596         Likewise.
43597         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
43598         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
43599         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
43600         (__nscd_get_map_ref): Likewise.
43601         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
43602         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
43603         Likewise.
43604         * nscd/pwdcache.c (addpwbyX): Likewise.
43605         * nscd/selinux.c (preserve_capabilities): Likewise.
43606         * nscd/servicescache.c (addservbyX): Likewise.
43607         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
43608         * posix/fnmatch.c (fnmatch): Likewise.
43609         * posix/getopt.c (_getopt_internal_r): Likewise.
43610         * posix/glob.c (glob, glob_in_dir): Likewise.
43611         * posix/wordexp.c (exec_comm_child): Likewise.
43612         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
43613         (getanswer_r, gaih_getanswer_slice): Likewise.
43614         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
43615         * resolv/res_init.c: Likewise.
43616         * resolv/res_mkquery.c (res_nmkquery): Likewise.
43617         * resolv/res_query.c (__libc_res_nquery): Likewise.
43618         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
43619         Likewise.
43620         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
43621         * stdio-common/perror.c (perror): Likewise.
43622         * stdio-common/printf_fp.c (___printf_fp): Likewise.
43623         * stdio-common/tmpnam.c (tmpnam): Likewise.
43624         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
43625         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
43626         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
43627         Likewise.
43628         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
43629         * stdlib/putenv.c (putenv): Likewise.
43630         * stdlib/setenv.c (__add_to_environ): Likewise.
43631         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
43632         * stdlib/strtol_l.c (INTERNAL): Likewise.
43633         * string/memmem.c (memmem): Likewise.
43634         * string/strerror.c (strerror): Likewise.
43635         * string/strnlen.c (__strnlen): Likewise.
43636         * string/test-memmem.c (simple_memmem): Likewise.
43637         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
43638         * sunrpc/pm_getport.c (__get_socket): Likewise.
43639         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
43640         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
43641         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
43642         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
43643         Likewise.
43644         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
43645         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
43646         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
43647         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
43648         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
43649         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
43650         Likewise.
43651         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
43652         Likewise.
43653         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
43654         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
43655         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
43656         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
43657         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
43658         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
43659         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
43660         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
43661         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
43662         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
43663         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
43664         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
43665         Likewise.
43666         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
43667         Likewise.
43668         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
43669         Likewise.
43670         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
43671         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43672         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
43673         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
43674         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
43675         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
43676         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
43677         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
43678         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
43679         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
43680         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
43681         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43682         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
43683         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
43684         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43685         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
43686         Likewise.
43687         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
43688         Likewise.
43689         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
43690         Likewise.
43691         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
43692         Likewise.
43693         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43694         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43695         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
43696         Likewise.
43697         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
43698         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
43699         * sysdeps/posix/opendir.c (__opendirat): Likewise.
43700         * sysdeps/posix/sleep.c: Likewise.
43701         * sysdeps/posix/tempname.c: Likewise.
43702         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
43703         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
43704         Likewise.
43705         * sysdeps/powerpc/powerpc32/dl-machine.h
43706         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
43707         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
43708         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
43709         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
43710         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
43711         Likewise.
43712         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
43713         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
43714         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
43715         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
43716         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
43717         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
43718         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
43719         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
43720         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43721         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
43722         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
43723         (elf_machine_lazy_rel): Likewise.
43724         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43725         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
43726         (elf_machine_lazy_rel): Likewise.
43727         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
43728         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
43729         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
43730         * sysdeps/unix/grantpt.c (grantpt): Likewise.
43731         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
43732         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
43733         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
43734         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43735         Likewise.
43736         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
43737         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
43738         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
43739         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
43740         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
43741         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
43742         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
43743         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
43744         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
43745         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
43746         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
43747         Likewise.
43748         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
43749         (__posix_fallocate64_l64): Likewise.
43750         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
43751         (posix_fallocate): Likewise.
43752         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
43753         Likewise.
43754         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43755         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
43756         (getifaddrs_internal): Likewise.
43757         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
43758         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
43759         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
43760         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
43761         * sysdeps/unix/sysv/linux/posix_fallocate64.c
43762         (__posix_fallocate64_l64): Likewise.
43763         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
43764         Likewise.
43765         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
43766         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
43767         (__get_clockfreq): Likewise.
43768         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
43769         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
43770         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
43771         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43772         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43773         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
43774         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
43775         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
43776         Likewise.
43777         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
43778         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
43779         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
43780         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
43781         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
43782         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
43783         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
43784         Likewise.
43785         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
43786         (posix_fallocate): Likewise.
43787         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43788         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
43789         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
43790         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
43791         (elf_machine_rela, elf_machine_rela_relative)
43792         (elf_machine_lazy_rel): Likewise.
43793         * time/asctime.c (asctime_internal): Likewise.
43794         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
43795         * time/tzset.c (__tzset_parse_tz): Likewise.
43796         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
43797         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
43798         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
43799         * wcsmbs/wcsmbsload.h: Likewise.
43801         [BZ #15894]
43802         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
43804         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
43805         (arena_get2): Remove THREAD_STATS conditionals.
43806         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
43807         (__malloc_stats, int): Likewise.
43809 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
43811         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
43812         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
43814         * manual/setjmp.texi: Fix typos/grammar errors.
43816         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
43817         Only return early when n is <= 0.  Delete unused return statement.
43819         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
43820         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
43821         * debug/tst-longjmp_chk3.c: New file.
43823         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
43824         (test_main): Replace code with set_fortify_handler call.
43825         * debug/test-strcpy_chk.c: Likewise.
43826         * debug/tst-chk1.c: Likewise.
43827         * debug/tst-longjmp_chk.c: Likewise.
43828         * test-skeleton.c: Include fcntl.h & paths.h
43829         (set_fortify_handler): Define.
43831         * debug/tst-longjmp_chk.c: Add header comment and include
43832         ../test-skeleton.c.
43833         (do_test): Mark static.
43834         (TEST_FUNCTION): Define.
43836         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
43837         (IP_PMTUDISC_INTERFACE): Likewise.
43838         (IP_MULTICAST_IF): Likewise.
43839         (IP_MULTICAST_TTL): Likewise.
43840         (IP_MULTICAST_LOOP): Likewise.
43841         (IP_ADD_MEMBERSHIP): Likewise.
43842         (IP_DROP_MEMBERSHIP): Likewise.
43843         (IP_UNBLOCK_SOURCE): Likewise.
43844         (IP_BLOCK_SOURCE): Likewise.
43845         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
43846         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
43847         (IP_MSFILTER): Likewise.
43848         (MCAST_JOIN_GROUP): Likewise.
43849         (MCAST_BLOCK_SOURCE): Likewise.
43850         (MCAST_UNBLOCK_SOURCE): Likewise.
43851         (MCAST_LEAVE_GROUP): Likewise.
43852         (MCAST_JOIN_SOURCE_GROUP): Likewise.
43853         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
43854         (MCAST_MSFILTER): Likewise.
43855         (IP_MULTICAST_ALL): Likewise.
43856         (IP_UNICAST_IF): Likewise.
43858         * timezone/Makefile: Delete $(have-ksh) check.
43859         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
43860         * timezone/tzselect.ksh: Add +x mode bits.
43862         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
43863         (ANON_INODE_FS_MAGIC): Likewise.
43864         (BDEVFS_MAGIC): Likewise.
43865         (BINFMTFS_MAGIC): Likewise.
43866         (BTRFS_TEST_MAGIC): Likewise.
43867         (CRAMFS_MAGIC_WEND): Likewise.
43868         (DEBUGFS_MAGIC): Likewise.
43869         (ECRYPTFS_SUPER_MAGIC): Likewise.
43870         (EXT3_SUPER_MAGIC): Likewise.
43871         (EXT4_SUPER_MAGIC): Likewise.
43872         (FUTEXFS_SUPER_MAGIC): Likewise.
43873         (HOSTFS_SUPER_MAGIC): Likewise.
43874         (HUGETLBFS_MAGIC): Likewise.
43875         (MINIX3_SUPER_MAGIC): Likewise.
43876         (MTD_INODE_FS_MAGIC): Likewise.
43877         (NILFS_SUPER_MAGIC): Likewise.
43878         (OPENPROM_SUPER_MAGIC): Likewise.
43879         (PIPEFS_MAGIC): Likewise.
43880         (PSTOREFS_MAGIC): Likewise.
43881         (QNX6_SUPER_MAGIC): Likewise.
43882         (RAMFS_MAGIC): Likewise.
43883         (REISERFS_SUPER_MAGIC_STRING): Likewise.
43884         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
43885         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
43886         (SECURITYFS_MAGIC): Likewise.
43887         (SELINUX_MAGIC): Likewise.
43888         (SMACK_MAGIC): Likewise.
43889         (SOCKFS_MAGIC): Likewise.
43890         (SQUASHFS_MAGIC): Likewise.
43891         (STACK_END_MAGIC): Likewise.
43892         (TMPFS_MAGIC): Likewise.
43893         (USBDEVICE_SUPER_MAGIC): Likewise.
43894         (V9FS_MAGIC): Likewise.
43895         (XENFS_SUPER_MAGIC): Likewise.
43896         (CRAMFS_MAGIC): Fix typo in comment.
43897         (EXT2_SUPER_MAGIC): Update comment.
43898         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
43900 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
43902         * sysdeps/arm: Move directory from ports/sysdeps/arm.
43903         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
43904         * sysdeps/unix/sysv/linux/arm: Move directory from
43905         ports/sysdeps/unix/sysv/linux/arm.
43906         * README: Update listing for arm-*-linux-gnueabi.
43908         * README: Remove mention of am33.
43910 2014-02-07  Roland McGrath  <roland@hack.frob.com>
43912         * bits/sigset.h (__sigemptyset): Use a statement expression rather
43913         than the comma operator, to avoid "rhs of comma has no effect"
43914         compiler warnings.
43915         (__sigfillset, __sigandset, __sigorset): Likewise.
43916         * include/signal.h (__sigemptyset): Likewise.
43917         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
43919 2014-02-07  Allan McRae  <allan@archlinux.org>
43921         * version.h (RELEASE): Set to "development".
43922         (VERSION): Set to "2.19.90"
43923         * NEWS: Add 2.20 section.
43925 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
43927         [BZ #16529]
43928         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
43930 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
43932         * manual/contrib.texi: Update entry for Carlos O'Donell,
43933         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
43935 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
43937         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
43939         * sysdeps/unix/sysv/linux/kernel-features.h
43940         [__LINUX_KERNEL_VERSION >= 0x020621]
43941         (__ASSUME_PROC_PID_TASK_COMM): Define.
43943 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43945         [BZ #16398]
43946         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
43947         conversion when destination buffer does not have enough space.
43948         * libio/tst-ftell-partial-wide.c: New test case.
43949         * libio/Makefile (tests): Add tst-ftell-partial-wide.
43951         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
43952         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
43953         Leonard and Allan McRae.
43955 2014-02-04  David S. Miller  <davem@davemloft.net>
43957         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
43958         32-bit.
43960 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
43963         New file
43964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
43965         New file
43966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
43967         New file.
43968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
43969         New file.
43970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
43971         New file.
43972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
43973         New file.
43974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
43975         New file.
43976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
43977         New file.
43978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
43979         New file.
43980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
43981         New file.
43982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
43983         New file.
43984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
43985         New file.
43986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
43987         New file.
43989 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43991         * nptl/shlib-versions: Change powerpc*le start to 2.17.
43992         * shlib-versions: Likewise.
43994 2014-02-04  Roland McGrath  <roland@hack.frob.com>
43995             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43997         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
43998         (abilist-pattern): New variable, set to %-le.abilist.
44000         * Makerules (abilist-pattern): New variable.
44001         (vpath): Use $(abilist-pattern) in place of %.abilist.
44002         (check-abi-% pattern rule): Likewise.
44003         (check-abi, update-abi): Likewise.
44005 2014-02-04  Eric Wong  <normalperson@yhbt.net>
44007         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44009 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
44011         * manual/startup.texi: Add next, previous, and top entries for
44012         the `Program Arguments' and `Environment Variables' nodes.
44014 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
44016         * manual/macros.texi: Add comments before MTASC-safety macros.
44018         * manual/users.texi: Document MTASC-safety properties.
44020         * manual/threads.texi (pthread_key_create, pthread_key_delete)
44021         (pthread_getspecific, pthread_setspecific): Format with
44022         @deftypefun, and add @safety note.
44023         * manual/signal.texi: Move comments that analyze the above
44024         functions to their home place.
44026 2014-02-03  Allan McRae  <allan@archlinux.org>
44028         * po/sl.po: Update Slovenian translation from translation project.
44030 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
44032         * manual/time.texi (timegm): Add missing blank after @c.
44033         Reported by Joseph Myers <joseph@codesourcery.com>.
44035 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
44037         * manual/check-safety.sh: New.
44038         * manual/Makefile ($(objpfx)stamp-summary): Run it.
44040         * manual/terminal.texi: Document MTASC-safety properties.
44042         * manual/filesys.texi: Document MTASC-safety properties.
44044         * manual/errno.texi: Document MTASC-safety properties.
44046         * manual/intro.texi: Document safety identifiers and
44047         conditionals.
44049         * manual/string.texi (wcstok): Fix prototype.
44050         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
44052         * manual/time.texi: Document MTASC-safety properties.
44054         * manual/string.texi: Document MTASC-safety properties.
44056         * manual/threads.texi: Document MTASC-safety properties.
44058         * manual/stdio.texi: Document MTASC-safety properties.
44060         * manual/syslog.texi: Document MTASC-safety properties.
44062         * manual/sysinfo.texi: Document MTASC-safety properties.
44064         * manual/startup.texi: Document MTASC-safety properties.
44066         * manual/socket.texi: Document MTASC-safety properties.
44068         * manual/signal.texi: Document MTASC-safety properties.
44070 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
44072         * manual/setjmp.texi: Document MTASC-safety properties.
44074         * manual/search.texi: Document MTASC-safety properties.
44076         * manual/resource.texi: Document MTASC-safety properties.
44078         * manual/process.texi: Document MTASC-safety properties.
44080         * manual/platform.texi: Document MTASC-safety properties.
44082         * manual/pipe.texi: Document MTASC-safety properties.
44084         * manual/pattern.texi: Document MTASC-safety properties.
44086         * manual/message.texi: Document MTASC-safety properties.
44088         [BZ #12751]
44089         * manual/memory.texi: Document MTASC-safety properties.
44091         * manual/math.texi: Document MTASC-safety properties.
44093         * manual/locale.texi: Document MTASC-safety properties.
44095         * manual/llio.texi: Document MTASC-safety properties.
44097         * manual/libdl.texi: New.
44099         * manual/lang.texi: Document MTASC-safety properties.
44101         * manual/job.texi: Document MTASC-safety properties.
44103         * manual/getopt.texi: Document MTASC-safety properties.
44105         * manual/ctype.texi: Document MTASC-safety properties.
44107 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
44109         [BZ #16046]
44110         * csu/libc-tls.c (static_map): Remove variable.
44111         (__libc_setup_tls): Use main executable's link map for TLS data.
44112         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
44113         casing for LM_ID_BASE and GL(dl_nns).
44114         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
44115         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
44116         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
44117         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
44118         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
44119         member.
44120         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
44121         l_phnum members.
44123 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
44125         * manual/debug.texi: Document MTASC-safety properties.
44127 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
44129         [BZ #16510]
44130         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
44131         of __x86_64__ when disabling x87 inline functions.
44133 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
44135         * manual/charset.texi: Document MTASC-safety properties.
44137         * manual/crypt.texi: Document MTASC-safety properties.
44139         * manual/conf.texi: Document MTASC-safety properties.
44141         * manual/arith.texi: Document MTASC-safety properties.
44143         * manual/argp.texi: Document MTASC-safety properties.
44145         * manual/macros.texi: Introduce macros to document multi
44146         thread, asynchronous signal and asynchronous cancellation
44147         safety properties.
44148         * manual/intro.texi: Introduce the properties themselves.
44150 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44152         * sysdeps/sh/sh4/Makefile: New file.
44154 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
44156         * math/gen-libm-test.pl ($srcdir): New variable.
44157         ($auto_input): Use it.
44159 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
44161         [BZ #16506]
44162         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
44163         access beyond array bounds when parsing netgroups file.
44165         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
44166         the old buffer before realloc.
44168 2014-01-27  Allan McRae  <allan@archlinux.org>
44170         * po/fr.po: Update French translation from translation project.
44172 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44174         * sysdeps/sh/libm-test-ulps: Regenerate.
44176 2014-01-24  David S. Miller  <davem@davemloft.net>
44178         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
44180 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44182         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
44183         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
44185 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
44187         [BZ #16474]
44188         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
44189         string pointers after reallocation.
44191 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44193         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
44194         __SH4A__ instead of __SH_FPU_ANY__.
44196 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44198         * sysdeps/sh/fpu_control.h: New file.
44199         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
44200         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
44201         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
44202         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
44203         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
44204         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
44205         * sysdeps/sh/sys/ucontext.h: Remove.
44206         * sysdeps/sh/sys: Remove directory.
44208 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44210         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
44211         s390/sys/ucontext.h.
44212         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
44213         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
44215 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
44217         [BZ #15605]
44218         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
44220 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44222         [BZ#16431]
44223         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
44224         Adjust the vDSO correctly for internal calls.
44225         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
44227 2014-01-20  Allan McRae  <allan@archlinux.org>
44229         * po/ca.po: Update Catalan translation from translation project.
44231 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
44233         * sysdeps/s390/sotruss-lib.c: New file.
44235 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44237         [BZ#16430]
44238         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
44239         (__GI___gettimeofday): Alias for a different internal symbol to avoid
44240         local calls issues by not having a PLT stub required for IFUNC calls.
44241         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
44243 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
44245         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
44246         * math/test-fpucw-static.c: Likewise.
44248 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44250         [BZ #16453]
44251         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
44253 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44255         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
44256         implementation for powerpc.
44258 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
44260         [BZ #14782]
44261         * sysdeps/posix/system.c (__libc_system): Do not enable
44262         asynchronous cancellation.
44264 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44266         [BZ #16427]
44267         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
44268         handling only for numbers special also in the IEEE case.
44270 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44272         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
44274 2014-01-11  Allan McRae  <allan@archlinux.org>
44276         * po/bg.po: Update Bulgarian translation from translation project.
44278         * po/de.po: Update German translation from translation project.
44280 2014-01-10  Roland McGrath  <roland@hack.frob.com>
44282         * sysdeps/generic/gcc-compat.h: New file.
44284 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44286         * benchtests/asin-inputs: Correct slow inputs.
44287         * benchtests/acos-inputs: Likewise.
44289 2014-01-10  Allan McRae  <allan@archlinux.org>
44291         * po:sv.po: Update Swedish translation from translation project.
44293         * po/vi.po: Update Vietnamese translation from translation project.
44295         * po/eo.po: Update Esperanto translation from translation project.
44297         * po/cs.po: Update Czech translation from translation project.
44299         * po/nl.po: Update Dutch translation from translation project.
44301         * po/pl.po: Update Polish translation from translation project.
44303         * po/ru.po: Update Russian translation from translation project.
44305         * po/uk.po: Update Ukrainian translation from translation project.
44307 2014-01-08  Brooks Moses  <bmoses@google.com>
44309         * elf/dl-load.c: Fix comment typo.
44311 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
44313         * po/header.pot: Rename to...
44314         * po/pot.header: ... this.
44315         * po/Makefile: Use pot.header.
44317 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
44318             Maxim Kuvyrkov  <maxim@kugelworks.com>
44320         [BZ #16394]
44321         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
44322         SRC and DEST against LEN.
44324 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44326         [BZ #16414]
44327         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
44328         implementation.
44329         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
44331 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44333         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44335 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
44337         [BZ #16408]
44338         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
44339         for large positive arguments.
44341 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
44343         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
44345         * math/auto-libm-test-in: Mark various tests with
44346         xfail-rounding:ldbl-128ibm.
44347         * math/auto-libm-test-out: Regenerated.
44349         [BZ #16407]
44350         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
44351         Increase overflow threshold.
44353 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
44355         [BZ #14286]
44356         * stdio-common/vfprintf.c: Check for integer overflow.
44358 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44360         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
44361         the first argument and return value of __tls_get_addr_internal.
44363 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44365         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
44366         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
44368 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44370         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
44371         * sysdeps/s390/rtld-global-offsets.sym: New file.
44372         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
44373         GLIBC_2.19 symbol.
44374         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
44375         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
44376         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
44377         ... this.
44378         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
44379         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
44380         ... this.
44381         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
44382         Regenerate.
44383         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
44384         Regenerate.
44385         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
44386         halfs of GPRs for high_gprs contexts.
44387         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
44388         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
44389         field.
44390         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
44391         uc_flags field.
44392         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
44393         64 bit versions:
44394         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
44395         for high GPRs (uc_high_gprs) and for future extensions
44396         (__reserved).
44397         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
44398         for future extensions (__reserved).
44399         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
44400         64 bit versions:
44401         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
44402         SC_HIGHGPRS offset definition.
44403         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
44404         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
44406         * Versions.def: Add GLIBC_2.19 for libpthread.
44407         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
44408         siglongjmp for libpthread with GLIBC_2.19 symver.
44409         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
44410         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
44411         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
44412         * sysdeps/s390/__longjmp.c: New file.
44413         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
44414         * sysdeps/s390/longjmp.c: New file.
44415         * sysdeps/s390/setjmp.S: New file.
44416         * sysdeps/s390/sigjmp.S: New file.
44417         * sysdeps/s390/v1-longjmp.c: New file.
44418         * sysdeps/s390/v1-setjmp.h: New file.
44419         * sysdeps/s390/v1-sigjmp.c: New file.
44420         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
44421         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
44422         GLIBC_2.19 version.
44423         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
44424         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
44425         versioned symbols for ____longjmp_chk.
44426         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
44427         Likewise.
44428         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
44429         Regenerate.
44430         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44431         Regenerate.
44432         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
44433         Regenerate.
44434         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44435         Regenerate.
44436         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
44437         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
44438         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
44439         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
44440         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
44441         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
44442         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
44443         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
44444         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
44445         * sysdeps/s390/rtld-__longjmp.c: New file.
44446         * sysdeps/s390/rtld-setjmp.S: New file.
44448 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
44450         [BZ #16400]
44451         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
44452         Return -__logl (x) for small positive arguments without evaluating
44453         a polynomial.
44455 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
44457         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
44458         Rename to ...
44459         (__ptrace_peeksiginfo_args): ... this.
44460         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44461         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44462         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44464 2014-01-06  Allan McRae  <allan@archlinux.org>
44466         * inet/netinet/in.h: Fix typo in comment.
44468 2014-01-05  Andreas Jaeger  <aj@suse.de>
44470         * sysdeps/i386/fpu/libm-test-ulps: Update.
44472 2014-01-05  Allan McRae  <allan@archlinux.org>
44474         * po/libc.pot: Regenerated.
44476         * malloc/memusagestat.c: Fix gettext call formatting.
44478 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
44480         * nscd/nscd.c: Improve usage() output.
44482 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
44484         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
44485         * sysdeps/unix/sysv/linux/configure: Regenerated.
44486         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
44487         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
44489 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
44491         [BZ #16390]
44492         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
44493         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
44495 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44497         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
44498         extra tokens at end of #undef directive.
44499         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
44500         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
44501         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
44503 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
44505         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
44507         * math/auto-libm-test-in: Mark various tests with
44508         xfail-rounding:ldbl-128ibm.
44509         * math/auto-libm-test-out: Regenerated.
44511 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
44513         [BZ #16386]
44514         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
44515         numbers with subnormal high part when calculating exponent.
44517         [BZ #16385]
44518         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
44519         fabs.
44521         [BZ #16384]
44522         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
44523         M_LN2l.
44524         (__ieee754_acoshl): Use __log1pl not __log1p.
44526 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
44528         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
44529         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
44530         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
44531         (grow_heap, heap_trim, _int_new_arena, get_free_list)
44532         (reused_arena, arena_get2): Convert to GNU style.
44533         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
44534         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
44535         (memalign_check, __malloc_set_state): Likewise.
44536         * malloc/mallocbug.c (main): Likewise.
44537         * malloc/malloc.c (__malloc_assert, malloc_init_state)
44538         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
44539         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
44540         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
44541         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
44542         (__posix_memalign, malloc_info): Likewise.
44543         * malloc/malloc.h: Likewise.
44544         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
44545         (mallochook, memalignhook, reallochook, mabort): Likewise.
44546         * malloc/mcheck.h: Likewise.
44547         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
44548         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
44549         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
44550         * malloc/morecore.c (__default_morecore): Likewise.
44551         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
44552         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
44553         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
44554         (print_and_abort): Likewise.
44555         * malloc/obstack.h: Likewise.
44556         * malloc/set-freeres.c (__libc_freeres): Likewise.
44557         * malloc/tst-mallocstate.c (main): Likewise.
44558         * malloc/tst-mtrace.c (main): Likewise.
44559         * malloc/tst-realloc.c (do_test): Likewise.
44561 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44563         [BZ #16366]
44564         * nscd/netgroupcache.c (do_notfound): New function.
44565         (addgetnetgrentX): Use it.
44567         [BZ # 16365]
44568         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
44569         NSS_STATUS_NOTFOUND.
44571 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
44573         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
44574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44576 2014-01-01  Allan McRae  <allan@archlinux.org>
44578         * scripts/update-copyrights: Update configure input file suffix.
44580         * NEWS: Update copyright year.
44581         * catgets/gencat.c: Likewise.
44582         * csu/version.c: Likewise.
44583         * debug/catchsegv.sh: Likewise.
44584         * debug/pcprofiledump.c: Likewise.
44585         * debug/xtrace.sh: Likewise.
44586         * elf/ldconfig.c: Likewise.
44587         * elf/ldd.bash.in: Likewise.
44588         * elf/pldd.c: Likewise.
44589         * elf/sotruss.ksh: Likewise.
44590         * elf/sprof.c: Likewise.
44591         * iconv/iconv_prog.c: Likewise.
44592         * iconv/iconvconfig.c: Likewise.
44593         * locale/programs/locale.c: Likewise.
44594         * locale/programs/localedef.c: Likewise.
44595         * login/programs/pt_chown.c: Likewise.
44596         * malloc/memusage.sh: Likewise.
44597         * malloc/memusagestat.c: Likewise.
44598         * malloc/mtrace.pl: Likewise.
44599         * manual/libc.texinfo: Likewise.
44600         * nscd/nscd.c: Likewise.
44601         * nss/getent.c: Likewise.
44602         * nss/makedb.c: Likewise.
44603         * posix/getconf.c: Likewise.
44604         * scripts/test-installation.pl: Likewise.
44606         * All files with FSF copyright notices: Update copyright dates
44607         using scripts/update-copyrights.
44608         * intl/plural.c: Regenerated.
44609         * locale/programs/charmap-kw.h: Likewise.
44610         * locale/programs/locfile-kw.h: Likewise.
44612 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
44614         * sysdeps/unix/sysv/linux/configure: Regenerated.
44615         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
44616         the linux/fanotify.h header.
44617         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
44618         HAVE_LINUX_FANOTIFY_H is defined.
44620 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
44622         * benchtests/cos-inputs: New inputs.
44623         * benchtests/sin-inputs: Likewise.
44625         * benchtests/atan-inputs: New inputs. Fix name of multiple
44626         precision fallback inputs.
44628         * benchtests/atanh-inputs: New inputs.
44629         * benchtests/tanh-inputs: Likewise.
44631         * benchtests/acosh-inputs: New inputs.
44632         * benchtests/asinh-inputs: Likewise.
44634         * benchtests/cosh-inputs: New inputs.
44635         * benchtests/sinh-inputs: Likewise.
44637         * benchtests/acos-inputs: Add more inputs.
44638         * benchtests/asin-inputs: Likewise.
44640 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
44642         [BZ #16375]
44643         * manual/arith.texi: Fix spelling.
44644         * manual/charset.texi: Likewise.
44645         * manual/errno.texi: Likewise.
44646         * manual/filesys.texi: Likewise.
44647         * manual/lang.texi: Likewise.
44648         * manual/llio.texi: Likewise.
44649         * manual/locale.texi: Likewise.
44650         * manual/message.texi: Likewise.
44651         * manual/resource.texi: Likewise.
44652         * manual/search.texi: Likewise.
44653         * manual/setjmp.texi: Likewise.
44654         * manual/stdio.texi: Likewise.
44655         * manual/string.texi: Likewise.
44656         * manual/sysinfo.texi: Likewise.
44657         * manual/time.texi: Likewise.
44659 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
44661         * po/sl.po: New file.
44663 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
44665         * .gitignore: Add core/.gdbinit/.gdb_history.
44667 2013-12-27  Allan McRae  <allan@archlinux.org>
44669         [BZ #16369]
44670         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
44671         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
44673 2013-12-24  Brooks Moses  <bmoses@google.com>
44675         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
44676         all compilers that claim C++98 compliance, not just GCC.
44677         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
44678         Likewise.
44680 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
44682         * NEWS: Restore accidentally deleted bug-fix entries.
44684 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
44685             Ondřej Bílka  <neleai@seznam.cz>
44687         [BZ #15073]
44688         * malloc/malloc.c (_int_free): Perform sanity check only if we
44689         have_lock.
44691 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
44693         [BZ #12986]
44694         * manual/stdio.texi (String Input Conversions): Clarify that character
44695         classes are not supported.
44697 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44699         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44701 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
44703         [BZ #16337]
44704         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
44705         Calculate results for small negative arguments directly rather
44706         than using reflection formula with special underflow handling.
44708         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
44709         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
44710         sysdeps/unix/bsd/bsd4.4/syscalls.list.
44711         (fchflags): Likewise.
44712         (revoke): Likewise.
44713         (setlogin): Likewise.
44714         (sigaltstack): Likewise.
44715         (wait4): Likewise.
44716         (sigblock): Remove.
44717         (sigsetmask): Likewise.
44718         (wait3): Likewise.
44719         (waitpid): Likewise.
44720         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
44721         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
44722         file.
44723         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
44724         * sysdeps/unix/bsd/Makefile: ... here.
44725         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
44726         * sysdeps/unix/bsd/Versions: ... here.
44727         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
44728         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
44729         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
44730         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
44731         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
44732         * sysdeps/unix/bsd/sigblock.c: ... here.
44733         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
44734         * sysdeps/unix/bsd/sigsetmask.c: ... here.
44735         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
44736         * sysdeps/unix/bsd/sigvec.c: ... here.
44737         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
44738         * sysdeps/unix/bsd/tcdrain.c: ... here.
44739         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
44740         * sysdeps/unix/bsd/tcgetattr.c: ... here.
44741         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
44742         * sysdeps/unix/bsd/tcsetattr.c: ... here.
44743         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
44744         * sysdeps/unix/bsd/wait.c: ... here.
44745         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
44746         * sysdeps/unix/bsd/wait3.c: ... here.
44747         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
44748         * sysdeps/unix/bsd/waitpid.c: ... here.
44750 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
44752         [BZ #16356]
44753         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
44754         round-to-nearest for [!USE_AS_EXPM1L].
44755         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
44756         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
44757         more tests of exp and exp10.  Expect some exp10 tests to miss
44758         exceptions or fail in directed rounding modes.
44759         * math/auto-libm-test-out: Regenerated.
44760         * math/libm-test.inc (exp10_tonearest_test_data): New array.
44761         (exp10_test_tonearest): New function.
44762         (exp10_towardzero_test_data): New array.
44763         (exp10_test_towardzero): New function.
44764         (exp10_downward_test_data): New array.
44765         (exp10_test_downward): New function.
44766         (exp10_upward_test_data): New array.
44767         (exp10_test_upward): New function.
44768         (main): Call the new functions.
44769         * sysdeps/i386/fpu/libm-test-ulps: Update.
44770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44772 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
44774         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
44775         asinh, atan, atan2, atanh, cbrt, cos and cosh.
44776         * math/auto-libm-test-out: Regenerated.
44777         * math/libm-test.inc (acosh_test_data): Add more tests.
44778         (atanh_test_data): Likewise.
44779         (ceil_test_data): Likewise.
44780         (copysign_test_data): Likewise.
44781         * sysdeps/i386/fpu/libm-test-ulps: Update.
44782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44784         * timezone/checktab.awk: Update from tzcode 2013i.
44785         * timezone/private.h: Likewise.
44786         * timezone/scheck.c: Likewise.
44787         * timezone/tzfile.h: Likewise.
44788         * timezone/tzselect.ksh: Likewise.
44789         * timezone/zdump.c: Likewise.
44790         * timezone/zic.c: Likewise.
44792         * math/auto-libm-test-in: Add tests of cpow.
44793         * math/auto-libm-test-out: Regenerated.
44794         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
44795         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44796         mpc_cc_c.
44797         (func_calc_desc): Add mpc_cc_c union field.
44798         (test_functions): Add cpow.
44799         (special_fill_2pi): New function.
44800         (special_real_inputs): Add 2pi.
44801         (calc_generic_results): Handle mpc_cc_c.
44802         * sysdeps/i386/fpu/libm-test-ulps: Update.
44803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44805         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
44806         csqrt, ctan and ctanh.
44807         * math/auto-libm-test-out: Regenerated.
44808         * math/libm-test.inc (TEST_COND_x86_64): New macro.
44809         (TEST_COND_x86): Likewise.
44810         (ccos_test_data): Use AUTO_TESTS_c_c.
44811         (ccosh_test_data): Likewise.
44812         (cexp_test_data): Likewise.
44813         (clog_test_data): Likewise.
44814         (csqrt_test_data): Likewise.
44815         (ctan_test_data): Likewise.
44816         (ctan_tonearest_test_data): Likewise.
44817         (ctan_towardzero_test_data): Likewise.
44818         (ctan_downward_test_data): Likewise.
44819         (ctan_upward_test_data): Likewise.
44820         (ctanh_test_data): Likewise.
44821         (ctanh_tonearest_test_data): Likewise.
44822         (ctanh_towardzero_test_data): Likewise.
44823         (ctanh_downward_test_data): Likewise.
44824         (ctanh_upward_test_data): Likewise.
44825         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44826         mpc_c_c.
44827         (func_calc_desc): Add mpc_c_c union field.
44828         (FUNC_mpc_c_c): New macro.
44829         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
44830         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
44831         ctanh.
44832         (special_fill_min_subnorm_p120): New function.
44833         (special_real_inputs): Add min_subnorm_p120.
44834         (calc_generic_results): Handle mpc_c_c.
44835         * sysdeps/i386/fpu/libm-test-ulps: Update.
44836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44838 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44840         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
44841         (do_sin_slow): New functions.
44842         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
44843         (cslow2, csloww1, csloww2): Use the new functions.
44845         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
44846         Use M to change sign of result instead of X.  Assume X is
44847         positive.
44848         (csloww1): Likewise.
44849         (__sin): Adjust.
44850         (__cos): Adjust.
44852         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
44853         arguments A and DA.
44854         (__sin): Adjust.
44855         (__cos): Likewise.
44857         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
44858         (__cos): Likewise.
44859         (sloww1): Don't adjust sign of DX.
44860         (csloww1): Likewise.
44861         (sloww2): Use X directly and don't adjust sign of DX.
44862         (csloww2): Likewise.
44864 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
44866         * math/auto-libm-test-in: Add tests of cabs and carg.
44867         * math/auto-libm-test-out: Regenerated.
44868         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
44869         (carg_test_data): Likewise.
44870         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44871         mpc_c_f.
44872         (func_calc_desc): Add mpc_c_f union field.
44873         (test_functions): Add cabs and carg.
44874         (calc_generic_results): Handle mpc_c_f.
44876         * sysdeps/powerpc/powerpc32/libgcc-compat.S
44877         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
44878         as a macro and a compat symbol.
44879         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
44880         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
44881         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
44882         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
44883         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
44884         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
44885         not use .hidden.
44886         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
44887         Likewise.
44888         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
44889         Likewise.
44890         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
44891         Likewise.
44892         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
44893         Likewise.
44894         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
44895         Likewise.
44896         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
44897         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
44898         from GLIBC_2.3.2.
44900 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44902         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44904 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
44906         * manual/texinfo.tex: Update to version 2013-11-26.10 with
44907         trailing whitespace removed.
44908         * scripts/config.guess: Update to version 2013-11-29.
44909         * scripts/config.sub: Update to version 2013-10-01.
44911         * math/auto-libm-test-in: Add tests of sincos.
44912         * math/auto-libm-test-out: Regenerated.
44913         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
44914         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44915         mpfr_f_11.
44916         (func_calc_desc): Add mpfr_f_11 union field.
44917         (test_functions): Add sincos.
44918         (calc_generic_results): Handle mpfr_f_11.
44919         * sysdeps/i386/fpu/libm-test-ulps: Update.
44920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44922 2013-12-19  Andreas Schwab  <schwab@suse.de>
44924         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
44925         CALL_MCOUNT.
44926         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
44927         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
44928         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
44930 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
44932         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
44933         * sysdeps/i386/fpu/libm-test-ulps: Update.
44934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44936         [BZ #16293]
44937         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
44938         round-to-nearest mode when using frndint.
44939         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
44940         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
44941         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
44942         Likewise.
44943         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
44944         sinh test to fail.
44945         * math/auto-libm-test-out: Regenerated.
44946         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
44947         (TEST_COND_x86): Likewise.
44948         (expm1_tonearest_test_data): New array.
44949         (expm1_test_tonearest): New function.
44950         (expm1_towardzero_test_data): New array.
44951         (expm1_test_towardzero): New function.
44952         (expm1_downward_test_data): New array.
44953         (expm1_test_downward): New function.
44954         (expm1_upward_test_data): New array.
44955         (expm1_test_upward): New function.
44956         (main): Run the new test functions.
44957         * sysdeps/i386/fpu/libm-test-ulps: Update.
44958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44960         * include/features.h: Update comment documenting feature test
44961         macros.  Mention _DEFAULT_SOURCE in comment.
44962         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
44963         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
44964         _BSD_SOURCE and _SVID_SOURCE.
44965         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
44966         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
44967         !_SVID_SOURCE]: Likewise.
44968         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
44969         (__USE_POSIX_IMPLICITLY): Define.
44970         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
44971         (_POSIX_SOURCE): Undefine and redefine.
44972         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
44973         (_POSIX_C_SOURCE): Likewise.
44974         * manual/creature.texi (_DEFAULT_SOURCE): Document.
44975         (Feature Test Macros): Update documentation of default features.
44977 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
44979         * benchtests/Makefile: Add bench-strtok.
44980         * benchtests/bench-strtok.c: New file: strtok benchtest.
44982 2013-12-19  Allan McRae  <allan@archlinux.org>
44984         * manual/install.texi: Suppress menu for plain text output.
44985         * INSTALL: Regenerated.
44987 2013-12-18  Brooks Moses  <bmoses@google.com>
44989         [BZ #15846]
44990         * misc/getauxval.c: Include errno.h.
44991         (__getauxval): Set errno to ENOENT if the requested type is not
44992         found.
44993         * misc/sys/auxv.h (getauxval): Document that it may set errno;
44994         don't declare with __attribute_const__.
44995         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
44996         * manual/startup.texi: Document that getauxval sets errno.
44998 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
45000         * math/auto-libm-test-in: Add tests of jn and yn.
45001         * math/auto-libm-test-out: Regenerated.
45002         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
45003         (yn_test_data): Likewise.
45004         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45005         mpfr_if_f.
45006         (func_calc_desc): Add mpfr_if_f union field.
45007         (FUNC_mpfr_if_f): New macro.
45008         (test_functions): Add jn and yn.
45009         (calc_generic_results): Assert type of second input for
45010         mpfr_ff_f.  Handle mpfr_if_f.
45011         (output_for_one_input_case): Disable all checking for arguments
45012         fitting floating-point types in case of an integer argument.
45013         * sysdeps/i386/fpu/libm-test-ulps: Update.
45014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
45017         Don't expect fegetround reference in libm.so.
45019 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45021         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
45022         $(config-cflags-nofma).
45024 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
45026         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
45027         * math/auto-libm-test-out: Regenerated.
45029         [BZ #16338]
45030         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
45031         to determine exponent and adjust argument to have exponent of -1.
45032         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
45033         log2.
45034         * math/auto-libm-test-out: Regenerated.
45035         * sysdeps/i386/fpu/libm-test-ulps: Update.
45036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45038 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
45040         * manual/probes.texi: Remove cases when per-thread arenas are
45041         disabled.
45043 2013-12-18  Andreas Schwab  <schwab@suse.de>
45045         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
45046         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
45047         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
45048         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
45049         * sysdeps/i386/i686/multiarch/Makefile: Update.
45050         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
45052 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
45054         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
45055         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
45057 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
45059         [BZ #15968]
45060         Support TZ transition times < 00:00:00.
45061         This is needed for version-3 tz-format files; it supports time
45062         stamps past 2037 for America/Godthab (the only entry in the tz
45063         database for which this change is relevant).
45064         * manual/time.texi (TZ Variable): Document transition times
45065         from -167:59:59 through -00:00:01.
45066         * time/tzset.c (tz_rule): Time of day is now signed.
45067         (__tzset_parse_tz): Parse negative time of day.
45069         Document TZ transition times >= 25:00:00.
45070         * manual/time.texi (TZ Variable): Document transition times from
45071         25:00:00 through 167:59:59.  These are already supported, and this
45072         support will help with version-3 tz-format files.
45074         * manual/time.texi (TZ Variable): Modernize North America example
45075         to reflect current (i.e., 2007-and-later) daylight saving rules.
45077         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
45079 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
45081         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
45082         * sysdeps/unix/bsd/bits/stat.h: Likewise.
45083         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
45084         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
45085         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
45086         * sysdeps/unix/bsd/bsdstat.h: Likewise.
45087         * sysdeps/unix/bsd/clock.c: Likewise.
45088         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
45089         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
45090         * sysdeps/unix/bsd/init-posix.c: Likewise.
45091         * sysdeps/unix/bsd/poll.c: Likewise.
45092         * sysdeps/unix/bsd/ptsname.c: Likewise.
45093         * sysdeps/unix/bsd/seekdir.c: Likewise.
45094         * sysdeps/unix/bsd/setegid.c: Likewise.
45095         * sysdeps/unix/bsd/seteuid.c: Likewise.
45096         * sysdeps/unix/bsd/setgid.c: Likewise.
45097         * sysdeps/unix/bsd/setrgid.c: Likewise.
45098         * sysdeps/unix/bsd/setruid.c: Likewise.
45099         * sysdeps/unix/bsd/setsid.c: Likewise.
45100         * sysdeps/unix/bsd/setuid.c: Likewise.
45101         * sysdeps/unix/bsd/sigaction.c: Likewise.
45102         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
45103         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
45104         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
45105         * sysdeps/unix/bsd/telldir.c: Likewise.
45106         * sysdeps/unix/bsd/times.c: Likewise.
45107         * sysdeps/unix/bsd/usleep.c: Likewise.
45109         * misc/Makefile (install-lib): Remove libbsd-compat.a.
45110         ($(objpfx)libbsd-compat.a): Remove rule.
45112         * include/features.h (__FAVOR_BSD): Do not define.
45113         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
45114         features conflicting with POSIX.
45115         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
45116         (_BSD_SOURCE): Remove description of not being a subset of other
45117         feature test macros.
45118         * manual/job.texi (getpgrp): Do not document BSD version.
45119         (getpgid): Do not document by reference to BSD getpgrp.
45120         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
45121         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
45122         * signal/signal.h [__FAVOR_BSD]: Likewise.
45123         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
45124         instead of making contents conditional on [__FAVOR_BSD].
45125         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
45127 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45129         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45131 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
45133         [BZ #16314]
45134         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
45135         values below 2**-450, not 2**-500.
45136         * math/auto-libm-test-in: Don't allow spurious underflow from
45137         hypot.
45138         * math/auto-libm-test-out: Regenerated.
45140         [BZ #16316]
45141         [BZ #16330]
45142         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
45143         values of ha and hb and sort them after adjusting subnormal
45144         arguments.
45145         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
45146         Likewise.
45147         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
45148         values of ea and eb and sort them after adjusting subnormal
45149         arguments.
45150         * math/auto-libm-test-in: Do not expect some hypot tests of
45151         subnormals to fail.  Add more hypot tests.
45152         * math/auto-libm-test-out: Regenerated.
45154 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45156         [BZ #13304]
45157         * sysdeps/sh/s_fma.c: New file.
45158         * sysdeps/sh/s_fmaf.c: New file.
45159         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
45160         version.
45161         * sysdeps/sh/Implies: Add sh/soft-fp.
45163 2013-12-16  Roland McGrath  <roland@hack.frob.com>
45165         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
45166         level of indirection to members `objname', `errstring', `malloced'.
45167         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
45168         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
45169         it as the __longjmp argument (just pass 1 instead).
45170         (_dl_catch_error): Initialize C with argument pointers and address of
45171         volatile local ERRCODE rather than copying values out of C at return.
45173 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
45175         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
45176         * math/auto-libm-test-out: Regenerated.
45177         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
45178         (hypot_test_data): Likewise.
45179         (pow_test_data): Likewise.
45180         (pow_tonearest_test_data): Likewise.
45181         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45182         mpfr_ff_f.
45183         (func_calc_desc): Add mpfr_ff_f union field.
45184         (FUNC_mpfr_ff_f): New macro.
45185         (test_functions): Add atan2, hypot and pow.
45186         (special_fill_min): New function.
45187         (special_fill_minus_min): Likewise.
45188         (special_fill_min_subnorm): Likewise.
45189         (special_fill_minus_min_subnorm): Likewise.
45190         (special_real_inputs): Add min, -min, min_subnorm and
45191         -min_subnorm.
45192         (calc_generic_results): Handle mpfr_ff_f.
45193         * sysdeps/i386/fpu/libm-test-ulps: Update.
45194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45196 2013-12-16  Will Newton  <will.newton@linaro.org>
45198         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
45199         (Aligned Memory Blocks): Add documentation for aligned_alloc
45200         and suggest it as an alternative to posix_memalign.
45201         (Hooks for Malloc): Document __memalign_hook is also called
45202         for aligned_alloc.  (Summary of Malloc): Add summary for
45203         aligned alloc.  Document __memalign_hook is also called
45204         for aligned_alloc.
45206 2013-12-16  Will Newton  <will.newton@linaro.org>
45208         * manual/memory.texi (Malloc Examples): Clarify default
45209         alignment documentation.  Suggest posix_memalign rather
45210         than memalign or valloc.
45211         (Aligned Memory Blocks): Remove suggestion to use memalign
45212         or valloc.  Remove obsolete comment about BSD.
45213         Document memalign errno values and mark the function obsolete.
45214         Document posix_memalign returned error codes.  Mark valloc
45215         as obsolete.  (Hooks for Malloc): __memalign_hook is also
45216         called for posix_memalign and valloc.
45217         (Summary of Malloc): Add posix_memalign to function summary.
45218         __memalign_hook is also called for posix_memalign and valloc.
45220 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
45222         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
45223         TAYLOR_SIN.
45224         (__sin): Adjust.
45225         (__cos): Likewise.
45226         (sloww): Use mynumber union.  Expand ternary operator into
45227         if-else statements.
45228         (cslow): use mynumber union.
45230 2013-12-16  Allan McRae  <allan@archlinux.org>
45232         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
45233         * configure: Regenerated.
45235         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
45237         [BZ #14120]
45238         * configure.ac: Added --enable-maintainer-mode. Check for
45239         autoconf when enabled.
45240         * configure: Regenerated.
45242         * nscd/nscd.service: New file.
45243         * nscd/nscd.tmpfiles: New file.
45245 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
45247         [BZ #12100]
45248         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
45249         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
45250         * sysdeps/x86_64/multiarch/strstr.c: ... here.
45251         (strstr): Add __strstr_sse2_unaligned ifunc.
45252         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
45253         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
45254         (strcasestr): Remove __strcasestr_sse42 ifunc.
45255         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
45256         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
45257         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
45259 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45261         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
45262         * sysdeps/sh/bits/fenv.h: ... here.
45263         * sysdeps/sh/sh4/fpu/bits: Remove directory.
45265 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45267         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
45269         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
45270         hypotf multiarch implementations.
45271         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
45272         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
45273         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
45274         multiarch hypot for PPC64.
45275         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
45276         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
45277         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
45278         multiarch hypotf for PPC64.
45280         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
45281         modff multiarch implementations.
45282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
45283         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
45284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
45285         multiarch modf for PPC64.
45286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
45287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
45288         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
45289         multiarch modff for PPC64.
45291         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
45292         and logl multiarch implementations.
45293         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
45294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
45295         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
45296         multiarch logb for PPC64.
45297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
45298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
45299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
45300         multiarch logb for PPC64.
45301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
45302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
45303         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
45304         multiarch logb for PPC64.
45306         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
45307         isinff multiarch implementation.
45308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
45309         file.
45310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
45311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
45312         multiarch isinf for PPC64.
45313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
45314         file.
45315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
45316         multiarch isinff for PPC64.
45318         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
45319         finitef multiarch implementation.
45320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
45321         file.
45322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
45323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
45324         multiarch finite for PPC64.
45325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
45326         file.
45327         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
45328         multiarch finitef for PPC64.
45330         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
45331         lrint multiarch implementation.
45332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
45333         file.
45334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
45335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
45336         multiarch llrint for PPC64.
45337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
45338         multiarch lrint for PPC64.
45340         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
45341         copysignf multiarch implementation.
45342         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
45343         file.
45344         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
45345         file.
45346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
45347         multiarch copysign for PPC64.
45348         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
45349         multiarch copysignf for PPC64.
45351         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
45352         multiarch implementation.
45353         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
45354         file.
45355         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
45356         file.
45357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
45358         file.
45359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
45360         file.
45361         multiarch llround for PPC64.
45362         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
45363         multiarch trunc for PPC64.
45364         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
45365         multiarch truncf for PPC64.
45367         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
45368         multiarch implementation.
45369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
45370         file.
45371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
45372         file.
45373         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
45374         file.
45375         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
45376         file.
45377         multiarch llround for PPC64.
45378         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
45379         multiarch round for PPC64.
45380         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
45381         multiarch roundf for PPC64.
45383         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
45384         multiarch implementation.
45385         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
45386         file.
45387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
45388         file.
45389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
45390         file.
45391         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
45392         file.
45393         multiarch llround for PPC64.
45394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
45395         multiarch floor for PPC64.
45396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
45397         multiarch floorf for PPC64.
45399         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
45400         multiarch implementation.
45401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
45402         file.
45403         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
45404         file.
45405         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
45406         file.
45407         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
45408         file.
45409         multiarch llround for PPC64.
45410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
45411         multiarch ceil for PPC64.
45412         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
45413         multiarch ceilf for PPC64.
45415         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
45416         multiarch implementation.
45417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
45418         file.
45419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
45420         file.
45421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
45422         file.
45423         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
45424         multiarch llround for PPC64.
45425         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
45426         multiarch lround for PPC64.
45428         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
45429         multiarch implementation.
45430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
45431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
45432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
45433         file.
45434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
45435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
45436         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
45437         multiarch isnan for PPC64.
45438         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
45439         multiarch isnanf for PPC64.
45441         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
45442         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
45443         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
45444         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
45445         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
45446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
45448         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
45449         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45450         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45451         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45453         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
45454         multiarch implementations.
45455         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45456         (__libc_ifunc_impl_list): Likewise.
45457         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
45458         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
45459         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
45460         multiarch stpcpy for PPC64.
45462         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
45463         multiarch implementations.
45464         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45465         (__libc_ifunc_impl_list): Likewise.
45466         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
45467         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
45468         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
45469         multiarch strcpy for PPC64.
45471         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
45472         redefine function name.
45473         (_wordcopy_fwd_dest_aligned): Likewise.
45474         (_wordcopy_bwd_aligned): Likewise.
45475         (_wordcopy_bwd_dest_aligned): Likewise.
45476         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
45477         multiarch implementations.
45478         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45479         (__libc_ifunc_impl_list): Likewise.
45480         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
45481         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
45482         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
45483         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
45484         multiarch wcscpy for PPC64.
45486         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
45487         multiarch implementations.
45488         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45489         (__libc_ifunc_impl_list): Likewise.
45490         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
45491         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
45492         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
45493         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
45494         multiarch wcscpy for PPC64.
45496         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
45497         multiarch implementations.
45498         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45499         (__libc_ifunc_impl_list): Likewise.
45500         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
45501         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
45502         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
45503         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
45504         multiarch wcsrchr for PPC64.
45506         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
45507         multiarch implementations.
45508         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45509         (__libc_ifunc_impl_list): Likewise.
45510         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
45511         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
45512         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
45513         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
45514         multiarch wcschr for PPC64.
45516         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
45517         multiarch implementations.
45518         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45519         (__libc_ifunc_impl_list): Likewise.
45520         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
45521         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
45522         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
45523         multiarch strchrnul for PPC64.
45525         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
45526         implementations.
45527         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45528         (__libc_ifunc_impl_list): Likewise.
45529         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
45530         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
45531         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
45532         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
45533         strchr for PPC64.
45535         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
45536         implementations.
45537         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45538         (__libc_ifunc_impl_list): Likewise.
45539         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
45540         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
45541         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
45542         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
45543         strncmp for PPC64.
45545         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
45546         multiarch implementations.
45547         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45548         (__libc_ifunc_impl_list): Likewise.
45549         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
45550         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
45551         strncasecmp for PPC64.
45552         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
45553         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
45554         multiarch strncasecmp_l for PPC64.
45556         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
45557         multiarch implementations.
45558         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45559         (__libc_ifunc_impl_list): Likewise.
45560         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
45561         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
45562         multiarch strcasecmp for PPC64.
45563         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
45564         file.
45565         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
45566         multiarch strcasecmp_l for PPC64.
45568         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
45569         implementations.
45570         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45571         (__libc_ifunc_impl_list): Likewise.
45572         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
45573         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
45574         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
45575         strnlen for PPC64.
45577         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
45578         implementations.
45579         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45580         (__libc_ifunc_impl_list): Likewise.
45581         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
45582         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
45583         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
45584         strlen for PPC64.
45586         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
45587         implementations.
45588         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45589         (__libc_ifunc_impl_list): Likewise.
45590         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
45591         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
45592         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
45593         rawmemrchr for PPC64.
45595         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
45596         implementation.
45597         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45598         (__libc_ifunc_impl_list): Likewise.
45599         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
45600         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
45601         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
45602         memrchr for PPC64.
45604         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
45605         implementation.
45606         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45607         (__libc_ifunc_impl_list): Likewise.
45608         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
45609         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
45610         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
45611         memchr for PPC64.
45613         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
45614         implementation.
45615         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45616         (__libc_ifunc_impl_list): Likewise.
45617         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
45618         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
45619         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
45620         mempcpy for PPC64.
45622         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
45623         avoid cretion of __bzero symbol.
45624         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
45625         Likewise.
45626         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
45627         Likewise.
45628         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
45629         Likewise.
45630         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
45631         multiarch implementations.
45632         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45633         (__libc_ifunc_impl_list): Likewise.
45634         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
45635         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
45636         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
45637         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
45638         bzero for PPC32.
45639         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
45640         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
45641         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
45642         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
45643         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
45644         memset for PPC64.
45645         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
45647         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
45648         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
45649         implementations.
45650         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45651         (__libc_ifunc_impl_list): Likewise.
45652         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
45653         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
45654         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
45655         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
45656         memcmp for PPC64.
45658         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
45659         multiarch for POWER/PPC64.
45660         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
45661         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
45662         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
45663         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
45664         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
45665         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
45666         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
45667         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
45668         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
45669         memcpy for PPC64.
45671         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
45672         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
45673         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
45674         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
45675         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
45676         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
45677         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
45678         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
45679         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
45680         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
45681         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
45682         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
45683         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
45684         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
45685         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
45686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
45687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
45688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
45689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
45690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
45691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
45692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
45694 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45696         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
45698 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
45700         * benchtests/Makefile (bench): Add exp2 and log2.
45701         (LDLIBS-bench-exp2): Add -lm.
45702         (LDLIBS-bench-log2): Likewise.
45703         * benchtests/exp2-inputs: New inputs file.
45704         * benchtests/log2-inputs: New inputs file.
45705         * benchtests/log-inputs: Add new inputs.
45706         * benchtests/tan-inputs: Likewise.
45708 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45710         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
45711         definition...
45712         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
45713         (csloww2): ... from here.
45715         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
45716         instead of structures.
45717         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
45718         (POLYNOMIAL): Likewise.
45719         (TAYLOR_SLOW): Likewise.
45720         (__sin): Likewise.
45721         (__cos): Likewise.
45722         (slow1): Likewise.
45723         (slow2): Likewise.
45724         (sloww): Likewise.
45725         (sloww1); Likewise.
45726         (sloww2): Likewise.
45727         (bsloww1): Likewise.
45728         (bsloww2): Likewise.
45729         (cslow2): Likewise.
45730         (csloww): Likewise.
45731         (csloww1): Likewise.
45732         (csloww2): Likewise.
45734 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
45736         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
45737         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
45738         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
45739         * malloc/hooks.c (realloc_check): Likewise.
45741         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
45742         * malloc/arena.c: Remove PER_THREAD conditional.
45743         [!PER_THREAD]: Remove code.
45744         (ptmalloc_unlock_all2): Likewise.
45745         (ptmalloc_init): Likewise.
45746         (_int_new_arena): Likewise.
45747         (arena_get2): Likewise.
45748         * malloc/hooks.c (__malloc_get_state): Likewise.
45749         (__malloc_set_state): Likewise.
45750         * malloc/malloc.c: Likewise.
45751         (struct malloc_state): Likewise.
45752         (struct malloc_par): Likewise.
45753         (__libc_realloc): Likewise.
45754         (__libc_mallopt): Likewise.
45756 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45758         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
45760 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
45762         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
45763         macro to a function.  Check for zero perturb_byte.
45764         (_int_malloc, _int_free): Remove zero perturb_byte checks.
45766         * malloc/malloc.c: (force_reg): Remove.
45767         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
45768         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
45769         force_reg by atomic_forced_read.
45770         * malloc/arena.c (ptmalloc_init): Likewise.
45771         * malloc/hooks.c (top_check): Likewise.
45773 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45775         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45777 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
45779         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45781 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
45783         * math/auto-libm-test-in: Add tests of lgamma.
45784         * math/auto-libm-test-out: Regenerated.
45785         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
45786         (M_LOG_2_SQRT_PIl): Likewise.
45787         (lgamma_test_data): Use AUTO_TESTS_f_f1.
45788         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45789         mpfr_f_f1.
45790         (func_calc_desc): Add mpfr_f_f1 union field.
45791         (ARGS1): New macro.
45792         (ARGS2): Likewise.
45793         (ARGS3): Likewise.
45794         (ARGS4): Likewise.
45795         (RET1): Likewise.
45796         (RET2): Likewise.
45797         (CALC): Likewise.
45798         (FUNC): Likewise.
45799         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
45800         (test_functions): Add lgamma.
45801         (calc_generic_results): Handle mpfr_f_f1.
45802         * sysdeps/i386/fpu/libm-test-ulps: Update.
45803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45805 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45807         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
45808         __mpn_add_n for PowerPC64/POWER7.
45809         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
45810         __mpn_sub_n for PowerPC64/POWER7.
45812         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
45813         __mpn_addmul_1 for PowerPC64.
45814         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
45815         __mpn_submul_1 for PowerPC64.
45816         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
45817         for PowerPC64.
45818         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
45819         for PowerPC64.
45821 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
45823         [BZ #15089]
45824         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
45826 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45828         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
45830         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
45831         add multiarch folders.
45832         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
45833         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
45834         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
45835         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
45836         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
45837         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
45838         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
45839         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
45840         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
45841         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
45842         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
45843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
45844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
45845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
45846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
45847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
45848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
45850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
45851         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
45852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
45853         New file.
45854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
45855         New file.
45856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
45857         multiarch __ieee754_hypot for PowerPC32.
45858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
45859         New file.
45860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
45861         New file.
45862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
45863         multiarch __ieee754_hypotf for PowerPC32.
45865         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
45866         long_double_symbol only if __logbl is defined.
45867         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
45868         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
45869         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
45870         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
45871         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
45872         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
45873         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
45874         path for implementation.
45875         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
45876         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
45877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
45878         logb, and logbl multiarch implementations for PowerPC32.
45879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
45880         file.
45881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
45882         file.
45883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
45884         multiarch logb for PowerPC32.
45885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
45886         file.
45887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
45888         file.
45889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
45890         multiarch logbf for PowerPC32.
45891         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
45892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
45893         file.
45894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
45895         multiarch logbl implementation for PowerPC32.
45897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
45898         and modff multiarch implementations.
45899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
45900         New file.
45901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
45902         New file.
45903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
45904         multiarch modf for PowerPC32.
45905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
45906         New file.
45907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
45908         New file.
45909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
45910         multiarch modff for PowerPC32.
45912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
45913         and lrintf multiarch implementations.
45914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
45915         New file.
45916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
45917         New file.
45918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
45919         multiarch lrint for PowerPC32.
45920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
45921         file: multiarch lrintf for PowerPC32.
45923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
45924         and lroundf multiarch implementations.
45925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
45926         New file.
45927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
45928         New file.
45929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
45930         New file.
45931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
45932         multiarch lround for PowerPC32.
45933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
45934         file: multiarch lroundf for PowerPC32.
45936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
45937         copysign and copysignf multiarch implementations.
45938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
45939         New file.
45940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
45941         New file.
45942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
45943         file: multiarch copysign for PowerPC32.
45944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
45945         file: multiarch copysignf for PowerPC32.
45947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
45948         and truncf multiarch implementations.
45949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
45950         New file.
45951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
45952         file.
45953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
45954         multiarch trunc for PowerPC32.
45955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
45956         New file.
45957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
45958         New file.
45959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
45960         multiarch truncf for PowerPC32.
45962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
45963         and roundf multiarch implementations.
45964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
45965         New file.
45966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
45967         file.
45968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
45969         multiarch round for PowerPC32.
45970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
45971         New file.
45972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
45973         New file.
45974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
45975         multiarch roundf for PowerPC32.
45977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
45978         and floorf multiarch implementations.
45979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
45980         New file.
45981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
45982         file.
45983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
45984         multiarch floor for PowerPC32.
45985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
45986         New file.
45987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
45988         New file.
45989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
45990         multiarch floorf for PowerPC32.
45992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
45993         and ceilf multiarch implementations.
45994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
45995         New file.
45996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
45997         file.
45998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
45999         multiarch ceil for PowerPC32.
46000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
46001         New file.
46002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
46003         file.
46004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
46005         multiarch ceilf for PowerPC32.
46007         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
46008         is defined.
46009         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
46010         FINITEF is defined.
46011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
46012         and finitef multiarch implementations.
46013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
46014         New file.
46015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
46016         file.
46017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
46018         multiarch finite for PowerPC32.
46019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
46020         New file.
46021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
46022         file: multiarch finitef for PowerPC32.
46024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
46025         and isinff multiarch implementations.
46026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
46027         file.
46028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
46029         file.
46030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
46031         multiarch isinf for PowerPC32.
46032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
46033         New file.
46034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
46035         multiarch isinff for PowerPC32.
46037         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
46038         alias when __isnan is defined.
46039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
46040         and isnanf multiarch implementations.
46041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
46042         file.
46043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
46044         file.
46045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
46046         file.
46047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
46048         file.
46049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
46050         multiarch isnan for PowerPC32.
46051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
46052         New file.
46053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
46054         New file.
46055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
46056         multiarch isnanf for PowerPC32.
46058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
46059         and sqrtf multiarch implementations.
46060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
46061         file.
46062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
46063         file.
46064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
46065         multiarch sqrt for PowerPC32.
46066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
46067         file.
46068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
46069         file.
46070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
46071         multiarch sqrtf for PowerPC32.
46073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
46074         and llroundf multiarch implementations.
46075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
46076         New file.
46077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
46078         New file.
46079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
46080         New file.
46081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
46082         file: multiarch llround for PowerPC32.
46083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
46084         file: multiarch llroundf for PowerPC32.
46086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
46087         multiarch PowerPC32 fpu implementations.
46088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
46089         New file.
46090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
46091         New file.
46092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
46093         multiarch llrint for PowerPC32.
46094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
46095         New file.
46096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
46097         New file.
46098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
46099         file.
46101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
46103         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
46104         file.
46105         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
46106         file.
46107         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
46108         file.
46109         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
46110         multiarch wordcopy for PPC32.
46111         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
46112         wordcopy objects.
46113         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46114         (__libc_ifunc_impl_list): Likewise.
46115         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
46116         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
46117         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
46118         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
46119         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
46120         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
46122         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
46123         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
46124         file.
46125         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
46126         file.
46127         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
46128         file.
46129         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
46130         multiarch wcscpy for PPC32.
46131         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
46132         multiarch objects.
46133         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46134         (__libc_ifunc_impl_list): Likewise.
46135         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
46136         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
46137         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
46138         sysdeps/powerpc/power6/wcscpy.c.
46140         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
46141         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
46142         file.
46143         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
46144         file.
46145         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
46146         file.
46147         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
46148         multiarch wcsrchr for PPC32.
46149         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
46150         multiarch objects.
46151         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46152         (__libc_ifunc_impl_list): Likewise.
46153         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
46154         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
46155         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
46156         sysdeps/powerpc/power6/wcsrchr.c.
46158         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
46159         file.
46160         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
46161         file.
46162         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
46163         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
46164         multiarch wcschr for PPc32.
46165         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
46166         multiarch objects.
46167         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46168         (__libc_ifunc_impl_list): Likewise.
46169         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
46170         * sysdeps/powerpc/power6/wcschr.c: ... to here.
46171         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
46172         sysdeps/powerpc/power6/wcschr.c.
46174         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
46175         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
46176         file.
46177         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
46178         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
46179         file: multiarch strchr for PPC32.
46180         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
46181         multiarch objects.
46182         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46183         (__libc_ifunc_impl_list): Likewise.
46185         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
46186         name.
46187         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
46188         file.
46189         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
46190         file.
46191         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
46192         multiarch strchrnul for PPC32.
46193         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
46194         multiarch objects.
46195         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46196         (__libc_ifunc_impl_list): Likewise.
46198         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
46199         file.
46200         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
46201         multiarch strncasecmp for PPC32.
46202         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
46203         file.
46204         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
46205         multiarch strncasecmp_l for PPC32.
46206         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
46207         strncasecmp multiarch objects.
46208         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46209         (__libc_ifunc_impl_list): Likewise.
46211         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
46212         file.
46213         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
46214         multiarch strncasecmp for PPC32.
46215         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
46216         New file.
46217         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
46218         multiarch strcasecmp_l for PPC32.
46219         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
46220         multiarch objects.
46221         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46222         (__libc_ifunc_impl_list): Likewise.
46224         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
46225         file.
46226         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
46227         file.
46228         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
46229         multiarch strncmp for PPC32.
46230         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
46231         multiarch objects.
46232         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46233         (__libc_ifunc_impl_list): Likewise.
46235         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
46236         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
46237         file.
46238         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
46239         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
46240         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
46241         multiarch objects.
46242         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46243         (__libc_ifunc_impl_list): Likewise.
46245         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
46246         file.
46247         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
46248         file.
46249         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
46250         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
46251         multiarch objects.
46252         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46253         (__libc_ifunc_impl_list): Likewise.
46255         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
46256         file.
46257         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
46258         file.
46259         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
46260         multiarch rawmemchr for PPC32.
46261         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
46262         multiarch objects.
46263         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46264         (__libc_ifunc_impl_list): Likewise.
46266         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
46267         file.
46268         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
46269         file.
46270         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
46271         file: memrchr multiarch for PPC32.
46272         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
46273         multiarch objects.
46274         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46275         (__libc_ifunc_impl_list): Likewise.
46277         * string/memchr.c (__memchr): Using macro to redefine symbol name.
46278         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
46279         file.
46280         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
46281         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
46282         multiarch memchr for PPC32.
46283         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
46284         multiarch objects.
46285         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46286         (__libc_ifunc_impl_list): Likewise.
46288         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
46289         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
46290         file.
46291         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
46292         file.
46293         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
46294         file: multiarch mempcpy for PPC32.
46295         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
46296         multiarch objects.
46297         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46298         (__libc_ifunc_impl_list): Likewise.
46300         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
46301         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
46302         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
46303         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
46304         multiarch bzero for PPC32.
46305         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
46306         file.
46307         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
46308         file.
46309         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
46310         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
46311         file: multiarch memset for PPC32.
46312         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
46313         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
46314         memset multiarch objects.
46315         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46316         (__libc_ifunc_impl_list): Likewise.
46318         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
46319         file.
46320         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
46321         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
46322         memcmp for PPC32.
46323         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
46324         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
46325         multiarch objects.
46326         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46327         (__libc_ifunc_impl_list): Likewise.
46329         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
46330         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
46331         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
46332         file.
46333         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
46334         file.
46335         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
46336         file.
46337         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
46338         multiarch memcpy for PPC32.
46339         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
46340         multiarch objects.
46341         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46342         (__libc_ifunc_impl_list): Likewise.
46344         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
46345         support multiarch for POWER/PPC32.
46346         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
46347         Likewise.
46348         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
46349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
46350         Implies file to make multiarch folder appers before the fpu and
46351         default folder for power4 configuration.
46353 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
46355         * scripts/bench.pl: Append volatile keyword to type.
46357 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46359         * sysdeps/sh/sotruss-lib.c: New file.
46360         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
46362 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46364         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46366 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
46368         [BZ #6810]
46369         * math/w_tgamma.c: Include <errno.h>.
46370         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
46371         * math/w_tgammaf.c: Include <errno.h>.
46372         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
46373         * math/w_tgammal.c: Include <errno.h>.
46374         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
46375         * math/auto-libm-test-in: Do not allow missing errno on tgamma
46376         underflow.  Add more tgamma tests.
46377         * math/auto-libm-test-out: Regenerated.
46378         * sysdeps/i386/fpu/libm-test-ulps: Update.
46379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46381         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
46382         sin, sinh, tan, tanh, tgamma, y0 and y1.
46383         * math/auto-libm-test-out: Regenerated.
46384         * math/libm-test.inc (TEST_COND_x86_64): New macro.
46385         (TEST_COND_x86): Likewise.
46386         (M_E2l): Remove macro.
46387         (M_E3l): Likewise.
46388         (M_2_SQRT_PIl): Likewise.
46389         (M_SQRT_PIl): Likewise.
46390         (M_1_DIV_El): Likewise.
46391         (log_test_data): Use AUTO_TESTS_f_f.
46392         (log10_test_data): Likewise.
46393         (log1p_test_data): Likewise.
46394         (log2_test_data): Likewise.
46395         (sin_test_data): Likewise.
46396         (sin_tonearest_test_data): Likewise.
46397         (sin_towardzero_test_data): Likewise.
46398         (sin_downward_test_data): Likewise.
46399         (sin_upward_test_data): Likewise.
46400         (sinh_test_data): Likewise.
46401         (sinh_tonearest_test_data): Likewise.
46402         (sinh_towardzero_test_data): Likewise.
46403         (sinh_downward_test_data): Likewise.
46404         (sinh_upward_test_data): Likewise.
46405         (tan_test_data): Likewise.
46406         (tan_tonearest_test_data): Likewise.
46407         (tan_towardzero_test_data): Likewise.
46408         (tan_downward_test_data): Likewise.
46409         (tan_upward_test_data): Likewise.
46410         (tanh_test_data): Likewise.
46411         (tgamma_test_data): Likewise.
46412         (y0_test_data): Likewise.
46413         (y1_test_data): Likewise.
46414         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
46415         (special_real_inputs): Add pi/4.
46416         * sysdeps/i386/fpu/libm-test-ulps: Update.
46417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46419 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46421         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
46422         "longjmp_target" static probes.
46423         (__longjmp): Rename to __longjmp_symbol.
46424         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
46425         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
46426         on which longjmp to generate.
46427         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
46428         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
46429         probe.
46430         (__sigsetjmp): Rename to __sigsetjmp_symbol.
46431         (__sigjmp_save): Rename to __sigjmp_save_symbol.
46432         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
46433         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
46434         and __sigjmp_save_symbol based on which sigsetjmp to generated.
46435         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
46436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
46437         __longjmp_symbol based on which __longjmp to generate.
46438         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
46439         probe.
46440         (setjmp): Rename to setjmp_symbol.
46441         (__sigsetjmp): Rename to __sigsetjmp_symbol.
46442         (_setjmp): Rename to _setjmp_symbol.
46443         (__sigsetjmp): Rename to __sigsetjmp_symbol.
46444         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
46445         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
46446         which setjmp to generate.
46447         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
46448         "longjmp_target" static probes.
46450 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
46452         * benchtests/README: Add note about output arguments.
46453         * benchtests/bench-sincos.c: Remove file.
46454         * benchtests/sincos-inputs: New file.
46455         * scripts/bench.pl: Identify output arguments and define
46456         static variables for them.
46458         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
46460         [BZ #15941]
46461         * Makefile (INSTALL): Add install-plain.texi as the primary
46462         dependency.
46463         * manual/install-plain.texi: New file.
46464         * manual/install.texi: Include node directive only for
46465         non-plaintext output.
46467 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
46469         * stdlib/longlong.h: Update from GCC.
46471         [BZ #6807]
46472         [BZ #15901]
46473         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
46474         * math/w_j0f.c (y0f): Likewise.
46475         * math/w_j0l.c (__y0l): Likewise.
46476         * math/w_j1.c (y1): Likewise.
46477         * math/w_j1f.c (y1f): Likewise.
46478         * math/w_j1l.c (__y1l): Likewise.
46479         * math/w_jn.c (yn): Likewise.
46480         * math/w_jnf.c (ynf): Likewise.
46481         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
46482         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
46483         value for Bessel function domain errors outside _SVID_ mode.
46484         Adjust sign of return value for yn (negative integer, 0).
46485         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
46486         by zero in return for negative x and set sign appropriately for
46487         negative n.
46488         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
46489         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
46490         * math/libm-test.inc (y0_test_data): Add more tests and adjust
46491         expectations in error cases.
46492         (y1_test_data): Likewise.
46493         (yn_test_data): Likewise.
46494         * sysdeps/i386/fpu/libm-test-ulps: Update.
46495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46497 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
46499         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
46500         "64" to "64-v1".  Add "64-v2".
46501         (abi-64-options): Rename to ...
46502         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
46503         (abi-64-condition): Rename to ...
46504         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
46505         (abi-64-ld-soname): Rename to ...
46506         (abi-64-v1-ld-soname): ... this.
46507         (abi-64-v2-options): Define.
46508         (abi-64-v2-condition): Likewise.
46509         (abi-64-v2-ld-soname): Likewise.
46510         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
46511         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
46512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
46513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
46514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
46516 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
46517             Alan Modra  <amodra@gmail.com>
46519         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
46520         New versions for use with the ELFv2 ABI.
46521         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
46522         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
46523         declaration.
46524         (struct La_ppc64v2_retval): Likewise.
46525         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
46526         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
46527         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
46528         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
46529         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
46530         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
46531         Do not save or restore CR.
46532         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
46533         (_dl_profile_resolve): Do no save or restore CR.  Support extended
46534         return values for ELFv2 ABI.  Fix location of FPR return registers.
46535         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
46536         updated values for _CALL_ELF == 2.
46537         (La_regs, La_retval, int_retval): Likewise.
46539 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
46541         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
46542         (FRAME_MIN_SIZE_PARM): Likewise.
46543         (FRAME_BACKCHAIN): Likewise.
46544         (FRAME_CR_SAVE): Likewise.
46545         (FRAME_LR_SAVE): Likewise.
46546         (FRAME_TOC_SAVE): Likewise.
46547         (FRAME_PARM_SAVE): Likewise.
46548         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
46549         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
46550         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
46551         (call_mcount_parm_offset): New macro.
46552         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
46553         (PROF): Use symbolic stack frame offsets.
46554         (TAIL_CALL_SYSCALL_ERROR): Likewise.
46555         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
46556         Redefine in terms of FRAME_MIN_SIZE.
46557         (_dl_runtime_resolve): Use symbolic stack frame offsets.
46558         (_dl_profile_resolve): Likewise.  Update comment.
46559         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
46560         symbols stack frame offsets.
46561         (__sigsetjmp): Likewise.
46562         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
46563         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
46564         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
46565         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
46567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
46568         (FRAME_BACKCHAIN): Remove.
46569         (FRAME_CR_SAVE): Likewise.
46570         (FRAME_LR_SAVE): Likewise.
46571         (FRAME_COMPILER_DW): Likewise.
46572         (FRAME_LINKER_DW): Likewise.
46573         (FRAME_TOC_SAVE): Likewise.
46574         (FRAME_PARM_SAVE): Likewise.
46575         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
46576         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
46577         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
46578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
46579         (CHECK_SP): Use symbolic stack frame offsets.
46580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
46581         zone" instead of caller's parameter save area for temp storage.
46582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
46583         Likewise.  Also, use symbolic stack frame offsets.
46584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
46585         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
46586         our own stack frame instead of the caller's.
46587         (__socket): Use symbolic stack frame offsets.
46589 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
46590             Alan Modra  <amodra@gmail.com>
46592         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
46593         Define.
46594         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
46595         (PPC64_LOCAL_ENTRY_OFFSET): Define.
46596         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
46597         New function.
46598         (elf_machine_fixup_plt): Call it.
46599         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
46600         reloc arguments.
46601         (elf_machine_rela): Update call to elf_machine_plt_conflict.
46602         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
46603         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
46604         r2 before calling target.
46606 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
46607             Alan Modra  <amodra@gmail.com>
46609         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
46610         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
46611         versions of macros to support ELFv2 ABI.
46612         (LOCALENTRY): New macro.
46613         (ENTRY, EALIGN): Use it.
46614         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
46615         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
46616         fall through into ENTRY entry point.
46617         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
46618         Only define if _CALL_ELF != 2.
46620         (elf_machine_matches_host): Verify ABI version matches.
46621         (RTLD_START): Use LOCALENTRY.
46622         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
46623         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
46624         (PLT_ENTRY_WORDS): New macro.
46625         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
46626         (elf_machine_runtime_setup): Support ELFv2 ABI.
46627         (elf_machine_fixup_plt): Likewise.
46628         (elf_machine_plt_conflict): Likewise.
46629         (resolve_ifunc): Likewise.
46630         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
46631         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
46632         Likewise.
46633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
46634         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
46635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46636         (makecontext): Support ELFv2 ABI.
46637         * elf/elf.h (EF_PPC64_ABI): Define.
46639 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
46641         * sysdeps/powerpc/powerpc64/sysdep.h
46642         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
46643         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
46644         (ENTRY) [ASSEMBLER]: ... but instead here ...
46645         (EALIGN) [ASSEMBLER]: ... and here.
46646         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
46647         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
46648         (ENTRY_2) [!ASSEMBLER]: Use it.
46649         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
46650         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
46651         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
46652         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
46653         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
46654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
46655         Use PPC64_LOAD_FUNCPTR.
46657         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
46659 2013-12-04  Alan Modra  <amodra@gmail.com>
46661         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
46662         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
46663         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
46664         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
46666         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
46667         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
46668         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
46669         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
46670         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
46671         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
46673 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
46675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46676         (__makecontext): Fix incorrect CFI when backtracing out of
46677         context created via makecontext.
46678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
46679         (__setcontext): Fix incorrect CFI during switch to new context.
46680         (__novec_setcontext): Likewise.
46682 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
46684         [BZ #4772]
46685         * time/strptime_l.c (__strptime_internal): Allow modifiers
46686         in strptime.
46687         * time/tst-strptime.c (day_tests): Add testcase.
46689 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46691         * scripts/bench.pl: Skip over blank lines.
46693 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
46695         [BZ #926]
46696         * manual/time.texi (Calendar Time): Clarify what timezone functions
46697         use.
46699 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46701         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46703 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
46705         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
46706         implementation.
46707         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
46708         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
46709         * debug/memset_chk.c (__memset_chk): Likewise.
46710         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
46711         * debug/strncpy_chk.c: Likewise.
46713 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
46715         [BZ #15268]
46716         [BZ #15425]
46717         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
46718         (__ieee754_exp): For possibly underflowing results, check size of
46719         result and force underflow exception if required.
46720         * math/auto-libm-test-in: Add more tests of exp.
46721         * math/auto-libm-test-out: Regenerated.
46722         * sysdeps/i386/fpu/libm-test-ulps: Update.
46723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46725         [BZ #16283]
46726         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
46727         * math/w_exp2f.c (__exp2f): Likewise.
46728         * math/w_exp2l.c (__exp2l): Likewise.
46729         * math/auto-libm-test-in: Do not allow missing errno on exp2
46730         underflow.
46731         * math/auto-libm-test-out: Regenerated.
46733 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
46735         [BZ #16274]
46736         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
46737         handle filename validation.
46738         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
46739         (do_open): Delete.
46741 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
46743         [BZ #6786]
46744         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
46745         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
46746         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
46747         <float.h>.
46748         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
46749         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
46750         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
46751         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
46752         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
46753         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
46754         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
46755         * math/auto-libm-test-in: Don't allow missing errno from erfc.
46756         Add more erfc tests.
46757         * math/auto-libm-test-out: Regenerated.
46758         * sysdeps/i386/fpu/libm-test-ulps: Update.
46759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46761         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
46762         exp2, expm1, j0 and j1.
46763         * math/auto-libm-test-out: Regenerated.
46764         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
46765         (erfc_test_data): Likewise.
46766         (exp_test_data): Likewise.
46767         (exp_tonearest_test_data): Likewise.
46768         (exp_towardzero_test_data): Likewise.
46769         (exp_downward_test_data): Likewise.
46770         (exp_upward_test_data): Likewise.
46771         (exp10_test_data): Likewise.
46772         (exp2_test_data): Likewise.
46773         (expm1_test_data): Likewise.
46774         (j0_test_data): Likewise.
46775         (j1_test_data): Likewise.
46776         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
46777         (input_flag_type): Add flag_xfail_rounding.
46778         (input_flags): Add xfail-rounding.
46779         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
46780         (output_for_one_input_case): Handle flag_xfail_rounding.
46781         * sysdeps/i386/fpu/libm-test-ulps: Update.
46782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46784 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
46786         [BZ #16289]
46787         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
46788         division by 0.
46790 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
46792         [BZ #16195]
46793         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
46794         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
46795         (STAP_PROBE0): New macro.
46796         (STAP_PROBE1): Likewise.
46797         (STAP_PROBE2): Likewise.
46798         (STAP_PROBE3): Likewise.
46799         (STAP_PROBE4): Likewise.
46801 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
46803         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
46805 2013-12-02  Steve Ellcey  <sellcey@mips.com>
46807         * benchtests/Makefile (bench): Add sqrt.
46808         (LDLIBS-bench-sqrt): New.
46809         * benchtests/sqrt-input: New.
46811 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
46813         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
46814         (GAIH_EAI): Likewise.
46815         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
46816         (gaih_inet): Likewise.
46817         (getaddrinfo): Don't use GAIH_EAI.
46819         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
46820         (struct gaih): Remove definition.
46822 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46824         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
46825         Use HERRNOP directly.
46827 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46829         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46831 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
46833         * math/gen-auto-libm-tests.c (test_functions): Add more
46834         single-argument functions.
46835         (special_fill_pi_2): New function.
46836         (special_fill_minus_pi_2): Likewise.
46837         (special_fill_pi_6): Likewise.
46838         (special_fill_minus_pi_6): Likewise.
46839         (special_fill_pi_3): Likewise.
46840         (special_fill_2pi_3): Likewise.
46841         (special_fill_e): Likewise.
46842         (special_fill_1_e): Likewise.
46843         (special_fill_e_minus_1): Likewise.
46844         (special_real_inputs): Add more special inputs.
46845         (output_for_one_input_case): Do not require ERANGE on underflow to
46846         zero if round-to-nearest result does not underflow to zero, unless
46847         exact results required.
46848         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
46849         atan, atanh, cbrt, cos and cosh.
46850         * math/auto-libm-test-out: Regenerated.
46851         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
46852         (acos_tonearest_test_data): Likewise.
46853         (acos_towardzero_test_data): Likewise.
46854         (acos_downward_test_data): Likewise.
46855         (acos_upward_test_data): Likewise.
46856         (acosh_test_data): Likewise.
46857         (asin_test_data): Likewise.
46858         (asin_tonearest_test_data): Likewise.
46859         (asin_towardzero_test_data): Likewise.
46860         (asin_upward_test_data): Likewise.
46861         (asinh_test_data): Likewise.
46862         (atan_test_data): Likewise.
46863         (atanh_test_data): Likewise.
46864         (cbrt_test_data): Likewise.
46865         (cos_test_data): Likewise.
46866         (cos_tonearest_test_data): Likewise.
46867         (cos_towardzero_test_data): Likewise.
46868         (cos_downward_test_data): Likewise.
46869         (cos_upward_test_data): Likewise.
46870         (cosh_test_data): Likewise.
46871         (cosh_tonearest_test_data): Likewise.
46872         (cosh_towardzero_test_data): Likewise.
46873         (cosh_downward_test_data): Likewise.
46874         (cosh_upward_test_data): Likewise.
46875         * sysdeps/i386/fpu/libm-test-ulps: Update.
46876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46878 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
46880         [BZ #6787]
46881         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
46882         * math/w_exp10f.c (__exp10f): Likewise.
46883         * math/w_exp10l.c (__exp10l): Likewise.
46884         * math/libm-test.inc (exp10_test_data): Add more tests and expect
46885         errno settings in existing tests.
46887         [BZ #14032]
46888         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
46889         precision control set to double precision.
46890         * sysdeps/i386/fpu/w_sqrt.c: New file.
46891         * math/auto-libm-test-in: Add more tests.
46892         * math/auto-libm-test-out: Update.
46894         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
46895         (sqrt_test_tonearest): New function.
46896         (sqrt_towardzero_test_data): New variable.
46897         (sqrt_test_towardzero): New function.
46898         (sqrt_downward_test_data): New variable.
46899         (sqrt_test_downward): New function.
46900         (sqrt_upward_test_data): New variable.
46901         (sqrt_test_upward): New function.
46902         (main): Call the new functions.
46904         * math/gen-auto-libm-tests.c: New file.
46905         * math/auto-libm-test-in: Likewise.
46906         * math/auto-libm-test-out: New generated file.
46907         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
46908         variables.
46909         (%beautify): Add generated representations of zero.
46910         (top level): Set $auto_input and call parse_auto_input.
46911         (beautify): Remove trailing "f" from hex float constants.
46912         (parse_args): Handle XFAIL_TEST.
46913         (convert_condition): New function.
46914         (or_value): Likewise.
46915         (or_cond_value): Likewise.
46916         (generate_testfile): Handle AUTO_TESTS_* lines.
46917         (parse_auto_input): New function.
46918         * math/libm-test.inc (XFAIL_TEST): New macro.
46919         (ERRNO_UNCHANGED): Update value.
46920         (ERRNO_EDOM): Likewise.
46921         (ERRNO_ERANGE): Likewise.
46922         (IGNORE_RESULT): Likewise.
46923         (TEST_COND_flt_32): New macro.
46924         (TEST_COND_dbl_64): Likewise.
46925         (TEST_COND_ldbl_96_intel): Likewise.
46926         (TEST_COND_ldbl_96_m68k): Likewise.
46927         (TEST_COND_ldbl_128): Likewise.
46928         (TEST_COND_ldbl_128ibm): Likewise.
46929         (TEST_COND_long32): Likewise.
46930         (TEST_COND_long64): Likewise.
46931         (TEST_COND_before_rounding): Likewise.
46932         (TEST_COND_after_rounding): Likewise.
46933         (enable_test): Handle XFAIL_TEST flag.
46934         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
46935         with finite results.
46936         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
46937         auto-libm-test-out.
46939 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
46940             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46942         [BZ #16214]
46943         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
46944         __tls_get_addr_internal instead of __tls_get_offset in order to
46945         avoid GOT pointer dependency.  Make rtld export
46946         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
46947         __tls_get_addr since we are a __tls_get_offset platform.
46948         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
46949         GOT pointer being set up before.
46950         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
46952 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
46954         * manual/math.texi (Errors in Math Functions): Document accuracy
46955         goals.
46957         [BZ #15004]
46958         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
46959         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
46960         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46961         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46962         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46963         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46964         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46965         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
46966         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
46967         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46968         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46969         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46970         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46971         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46972         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46973         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
46975         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
46976         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
46977         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
46978         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
46979         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
46980         Likewise.
46981         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
46982         Likewise.
46983         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
46984         Likewise.
46985         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
46986         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
46987         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
46988         atomic-feupdateenv and flt-rounds.
46989         * sysdeps/powerpc/nofpu/Versions (libc): Add
46990         __atomic_feholdexcept, __atomic_feclearexcept,
46991         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
46992         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
46993         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
46994         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
46995         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
46996         here.
46997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
46998         Update.
47000         * manual/arith.texi (FP Exceptions): Document that exceptions may
47001         not be raised when matherr is used.
47002         (Math Error Reporting): Document overflow in directed rounding
47003         modes.  Document that errno may not be set when finite values are
47004         returned on overflow.  Document intent to set errno on underflow
47005         only for underflow to zero.
47007         [BZ #16271]
47008         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
47009         round-to-nearest then adjust result for other rounding modes.
47010         * include/fenv.h (fegetround): Use libm_hidden_proto.
47011         * math/fegetround.c (fegetround): Use libm_hidden_def.
47012         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
47013         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
47014         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
47015         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
47016         Likewise.
47017         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
47018         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
47019         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
47020         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
47022 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47024         [BZ #16077]
47025         * nss/Versions (libnss_files): Add
47026         _nss_files_gethostbyname3_r.
47027         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
47028         New function.
47029         (HOST_DB_LOOKUP): Remove macro.
47030         (_nss_files_gethostbyname_r): Implement function without the
47031         HOST_DB_LOOKUP macro.
47032         (_nss_files_gethostbyname2_r): Likewise.
47034 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
47036         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
47038 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
47040         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
47041         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
47042         warning.
47044 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47046         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
47047         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
47048         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
47049         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
47050         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
47051         __fe_nomask_env_priv and attribute_hidden.
47052         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
47053         (libc_feupdateenv_test_ppc): Likewise.
47054         (libc_feresetround_ppc): Likewise.
47055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
47056         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
47057         compat_symbol macro.
47058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
47059         (__fe_nomask_env): Likewise.
47060         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
47062 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
47064         * string/Makefile: Remove ifunc tests.
47065         * string/test-string.h: Define TEST_IFUNC.
47066         * string/test-bcopy-ifunc.c: Remove.
47067         * string/test-bzero-ifunc.c: Likewise.
47068         * string/test-memccpy-ifunc.c: Likewise.
47069         * string/test-memchr-ifunc.c: Likewise.
47070         * string/test-memcmp-ifunc.c: Likewise.
47071         * string/test-memcpy-ifunc.c: Likewise.
47072         * string/test-memmem-ifunc.c: Likewise.
47073         * string/test-memmove-ifunc.c: Likewise.
47074         * string/test-mempcpy-ifunc.c: Likewise.
47075         * string/test-memrchr-ifunc.c: Likewise.
47076         * string/test-memset-ifunc.c: Likewise.
47077         * string/test-rawmemchr-ifunc.c: Likewise.
47078         * string/test-stpcpy-ifunc.c: Likewise.
47079         * string/test-stpncpy-ifunc.c: Likewise.
47080         * string/test-strcasecmp-ifunc.c: Likewise.
47081         * string/test-strcasestr-ifunc.c: Likewise.
47082         * string/test-strcat-ifunc.c: Likewise.
47083         * string/test-strchr-ifunc.c: Likewise.
47084         * string/test-strchrnul-ifunc.c: Likewise.
47085         * string/test-strcmp-ifunc.c: Likewise.
47086         * string/test-strcpy-ifunc.c: Likewise.
47087         * string/test-strcspn-ifunc.c: Likewise.
47088         * string/test-strlen-ifunc.c: Likewise.
47089         * string/test-strncasecmp-ifunc.c: Likewise.
47090         * string/test-strncat-ifunc.c: Likewise.
47091         * string/test-strncmp-ifunc.c: Likewise.
47092         * string/test-strncpy-ifunc.c: Likewise.
47093         * string/test-strnlen-ifunc.c: Likewise.
47094         * string/test-strpbrk-ifunc.c: Likewise.
47095         * string/test-strrchr-ifunc.c: Likewise.
47096         * string/test-strspn-ifunc.c: Likewise.
47097         * string/test-strstr-ifunc.c: Likewise.
47099 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
47101         * benchtests/Makefile: Remove ifunc tests.
47102         * benchtests/bench-string.h: Define TEST_IFUNC.
47103         * benchtests/bench-bcopy-ifunc.c: Remove.
47104         * benchtests/bench-bzero-ifunc.c: Likewise.
47105         * benchtests/bench-memccpy-ifunc.c: Likewise.
47106         * benchtests/bench-memchr-ifunc.c: Likewise.
47107         * benchtests/bench-memcmp-ifunc.c: Likewise.
47108         * benchtests/bench-memcpy-ifunc.c: Likewise.
47109         * benchtests/bench-memmem-ifunc.c: Likewise.
47110         * benchtests/bench-memmove-ifunc.c: Likewise.
47111         * benchtests/bench-mempcpy-ifunc.c: Likewise.
47112         * benchtests/bench-memrchr-ifunc.c: Likewise.
47113         * benchtests/bench-memset-ifunc.c: Likewise.
47114         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
47115         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
47116         * benchtests/bench-stpcpy-ifunc.c: Likewise.
47117         * benchtests/bench-stpncpy-ifunc.c: Likewise.
47118         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
47119         * benchtests/bench-strcasestr-ifunc.c: Likewise.
47120         * benchtests/bench-strcat-ifunc.c: Likewise.
47121         * benchtests/bench-strchr-ifunc.c: Likewise.
47122         * benchtests/bench-strchrnul-ifunc.c: Likewise.
47123         * benchtests/bench-strcmp-ifunc.c: Likewise.
47124         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
47125         * benchtests/bench-strcpy-ifunc.c: Likewise.
47126         * benchtests/bench-strcspn-ifunc.c: Likewise.
47127         * benchtests/bench-strlen-ifunc.c: Likewise.
47128         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
47129         * benchtests/bench-strncat-ifunc.c: Likewise.
47130         * benchtests/bench-strncmp-ifunc.c: Likewise.
47131         * benchtests/bench-strncpy-ifunc.c: Likewise.
47132         * benchtests/bench-strnlen-ifunc.c: Likewise.
47133         * benchtests/bench-strpbrk-ifunc.c: Likewise.
47134         * benchtests/bench-strrchr-ifunc.c: Likewise.
47135         * benchtests/bench-strsep-ifunc.c: Likewise.
47136         * benchtests/bench-strspn-ifunc.c: Likewise.
47137         * benchtests/bench-strstr-ifunc.c: Likewise.
47139 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
47141         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
47143 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
47145         * resolv/netdb.h: Use __glibc_reserved instead __unused.
47146         * rt/aio.h: Likewise.
47147         * sysdeps/gnu/bits/utmp.h: Likewise.
47148         * sysdeps/gnu/bits/utmpx.h: Likewise.
47149         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
47150         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
47151         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
47152         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
47153         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
47154         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
47155         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
47156         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
47157         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
47158         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
47159         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
47160         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
47161         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
47162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
47163         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
47164         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
47165         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
47166         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
47167         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
47168         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
47169         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
47170         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
47171         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
47172         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
47173         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
47174         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47175         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
47176         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
47177         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
47178         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
47179         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
47180         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
47181         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
47182         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
47183         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
47184         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
47185         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
47186         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
47187         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
47188         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
47189         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
47190         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
47192 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
47194         [BZ #16245]
47195         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
47196         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
47198 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
47200         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
47201         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
47202         Likewise.
47204 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47206         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
47207         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
47208         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
47209         (__fesetround): Remove define.
47210         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
47211         rounding and exceptions handling.
47212         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
47213         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
47214         (__fe_nomask_env): Likewise.
47215         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
47216         __fegetround instead of fegetround.
47217         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
47218         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
47220 2013-11-21  Roland McGrath  <roland@hack.frob.com>
47222         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
47223         it's there.
47225         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
47227 2013-11-21  Meador Inge  <meadori@codesourcery.com>
47229         [BZ #11157]
47230         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
47231         (encrypt_r): Likewise.
47232         * malloc/obstack.h (obstack_free): Likewise.
47233         * posix/unistd.h (encrypt): Likewise.
47235 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
47237         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
47238         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
47239         DL_CALL_DT_FINI() that call the functions directly.
47240         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
47241         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
47242         * elf/dl-fini.c: Likewise.
47244 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
47246         * malloc/hooks.c (memalign_check): Add alignment rounding.
47247         * malloc/malloc.c (_mid_memalign): New function.
47248         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
47249         Implement by calling _mid_memalign.
47250         * manual/probes.texi (Memory Allocation Probes): Remove
47251         memory_valloc_retry and memory_pvalloc_retry.
47253 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
47255         * locale/programs/locarchive.c (open_archive): Add const
47256         qualifier to ARCHIVEFNAME and copy default fname to
47257         DEFAULT_FNAME.
47259         [BZ #15601]
47260         * libio/tst-widetext.input: Rename Oriya to Odia.
47261         * locale/iso-639.def: Likewise.
47263         * manual/probes.texi (Mathematical Function Probes): Add
47264         documentation for sin, cos, asin and acos probes.
47265         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
47266         (__sin32): Add slowasin probe.
47267         (__cos32): Add slowacos probe.
47268         (__mpsin): Add slowsin probe.
47269         (__mpcos): Add slowcos probe.
47271 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
47273         [BZ #15483]
47274         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
47275         thread-local __sim_exceptions_thread and global
47276         __sim_exceptions_global.
47277         (__sim_disabled_exceptions): Change to thread-local
47278         __sim_disabled_exceptions_thread and global
47279         __sim_disabled_exceptions_global.
47280         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
47281         and global __sim_round_mode_global.
47282         (__simulate_exceptions): Use thread-local floating-point state and
47283         set global state from it as needed.
47284         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
47285         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
47286         __sim_round_mode_thread.
47287         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
47288         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
47289         and global __sim_exceptions_global.
47290         (__sim_disabled_exceptions): Change to thread-local
47291         __sim_disabled_exceptions_thread and global
47292         __sim_disabled_exceptions_global.
47293         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
47294         and global __sim_round_mode_global.
47295         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
47296         (SIM_SET_GLOBAL): Likewise.
47297         * sysdeps/powerpc/soft-fp/sfp-machine.h
47298         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
47299         __sim_round_mode_thread.
47300         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
47301         __sim_disabled_exceptions_thread.
47302         (__sim_exceptions): Change to __sim_exceptions_thread.
47303         (__sim_disabled_exceptions): Change to
47304         __sim_disabled_exceptions_thread.
47305         (__sim_round_mode): Change to __sim_round_mode_thread.
47306         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
47307         thread-local floating-point state and set global state from it as
47308         needed.
47309         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
47310         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
47311         (__sim_disabled_exceptions): Remove extern declaration.
47312         (feenableexcept): Use thread-local floating-point state and set
47313         global state from it as needed.
47314         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
47315         extern declaration.
47316         (__sim_disabled_exceptions): Likewise.
47317         (__sim_round_mode): Likewise.
47318         (__fegetenv): Use thread-local floating-point state.
47319         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
47320         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
47321         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
47322         floating-point state and set global state from it as needed.
47323         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
47324         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
47325         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
47326         Likewise.
47327         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
47328         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
47329         Likewise.
47330         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
47331         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
47332         Use __sim_round_mode_thread.
47333         * math/test-fenv-tls.c: New file.
47334         * math/Makefile (tests): Add test-fenv-tls.
47335         ($(objpfx)test-fenv-tls): Depend on
47336         $(common-objpfx)nptl/libpthread.so.
47338 2013-11-19  Andreas Schwab  <schwab@suse.de>
47340         * locale/programs/locale.c (show_info): Decode wordarray elements.
47341         * locale/categories.def (LC_MONETARY): Add element for
47342         _NL_MONETARY_CRNCYSTR.
47343         * locale/C-monetary.c (conversion_rate): New variable.
47344         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
47345         element.
47347 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
47349         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
47350         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
47352 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
47354         * elf/Makefile (tst-auxv): New test.
47355         * elf/tst-auxv.c: New
47356         * elf/rtld.c (dl_main): Adjust AT_EXECFN
47358 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
47360         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
47361         (hidden_proto): Caller changed.
47362         (hidden_tls_proto): New macro.
47363         (libc_hidden_tls_proto): Likewise.
47364         (rtld_hidden_tls_proto): Likewise.
47365         (libm_hidden_tls_proto): Likewise.
47366         (libresolv_hidden_tls_proto): Likewise.
47367         (librt_hidden_tls_proto): Likewise.
47368         (libdl_hidden_tls_proto): Likewise.
47369         (libnss_files_hidden_tls_proto): Likewise.
47370         (libnsl_hidden_tls_proto): Likewise.
47371         (libnss_nisplus_hidden_tls_proto): Likewise.
47372         (libutil_hidden_tls_proto): Likewise.
47374 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
47376         [BZ #10253]
47377         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
47378         (decompose_rpath): Defer expansion to fillin_rpath.
47379         (_dl_init_paths): Pass linkmap to fillin_rpath.
47381 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
47383         * benchtests/Makefile: Add strsep.
47384         * benchtests/bench-strsep.c: New file: strsep benchtest.
47385         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
47387 2013-11-18  Andreas Schwab  <schwab@suse.de>
47389         * locale/programs/locale.c (show_info) [case byte]: Check for
47390         '\377' instead of '\177'.
47391         * locale/C-monetary.c (not_available): Always use "\377".
47392         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
47393         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
47394         detect unavailable sign_posn locale elements.
47395         * locale/localeconv.c (__localeconv): For grouping and
47396         mon_grouping handle "\177" and "\377" like no grouping.
47397         (INT_ELEM): New macro.  Use it to set all numeric members.
47398         * locale/programs/ld-monetary.c (monetary_read)
47399         <tok_mon_grouping>: Normalize single -1 to the empty string.
47400         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
47401         Likewise.
47403 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
47405         [BZ #16055]
47406         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
47407         when we match (nil).
47408         * stdio-common/tst-sscanf.c (struct test): Add testcase.
47410 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
47412         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
47413         (NO_TEST_INLINE): Update value.
47414         (ERRNO_UNCHANGED): Likewise.
47415         (ERRNO_EDOM): Likewise.
47416         (ERRNO_ERANGE): Likewise.
47417         (IGNORE_RESULT): Likewise.
47418         (check_float_internal): Check signs of NaN results if
47419         TEST_NAN_SIGN used.
47420         (check_complex): Pass TEST_NAN_SIGN flag through to second
47421         check_float_internal call.
47422         (copysign_test_data): Add tests with quiet NaNs as second
47423         argument.  Use TEST_NAN_SIGN.
47424         (fabs_test_data): Add test of negative quiet NaN argument.  Use
47425         TEST_NAN_SIGN.
47426         (signbit_test_data): Add tests of quiet NaN argument.
47427         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
47429         * math/gen-libm-test.pl (show_exceptions): Take extra argument
47430         $ignore_result.
47431         (parse_args): Handle function results specified as IGNORE.
47432         * math/libm-test.inc (IGNORE_RESULT): New macro.
47433         (check_float_internal): Do not check numerical result if flag
47434         IGNORE_RESULT set.
47435         (check_complex): Pass through IGNORE_RESULT to second
47436         check_float_internal call.
47437         (check_int): Do not check numerical result if flag IGNORE_RESULT
47438         set.
47439         (check_long): Likewise.
47440         (check_bool): Likewise.
47441         (check_longlong): Likewise.
47442         (lrint_test_data): Add tests of infinite and NaN arguments.
47443         (lrint_tonearest_test_data): Likewise.
47444         (lrint_towardzero_test_data): Likewise.
47445         (lrint_downward_test_data): Likewise.
47446         (lrint_upward_test_data): Likewise.
47447         (llrint_test_data): Likewise.
47448         (llrint_tonearest_test_data): Likewise.
47449         (llrint_towardzero_test_data): Likewise.
47450         (llrint_downward_test_data): Likewise.
47451         (llrint_upward_test_data): Likewise.
47452         (lround_test_data): Likewise.
47453         (llround_test_data): Likewise.
47455         * math/libm-test.inc (NO_TEST_INLINE): New macro.
47456         (ERRNO_UNCHANGED): Update value.
47457         (ERRNO_EDOM): Likewise.
47458         (ERRNO_ERANGE): Likewise.
47459         (NO_TEST_INLINE_FLOAT): New macro.
47460         (NO_TEST_INLINE_DOUBLE): Likewise.
47461         (enable_test): New function.
47462         (RUN_TEST_f_f): Check enable_test before running test.
47463         (RUN_TEST_2_f): Likewise.
47464         (RUN_TEST_fff_f): Likewise.
47465         (RUN_TEST_c_f): Likewise.
47466         (RUN_TEST_f_f1): Likewise.
47467         (RUN_TEST_fF_f1): Likewise.
47468         (RUN_TEST_fI_f1): Likewise.
47469         (RUN_TEST_ffI_f1): Likewise.
47470         (RUN_TEST_c_c): Likewise.
47471         (RUN_TEST_cc_c): Likewise.
47472         (RUN_TEST_f_i): Likewise.
47473         (RUN_TEST_f_i_tg): Likewise.
47474         (RUN_TEST_ff_i_tg): Likewise.
47475         (RUN_TEST_f_b): Likewise.
47476         (RUN_TEST_f_b_tg): Likewise.
47477         (RUN_TEST_f_l): Likewise.
47478         (RUN_TEST_f_L): Likewise.
47479         (RUN_TEST_fFF_11): Likewise.
47480         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
47481         conditionals.
47482         (cosh_test_data): Likewise.
47483         (exp_test_data): Likewise.
47484         (expm1_test_data): Likewise.
47485         (hypot_test_data): Likewise.
47486         (pow_test_data): Likewise.
47487         (sinh_test_data): Likewise.
47488         (tanh_test_data): Likewise.
47489         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
47490         flags argument.
47492         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
47493         tests with quiet NaN input and output.
47494         (acosh_test_data): Likewise.
47495         (asin_test_data): Likewise.
47496         (asinh_test_data): Likewise.
47497         (atan_test_data): Likewise.
47498         (atanh_test_data): Likewise.
47499         (atan2_test_data): Likewise.
47500         (cbrt_test_data): Likewise.
47501         (cos_test_data): Likewise.
47502         (cosh_test_data): Likewise.
47503         (erf_test_data): Likewise.
47504         (erfc_test_data): Likewise.
47505         (exp_test_data): Likewise.
47506         (exp10_test_data): Likewise.
47507         (exp2_test_data): Likewise.
47508         (expm1_test_data): Likewise.
47509         (hypot_test_data): Likewise.
47510         (j0_test_data): Likewise.
47511         (j1_test_data): Likewise.
47512         (jn_test_data): Likewise.
47513         (lgamma_test_data): Likewise.
47514         (log_test_data): Likewise.
47515         (log10_test_data): Likewise.
47516         (log1p_test_data): Likewise.
47517         (log2_test_data): Likewise.
47518         (pow_test_data): Likewise.
47519         (scalb_test_data): Likewise.
47520         (sin_test_data): Likewise.
47521         (sincos_test_data): Likewise.
47522         (sinh_test_data): Likewise.
47523         (tan_test_data): Likewise.
47524         (tanh_test_data): Likewise.
47525         (tgamma_test_data): Likewise.
47526         (y0_test_data): Likewise.
47527         (y1_test_data): Likewise.
47528         (yn_test_data): Likewise.
47530         [BZ #16167]
47531         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
47532         argument being NaN and avoid computations with second argument in
47533         that case.
47534         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
47535         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
47536         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
47538 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
47540         * locale/iso-639.def: Add Chitwani Tharu (the).
47542 2013-11-14  Andreas Schwab  <schwab@suse.de>
47544         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
47545         word instead of empty string.
47547 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
47550         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
47551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
47552         (__fe_nomask_env): Likewise.
47554 2013-11-13  Steve Ellcey  <sellcey@mips.com>
47556         * benchtests/bench-timing.h: Include time.h.
47558 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
47560         [BZ #15997]
47561         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
47562         to 3.4.0 for x32.
47563         * sysdeps/unix/sysv/linux/configure: Regenerated.
47565 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
47567         [BZ #16151]
47568         * stdlib/strtod_l.c (round_and_return): Do not consider
47569         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
47570         exponent one less than half the least subnormal exponent.
47571         * stdlib/test-strtod-round-data: Add more tests.
47572         * stdlib/tst-strtod-round.c (tests): Regenerated.
47574 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47576         [BZ #14143]
47577         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
47578         (__fe_mask_env): Likewise.
47579         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
47580         libm_hidden_proto and add function prototype.
47581         (__fe_mask_env): Add function prototype.
47582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
47583         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
47584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
47585         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
47586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
47587         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
47589 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47591         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
47592         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
47594 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47596         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
47597         of htab_find_slot().
47599 2013-11-11  David S. Miller  <davem@davemloft.net>
47601         [BZ #16150]
47602         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
47603         symbol in the non-vis3 case in static builds.
47604         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
47605         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
47606         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
47607         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
47609 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
47611         [BZ #387]
47612         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
47613         it is empty.
47615 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47617         * benchtests/Makefile: Add bench-strtod.
47618         * benchtests/bench-strtod.c: New file: strtod benchtest
47620 2013-11-11  Andreas Schwab  <schwab@suse.de>
47622         [BZ #16153]
47623         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
47624         terminating NUL in key length.
47626 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47628         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
47629         Add artificial ODP entry for vDSO symbol for PPC64.
47630         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
47631         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
47633 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
47635         [BZ #15374]
47636         * nss/getent.c (services_keys): Recognize services starting with digit.
47638 2013-11-06  David S. Miller  <davem@davemloft.net>
47640         [BZ #15985]
47641         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
47642         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
47644 2013-11-06  Will Newton  <will.newton@linaro.org>
47646         * manual/memory.texi (Malloc Examples): Remove register
47647         keyword from examples.
47649 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
47651         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
47653 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
47655         [BZ #6981]
47656         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
47657         depending on [__GCC_IEC_559 > 0].
47658         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
47659         depending on [__GCC_IEC_559_COMPLEX > 0].
47661 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
47663         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
47664         to iso-639.def.
47666 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
47668         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
47670 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
47672         [BZ #16112]
47673         * malloc/malloc (malloc_info): Do not handle first bin as
47674         special case.
47676 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
47678         * locale/iso-639.def: Add Central Nahuatl (nhn).
47680 2013-11-01  Bruno Haible  <bruno@clisp.org>
47682         [BZ #7003]
47683         * manual/math.texi (BSD Random): Specify range upper bound as
47684         in POSIX.
47686 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
47688         * locale/iso-639.def: Add Meadow Mari (mhr).
47690 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
47692         [BZ #14752], [BZ #15763]
47693         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
47694         Validate name.
47695         * rt/tst_shm.c: Add test for escaping directory.
47697 2013-10-31  Andreas Schwab  <schwab@suse.de>
47699         [BZ #15917]
47700         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
47701         followed by 'x' as part of digit sequence.
47702         * stdio-common/tst-sscanf.c (double_tests2): New tests.
47704 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
47706         [BZ #16037]
47707         * configure.ac: allow GNU Make 4.0 and greater.
47708         * configure: Regenerated.
47710 2013-10-30  Will Newton  <will.newton@linaro.org>
47712         [BZ #16038]
47713         * malloc/hooks.c (memalign_check): Limit alignment to the
47714         maximum representable power of two.
47715         * malloc/malloc.c (__libc_memalign): Likewise.
47716         * malloc/tst-memalign.c (do_test): Add test for very
47717         large alignment values.
47718         * malloc/tst-posix_memalign.c (do_test): Likewise.
47720 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
47722         [BZ #11087]
47723         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
47724         (munmap_chunk): Likewise.
47725         (mremap_chunk): Likewise.
47727 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
47729         [BZ #15799]
47730         * stdlib/div.c (div): Remove obsolete code.
47731         * stdlib/ldiv.c (ldiv): Likewise.
47732         * stdlib/lldiv.c (lldiv): Likewise.
47734 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47736         [BZ #16071]
47737         * nss/nss_files/files-XXX.c (get_contents_ret): New
47738         enumerator.
47739         (get_contents): New function.
47740         (internal_getent): Use it.  Expand size of LINEBUFLEN.
47742 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
47744         * configure.in: Moved to ...
47745         * configure.ac: ... here. Change reference to configure.in
47746         to configure.ac.
47747         * sysdeps/arm/preconfigure.ac: ... here.
47748         configure.in to configure.ac.
47749         * sysdeps/gnu/configure.in: Moved to ...
47750         * sysdeps/gnu/configure.ac: ... here.
47751         * sysdeps/i386/configure.in: Moved to ...
47752         * sysdeps/i386/configure.ac: ... here.
47753         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
47754         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
47755         * sysdeps/mach/configure.in: Moved to ...
47756         * sysdeps/mach/configure.ac: ... here.
47757         * sysdeps/mach/hurd/configure.in: Moved to ...
47758         * sysdeps/mach/hurd/configure.ac: ... here.
47759         * sysdeps/powerpc/configure.in: Moved to ...
47760         * sysdeps/powerpc/configure.ac: ... here.
47761         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
47762         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
47763         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
47764         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
47765         * sysdeps/s390/s390-32/configure.in: Moved to ...
47766         * sysdeps/s390/s390-32/configure.ac: ... here.
47767         * sysdeps/s390/s390-64/configure.in: Moved to ...
47768         * sysdeps/s390/s390-64/configure.ac: ... here.
47769         * sysdeps/sh/configure.in: Moved to ...
47770         * sysdeps/sh/configure.ac: ... here.
47771         * sysdeps/sparc/configure.in: Moved to ...
47772         * sysdeps/sparc/configure.ac: ... here.
47773         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
47774         * sysdeps/unix/sysv/linux/configure.ac: ... here.
47775         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
47776         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
47777         * sysdeps/x86_64/configure.in: Moved to ...
47778         * sysdeps/x86_64/configure.ac: ... here.
47779         * sysdeps/x86_64/preconfigure.in: Moved to ...
47780         * sysdeps/x86_64/preconfigure.ac: ... here.
47781         * aclocal.m4: Change reference to configure.in to configure.ac.
47782         * config.h.in: Likewise.
47783         * manual/install.texi: Likewise.
47784         * manual/maint.texi: Likewise.
47785         * Makefile: Likewise.
47786         * malloc/Makefile: Likewise.
47787         * nscd/Makefile: Likewise.
47788         * Makeconfig: Change reference to configure.in and
47789         preconfigure.in to configure.ac and preconfigure.ac
47790         respectively.
47791         * INSTALL: Regenerated.
47792         * configure: Likewise.
47793         * sysdeps/gnu/configure: Likewise.
47794         * sysdeps/i386/configure: Likewise.
47795         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
47796         * sysdeps/mach/configure: Likewise.
47797         * sysdeps/mach/hurd/configure: Likewise.
47798         * sysdeps/powerpc/configure: Likewise.
47799         * sysdeps/powerpc/powerpc32/configure: Likewise.
47800         * sysdeps/powerpc/powerpc64/configure: Likewise.
47801         * sysdeps/s390/s390-32/configure: Likewise.
47802         * sysdeps/s390/s390-64/configure: Likewise.
47803         * sysdeps/sh/configure: Likewise.
47804         * sysdeps/sparc/configure: Likewise.
47805         * sysdeps/unix/sysv/linux/configure: Likewise.
47806         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
47807         * sysdeps/x86_64/configure: Likewise.
47808         * sysdeps/x86_64/preconfigure: Likewise.
47810 2013-10-29  Andreas Schwab  <schwab@suse.de>
47812         * stdio-common/Makefile (tst-swscanf-ENV): Define.
47814 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47816         * benchtests/pow-inputs: Add new inputs.
47818         * benchtests/exp-inputs: Add new inputs.
47820         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
47821         conditional check for return value.
47822         (__cos32): Likewise.
47824 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47826         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
47827         to provide a boost for large inputs with word alignment.
47828         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
47829         implementation based on optimized PPC64 strcpy.
47830         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
47831         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
47832         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
47833         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
47835 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
47837         [BZ #2801]
47838         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
47840 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
47842         [BZ #14876]
47843         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
47844         * time/tst-strptime.c (day_tests): Add testcase.
47846 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
47848         [BZ #14029]
47849         * manual/pattern.texi: Acknowledge that fnmatch can fail.
47851 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
47853         [BZ #16074]
47854         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
47855         MAP_FAILED on error.
47857 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
47859         [BZ #16072]
47860         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
47861         heap for large requests.
47863 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
47865         [BZ #9954]
47866         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
47867         result if the result has no associated interface.
47868         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
47869         interface for all 127.X.Y.Z addresses.
47871 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
47873         * locale/iso-639.def: Add Ligurian (lij)
47875 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
47877         [BZ #15825]
47878         * sunrpc/rpc_main.c: Document rpcgen -5.
47880 2013-10-19  Michael Stahl  <mstahl@redhat.com>
47882         * elf/rtld.c (do_preload): Print the reason why preloading failed.
47884 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
47886         [BZ #10278]
47887         * posix/glob.c: Match only directories when trailing slash is present.
47888         * posix/tst-gnuglob.c (my_opendir): Do not open files.
47889         (main): Add testcase.
47891 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
47893         [BZ #15670]
47894         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
47896 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
47898         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
47899         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
47900         AUTH_DES and cindex for FIPS 140-2.
47901         (DES Encryption): Add cindex FIPS 46-3.
47903         * locale/locarchive.h (struct locarhandle): Add fname.
47904         * locale/programs/localedef.c (main): Pass ARGV[remaining]
47905         if an optional argument was specified to --list-archive,
47906         otherwise NULL.
47907         * locale/programs/locarchive.c (show_archive_content): Take new
47908         argument fname and pass it via ah.fname to open_archive.
47909         * locale/programs/localedef.h: Update decl.
47910         (open_archive): If AH->fname is non-null, open that file
47911         rather than the default file name, and don't ignore ENOENT.
47912         (create_archive): Set AH.fname to NULL.
47913         (delete_locales_from_archive): Likewise.
47914         (add_locales_to_archive): Likewise.
47915         * locale/programs/locfile.c (write_all_categories): Likewise.
47917 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
47918             Aldy Hernandez  <aldyh@redhat.com>
47920         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
47921         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
47922         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
47923         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
47924         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
47925         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
47926         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
47927         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
47928         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
47929         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
47930         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
47931         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
47932         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
47933         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
47934         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
47935         Likewise.
47936         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
47937         Likewise.
47938         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
47939         Likewise.
47940         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
47941         Likewise.
47942         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
47943         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
47944         Likewise.
47945         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
47946         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
47947         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
47948         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
47949         Likewise.
47950         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
47951         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
47952         * sysdeps/powerpc/preconfigure: Likewise.
47953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
47954         Likewise.
47955         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
47956         Replace contents of file by #include of <fenv_libc.h>.
47957         * sysdeps/powerpc/soft-fp/sfp-machine.h
47958         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
47959         and <sys/prctl.h>.
47960         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
47961         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
47962         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
47963         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
47964         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
47965         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
47966         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
47967         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
47968         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
47969         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
47970         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
47971         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
47972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
47973         Allow copysignl PLT reference to be missing.
47975 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
47976             Joseph Myers  <joseph@codesourcery.com
47978         [BZ #15948]
47979         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
47980         single character.
47981         (add_to_tablewc): Assert sequence of wide characters is nonempty.
47983 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47985         * elf/tst-tls-dlinfo.c: Don't include tls.h.
47986         * elf/tst-tls1.c: Likewise.
47987         * elf/tst-tls10.h: Likewise.
47988         * elf/tst-tls14.c: Likewise.
47989         * elf/tst-tls2.c: Likewise.
47990         * elf/tst-tls3.c: Likewise.
47991         * elf/tst-tls4.c: Likewise.
47992         * elf/tst-tls5.c: Likewise.
47993         * elf/tst-tls6.c: Likewise.
47994         * elf/tst-tls7.c: Likewise.
47995         * elf/tst-tls8.c: Likewise.
47996         * elf/tst-tls9.c: Likewise.
47997         * elf/tst-tlsmod1.c: Likewise.
47998         * elf/tst-tlsmod13.c: Likewise.
47999         * elf/tst-tlsmod13a.c: Likewise.
48000         * elf/tst-tlsmod14a.c: Likewise.
48001         * elf/tst-tlsmod16a.c: Likewise.
48002         * elf/tst-tlsmod16b.c: Likewise.
48003         * elf/tst-tlsmod2.c: Likewise.
48004         * elf/tst-tlsmod3.c: Likewise.
48005         * elf/tst-tlsmod4.c: Likewise.
48006         * elf/tst-tlsmod5.c: Likewise.
48007         * elf/tst-tlsmod6.c: Likewise.
48009 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
48011         [BZ #12486]
48012         * malloc/malloc.c: remove checks for statistics.
48014 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
48016         [BZ #15277]
48017         * inet/inet_net.c (inet_network): Detect additional invalid strings.
48018         * inet/tst-network.c: Add testcase.
48020 2013-10-17  Andreas Schwab  <schwab@suse.de>
48022         [BZ #15218]
48023         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
48024         to determine canonical name.
48026 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
48028         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
48029         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
48030         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48031         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48032         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48033         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48034         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48035         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48036         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
48037         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48038         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
48039         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48040         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48041         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48042         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48043         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48044         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48045         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48046         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
48047         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48048         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48049         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48050         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48051         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
48052         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
48053         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48054         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48055         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
48056         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48057         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
48058         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48059         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48060         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
48061         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48062         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48063         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48064         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48065         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48066         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48067         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48068         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48069         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
48070         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
48071         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48072         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
48073         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48074         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48075         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
48076         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
48077         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48078         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
48079         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48080         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48081         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
48082         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48083         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
48084         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48085         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48087 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
48089         [BZ #16041]
48090         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
48091         make result into a quiet NaN.
48093 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
48095         * soft-fp/adddf3.c: Fix horizontal whitespace.
48096         * soft-fp/addsf3.c: Likewise.
48097         * soft-fp/addtf3.c: Likewise.
48098         * soft-fp/divdf3.c: Likewise.
48099         * soft-fp/divsf3.c: Likewise.
48100         * soft-fp/divtf3.c: Likewise.
48101         * soft-fp/double.h: Likewise.
48102         * soft-fp/eqdf2.c: Likewise.
48103         * soft-fp/eqsf2.c: Likewise.
48104         * soft-fp/eqtf2.c: Likewise.
48105         * soft-fp/extenddftf2.c: Likewise.
48106         * soft-fp/extended.h: Likewise.
48107         * soft-fp/extendsfdf2.c: Likewise.
48108         * soft-fp/extendsftf2.c: Likewise.
48109         * soft-fp/extendxftf2.c: Likewise.
48110         * soft-fp/fixdfdi.c: Likewise.
48111         * soft-fp/fixdfsi.c: Likewise.
48112         * soft-fp/fixdfti.c: Likewise.
48113         * soft-fp/fixsfdi.c: Likewise.
48114         * soft-fp/fixsfsi.c: Likewise.
48115         * soft-fp/fixsfti.c: Likewise.
48116         * soft-fp/fixtfdi.c: Likewise.
48117         * soft-fp/fixtfsi.c: Likewise.
48118         * soft-fp/fixtfti.c: Likewise.
48119         * soft-fp/fixunsdfdi.c: Likewise.
48120         * soft-fp/fixunsdfsi.c: Likewise.
48121         * soft-fp/fixunsdfti.c: Likewise.
48122         * soft-fp/fixunssfdi.c: Likewise.
48123         * soft-fp/fixunssfsi.c: Likewise.
48124         * soft-fp/fixunssfti.c: Likewise.
48125         * soft-fp/fixunstfdi.c: Likewise.
48126         * soft-fp/fixunstfsi.c: Likewise.
48127         * soft-fp/fixunstfti.c: Likewise.
48128         * soft-fp/floatdidf.c: Likewise.
48129         * soft-fp/floatdisf.c: Likewise.
48130         * soft-fp/floatditf.c: Likewise.
48131         * soft-fp/floatsidf.c: Likewise.
48132         * soft-fp/floatsisf.c: Likewise.
48133         * soft-fp/floatsitf.c: Likewise.
48134         * soft-fp/floattidf.c: Likewise.
48135         * soft-fp/floattisf.c: Likewise.
48136         * soft-fp/floattitf.c: Likewise.
48137         * soft-fp/floatundidf.c: Likewise.
48138         * soft-fp/floatundisf.c: Likewise.
48139         * soft-fp/floatunditf.c: Likewise.
48140         * soft-fp/floatunsidf.c: Likewise.
48141         * soft-fp/floatunsisf.c: Likewise.
48142         * soft-fp/floatunsitf.c: Likewise.
48143         * soft-fp/floatuntidf.c: Likewise.
48144         * soft-fp/floatuntisf.c: Likewise.
48145         * soft-fp/floatuntitf.c: Likewise.
48146         * soft-fp/fmadf4.c: Likewise.
48147         * soft-fp/fmasf4.c: Likewise.
48148         * soft-fp/fmatf4.c: Likewise.
48149         * soft-fp/gedf2.c: Likewise.
48150         * soft-fp/gesf2.c: Likewise.
48151         * soft-fp/getf2.c: Likewise.
48152         * soft-fp/ledf2.c: Likewise.
48153         * soft-fp/lesf2.c: Likewise.
48154         * soft-fp/letf2.c: Likewise.
48155         * soft-fp/muldf3.c: Likewise.
48156         * soft-fp/mulsf3.c: Likewise.
48157         * soft-fp/multf3.c: Likewise.
48158         * soft-fp/negdf2.c: Likewise.
48159         * soft-fp/negsf2.c: Likewise.
48160         * soft-fp/negtf2.c: Likewise.
48161         * soft-fp/op-1.h: Likewise.
48162         * soft-fp/op-2.h: Likewise.
48163         * soft-fp/op-4.h: Likewise.
48164         * soft-fp/op-8.h: Likewise.
48165         * soft-fp/op-common.h: Likewise.
48166         * soft-fp/quad.h: Likewise.
48167         * soft-fp/single.h: Likewise.
48168         * soft-fp/soft-fp.h: Likewise.
48169         * soft-fp/sqrtdf2.c: Likewise.
48170         * soft-fp/sqrtsf2.c: Likewise.
48171         * soft-fp/sqrttf2.c: Likewise.
48172         * soft-fp/subdf3.c: Likewise.
48173         * soft-fp/subsf3.c: Likewise.
48174         * soft-fp/subtf3.c: Likewise.
48175         * soft-fp/truncdfsf2.c: Likewise.
48176         * soft-fp/trunctfdf2.c: Likewise.
48177         * soft-fp/trunctfsf2.c: Likewise.
48178         * soft-fp/trunctfxf2.c: Likewise.
48179         * soft-fp/unorddf2.c: Likewise.
48180         * soft-fp/unordsf2.c: Likewise.
48181         * soft-fp/unordtf2.c: Likewise.
48183 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
48185         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
48186         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
48188 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
48190         * elf/dl-libc.c: Clear initfini list after freeing.
48192 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
48194         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
48195         * soft-fp/addsf3.c: Likewise.
48196         * soft-fp/addtf3.c: Likewise.
48197         * soft-fp/divdf3.c: Likewise.
48198         * soft-fp/divsf3.c: Likewise.
48199         * soft-fp/divtf3.c: Likewise.
48200         * soft-fp/double.h: Likewise.
48201         * soft-fp/eqdf2.c: Likewise.
48202         * soft-fp/eqsf2.c: Likewise.
48203         * soft-fp/eqtf2.c: Likewise.
48204         * soft-fp/extenddftf2.c: Likewise.
48205         * soft-fp/extended.h: Likewise.
48206         * soft-fp/extendsfdf2.c: Likewise.
48207         * soft-fp/extendsftf2.c: Likewise.
48208         * soft-fp/extendxftf2.c: Likewise.
48209         * soft-fp/fixdfdi.c: Likewise.
48210         * soft-fp/fixdfsi.c: Likewise.
48211         * soft-fp/fixdfti.c: Likewise.
48212         * soft-fp/fixsfdi.c: Likewise.
48213         * soft-fp/fixsfsi.c: Likewise.
48214         * soft-fp/fixsfti.c: Likewise.
48215         * soft-fp/fixtfdi.c: Likewise.
48216         * soft-fp/fixtfsi.c: Likewise.
48217         * soft-fp/fixtfti.c: Likewise.
48218         * soft-fp/fixunsdfdi.c: Likewise.
48219         * soft-fp/fixunsdfsi.c: Likewise.
48220         * soft-fp/fixunsdfti.c: Likewise.
48221         * soft-fp/fixunssfdi.c: Likewise.
48222         * soft-fp/fixunssfsi.c: Likewise.
48223         * soft-fp/fixunssfti.c: Likewise.
48224         * soft-fp/fixunstfdi.c: Likewise.
48225         * soft-fp/fixunstfsi.c: Likewise.
48226         * soft-fp/fixunstfti.c: Likewise.
48227         * soft-fp/floatdidf.c: Likewise.
48228         * soft-fp/floatdisf.c: Likewise.
48229         * soft-fp/floatditf.c: Likewise.
48230         * soft-fp/floatsidf.c: Likewise.
48231         * soft-fp/floatsisf.c: Likewise.
48232         * soft-fp/floatsitf.c: Likewise.
48233         * soft-fp/floattidf.c: Likewise.
48234         * soft-fp/floattisf.c: Likewise.
48235         * soft-fp/floattitf.c: Likewise.
48236         * soft-fp/floatundidf.c: Likewise.
48237         * soft-fp/floatundisf.c: Likewise.
48238         * soft-fp/floatunsidf.c: Likewise.
48239         * soft-fp/floatunsisf.c: Likewise.
48240         * soft-fp/floatuntidf.c: Likewise.
48241         * soft-fp/floatuntisf.c: Likewise.
48242         * soft-fp/floatuntitf.c: Likewise.
48243         * soft-fp/fmadf4.c: Likewise.
48244         * soft-fp/fmasf4.c: Likewise.
48245         * soft-fp/fmatf4.c: Likewise.
48246         * soft-fp/gedf2.c: Likewise.
48247         * soft-fp/gesf2.c: Likewise.
48248         * soft-fp/getf2.c: Likewise.
48249         * soft-fp/ledf2.c: Likewise.
48250         * soft-fp/lesf2.c: Likewise.
48251         * soft-fp/letf2.c: Likewise.
48252         * soft-fp/muldf3.c: Likewise.
48253         * soft-fp/mulsf3.c: Likewise.
48254         * soft-fp/multf3.c: Likewise.
48255         * soft-fp/negdf2.c: Likewise.
48256         * soft-fp/negsf2.c: Likewise.
48257         * soft-fp/negtf2.c: Likewise.
48258         * soft-fp/op-1.h: Likewise.
48259         * soft-fp/op-2.h: Likewise.
48260         * soft-fp/op-4.h: Likewise.
48261         * soft-fp/op-8.h: Likewise.
48262         * soft-fp/op-common.h: Likewise.
48263         * soft-fp/quad.h: Likewise.
48264         * soft-fp/single.h: Likewise.
48265         * soft-fp/soft-fp.h: Likewise.
48266         * soft-fp/sqrtdf2.c: Likewise.
48267         * soft-fp/sqrtsf2.c: Likewise.
48268         * soft-fp/sqrttf2.c: Likewise.
48269         * soft-fp/subdf3.c: Likewise.
48270         * soft-fp/subsf3.c: Likewise.
48271         * soft-fp/subtf3.c: Likewise.
48272         * soft-fp/truncdfsf2.c: Likewise.
48273         * soft-fp/trunctfdf2.c: Likewise.
48274         * soft-fp/trunctfsf2.c: Likewise.
48275         * soft-fp/trunctfxf2.c: Likewise.
48276         * soft-fp/unorddf2.c: Likewise.
48277         * soft-fp/unordsf2.c: Likewise.
48278         * soft-fp/unordtf2.c: Likewise.
48280 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
48282         [BZ #15672]
48283         * misc/error.c (error_tail): Fix possible buffer overflow.
48285 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
48287         [BZ #13028]
48288         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
48289         address.
48291 2013-10-14  P. J. McDermott  <pj@pehjota.net>
48293         [BZ #832]
48294         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
48295         testing pipefail option.
48297 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
48299         * soft-fp/double.h: Indent preprocessor directives inside #if.
48300         * soft-fp/extended.h: Likewise.
48301         * soft-fp/op-2.h: Likewise.
48302         * soft-fp/op-4.h: Likewise.
48303         * soft-fp/op-common.h: Likewise.
48304         * soft-fp/quad.h: Likewise.
48305         * soft-fp/single.h: Likewise.
48306         * soft-fp/soft-fp.h: Likewise.
48308 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
48310         * iconv/iconv_prog.c: Fix typos.
48311         * stdio-common/psiginfo-data.h: Likewise.
48313 2013-10-12   Reuben Thomas <rrt@sc3d.org>
48315         [BZ #15764]
48316         * locale/setlocale.c: Fix typo.
48318 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
48320         [BZ #16036]
48321         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
48322         signaling NaN arguments.
48323         * soft-fp/unordsf2.c (__unordsf2): Likewise.
48324         * soft-fp/unordtf2.c (__unordtf2): Likewise.
48326         [BZ #14910]
48327         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
48328         unordered operands.
48329         * soft-fp/gesf2.c (__gesf2): Likewise.
48330         * soft-fp/getf2.c (__getf2): Likewise.
48331         * soft-fp/ledf2.c (__ledf2): Likewise.
48332         * soft-fp/lesf2.c (__lesf2): Likewise.
48333         * soft-fp/letf2.c (__letf2): Likewise.
48335         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
48336         * soft-fp/eqsf2.c (__eqsf2): Likewise.
48337         * soft-fp/eqtf2.c (__eqtf2): Likewise.
48338         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
48339         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
48340         * soft-fp/fixdfti.c (__fixdfti): Likewise.
48341         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
48342         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
48343         * soft-fp/fixsfti.c (__fixsfti): Likewise.
48344         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
48345         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
48346         * soft-fp/fixtfti.c (__fixtfti): Likewise.
48347         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
48348         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
48349         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
48350         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
48351         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
48352         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
48353         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
48354         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
48355         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
48356         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
48357         * soft-fp/floatdisf.c (__floatdisf): Likewise.
48358         * soft-fp/floatsisf.c (__floatsisf): Likewise.
48359         * soft-fp/floattidf.c (__floattidf): Likewise.
48360         * soft-fp/floattisf.c (__floattisf): Likewise.
48361         * soft-fp/floattitf.c (__floattitf): Likewise.
48362         * soft-fp/floatundidf.c (__floatundidf): Likewise.
48363         * soft-fp/floatundisf.c (__floatundisf): Likewise.
48364         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
48365         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
48366         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
48367         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
48368         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
48369         * soft-fp/gesf2.c (__gesf2): Likewise.
48370         * soft-fp/getf2.c (__getf2): Likewise.
48371         * soft-fp/ledf2.c (__ledf2): Likewise.
48372         * soft-fp/lesf2.c (__lesf2): Likewise.
48373         * soft-fp/letf2.c (__letf2): Likewise.
48375         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
48376         Undefine and redefine.
48377         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
48378         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
48379         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
48380         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
48381         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48382         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
48383         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48384         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
48385         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48386         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
48387         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48388         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
48389         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48390         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
48391         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48393         [BZ #16032]
48394         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
48395         without decrementing exponent if mantissa >= that for the
48396         denominator, not >.
48397         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
48398         denominator, not >.  Decrement exponent in < case instead of
48399         incrementing in >= case.
48400         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
48401         without decrementing exponent if mantissa >= that for the
48402         denominator, not >.
48404         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
48405         computing saturated result for unsigned overflow.
48407 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48408             Jeff Law  <law@redhat.com>
48410         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
48411         (atan2Mp): Add systemtap probe marker.
48412         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
48413         (__ieee754_log): Add systemtap probe marker.
48414         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
48415         (atanMp): Add systemtap probe marker.
48416         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
48417         (tanMp): Add systemtap probe marker.
48418         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
48419         (__slowexp): Add systemtap probe marker.
48420         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
48421         (__slowpow): Add systemtap probe marker.
48422         * manual/probes.texi: Document probes.
48424 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
48426         [BZ #15362]
48427         * libio/fileops.c (_IO_new_file_write): Return count of bytes
48428         written.
48429         (_IO_new_file_xsputn): Don't return EOF if nothing has been
48430         written.
48431         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
48432         written to buffer but not flushed.
48433         * libio/iofwrite_u.c:  Likewise.
48434         * libio/iopadn.c:  Return bytes returned even if EOF was
48435         encountered.
48436         * libio/iowpadn.c:  Likewise.
48437         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
48438         if _IO_padn does not write the whole buffer.
48439         [!COMPILE_WPRINTF] (PAD): Likewise.
48441 2013-10-10  David S. Miller  <davem@davemloft.net>
48443         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
48444         directory block.
48446 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
48448         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
48449         instead of FSF address.
48450         * soft-fp/fixdfti.c: Likewise.
48451         * soft-fp/fixsfti.c: Likewise.
48452         * soft-fp/fixtfti.c: Likewise.
48453         * soft-fp/fixunsdfti.c: Likewise.
48454         * soft-fp/fixunssfti.c: Likewise.
48455         * soft-fp/fixunstfti.c: Likewise.
48456         * soft-fp/floattidf.c: Likewise.
48457         * soft-fp/floattisf.c: Likewise.
48458         * soft-fp/floattitf.c: Likewise.
48459         * soft-fp/floatuntidf.c: Likewise.
48460         * soft-fp/floatuntisf.c: Likewise.
48461         * soft-fp/floatuntitf.c: Likewise.
48462         * soft-fp/trunctfxf2.c: Likewise.
48464         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
48465         * soft-fp/fixdfti.c: Likewise.
48466         * soft-fp/fixsfti.c: Likewise.
48467         * soft-fp/fixtfti.c: Likewise.
48468         * soft-fp/fixunsdfti.c: Likewise.
48469         * soft-fp/fixunssfti.c: Likewise.
48470         * soft-fp/fixunstfti.c: Likewise.
48471         * soft-fp/floattidf.c: Likewise.
48472         * soft-fp/floattisf.c: Likewise.
48473         * soft-fp/floattitf.c: Likewise.
48474         * soft-fp/floatuntidf.c: Likewise.
48475         * soft-fp/floatuntisf.c: Likewise.
48476         * soft-fp/floatuntitf.c: Likewise.
48477         * soft-fp/trunctfxf2.c: Likewise.
48479 2013-10-10  David S. Miller  <davem@davemloft.net>
48481         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48483 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
48485         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
48486         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
48487         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
48488         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
48489         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
48490         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
48491         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
48493         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
48494         for NaNs before doing comparisons on argument.
48495         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
48496         Likewise.
48498 2013-10-10  Will Newton  <will.newton@linaro.org>
48500         * malloc/hooks.c (memalign_check): Ensure the value of bytes
48501         passed to _int_memalign does not overflow.
48503 2013-10-10  Torvald Riegel  <triegel@redhat.com>
48505         * scripts/bench.pl: Add include-sources directive.
48506         * benchtests/README: Update documentation.
48508 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
48510         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
48511         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
48512         instead of FP_INIT_ROUNDMODE.
48513         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
48514         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
48516         [BZ #16034]
48517         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
48518         copy class of input value.
48519         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
48520         not handle exceptions.
48521         * soft-fp/negsf2.c (__negsf2): Likewise.
48522         * soft-fp/negtf2.c (__negtf2): Likewise.
48523         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
48525 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
48527         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
48528         semicolon.  From Linux kernel.
48530 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
48532         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
48534 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
48536         [BZ #156]
48537         * manual/socket.texi: Added statement about buffer
48538         for gethostbyname2_r.
48540 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
48542         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
48543         Use .p2align directive instead, throughout.
48544         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
48545         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
48546         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
48547         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48548         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48549         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
48550         * sysdeps/x86_64/strchr.S: Likewise.
48551         * sysdeps/x86_64/strrchr.S: Likewise.
48553 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
48555         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
48557         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
48559         * sysdeps/generic/math_private.h (__mpsin1): Remove
48560         declaration.
48561         (__mpcos1): Likewise.
48562         (__mpsin): New argument __range_reduce.
48563         (__mpcos): Likewise.
48564         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48565         (slow): Use __mpsin and __mpcos.
48566         (slow1): Likewise.
48567         (slow2): Likewise.
48568         (sloww): Likewise.
48569         (sloww1): Likewise.
48570         (sloww2): Likewise.
48571         (bsloww): Likewise.
48572         (bsloww1): Likewise.
48573         (bsloww2): Likewise.
48574         (cslow2): Likewise.
48575         (csloww): Likewise.
48576         (csloww1): Likewise.
48577         (csloww2): Likewise.
48578         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
48579         range_reduce.  Merge in __mpsin1.
48580         (__mpcos): Likewise.
48581         (__mpsin1): Remove.
48582         (__mpcos1): Likewise.
48584 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
48586         * locale/loadlocale.c (_nl_intern_locale_data): Use
48587         LOCFILE_ALIGNED_P.
48588         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
48589         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
48590         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
48591         obstack data is appropriately aligned.
48592         (obstack_int32_grow_fast): Likewise.
48593         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
48594         * locale/programs/locfile.c (add_locale_uint32): Likewise.
48595         (add_locale_uint32_array): Likewise.
48597 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
48599         * benchtests/Makefile: Remove ARGLIST and RET variables.
48600         ($(objpfx)bench-%.c): Pass only function name to the script.
48601         * benchtests/README: Update documentation.
48602         * benchtests/acos-inputs: Add new directives.
48603         * benchtests/acosh-inputs: Likewise.
48604         * benchtests/asin-inputs: Likewise.
48605         * benchtests/asinh-inputs: Likewise.
48606         * benchtests/atan-inputs: Likewise.
48607         * benchtests/atanh-inputs: Likewise.
48608         * benchtests/cos-inputs: Likewise.
48609         * benchtests/cosh-inputs: Likewise.
48610         * benchtests/exp-inputs: Likewise.
48611         * benchtests/log-inputs: Likewise.
48612         * benchtests/pow-inputs: Likewise.
48613         * benchtests/rint-inputs: Likewise.
48614         * benchtests/sin-inputs: Likewise.
48615         * benchtests/sinh-inputs: Likewise.
48616         * benchtests/tan-inputs: Likewise.
48617         * benchtests/tanh-inputs: Likewise.
48618         * scripts/bench.pl: Add support for new directives.
48620 2013-10-07  Alan Modra  <amodra@gmail.com>
48622         * README: Fix careless merge.
48624 2013-10-05  Alan Modra  <amodra@gmail.com>
48626         * NEWS: Mention powerpc64le support and bugs fixed.
48627         * README: Both big-endian and little-endian powerpc64 supported.
48629 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48631         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
48632         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
48633         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
48634         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
48636 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
48638         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
48639         match prototype.
48641 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
48643         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
48644         Move -mhard-float appending from
48645         ports/sysdeps/powerpc/powerpc32/Makefile.
48646         [$(with-fp) = yes] (ASFLAGS): Likewise.
48647         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
48648         * sysdeps/powerpc/nofpu: Move directory from
48649         ports/sysdeps/powerpc/nofpu.
48650         * sysdeps/powerpc/soft-fp: Move directory from
48651         ports/sysdeps/powerpc/soft-fp.
48652         * sysdeps/powerpc/powerpc32/405: Move directory from
48653         ports/sysdeps/powerpc/powerpc32/405.
48654         * sysdeps/powerpc/powerpc32/440: Move directory from
48655         ports/sysdeps/powerpc/powerpc32/440.
48656         * sysdeps/powerpc/powerpc32/464: Move directory from
48657         ports/sysdeps/powerpc/powerpc32/464.
48658         * sysdeps/powerpc/powerpc32/476: Move directory from
48659         ports/sysdeps/powerpc/powerpc32/476.
48660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
48661         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
48662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
48663         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
48664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
48665         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
48666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
48667         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
48668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
48669         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
48670         * README: Update for powerpc-*-linux-gnu software floating point
48671         support in libc.
48673         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
48674         case to powerpc/powerpc32*.
48675         * sysdeps/unix/sysv/linux/configure: Regenerated.
48677         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
48678         (_FPU_MASK_OM): Define as 0x04.
48679         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
48680         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
48681         0x00c10080.
48682         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
48683         0x0000003c.
48684         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
48686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
48687         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
48688         getcontext_e500.
48689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
48690         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
48691         setcontext_e500.
48692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
48693         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
48694         and setcontext_e500.
48696 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
48698         * locale/iso-3166.def: Update iso-1366.def and related occurrences
48700 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48702         * manual/threads.texi (Default Thread Attributes): Fix typo.
48704 2013-10-04  Will Newton  <will.newton@linaro.org>
48706         * malloc/Makefile: Add tst-memalign.
48707         * malloc/tst-memalign.c: New file.
48709         * malloc/tst-posix_memalign.c: Add comments.
48710         (do_test): Add comments and call free on all potentially
48711         allocated pointers. Add space after cast.
48713         * malloc/tst-pvalloc.c: Add comments.
48714         (do_test): Add comments and call free on all potentially
48715         allocated pointers. Remove duplicate check for NULL pointer.
48716         Add space after cast.
48718         * malloc/tst-valloc.c: Add comments.
48719         (do_test): Add comments and call free on all potentially
48720         allocated pointers. Remove duplicate check for NULL pointer.
48721         Add space after cast.
48723 2013-10-04  Alan Modra  <amodra@gmail.com>
48725         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
48726         Use stdint types in rather than __attribute__((mode())).
48727         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
48729 2013-10-04  Alan Modra  <amodra@gmail.com>
48731         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
48732         Correct handling of unaligned relocs for little-endian.
48733         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
48735 2013-10-04  Alan Modra  <amodra@gmail.com>
48737         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
48738         * configure: Regenerate.
48739         * nptl/shlib-versions: Powerpc*le starts at 2.18.
48740         * shlib-versions: Likewise.
48742 2013-10-04  Alan Modra  <amodra@gmail.com>
48744         * string/tester.c (test_memrchr): Increment reported test cycle.
48746 2013-10-04  Alan Modra  <amodra@gmail.com>
48748         * string/test-memcpy.c (do_one_test): When reporting errors, print
48749         string address and don't overrun end of string.
48751 2013-10-04  Alan Modra  <amodra@gmail.com>
48753         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
48754         insrdi.  Make better use of reg selection to speed exit slightly.
48755         Schedule entry path a little better.  Remove useless "are we done"
48756         checks on entry to main loop.  Handle wrapping around zero address.
48757         Correct main loop count.  Handle single left-over word from main
48758         loop inline rather than by using loop_small.  Remove extra word
48759         case in loop_small caused by wrong loop count.  Add little-endian
48760         support.
48761         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
48762         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
48763         cache hint.
48764         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
48765         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
48766         support.  Avoid rlwimi.
48767         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
48769 2013-10-04  Alan Modra  <amodra@gmail.com>
48771         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
48772         insrdi.  Formatting.
48773         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
48774         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
48775         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
48776         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
48777         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
48778         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
48780 2013-10-04  Alan Modra  <amodra@gmail.com>
48782         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
48783         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
48784         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
48785         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
48786         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
48787         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
48788         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48789         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
48790         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
48791         use of regs.  Use power7 mtocrf.  Tidy function tails.
48793 2013-10-04  Alan Modra  <amodra@gmail.com>
48795         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
48796         Formatting.  Consistently use rXXX register defines or rN defines.
48797         Use early exit labels that avoid restoring unused non-volatile regs.
48798         Make cr field use more consistent with rWORDn compares.  Rename
48799         regs used as shift registers for unaligned loop, using rN defines
48800         for short lifetime/multiple use regs.
48801         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
48802         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
48803         addi 1,1,64 to pop stack frame.  Simplify return value code.
48804         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48806 2013-10-04  Alan Modra  <amodra@gmail.com>
48808         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
48809         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
48810         rather than rlwimi.
48811         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
48812         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
48813         little-endian support.  Correct typos.
48814         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
48815         rather than rlwimi.
48816         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
48817         in loop and entry code to keep "and." results.
48818         (strchr): Add little-endian support.  Comment.  Move cntlzd
48819         earlier in tail.
48820         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
48822 2013-10-04  Alan Modra  <amodra@gmail.com>
48824         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
48825         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
48826         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
48827         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
48829 2013-10-04  Alan Modra  <amodra@gmail.com>
48831         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
48832         (rTMP): Define as r11.
48833         (strcmp): Add little-endian support.  Optimise tail.
48834         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
48835         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
48836         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
48837         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48838         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
48839         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48840         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48842 2013-10-04  Alan Modra  <amodra@gmail.com>
48844         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
48845         little-endian support.  Remove unnecessary "are we done" tests.
48846         Handle "s" wrapping around zero and extremely large "size".
48847         Correct main loop count.  Handle single left-over word from main
48848         loop inline rather than by using small_loop.  Correct comments.
48849         Delete "zero" tail, use "end_max" instead.
48850         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
48852 2013-10-04  Alan Modra  <amodra@gmail.com>
48854         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
48855         support.  Don't branch over align.
48856         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
48857         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
48858         support.  Rearrange tmp reg use to suit.  Comment.
48859         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
48861 2013-10-04  Alan Modra  <amodra@gmail.com>
48863         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
48865 2013-10-04  Alan Modra  <amodra@gmail.com>
48867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
48868         conditional form of branch and link when obtaining pc.
48869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
48871 2013-10-04  Alan Modra  <amodra@gmail.com>
48873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
48874         HIWORD/LOWORD.
48875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
48876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
48878 2013-10-04  Alan Modra  <amodra@gmail.com>
48880         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
48881         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
48882         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
48883         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
48884         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
48885         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
48886         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
48887         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
48888         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
48889         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
48891 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
48892             Alistair Popple <alistair@ozlabs.au.ibm.com>
48893             Alan Modra <amodra@gmail.com>
48895         [BZ #15723]
48896         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
48897         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
48898         _dl_hwcap access for little-endian.
48899         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
48900         destroy vmx regs when saving unaligned.
48901         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
48902         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
48903         destroy vmx regs when saving unaligned.
48905 2013-10-04  Alan Modra  <amodra@gmail.com>
48907         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
48908         Don't use a union to pack hi/low value.
48910 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
48912         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
48913         for little-endian.
48914         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
48915         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
48916         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
48917         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
48918         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
48920 2013-10-04  Alan Modra  <amodra@gmail.com>
48922         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
48923         constants to usual value for .cst8 section, and remove redundant
48924         high address load.
48925         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
48926         constant for 0x1p52.  Load little-endian words of double from
48927         correct stack offsets.
48929 2013-10-04  Alan Modra  <amodra@gmail.com>
48931         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
48932         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
48933         words of double from correct stack offsets.
48934         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
48935         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
48936         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
48937         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
48938         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
48939         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
48940         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
48941         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
48942         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
48943         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
48944         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
48945         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
48946         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
48947         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
48948         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
48949         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
48950         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
48952 2013-10-04  Alan Modra  <amodra@gmail.com>
48954         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
48955         64-bit int/double union.
48956         (_FPU_SETCW): Likewise.
48957         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
48958         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
48960 2013-10-04  Alan Modra  <amodra@gmail.com>
48962         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
48963         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
48965 2013-10-04  Alan Modra  <amodra@gmail.com>
48967         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
48968         use vector int constants.
48969         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
48971 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
48973         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
48974         array with long long.
48975         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
48976         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
48977         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
48978         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
48979         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
48980         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
48981         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
48982         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
48983         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
48984         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
48985         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
48986         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
48987         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
48989 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
48991         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
48992         (__signbit): Likewise.  Correct for little-endian.
48993         (__signbitl): Call __signbit.
48994         (lrint): Correct for little-endian.
48995         (lrintf): Call lrint.
48997 2013-10-04  Alan Modra  <amodra@gmail.com>
48999         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
49000         union 32-bit int array member with 64-bit int array.
49001         (t515, tm256): Double rather than long double.
49002         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
49004 2013-10-04  Alan Modra  <amodra@gmail.com>
49006         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
49007         Delete.
49008         (IEEE854_LONG_DOUBLE_BIAS): Delete.
49009         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
49010         version of math_ldbl.h.
49012 2013-10-04  Alan Modra  <amodra@gmail.com>
49014         [BZ #15734], [BZ #15735]
49015         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
49016         all uses of ieee875 long double macros and unions.  Simplify test
49017         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
49018         ldbl_extract_mantissa value for ix,iy exponents.  Properly
49019         normalize after ldbl_extract_mantissa, and don't add hidden bit
49020         already handled.  Don't treat low word of ieee854 mantissa like
49021         low word of IBM long double and mask off bit when testing for
49022         zero.
49023         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
49024         all uses of ieee875 long double macros and unions.  Simplify tests
49025         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
49026         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
49027         two1022, instead use their values.  Recognise that tests for large
49028         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
49029         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
49030         Rewrite all uses of ieee875 long double macros and unions.  Simplify
49031         test for 0.0L and nan.  Correct negation.
49032         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
49033         ieee875 long double macros and unions.  Correct output for large
49034         magnitude x.  Correct absolute value calculation.
49035         (__erfcl): Likewise.
49036         * math/libm-test.inc: Add tests for errors discovered in IBM long
49037         double versions of fmodl, remainderl, erfl and erfcl.
49039 2013-10-04  Alan Modra  <amodra@gmail.com>
49041         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
49042         all uses of ieee854 long double macros and unions.  Simplify tests
49043         for long doubles that are fully specified by the high double.
49044         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
49045         Likewise.
49046         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
49047         Remove dead code too.
49048         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
49049         (__ieee754_ynl): Likewise.
49050         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
49051         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
49052         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
49053         Remove dead code too.
49054         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
49055         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
49056         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
49057         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
49058         Simplify.
49059         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
49060         Simplify.
49061         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
49062         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
49063         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
49064         Comment on variable precision.
49065         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
49066         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
49067         Likewise.
49068         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
49069         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
49070         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
49071         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
49072         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
49074 2013-10-04  Alan Modra  <amodra@gmail.com>
49076         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
49077         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
49078         all uses of ieee854 long double macros and unions.
49079         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
49080         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
49081         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
49082         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
49083         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
49084         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
49085         Likewise.
49086         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
49087         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
49088         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
49089         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
49090         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
49091         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
49092         Simplify sign and nan test too.
49093         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
49094         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
49095         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
49096         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
49097         Likewise.
49098         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
49099         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
49100         Likewise.
49101         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49102         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
49103         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
49104         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
49105         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
49106         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
49108 2013-10-04  Alan Modra  <amodra@gmail.com>
49110         * stdio-common/printf_size.c (__printf_size): Don't use
49111         union ieee854_long_double in fpnum union.
49112         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
49113         signbit macro to retrieve sign from long double.
49114         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
49115         retrieve sign from long double.
49116         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
49117         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
49118         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
49119         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
49120         * math/test-misc.c (main): Don't use union ieee854_long_double.
49122 2013-10-04  Alan Modra  <amodra@gmail.com>
49124         [BZ #15680]
49125         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
49126         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
49127         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
49128         calculation.  Remove unnecessary test for denormal exponent.
49129         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
49130         Correct handling of denormals.  Avoid undefined shift behaviour.
49131         Correct normalisation of low mantissa when low double is denormal.
49132         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
49133         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
49134         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
49135         Correct normalisation of low mantissa.  Test for overflow of high
49136         mantissa and normalise.
49137         (ldbl_nearbyint): Use more readable constant for two52.
49138         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
49139         (__mpn_construct_long_double): Fix test for overflow of high
49140         mantissa and correct normalisation.  Avoid undefined shift.
49142 2013-10-04  Alan Modra  <amodra@gmail.com>
49144         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
49145         (union ibm_extended_long_double): Define as an array of ieee754_double.
49146         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
49147         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
49148         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
49149         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
49150         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49151         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
49152         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
49153         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
49154         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
49155         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
49156         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
49158 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
49160         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
49161         page size instead of calling getpagesize.
49163         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
49164         (LOCFILE_ALIGN_MASK): Likewise.
49165         (LOCFILE_ALIGN_UP): Likewise.
49166         (LOCFILE_ALIGNED_P): Likewise.
49167         * locale/programs/ld-collate.c (collate_output): Use the new
49168         macros instead of __alignof__ (int32_t).
49169         * locale/weight.h (findidx): Likewise.
49171 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
49173         [BZ #431]
49174         * manual/string.texi: Fix strncat and wcsncat.
49176 2013-10-03  Brooks Moses  <bmoses@google.com>
49178         [BZ #15915]
49179         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
49180         * Makerules: ...here, and adjust associated comments.
49182 2013-10-02  Will Newton  <will.newton@linaro.org>
49184         * malloc/Makefile: Add tst-pvalloc.
49185         * malloc/tst-pvalloc.c: New file.
49187 2013-10-02  Will Newton  <will.newton@linaro.org>
49189         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
49190         improve test coverage.
49192 2013-10-02  Will Newton  <will.newton@linaro.org>
49194         * malloc/Makefile: Add tst-posix_memalign.
49195         * malloc/tst-posix_memalign.c: New file.
49197 2013-10-01  Eric Blake  <eblake@redhat.com>
49199         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
49200         Use __THROWNL rather than __THROW on static functions.
49202 2013-09-30  Petr Machata  <pmachata@redhat.com>
49204         * elf/elf.h (R_AARCH64_ABS16): New macro.
49205         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
49206         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
49207         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
49208         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
49209         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
49210         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
49211         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
49212         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
49213         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
49214         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
49215         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
49216         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
49217         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
49218         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
49219         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
49220         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
49221         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
49222         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
49223         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
49224         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
49225         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
49226         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
49227         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
49228         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
49229         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
49230         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
49231         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
49232         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
49233         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
49234         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
49235         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
49236         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
49237         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
49238         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
49239         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
49240         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
49241         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
49242         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
49243         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
49244         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
49245         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
49246         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
49247         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
49248         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
49249         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
49250         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
49251         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
49252         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
49253         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
49254         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
49255         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
49256         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
49257         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
49258         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
49259         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
49260         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
49261         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
49262         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
49263         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
49264         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
49265         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
49266         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
49267         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
49268         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
49269         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
49270         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
49271         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
49272         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
49273         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
49274         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
49275         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
49276         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
49277         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
49278         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
49279         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
49280         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
49281         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
49282         (R_AARCH64_TLSDESC_LDR): Likewise.
49283         (R_AARCH64_TLSDESC_ADD): Likewise.
49284         (R_AARCH64_TLSDESC_CALL): Likewise.
49286 2013-09-30  Andreas Schwab  <schwab@suse.de>
49288         [BZ #15048]
49289         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
49290         the nss database lookup.
49291         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49292         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49294 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
49296         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
49298 2013-09-28  P. J. McDermott  <pj@pehjota.net>
49300         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
49301         ${Bash-specific parameter/pattern/string} parameter expansion.
49302         * sysdeps/unix/make-syscalls.sh: Likewise.
49304 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49306         * sysdeps/sh/stackguard-macros.h: New file.
49308 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
49310         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
49311         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
49312         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
49313         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
49314         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49315         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
49317 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49319         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
49320         Fix thread ID register.
49322 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
49324         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
49325         [POSIX || UNIX98]: Require rather than permitting all symbols from
49326         <time.h>.
49327         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
49328         element of struct sched_param.
49329         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
49330         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
49331         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
49332         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
49333         constant.
49335 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
49337         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
49338         argument calculation.
49340 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
49342         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
49343         Expect macro.
49344         [POSIX] (pthread_attr_t): Do not require type.
49345         [POSIX] (pthread_cond_t): Likewise.
49346         [POSIX] (pthread_condattr_t): Likewise.
49347         [POSIX] (pthread_key_t): Likewise.
49348         [POSIX] (pthread_mutex_t): Likewise.
49349         [POSIX] (pthread_mutexattr_t): Likewise.
49350         [POSIX] (pthread_once_t): Likewise.
49351         [POSIX] (pthread_t): Likewise.
49352         [POSIX-based standards] (pthread_atfork): Expect function.
49354 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
49355             Richard Sandiford  <richard@codesourcery.com>
49357         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
49358         (swap_endianness_p): New extern variable.
49359         (set_big_endian): New inline function.
49360         (maybe_swap_uint32): Likewise.
49361         (maybe_swap_uint32_array): Likewise.
49362         (maybe_swap_uint32_obstack): Likewise.
49363         * locale/programs/locfile.c: Include <stdbool.h>.
49364         (swap_endianness_p): New variable.
49365         (add_locale_uint32): Call maybe_swap_uint32.
49366         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
49367         (write_locale_data): Call maybe_swap_uint32_array.
49368         * locale/programs/ld-collate.c (obstack_int32_grow): Call
49369         maybe_swap_uint32.
49370         (obstack_int32_grow_fast): Likewise.
49371         (output_weightwc): Call maybe_swap_uint32_obstack.
49372         (collate_output): Likewise.
49373         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
49374         (OPT_LITTLE_ENDIAN): Likewise.
49375         (options): Add --little-endian and --big-endian options.
49376         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
49377         * locale/programs/locarchive.c: Include "locfile.h".
49378         (GET): New macro.
49379         (SET): Likewise.
49380         (INC): Likewise.
49381         (create_archive): Use the new macros to access fields of
49382         structures directly mapped from or written to locale archives.
49383         (oldlocrecentcmp): Likewise.
49384         (enlarge_archive): Likewise.
49385         (insert_name): Likewise.
49386         (add_alias): Likewise.
49387         (add_locale): Likewise.
49388         (delete_locales_from_archive): Likewise.
49389         (show_archive_content): Likewise.
49390         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
49391         locale data.
49393 2013-09-24  Roland McGrath  <roland@hack.frob.com>
49395         * manual/freemanuals.texi: Updated from (newly) canonical copy at
49396         http://www.gnu.org/doc/freemanuals.texi.
49397         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
49399 2013-09-24  Will Newton  <will.newton@linaro.org>
49401         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
49402         macro.
49404 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
49406         * locale/hashval.h (compute_hashval): Interpret bytes of key as
49407         unsigned char.
49409 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
49411         * manual/threads.texi (POSIX Threads): Fix a typo.
49413 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
49415         [BZ #14547]
49416         * string/tst-strcoll-overflow.c: New test case.
49417         * string/Makefile (xtests): Add tst-strcoll-overflow.
49418         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
49419         cache if string sizes may cause integer overflow.
49421         [BZ #14547]
49422         * string/strcoll_l.c (coll_seq): New members rule, idx,
49423         save_idx and back_us.
49424         (get_next_seq_nocache): New function.
49425         (do_compare_nocache): New function.
49426         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
49427         when malloc fails.
49429 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
49431         [BZ #15754]
49432         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
49433         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
49434         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
49436         [BZ #15754]
49437         * elf/Makefile (tests): Add tst-ptrguard1.
49438         (tests-static): Add tst-ptrguard1-static.
49439         (tst-ptrguard1-ARGS): Define.
49440         (tst-ptrguard1-static-ARGS): Define.
49441         * elf/tst-ptrguard1.c: New file.
49442         * elf/tst-ptrguard1-static.c: New file.
49443         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
49444         * sysdeps/i386/stackguard-macros.h: Likewise.
49445         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
49446         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
49447         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
49448         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
49449         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
49450         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
49452 2013-09-23  Hector Marco  <hecmargi@upv.es>
49453             Ismael Ripoll  <iripoll@disca.upv.es>
49454             Carlos O'Donell  <carlos@redhat.com>
49456         [BZ #15754]
49457         * sysdeps/generic/stackguard-macros.h: Define
49458         __pointer_chk_guard_local and POINTER_CHK_GUARD.
49459         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
49460         Define __pointer_chk_guard_local.
49461         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
49462         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
49464 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
49466         [BZ #15859]
49467         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
49469 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
49471         * include/string.h (__ffs): Declare as hidden.
49472         * string/ffs.c (__ffs): Define as hidden.
49473         * sysdeps/i386/ffs.c (__ffs): Likewise.
49474         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
49475         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
49476         * sysdeps/s390/ffs.c (__ffs): Likewise.
49477         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
49479 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
49481         * NEWS: Mention malloc probes.
49483         * malloc/arena.c (new_heap): New memory_heap_new probe.
49484         (grow_heap): New memory_heap_more probe.
49485         (shrink_heap): New memory_heap_less probe.
49486         (heap_trim): New memory_heap_free probe.
49487         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
49488         (systrim): New memory_sbrk_less probe.
49489         * manual/probes.texi: Document them.
49491         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
49492         * manual/probes.texi: Document it.
49494         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
49495         (__libc_realloc): Add memory_realloc_retry probe.
49496         (__libc_memalign): Add memory_memalign_retry probe.
49497         (__libc_valloc): Add memory_valloc_retry probe.
49498         (__libc_pvalloc): Add memory_pvalloc_retry probe.
49499         (__libc_calloc): Add memory_calloc_retry probe.
49500         * manual/probes.texi: Document them.
49502         * malloc/arena.c (get_free_list): Add probe
49503         memory_arena_reuse_free_list.
49504         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
49505         and memory_arena_reuse.
49506         (arena_get2) [!PER_THREAD]: Likewise.
49507         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
49508         memory_arena_reuse_realloc.
49509         * manual/probes.texi: Document them.
49511         * malloc/malloc.c (__libc_free): Add
49512         memory_mallopt_free_dyn_thresholds probe.
49513         (__libc_mallopt): Add multiple memory_mallopt probes.
49514         * manual/probes.texi: Document them.
49516         * malloc/malloc.c: Include stap-probe.h.
49517         (__libc_mallopt): Add memory_mallopt probe.
49518         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
49519         * manual/probes.texi: New.
49520         * manual/Makefile (chapters): Add probes.
49521         * manual/threads.texi: Set next node.
49523 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
49525         [BZ #15963, #13985]
49526         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
49527         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
49528         Add `Chinese' to `nan' entry name.
49530 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
49532         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
49533         (POLYNOMIAL): Likewise.
49534         (TAYLOR_SINCOS): Likewise.
49535         (TAYLOR_SLOW): Likewise.
49536         (__sin): Use TAYLOR_SINCOS.
49537         (__cos): Likewise.
49538         (slow): Use TAYLOR_SLOW.
49539         (sloww): Likewise.
49540         (bsloww): Likewise.
49541         (csloww): Likewise.
49543 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49545         * stdlib/strtod_l.c: Fix buffer overrun.
49547 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
49549         * benchtests/Makefile (bench): Add sincos.
49550         * benchtests/bench-sincos.c: New file.
49552         * math/libm-test.inc (cos_test_data): New test inputs.
49553         (sin_test_data): Likewise.
49555         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
49556         macro.
49557         (__sin): Use it.
49558         (__cos): Likewise.
49559         (slow1): Likewise.
49560         (slow2): Likewise.
49561         (sloww1): Likewise.
49562         (sloww2): Likewise.
49563         (bsloww1): Likewise.
49564         (bsloww2): Likewise.
49565         (cslow2): Likewise.
49566         (csloww1): Likewise.
49567         (csloww2): Likewise.
49569         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
49570         function.
49571         (__sin): Use it.
49572         (__cos): Likewise.
49574         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
49575         gotos.
49576         (__cos): Likewise.
49578 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
49580         * config.h.in (HAVE_MIPS_NAN2008): New macro.
49581         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
49582         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
49583         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
49584         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
49585         * elf/cache.c (print_entry): Handle the new cache flags.
49587 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
49588             Aldy Hernandez  <aldyh@redhat.com>
49590         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
49591         Change condition to [_SOFT_FLOAT].
49592         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
49593         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
49594         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
49595         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
49596         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
49597         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
49598         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
49599         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
49600         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
49601         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
49602         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
49603         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
49604         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
49605         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
49606         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
49607         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
49608         declaration.
49610 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
49612         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
49613         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
49614         (__longjmp): Use LOAD_GP to load saved GPRs.
49615         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
49616         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
49617         (__sigsetjmp): Use SAVE_GP to save GPRs.
49619         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
49620         Do not append -msoft-float.
49621         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
49623 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
49625         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
49627 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
49629         [BZ #15966]
49630         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
49631         (_FPU_GETCW): Use initial "__" on variable and field names but not
49632         on macro parameter name.
49633         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
49634         parentheses around reference to macro parameter.
49636 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
49638         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
49639         prototype.
49640         (ctype_startup): Use uint32_t in cast and sizeof for
49641         ctype->charnames.
49643 2013-09-11  Jia Liu  <proljc@gmail.com>
49645         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
49646         __daddr_t_defined.
49647         [__FreeBSD__]: Likewise.
49649 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
49651         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
49652         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
49653         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
49654         (strchr): Remove __strchr_sse42 ifunc selection.
49655         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
49656         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
49658 2013-09-11  Will Newton  <will.newton@linaro.org>
49660         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
49661         parameter to RES. Remove hardcoded 1000 value.
49662         * benchtests/bench-skeleton.c (main): Pass RES parameter
49663         to TIMING_INIT and multiply result by 1000.
49665 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49667         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49669 2013-09-11  Andreas Schwab  <schwab@suse.de>
49671         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
49672         if not defined.
49673         (O_TMPFILE) [__USE_GNU]: Define.
49674         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
49675         Define.
49677 2013-09-11  Will Newton  <will.newton@linaro.org>
49679         [BZ #15857]
49680         * malloc/malloc.c (__libc_memalign): Check the value of bytes
49681         does not overflow.
49683 2013-09-11  Will Newton  <will.newton@linaro.org>
49685         [BZ #15856]
49686         * malloc/malloc.c (__libc_valloc): Check the value of bytes
49687         does not overflow.
49689 2013-09-11  Will Newton  <will.newton@linaro.org>
49691         [BZ #15855]
49692         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
49693         does not overflow.
49695 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
49697         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
49698         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49699         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49700         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49701         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49703 2013-09-10  Allan McRae  <allan@archlinux.org>
49705         [BZ #15748]
49706         * manual/arith.texi (Parsing of Floats): Clarify
49707         cross-reference.
49709         [BZ #15849]
49710         * manual/install.texi (Running make install): Mention
49711         --enable-pt-chown.
49712         * INSTALL: Regenerated.
49714 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
49716         * csu/init-first.c (_init): Remove the !SHARED condition around
49717         FPU control word initialization.
49718         * elf/dl-support.c (_dl_fpu_control): New variable.
49719         (_dl_aux_init) <AT_FPUCW>: Initialize it.
49720         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
49721         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
49722         * math/test-fpucw-static.c: New file.
49723         * math/test-fpucw-ieee.c: New file.
49724         * math/test-fpucw-ieee-static.c: New file.
49725         * math/Makefile (tests): Add `test-fpucw-ieee' and
49726         `$(tests-static)'.
49727         (tests-static): New variable.
49728         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
49729         dependency to...
49730         [($(build-shared),yes)]
49731         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
49732         ... this.
49733         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
49734         New dependency.
49736 2013-09-09  Allan McRae  <allan@archlinux.org>
49738         [BZ #15939]
49739         * manual/string.texi (Collation Functions): Fix typo in
49740         strcoll example.
49741         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
49743         [BZ #15893]
49744         * stdlib/isomac.c (get_null_defines): Fix memory leak.
49746         [BZ #15892]
49747         * libio/memstream.c (open_memstream): Fix memory leak.
49748         * libio/wmemstream.c (open_wmemstream): Likewise.
49750         [BZ #15895]
49751         * nscd/netgroupcache.c: Fix nesting of ifdefs.
49753 2013-09-09  Will Newton  <will.newton@linaro.org>
49755         * malloc/Makefile: Add tst-realloc to tests.
49756         * malloc/tst-realloc.c: New file.
49758 2013-09-09  Allan McRae  <allan@archlinux.org>
49760         [BZ #15844]
49761         * COPYING: Update from GNU website to fix FSF address.
49762         * COPYING.LIB: Likewise.
49764 2013-09-06  David S. Miller  <davem@davemloft.net>
49766         * po/zh_TW.po: Update Chinese (traditional) translation from
49767         translation project.
49769 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
49770             Joseph Myers  <joseph@codesourcery.com>
49772         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
49773         "localeinfo.h".
49774         (obstack_chunk_alloc): New macro.
49775         (obstack_chunk_free): Likewise.
49776         (record_offset): New function.
49777         (init_locale_data): Likewise.
49778         (align_locale_data): Likewise.
49779         (add_locale_empty): Likewise.
49780         (add_locale_raw_data): Likewise.
49781         (add_locale_raw_obstack): Likewise.
49782         (add_locale_string): Likewise.
49783         (add_locale_wstring): Likewise.
49784         (add_locale_uint32): Likewise.
49785         (add_locale_uint32_array): Likewise.
49786         (add_locale_char): Likewise.
49787         (start_locale_structure): Likewise.
49788         (end_locale_structure): Likewise.
49789         (start_locale_prelude): Likewise.
49790         (end_locale_prelude): Likewise.
49791         (write_locale_data): Take locale_file structure rather than an
49792         iovec.
49793         * locale/programs/locfile.h: Include "obstack.h".
49794         (struct locale_file): Change to store locale file contents instead
49795         of header.
49796         (init_locale_data): New prototype.
49797         (align_locale_data): Likewise.
49798         (add_locale_empty): Likewise.
49799         (add_locale_raw_data): Likewise.
49800         (add_locale_raw_obstack): Likewise.
49801         (add_locale_string): Likewise.
49802         (add_locale_wstring): Likewise.
49803         (add_locale_uint32): Likewise.
49804         (add_locale_uint32_array): Likewise.
49805         (add_locale_char): Likewise.
49806         (start_locale_structure): Likewise.
49807         (end_locale_structure): Likewise.
49808         (start_locale_prelude): Likewise.
49809         (end_locale_prelude): Likewise.
49810         (write_locale_data): Update prototype.
49811         * locale/programs/3level.h (struct TABLE): Remove result field.
49812         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
49813         Use new locale_file interface.
49814         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
49815         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
49816         * locale/programs/ld-address.c (address_output): Use new
49817         locale_file interface.
49818         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
49819         NO_ADD_LOCALE.
49820         (collate_finish): Don't call collseq_table_finalize.
49821         (collate_output): Use new locale_file interface.
49822         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
49823         in file.
49824         (NO_FINALIZE): Change to NO_ADD_LOCALE.
49825         (TABLE): Move defines earlier in file.
49826         (ELEMENT): Likewise.
49827         (DEFAULT): Likewise.
49828         (wctrans_table_add): Move macro and inline function earlier in
49829         file.
49830         (struct wctype_table): Move type earlier in file.
49831         (add_locale_wctype_table): New static prototype.
49832         (struct locale_ctype_t): Use logical types instead of struct iovec
49833         pointers for members.
49834         (ctype_output): Use new locale_file interface.
49835         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
49836         new locale_file interface.
49837         (allocate_arrays): Update for use of new locale_file interface.
49838         * locale/programs/ld-identification.c (identification_output): Use
49839         new locale_file interface.
49840         * locale/programs/ld-measurement.c (measurement_output): Likewise.
49841         * locale/programs/ld-messages.c (messages_output): Likewise.
49842         * locale/programs/ld-monetary.c (monetary_output): Likewise.
49843         * locale/programs/ld-name.c (name_output): Likewise.
49844         * locale/programs/ld-numeric.c (numeric_output): Likewise.
49845         * locale/programs/ld-paper.c (paper_output): Likewise.
49846         * locale/programs/ld-telephone.c (telephone_output): Likewise.
49847         * locale/programs/ld-time.c (time_output): Likewise.
49849 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49851         * benchtests/Makefile: Add memrchr benchmark.
49852         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
49853         benchmark as memrchr.
49854         * benchtests/bench-memrchr-ifunc.c: New file.
49855         * benchtests/bench-memrchr.c: New file.
49857 2013-09-06   Will Newton  <will.newton@linaro.org>
49859         * benchtests/Makefile (string-bench): Add memcpy.
49861 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
49862             Cong Wang  <amwang@redhat.com>
49864         [BZ #15850]
49865         * sysdeps/unix/sysv/linux/bits/in.h
49866         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
49867         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
49868         before __USE_KERNEL_IPV6_DEFS uses.
49869         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
49870         IPPROTO_BEETPH.
49871         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
49872         sockaddr_in6, or ipv6_mreq.
49874 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49876         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
49877         memory access for final bytes in some large inputs.
49878         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
49880 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49882         * string/test-memrchr.c: New file.
49883         * string/test-memrchr-ifunc.c: New file.
49884         * string/Makefile: Add new memrchr testcase.
49886 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
49888         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
49889         fanotify_init returns EPERM.
49891 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
49893         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
49894         errors.
49895         (top level): Treat second token from macro or constant entries for
49896         allowed headers as allowed.
49897         * include/complex.h: Condition internal declarations on
49898         [!_ISOMAC].
49899         * include/fenv.h: Condition include of <stdbool.h> and internal
49900         declarations on [!_ISOMAC].
49902 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
49904         [BZ #15923]
49905         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
49907 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
49909         * configure.in (--enable-versioning): Remove configure option.
49910         (libc_cv_asm_symver_directive): Remove configure test.
49911         (libc_cv_ld_version_script_option): Likewise.
49912         (VERSIONING): Remove variable and AC_SUBST.
49913         (DO_VERSIONING): Remove AC_DEFINE.
49914         * configure: Regenerated.
49915         * config.h.in (DO_VERSIONING): Remove macro.
49916         * Makerules [$(versioning) = yes]: Change conditionals to
49917         [$(build-shared) = yes].
49918         * config.make.in (versioning): Remove variable.
49919         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
49920         [$(build-shared) = yes].
49921         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
49922         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
49923         * elf/Makefile [$(versioning) = yes]: Change conditionals to
49924         [$(build-shared) = yes].
49925         * extra-lib.mk [$(versioning) = yes]: Likewise.
49926         * hurd/Makefile [$(versioning) = yes]: Likewise.
49927         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
49928         [SHARED].
49929         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
49930         [SHARED].
49931         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
49932         [SHARED && !NO_HIDDEN].
49933         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
49934         [SHARED].
49935         [SHARED && DO_VERSIONING]: Likewise..
49936         * libio/Makefile [$(versioning) = yes]: Change conditionals to
49937         [$(build-shared) = yes].
49938         * manual/install.texi (--disable-versioning): Remove
49939         documentation.
49940         * INSTALL: Regenerated.
49941         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
49942         to [SHARED].
49943         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
49944         [$(build-shared) = yes].
49945         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
49946         * sysdeps/i386/i686/multiarch/strstr-c.c
49947         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
49948         [SHARED && !NO_HIDDEN].
49949         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
49950         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
49951         * sysdeps/powerpc/powerpc32/dl-machine.c
49952         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
49953         * sysdeps/powerpc/powerpc32/sysdep.h
49954         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
49955         to [SHARED && PIC && !NO_HIDDEN].
49956         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
49957         conditional to [SHARED].
49959 2013-09-04   Will Newton  <will.newton@linaro.org>
49961         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
49962         * benchtests/bench-string.h: Include bench-timing.h instead
49963         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
49964         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
49965         call to HP_TIMING_DIFF_INIT.
49966         * benchtests/bench-memccpy.c: Use bench-timing.h macros
49967         instead of hp-timing.h macros.
49968         * benchtests/bench-memchr.c: Likewise.
49969         * benchtests/bench-memcmp.c: Likewise.
49970         * benchtests/bench-memcpy.c: Likewise.
49971         * benchtests/bench-memmem.c: Likewise.
49972         * benchtests/bench-memmove.c: Likewise.
49973         * benchtests/bench-memset.c: Likewise.
49974         * benchtests/bench-rawmemchr.c: Likewise.
49975         * benchtests/bench-strcasecmp.c: Likewise.
49976         * benchtests/bench-strcasestr.c: Likewise.
49977         * benchtests/bench-strcat.c: Likewise.
49978         * benchtests/bench-strchr.c: Likewise.
49979         * benchtests/bench-strcmp.c: Likewise.
49980         * benchtests/bench-strcpy.c: Likewise.
49981         * benchtests/bench-strcpy_chk.c: Likewise.
49982         * benchtests/bench-strlen.c: Likewise.
49983         * benchtests/bench-strncasecmp.c: Likewise.
49984         * benchtests/bench-strncat.c: Likewise.
49985         * benchtests/bench-strncmp.c: Likewise.
49986         * benchtests/bench-strncpy.c: Likewise.
49987         * benchtests/bench-strnlen.c: Likewise.
49988         * benchtests/bench-strpbrk.c: Likewise.
49989         * benchtests/bench-strrchr.c: Likewise.
49990         * benchtests/bench-strspn.c: Likewise.
49991         * benchtests/bench-strstr.c: Likewise.
49993 2013-09-04  Will Newton  <will.newton@linaro.org>
49995         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
49997 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
49999         [BZ #15427]
50000         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
50001         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
50002         * math/libm-test.inc (lgamma_test_data): Add more tests.
50003         * sysdeps/i386/fpu/libm-test-ulps: Update.
50004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50006 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
50008         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
50009         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50010         Add ifunc.
50011         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50012         Add strcmp-sse2-unaligned
50013         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
50015 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
50017         * Versions.def (libc): Add GLIBC_2.19.
50019 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
50021         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
50022         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
50024 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
50026         [BZ #14155]
50027         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
50028         intermediate calculations in recurrence.
50029         (__ieee754_ynf): Likewise.
50030         * math/libm-test.inc (jn_test_data): Do not allow spurious
50031         underflow exception.  Add more tests.
50032         (yn_test_data): Add more tests.
50033         * sysdeps/i386/fpu/libm-test-ulps: Update.
50034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50036 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
50038         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
50040 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
50042         * csu/init-first.c: Fix then/than typos.
50043         * locale/programs/ld-collate.c: Likewise.
50044         * locale/programs/linereader.h: Likewise.
50045         * manual/charset.texi: Likewise.
50046         * manual/filesys.texi: Likewise.
50047         * manual/stdio.texi: Likewise.
50048         * manual/string.texi: Likewise.
50049         * stdlib/fmtmsg.c: Likewise.
50050         * sysdeps/i386/stpncpy.S: Likewise.
50051         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
50052         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
50053         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
50054         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
50056 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
50058         * elf/dl-open.c: Fix typos.
50059         * iconvdata/gbbig5.c: Likewise.
50060         * iconvdata/iso-2022-jp.c: Likewise.
50061         * iconv/gconv_int.h: Likewise.
50062         * iconv/loop.c: Likewise.
50063         * nis/rpcsvc/nis.h: Likewise.
50064         * resolv/ns_name.c: Likewise.
50065         * stdio-common/vfscanf.c: Likewise.
50066         * streams/stropts.h: Likewise.
50067         * sunrpc/rpc_thread.c: Likewise.
50068         * sysdeps/i386/strpbrk.S: Likewise.
50069         * sysdeps/ieee754/k_standard.c: Likewise.
50070         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50071         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50072         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
50073         * sysdeps/mach/hurd/profil.c: Likewise.
50074         * sysdeps/s390/dl-procinfo.h: Likewise.
50075         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
50076         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
50077         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
50078         * sysdeps/x86_64/dl-trampoline.S: Likewise.
50079         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
50081 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
50083         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
50084         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
50086 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
50088         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
50089         aix specific files.
50090         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
50091         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
50092         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
50093         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
50094         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
50095         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
50096         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
50097         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
50099 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
50100             Roland McGrath  <roland@hack.frob.com>
50102         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
50103         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
50105 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50107         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
50108         __executable_start symbol instead of _start.
50110 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
50112         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
50113         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
50114         Move macros to...
50115         * sysdeps/gnu/ldsodefs.h: ... this new file.
50117         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
50118         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
50119         instead of ELFOSABI_LINUX.
50121         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
50122         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
50123         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
50124         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
50125         Likewise.
50126         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
50127         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
50128         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
50129         Likewise.
50130         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
50131         (ibm_extended_long_double): Add ieee_nan member.
50132         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
50133         (do_test): New function.
50135         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
50136         TEST_TRUNC.
50137         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
50138         functions, renamed from truncdfsf_test, trunctfsf_test,
50139         trunctfdf_test.
50140         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
50141         functions.
50142         (do_test): Run all these.
50144 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
50146         * argp/argp-help.c: Fix typos.
50147         * argp/argp-parse.c: Likewise.
50148         * debug/backtracesyms.c: Likewise.
50149         * elf/elf.h: Likewise.
50150         * malloc/malloc.c: Likewise.
50151         * nis/nis_print.c: Likewise.
50152         * resolv/res_comp.c: Likewise.
50153         * stdlib/stdlib.h: Likewise.
50154         * sunrpc/clnt_tcp.c: Likewise.
50155         * sunrpc/clnt_udp.c: Likewise.
50156         * sunrpc/clnt_unix.c: Likewise.
50157         * sysdeps/unix/bsd/ptsname.c: Likewise.
50158         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
50159         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
50160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
50161         Likewise.
50162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
50163         Likewise.
50164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
50165         Likewise.
50166         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
50168 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50170         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
50171         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50173 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
50175         [BZ #15897]
50176         * dlfcn/Makefile (tests): Add bug-dl-leaf.
50177         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
50178         ($(objpfx)bug-dl-leaf): New rule.
50179         ($(objpfx)bug-dl-leaf.so): Likewise.
50180         ($(objpfx)bug-dl-leaf.out): Likewise.
50181         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
50182         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
50183         * dlfcn/bug-dl-leaf.c: New test.
50184         * dlfcn/bug-dl-leaf-lib.c: Likewise.
50185         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
50186         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
50187         (dlclose): Likewise.
50188         (dlmopen): Likewise.
50190 2013-08-27  Roland McGrath  <roland@hack.frob.com>
50192         * include/netdb.h [!_ISOMAC]:
50193         Don't include <tls.h>.
50194         (h_errno, __libc_h_errno): Move declaration and macros out of
50195         [_LIBC_REENTRANT].
50197         * include/resolv.h [_RESOLV_H_]:
50198         Don't include <tls.h>.
50199         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
50200         * resolv/res_libc.c: Don't include <tls.h>.
50201         (_res): Use __attribute__ ((nocommon)) in place of
50202         __attribute__ ((section (".bss"))).
50204         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
50205         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
50207         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
50209         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
50210         only under [SIOCGIFCONF && SIOCGIFNETMASK].
50212         * resolv/res_mkquery.c: Include <sys/time.h>.
50214         * inet/ifreq.c: Moved to ...
50215         * sysdeps/unix/ifreq.c: ... here.
50216         * inet/ifreq.c: New file, true stub version.
50218         * socket/sa_len.c: New file.
50219         * socket/Makefile (aux): Add it.
50220         * sysdeps/unix/sysv/linux/Makefile
50221         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
50222         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
50223         and #include <socket/sa_len.c>.
50224         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
50225         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
50227         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
50228         * bits/socket.h: ... here.
50230         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
50231         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
50232         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
50234 2013-08-27  Andreas Schwab  <schwab@suse.de>
50236         [BZ #15736]
50237         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
50238         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
50239         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
50240         * string/test-strcasecmp.c (test_main): Run tests in several
50241         locales.
50242         * string/test-strncasecmp.c (test_main): Likewise.
50244         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
50245         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
50246         to __strcasecmp_nonascii and __strncasecmp_nonascii.
50247         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
50248         (__strncasecmp_ssse3) [PIC]: Likewise.
50250 2013-08-26  Roland McGrath  <roland@hack.frob.com>
50252         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
50254         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
50255         instead of explicitly declaring xdecrypt.
50256         * nis/nss_nis/nis-publickey.c: Likewise.
50258 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50260         [BZ #15890]
50261         * nscd/aicache.c: Include res_hconf.h.
50262         (addhstaiX): Initialize res_hconf.
50264 2013-08-26  Andreas Schwab  <schwab@suse.de>
50266         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
50267         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
50269 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50271         * nscd/aicache.c (addhstaiX): Fix indentation.
50273 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
50275         * configure.ac: Quote $build_pt_chown test.
50276         * configure: Regenerated.
50278 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
50280         [BZ #15532]
50281         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
50282         * math/s_cexpf.c (__cexpf): Likewise.
50283         * math/s_cexpl.c (__cexpl): Likewise.
50284         * math/libm-test.inc (cexp_test_data): Correct expected return
50285         value for NaN + i0.  Add another test.
50287 2013-08-22  David S. Miller  <davem@davemloft.net>
50289         * po/ca.po: Update Catalan translation from translation project.
50290         * po/uk.po: Add Ukrainian translations from translation project.
50292 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
50294         [BZ #15797]
50295         * math/s_fdim.c (__fdim): Check for infinite arguments if result
50296         is infinite, not alongside NaN test.
50297         * math/s_fdimf.c (__fdimf): Likewise.
50298         * math/s_fdiml.c (__fdiml): Likewise.
50299         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
50300         errno is unchanged.
50302 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
50304         * argp/argp-help.c: Fix typos.
50305         * crypt/speeds.c: Likewise.
50306         * csu/check_fds.c: Likewise.
50307         * elf/dl-load.c: Likewise.
50308         * elf/dl-open.c: Likewise.
50309         * elf/reldep3.c: Likewise.
50310         * elf/reldep.c: Likewise.
50311         * elf/sprof.c: Likewise.
50312         * iconv/iconv_charmap.c: Likewise.
50313         * iconv/skeleton.c: Likewise.
50314         * iconv/strtab.c: Likewise.
50315         * io/lockf64.c: Likewise.
50316         * libio/libioP.h: Likewise.
50317         * resolv/gai_notify.c: Likewise.
50318         * resolv/ns_name.c: Likewise.
50319         * resolv/ns_samedomain.c: Likewise.
50320         * resolv/res_send.c: Likewise.
50321         * stdlib/random.c: Likewise.
50322         * sunrpc/rpc/xdr.h: Likewise.
50323         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
50324         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
50325         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
50326         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
50327         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
50328         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
50329         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
50330         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
50331         * sysdeps/mach/hurd/check_fds.c: Likewise.
50332         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
50333         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
50334         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
50335         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
50336         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
50337         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
50338         * sysdeps/pthread/aio_notify.c: Likewise.
50339         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
50340         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
50341         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
50342         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
50343         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
50345 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50347         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
50348         version if bit_Slow_SSE4_2 is set.
50349         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50350         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50352 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50354         [BZ #15867]
50355         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
50356         trampoline stack frame information.
50357         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
50358         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
50359         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
50360         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
50361         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
50362         * sysdeps/unix/sysv/linux/powerpc/init-first.c
50363         (_libc_vdso_platform_setup): Initialize the signal trampolines.
50364         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
50365         sa_flags value.
50366         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
50367         interrupting a syscall and set with option SA_SIGINFO.
50369 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
50371         [BZ #15531]
50372         * math/s_cproj.c (__cproj): Only return an infinity if one part of
50373         argument is infinite.
50374         * math/s_cprojf.c (__cprojf): Likewise.
50375         * math/s_cprojl.c (__cprojl): Likewise.
50376         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
50377         * math/libm-test.inc (cproj_test_data): Add more tests.
50379         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
50381         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
50382         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
50383         size.  Use __ffs to determine corresponding shift.
50385 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
50386             Roland McGrath  <roland@hack.frob.com>
50388         * Makefile (INSTALL): Remove trailing blank lines from output of
50389         makeinfo.
50391 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50393         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
50394         Align 32 bit compat elf_greg to 8 bytes.
50396 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
50398         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
50400 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
50402         * string/strcoll_l.c (coll_seq): New structure.
50403         (get_next_seq_cached): New function.
50404         (get_next_seq): New function.
50405         (do_compare): New function.
50406         (STRCOLL): Use GNU style definition.  Simplify implementation
50407         by using get_next_seq, get_next_seq_cached and do_compare.
50409 2013-08-16  Florian Weimer  <fweimer@redhat.com>
50411         [BZ #14699]
50412         CVE-2013-4237
50413         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
50414         member.
50415         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
50416         member.
50417         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
50418         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
50419         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
50420         conditional.
50421         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
50422         GETDENTS_64BIT_ALIGNED.
50423         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
50424         * manual/filesys.texi (Reading/Closing Directory): Document
50425         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
50426         strongly.
50427         * manual/conf.texi (Limits for Files): Add portability note to
50428         NAME_MAX, PATH_MAX.
50429         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
50431 2013-08-13  Andreas Schwab  <schwab@suse.de>
50433         [BZ #15749]
50434         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
50435         of fabs.
50436         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
50437         LDBL_MAX_EXP >= 16384]: Add tests for it.
50439 2013-08-12  David S. Miller  <davem@davemloft.net>
50441         * version.h (RELEASE): Set to "development".
50442         (VERSION): Set to "2.18.90".
50443         * NEWS: Add 2.19 section.
50445 2013-08-03  David S. Miller  <davem@davemloft.net>
50447         * po/ko.po: Update Korean translation from translation project.
50449 2013-08-01  David S. Miller  <davem@davemloft.net>
50451         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
50452         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
50453         Bilka.
50455 2013-07-30  David S. Miller  <davem@davemloft.net>
50457         * po/fr.po: Update French translation from translation project.
50459 2013-07-28  David S. Miller  <davem@davemloft.net>
50461         * po/cs.po: Update Czech translation from translation project.
50463         * po/sv.po: Update Swedish translation from translation project.
50465 2013-07-27  David S. Miller  <davem@davemloft.net>
50467         * po/eo.po: Update Esperanto translation from translation project.
50469         * po/vi.po: Update Vietnamese translation from translation project.
50471         * po/de.po: Update German translation from translation project.
50473 2013-07-26  David S. Miller  <davem@davemloft.net>
50475         * po/bg.po: Update Bulgarian translation from translation project.
50477         * po/nl.po: Update Dutch translation from translation project.
50478         * po/pl.po: Update Polish translation from translation project.
50479         * po/ru.po: Update Russian translation from translation project.
50481 2013-07-24  David S. Miller  <davem@davemloft.net>
50483         * po/libc.pot: Update.
50485 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50487         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
50488         variable page size.
50489         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
50490         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
50491         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
50493 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50495         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
50497 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50498             Andreas Schwab  <schwab@suse.de>
50499             Roland McGrath  <roland@hack.frob.com>
50500             Joseph Myers  <joseph@codesourcery.com>
50501             Carlos O'Donell  <carlos@redhat.com>
50503         [BZ #15755]
50504         * config.h.in: Define HAVE_PT_CHOWN.
50505         * config.make.in (build-pt-chown): New variable.
50506         * configure.in (--enable-pt_chown): New configure option.
50507         * configure: Regenerate.
50508         * login/Makefile: Include Makeconfig.  Build pt_chown only if
50509         build-pt-chown is enabled.
50510         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
50511         pt_chown to fix pty ownership.
50512         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
50513         CLOSE_ALL_FDS.
50514         * manual/install.texi (Configuring and compiling): Mention
50515         --enable-pt_chown. Add @findex for grantpt.
50516         * INSTALL: Regenerate.
50518 2013-07-20  David S. Miller  <davem@davemloft.net>
50520         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
50521         difference between 32-bit and 64-bit.
50523 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
50525         [BZ #15711]
50526         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
50527         Avoid system header dependency with -ffreestanding.
50528         ($(objpfx)bits/syscall%d): Likewise.
50530 2013-07-13  David S. Miller  <davem@davemloft.net>
50532         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
50533         underflows from atanl/atan2l due to bug 15319.
50534         (casinh_test_data): Likewise.
50536 2013-07-07  David S. Miller  <davem@davemloft.net>
50538         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
50540 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
50542         * sysdeps/i386/fpu/libm-test-ulps: Update.
50543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50545 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
50547         * configure.in (--enable-lock-elision): Fix message text.
50548         * INSTALL: Regenerate.
50549         * configure: Regenerate.
50551 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50553         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50555 2013-07-03  Andreas Jaeger  <aj@suse.de>
50557         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
50558         define.
50559         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
50560         (ptrace_peeksiginfo_args): Add.
50561         (__ptrace_peeksiginfo_flags): Add.
50562         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50563         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50564         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50566 2013-07-03  Allan McRae  <allan@archlinux.org>
50568         * sysdeps/i386/fpu/libm-test-ulps: Update.
50570 2013-07-02  David S. Miller  <davem@davemloft.net>
50572         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50574 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
50576         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50578 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
50580         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
50581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50583 2013-07-02  Andi Kleen <ak@linux.intel.com>
50585         * config.h.in (ENABLE_LOCK_ELISION): Add.
50586         * configure.in (--enable-lock-elision): Add option.
50587         * manual/install.texi: Document --enable lock elision.
50588         * configure: Regenerate
50589         * INSTALL: Regenerate.
50591 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
50593         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
50594         SSE4.2 strcasecmp for libc.a.
50595         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
50597 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
50599         [BZ #13304]
50600         * soft-fp/op-common.h (_FP_FMA): New macro.
50601         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
50602         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
50603         (_FP_MUL_MEAT_1_imm): ... here.
50604         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
50605         (_FP_MUL_MEAT_1_wide): ... here.
50606         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
50607         (_FP_MUL_MEAT_1_hard): ... here.
50608         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
50609         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
50610         (_FP_MUL_MEAT_2_wide): ... here.
50611         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
50612         (_FP_MUL_MEAT_2_wide_3mul): ... here.
50613         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
50614         (_FP_MUL_MEAT_2_gmp): ... here.
50615         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
50616         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
50617         (_FP_MUL_MEAT_4_wide): ... here.
50618         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
50619         (_FP_MUL_MEAT_4_gmp): ... here.
50620         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
50621         (_FP_WFRACBITS_DW_S): Likewise.
50622         (_FP_WFRACXBITS_DW_S): Likewise.
50623         (_FP_HIGHBIT_DW_S): Likewise.
50624         (FP_FMA_S): Likewise.
50625         (_FP_FRAC_HIGH_DW_S): Likewise.
50626         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
50627         (_FP_WFRACBITS_DW_D): Likewise.
50628         (_FP_WFRACXBITS_DW_D): Likewise.
50629         (_FP_HIGHBIT_DW_D): Likewise.
50630         (FP_FMA_D): Likewise.
50631         (_FP_FRAC_HIGH_DW_D): Likewise.
50632         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
50633         (_FP_WFRACBITS_DW_E): Likewise.
50634         (_FP_WFRACXBITS_DW_E): Likewise.
50635         (_FP_HIGHBIT_DW_E): Likewise.
50636         (FP_FMA_E): Likewise.
50637         (_FP_FRAC_HIGH_DW_E): Likewise.
50638         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
50639         (_FP_WFRACBITS_DW_Q): Likewise.
50640         (_FP_WFRACXBITS_DW_Q): Likewise.
50641         (_FP_HIGHBIT_DW_Q): Likewise.
50642         (FP_FMA_Q): Likewise.
50643         (_FP_FRAC_HIGH_DW_Q): Likewise.
50644         * soft-fp/fmasf4.c: New file.
50645         * soft-fp/fmadf4.c: Likewise.
50646         * soft-fp/fmatf4.c: Likewise.
50648 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50650         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
50651         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
50652         Silvermont.
50653         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
50654         macro.
50655         (index_Slow_SSE4_2): Likewise.
50656         (index_Prefer_PMINUB_for_stringop): Likewise.
50657         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
50658         bit_Slow_SSE4_2 is set.
50659         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
50660         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50662 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50664         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
50665         rtld_global._dl_hwcap2.
50666         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
50667         POWER8.
50668         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
50669         POWER8 feature descriptions defined in _dl_hwcap2.
50670         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
50671         string handling for POWER8 feature bits.
50672         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
50673         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
50674         _dl_powerpc_cap_flags.
50675         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
50676         * sysdeps/powerpc/rtld-global-offsets.sym
50677         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
50678         _dl_hwcap2 in the rtld_global_ro structure.
50680 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50682         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
50683         hardware capabilities in support of AT_HWCAP2.
50684         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
50685         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
50686         GLRO(dl_hwcap2).
50687         (_dl_show_auxv): Add support for calling _dl_procinfo to display
50688         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
50689         explicitly the unknown a_type display mechanism is used.
50690         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
50691         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
50692         struct member.
50693         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
50694         to macro prototype for AT_HWCAP2 support.
50695         * sysdeps/i386/dl-procinfo.h: Likewise.
50696         * sysdeps/s390/dl-procinfo.h: Likewise.
50697         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
50698         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
50699         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
50700         return -1 for unknown a_type display fallback.
50701         * sysdeps/sparc/dl-procinfo.h: Likewise.
50702         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
50703         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
50705 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
50707         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
50708         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
50710 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
50712         [BZ #12492]
50713         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
50714         mprotect making __stack_prot writable.
50716 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
50717             Joseph Myers  <joseph@codesourcery.com>
50719         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
50720         as being properly aligned.
50722 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
50724         * dlfcn/modstatic5.c: New file.
50725         * dlfcn/tststatic5.c: New file.
50726         * dlfcn/Makefile (tests): Add tststatic5.
50727         (tests-static): Likewise.
50728         (modules-names): Add modstatic5.
50729         (tststatic5-ENV): New variable.
50730         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
50732         [BZ #15022]
50733         * elf/dl-support.c (_dl_main_map): New variable.
50734         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
50735         (_dl_nns, _dl_load_adds): Set to 1.
50736         (_dl_initial_searchlist): Refer to _dl_main_map.
50737         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
50738         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
50739         call to _dl_get_origin.
50740         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
50741         around call_map.
50742         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
50743         * dlfcn/modstatic3.c: New file.
50744         * dlfcn/tststatic3.c: New file.
50745         * dlfcn/tststatic4.c: New file.
50746         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
50747         (tests-static): Likewise.
50748         (modules-names): Add modstatic3.
50749         (tststatic3-ENV, tststatic4-ENV): New variables.
50750         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
50751         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
50753 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
50755         * configure.in (CC): Require GCC version 4.4 or later.
50756         * configure: Regenerated.
50757         * manual/install.texi (Tools for Compilation): Update GCC version
50758         requirement.
50759         * INSTALL: Regenerated.
50761 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50763         [BZ #15674]
50764         * string/test-memcmp.c (check2): New.
50765         (main): Call check2.
50767         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
50769 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
50771         [BZ #15022]
50772         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
50773         over to...
50774         (dl_open_worker) [!SHARED]: ... here.
50776 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50778         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
50780 2013-06-25  Richard Henderson  <rth@redhat.com>
50782         * locale/programs/locarchive.c: Include <libc-internal.h>
50784 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
50786         * manual/texinfo.tex: Update to version 2013-06-21.17, with
50787         trailing whitespace removed.
50789 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
50791         [BZ #10283]
50792         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
50793         * locale/programs/locarchive.c: Include libc-mmap.h.
50794         (prepare_address_space): Take two new outputs (the mmap base and len).
50795         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
50796         values.
50797         (create_archive): Declare new mmap base and len values for
50798         prepare_address_space, and store the result in ah.
50799         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
50800         (enlarge_archive): If ah->mmap_base is not NULL, use that and
50801         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
50802         Declare new mmap base and len values for
50803         prepare_address_space, and store the result in new_ah.
50804         (open_archive): Declare new mmap base and len values for
50805         prepare_address_space, and store the result in ah.
50806         (close_archive): If ah->mmap_base is not NULL, use that and
50807         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
50808         * sysdeps/generic/libc-mmap.h: New file.
50810 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
50812         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
50813         (ALIGN_UP): Likewise.
50814         (PTR_ALIGN_DOWN): Likewise.
50815         (PTR_ALIGN_UP): Likewise.
50817 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50819         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
50820         entry mapped to PPC_PLATFORM_POWER8.
50821         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
50822         POWER8.
50823         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
50824         (_dl_string_platform): Add case for exporting platform position for
50825         POWER8.
50826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
50827         search path to sysdeps/powerpc/powerpc32/power8 directory.
50828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
50829         search path to sysdeps/powerpc/powerpc64/power8 directory.
50830         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
50831         power7 directories.
50832         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
50833         power7 directories.
50835 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
50837         * INSTALL: Regenerate.
50839         * nscd/connections.c (nscd_init): Fix comment.
50841 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
50843         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
50845         [BZ #15667]
50846         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
50847         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
50849 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
50851         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
50852         DL_DST_REQ_STATIC.
50853         (DL_DST_REQ_STATIC): Remove macro.
50855 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
50857         [BZ #7006]
50858         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
50859         with a shift of 0 bits.
50861 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
50863         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
50864         $(tststatic-ENV).
50866 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50868         [BZ #15655]
50869         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
50871 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50873         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
50874         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
50875         accepts -fno-tree-loop-distribute-patterns.
50876         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
50877         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
50878         recursive call.
50879         * string/memset.c (memset): Likewise.
50880         * string/test-memmove.c (simple_memmove): Disable loop transformation
50881         to library calls.
50882         * string/test-memset.c (simple_memset): Likewise.
50883         * benchtests/bench-memmove.c (simple_memmove): Likewise.
50884         * benchtests/bench-memset.c (simple_memset): Likewise.
50885         * configure: Regenerated.
50887 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
50889         * math/test-misc.c (main): Ignore fesetround failure when failures
50890         of subsequent rounding tests would be ignored.
50892         [BZ #15654]
50893         * math/fedisblxcpt.c (fedisableexcept): Return 0.
50894         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
50895         * math/fegetenv.c (__fegetenv): Return 0.
50896         * math/fegetexcept.c (fegetexcept): Return 0.
50897         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
50898         FE_TONEAREST.
50899         * math/feholdexcpt.c (feholdexcept): Return 0.
50900         * math/fesetenv.c (__fesetenv): Return 0.
50901         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
50902         argument FE_TONEAREST.
50903         * math/feupdateenv.c (__feupdateenv): Return 0.
50904         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
50906 2013-06-18  Roland McGrath  <roland@hack.frob.com>
50908         * elf/rtld-Rules (rtld-compile-command.S): New variable.
50909         (rtld-compile-command.s, rtld-compile-command.c): New variables.
50910         ($(objpfx)rtld-%.os rules): Use them.
50912 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50914         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
50915         fields.
50917 2013-06-17  Roland McGrath  <roland@hack.frob.com>
50919         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
50920         length of target pattern, then descending length of dependency pattern.
50921         * configure.in (AWK): Require gawk 3.1.2 or newer.
50922         * manual/install.texi (Tools for Compilation): Say that we do.
50923         * configure: Regenerated.
50925         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
50926         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
50927         * scripts/sysd-rules.awk: ... this new script.
50928         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
50929         than a glob-style pattern.
50931 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
50933         * math/test-misc.c (main): Do not treat incorrectly rounded
50934         conversions as failure unless ROUNDING_TESTS passes.
50936 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
50938         [BZ #15631]
50939         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
50940         restore exception state around main square root computation, then
50941         check for inexactness explicitly.
50943         * math/libm-test.inc (fma_test_data): Add another test.
50945 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50947         * manual/threads.texi (Non-POSIX Extensions): New document
50948         node.  Document pthread_getattr_default_np and
50949         pthread_setattr_default_np.
50951         * Versions.def (libpthread): Add GLIBC_2.18.
50952         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
50953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
50954         Likewise.
50955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50956         Likewise.
50957         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50958         Likewise.
50959         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50960         Likewise.
50961         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
50962         Likewise.
50963         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
50964         Likewise.
50965         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
50966         Likewise.
50967         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
50968         Likewise.
50969         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
50970         Likewise.
50972 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50974         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50975         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
50977 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
50978             H.J. Lu  <hjl.tools@gmail.com>
50980         [BZ #15627]
50981         * sysdeps/x86_64/rtld-memset.c: Remove file.
50982         * sysdeps/x86_64/rtld-memset.S: New file.
50984 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
50986         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
50987         (test_in_one_mode): Take arguments for whether the rounding mode
50988         is supported for each floating-point type.
50989         (do_test): Pass new arguments to test_in_one_mode using
50990         ROUNDING_TESTS.
50992 2013-06-13  Roland McGrath  <roland@hack.frob.com>
50994         * posix/tst-waitid.c (do_test): Distinguish different instances of
50995         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
50996         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
50997         before entering the kernel for waitpid.
50999 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51001         * NEWS: Fix note on clock function precision.  Text by Roland
51002         McGrath.
51004 2013-06-13  Roland McGrath  <roland@hack.frob.com>
51006         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
51007         it into place only when and if the sanity check passes.
51009 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
51011         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
51012         output for whether conversion result is exact.  Take argument
51013         indicating whether type is IBM long double.
51014         (round_for_all): Change need_exact field to ibm_ld.
51015         * stdlib/tst-strtod-round.c (struct exactness): New type.
51016         (struct test): Change bool ld_ok field to struct exactness exact.
51017         (TEST): Update all definitions for change to field.
51018         (tests): Regenerate array contents.
51019         (test_in_one_mode): Take pointer to new field instead of old ld_ok
51020         field value.  Check for IBM long double here.
51021         (do_test): Update calls to test_in_one_mode.
51023 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51025         [BZ #12515]
51026         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
51027         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
51029 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51031         [BZ #15605]
51032         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
51033         generated by the compiler on loop optimizations.
51034         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
51035         general definitions.
51037 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
51039         * math/bug-nextafter.c: Include <math-tests.h>.
51040         (main): Only test for exceptions if EXCEPTION_TESTS is true for
51041         the relevant type.
51042         * math/bug-nexttoward.c: Include <math-tests.h>.
51043         (main): Only test for exceptions if EXCEPTION_TESTS is true for
51044         the relevant type.
51045         * math/test-misc.c: Include <math-tests.h>.
51046         (main): Only test for exceptions if EXCEPTION_TESTS is true for
51047         the relevant type.
51049 2013-06-12  Andreas Jaeger  <aj@suse.de>
51051         * po/ia.po: Update Interlingua translation from translation
51052         project.
51054 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
51056         * include/fenv.h: Include stdbool.h.
51057         (struct rm_ctx): New structure.
51058         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
51059         Define macro.
51060         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
51061         (SET_RESTORE_ROUNDF): Likewise.
51062         (SET_RESTORE_ROUNDL): Likewise.
51063         (SET_RESTORE_ROUND_NOEX): Likewise.
51064         (SET_RESTORE_ROUND_NOEXF): Likewise.
51065         (SET_RESTORE_ROUND_NOEXL): Likewise.
51066         (SET_RESTORE_ROUND_53BIT): Likewise.
51067         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
51068         (libc_feresetround_noexf_ctx): Likewise.
51069         (libc_feresetround_noexl_ctx): Likewise.
51070         (libc_feholdsetround_53bit_ctx): Likewise.
51071         (libc_feresetround_53bit_ctx): Likewise.
51072         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
51073         (libc_feholdexcept_setround_sse_ctx): New function.
51074         (libc_fesetenv_sse_ctx): Likewise.
51075         (libc_feupdateenv_sse_ctx): Likewise.
51076         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
51077         (libc_feholdexcept_setround_387_ctx): Likewise.
51078         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
51079         (libc_feholdsetround_387_prec_ctx): Likewise.
51080         (libc_feholdsetround_387_ctx): Likewise.
51081         (libc_feholdsetround_387_53bit_ctx): Likewise.
51082         (libc_feholdsetround_sse_ctx): Likewise.
51083         (libc_feresetround_sse_ctx): Likewise.
51084         (libc_feresetround_387_ctx): Likewise.
51085         (libc_feupdateenv_387_ctx): Likewise.
51086         (libc_feholdexcept_setroundf_ctx): Define macro.
51087         (libc_fesetenvf_ctx): Likewise.
51088         (libc_feupdateenvf_ctx): Likewise.
51089         (libc_feholdsetroundf_ctx): Likewise.
51090         (libc_feresetroundf_ctx): Likewise.
51091         (libc_feholdexcept_setround_ctx): Likewise.
51092         (libc_fesetenv_ctx): Likewise.
51093         (libc_feupdateenv_ctx): Likewise.
51094         (libc_feholdsetround_ctx): Likewise.
51095         (libc_feresetround_ctx): Likewise.
51096         (libc_feholdexcept_setroundl_ctx): Likewise.
51097         (libc_feupdateenvl_ctx): Likewise.
51098         (libc_feholdsetroundl_ctx): Likewise.
51099         (libc_feresetroundl_ctx): Likewise.
51100         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
51101         (libc_feresetround_53bit_ctx): Likewise.
51103 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51105         * locale/iso-639.def: Convert to UTF-8.
51107 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
51109         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
51110         (EXCEPTION_TESTS_double): Likewise.
51111         (EXCEPTION_TESTS_long_double): Likewise.
51112         (EXCEPTION_TESTS): Likewise.
51113         * math/libm-test.inc (test_exceptions): Only test exceptions if
51114         EXCEPTION_TESTS (FLOAT).
51116 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51118         * benchtests/Makefile (string-bench): Add strcpy_chk and
51119         stpcpy_chk.
51120         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
51121         * benchtests/bench-stpcpy_chk.c: New file.
51122         * benchtests/bench-strcpy_chk-ifunc.c: New file.
51123         * benchtests/bench-strcpy_chk.c: New file.
51124         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
51125         code.
51126         (do_test): Likewise.
51128 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51130         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
51131         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
51132         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
51133         with tabs where appropriate.
51134         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
51135         dl-procinfo.h.
51136         [PPC_PLATFORM_PPC440]: Likewise.
51137         [PPC_PLATFORM_PPC464]: Likewise.
51138         [PPC_PLATFORM_PPC476]: Likewise.
51139         (_dl_string_platform): Add support for detecting ppc405, ppc440,
51140         ppc464, and ppc476 platform strings merging from ports/
51141         dl-procinfo.h.
51143 2013-06-11  Andreas Schwab  <schwab@suse.de>
51145         [BZ #14991]
51146         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
51147         (from_ucs4_idx): Regenerate.
51148         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
51149         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
51150         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
51151         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
51152         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
51153         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
51154         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
51155         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
51156         from FROM_LOOP and TO_LOOP specific macros.
51157         (BODY): Handle combining characters.
51158         * iconvdata/BIG5HKSCS.irreversible: Update.
51159         * iconvdata/BIG5HKSCS.precomposed: New file.
51160         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
51161         characters.
51162         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
51164 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51166         * include/sys/time.h: Fix indentation and add copyright header.
51168         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
51169         (do_test): Likewise.
51170         * string/test-memchr.c (do_one_test): Likewise.
51171         (do_test): Likewise.
51172         * string/test-memcmp.c (do_one_test): Likewise.
51173         (do_test): Likewise.
51174         * string/test-memcpy.c (do_one_test): Likewise.
51175         (do_test): Likewise.
51176         * string/test-memmem.c (do_one_test): Likewise.
51177         (do_test): Likewise.
51178         (do_random_tests): Likewise.
51179         * string/test-memmove.c (do_one_test): Likewise.
51180         (do_test): Likewise.
51181         * string/test-memset.c (do_one_test): Likewise.
51182         (do_test): Likewise.
51183         * string/test-rawmemchr.c (do_one_test): Likewise.
51184         (do_test): Likewise.
51185         * string/test-strcasecmp.c (do_one_test): Likewise.
51186         (do_test): Likewise.
51187         * string/test-strcasestr.c (do_one_test): Likewise.
51188         (do_test): Likewise.
51189         * string/test-strcat.c (do_one_test): Likewise.
51190         (do_test): Likewise.
51191         * string/test-strchr.c (do_one_test): Likewise.
51192         (do_test): Likewise.
51193         * string/test-strcmp.c (do_one_test): Likewise.
51194         (do_test): Likewise.
51195         * string/test-strcpy.c (do_one_test): Likewise.
51196         (do_test): Likewise.
51197         * string/test-string.h: Likewise.
51198         (test_init): Likewise.
51199         * string/test-strlen.c (do_one_test): Likewise.
51200         (do_test): Likewise.
51201         * string/test-strncasecmp.c (do_one_test): Likewise.
51202         (do_test): Likewise.
51203         * string/test-strncat.c (do_one_test): Likewise.
51204         (do_test): Likewise.
51205         * string/test-strncmp.c (do_one_test): Likewise.
51206         (do_test_limit): Likewise.
51207         (do_test): Likewise.
51208         * string/test-strncpy.c (do_one_test): Likewise.
51209         (do_test): Likewise.
51210         * string/test-strnlen.c (do_one_test): Likewise.
51211         (do_test): Likewise.
51212         * string/test-strpbrk.c (do_one_test): Likewise.
51213         (do_test): Likewise.
51214         * string/test-strrchr.c (do_one_test): Likewise.
51215         (do_test): Likewise.
51216         * string/test-strspn.c (do_one_test): Likewise.
51217         (do_test): Likewise.
51218         * string/test-strstr.c (do_one_test): Likewise.
51219         (do_test): Likewise.
51221         * benchtests/Makefile (string-bench): Add string benchmarks.
51222         * benchtests/bench-bcopy-ifunc.c: New file.
51223         * benchtests/bench-bcopy.c: New file.
51224         * benchtests/bench-bzero-ifunc.c: New file.
51225         * benchtests/bench-bzero.c: New file.
51226         * benchtests/bench-memccpy-ifunc.c: New file.
51227         * benchtests/bench-memccpy.c: New file.
51228         * benchtests/bench-memchr-ifunc.c: New file.
51229         * benchtests/bench-memchr.c: New file.
51230         * benchtests/bench-memcmp-ifunc.c: New file.
51231         * benchtests/bench-memcmp.c: New file.
51232         * benchtests/bench-memmem-ifunc.c: New file.
51233         * benchtests/bench-memmem.c: New file.
51234         * benchtests/bench-memmove-ifunc.c: New file.
51235         * benchtests/bench-memmove.c: New file.
51236         * benchtests/bench-mempcpy-ifunc.c: New file.
51237         * benchtests/bench-mempcpy.c: New file.
51238         * benchtests/bench-memset-ifunc.c: New file.
51239         * benchtests/bench-memset.c: New file.
51240         * benchtests/bench-rawmemchr-ifunc.c: New file.
51241         * benchtests/bench-rawmemchr.c: New file.
51242         * benchtests/bench-stpcpy-ifunc.c: New file.
51243         * benchtests/bench-stpcpy.c: New file.
51244         * benchtests/bench-stpncpy-ifunc.c: New file.
51245         * benchtests/bench-stpncpy.c: New file.
51246         * benchtests/bench-strcasecmp-ifunc.c: New file.
51247         * benchtests/bench-strcasecmp.c: New file.
51248         * benchtests/bench-strcasestr-ifunc.c: New file.
51249         * benchtests/bench-strcasestr.c: New file.
51250         * benchtests/bench-strcat-ifunc.c: New file.
51251         * benchtests/bench-strcat.c: New file.
51252         * benchtests/bench-strchr-ifunc.c: New file.
51253         * benchtests/bench-strchr.c: New file.
51254         * benchtests/bench-strchrnul-ifunc.c: New file.
51255         * benchtests/bench-strchrnul.c: New file.
51256         * benchtests/bench-strcmp-ifunc.c: New file.
51257         * benchtests/bench-strcmp.c: New file.
51258         * benchtests/bench-strcpy-ifunc.c: New file.
51259         * benchtests/bench-strcpy.c: New file.
51260         * benchtests/bench-strcspn-ifunc.c: New file.
51261         * benchtests/bench-strcspn.c: New file.
51262         * benchtests/bench-strlen-ifunc.c: New file.
51263         * benchtests/bench-strlen.c: New file.
51264         * benchtests/bench-strncasecmp-ifunc.c: New file.
51265         * benchtests/bench-strncasecmp.c: New file.
51266         * benchtests/bench-strncat-ifunc.c: New file.
51267         * benchtests/bench-strncat.c: New file.
51268         * benchtests/bench-strncmp-ifunc.c: New file.
51269         * benchtests/bench-strncmp.c: New file.
51270         * benchtests/bench-strncpy-ifunc.c: New file.
51271         * benchtests/bench-strncpy.c: New file.
51272         * benchtests/bench-strnlen-ifunc.c: New file.
51273         * benchtests/bench-strnlen.c: New file.
51274         * benchtests/bench-strpbrk-ifunc.c: New file.
51275         * benchtests/bench-strpbrk.c: New file.
51276         * benchtests/bench-strrchr-ifunc.c: New file.
51277         * benchtests/bench-strrchr.c: New file.
51278         * benchtests/bench-strspn-ifunc.c: New file.
51279         * benchtests/bench-strspn.c: New file.
51280         * benchtests/bench-strstr-ifunc.c: New file.
51281         * benchtests/bench-strstr.c: New file.
51283         * benchtests/Makefile: Disable parallel execution of targets.
51284         (string-bench): Add memcpy.
51285         (benchset): New variable to store a list of benchmark sets.
51286         (bench-func): Renamed from bench.
51287         (bench-set): New target.
51288         (bench): Depend on bench-func and bench-set.
51289         * benchtests/README: Add section on benchmark sets.
51290         * benchtests/bench-memcpy-ifunc.c: New file.
51291         * benchtests/bench-memcpy.c: New file.
51292         * benchtests/bench-string.h: New file.
51294 2013-06-11  Andreas Schwab  <schwab@suse.de>
51296         [BZ #15577]
51297         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
51298         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
51299         values in the triple.
51300         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
51301         terminator in the group key.
51303 2013-06-11  Andreas Jaeger  <aj@suse.de>
51305         * po/zh_TW.po: Update Chinese (traditional) translation from
51306         translation project.
51308 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51310         * include/time.h (__clock_gettime): Add libc_hidden_proto.
51311         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
51312         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
51313         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
51314         (clock_getcpuclockid): Likewise.
51315         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
51316         Add weak_alias and libc_hidden_def.
51317         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
51318         * rt/clock_gettime.c (clock_gettime): Rename to
51319         __clock_gettime.  Add weak_alias and libc_hidden_def.
51320         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
51321         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
51322         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
51323         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
51324         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
51325         Likewise.
51326         * rt/clock_settime.c (clock_settime): Rename to
51327         __clock_settime.  Add weak_alias and libc_hidden_def.
51328         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
51330 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
51332         * mach/err_boot.sub: Remove trailing whitespace.
51333         * mach/err_ipc.sub: Likewise.
51334         * mach/err_mach.sub: Likewise.
51336         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
51337         (ROUNDING_TESTS_double): Likewise.
51338         (ROUNDING_TESTS_long_double): Likewise.
51339         (ROUNDING_TESTS): Likewise.
51340         * math/libm-test.inc: Include <math-tests.h>.
51341         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
51342         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
51343         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
51344         (IF_ROUND_INIT_FE_UPWARD): Likewise.
51346 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51348         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
51349         of assigning.
51351 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
51353         * sysdeps/gnu/errlist.awk: Do not generate space at end of
51354         otherwise empty TRANS lines.
51355         * sysdeps/gnu/errlist.c: Regenerated.
51357         * catgets/gencat.c (error_print): Use (void) in function
51358         definition.
51359         * crypt/crypt_util.c (__init_des): Likewise.
51360         * crypt/speeds.c (Stop): Likewise.
51361         (main): Likewise.
51362         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
51363         * inet/ruserpass.c (token): Likewise.
51364         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
51365         * intl/localealias.c (extend_alias_table): Likewise.
51366         * intl/plural-exp.c (init_germanic_plural): Likewise.
51367         * libio/fcloseall.c (__fcloseall): Likewise.
51368         * libio/genops.c (_IO_flush_all): Likewise.
51369         (_IO_flush_all_linebuffered): Likewise.
51370         (_IO_cleanup): Likewise.
51371         (_IO_iter_begin): Likewise.
51372         (_IO_iter_end): Likewise.
51373         (_IO_list_lock): Likewise.
51374         (_IO_list_unlock): Likewise.
51375         (_IO_list_resetlock): Likewise.
51376         * libio/getchar.c (getchar): Likewise.
51377         * libio/getchar_u.c (getchar_unlocked): Likewise.
51378         * libio/getwchar.c (getwchar): Likewise.
51379         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
51380         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
51381         * login/getpt.c (__getpt): Likewise.
51382         * login/tst-utmp.c (main): Likewise.
51383         * malloc/hooks.c (__malloc_check_init): Likewise.
51384         * malloc/malloc.c (__malloc_stats): Likewise.
51385         * malloc/mtrace.c (tr_break): Likewise.
51386         (mtrace): Likewise.
51387         (muntrace): Likewise.
51388         * misc/fstab.c (endfsent): Likewise.
51389         * misc/getclktck.c (__getclktck): Likewise.
51390         * misc/getdtsz.c (__getdtablesize): Likewise.
51391         * misc/gethostid.c (gethostid): Likewise.
51392         * misc/getpagesize.c (__getpagesize): Likewise.
51393         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
51394         (__get_nprocs): Likewise.
51395         (__get_phys_pages): Likewise.
51396         (__get_avphys_pages): Likewise.
51397         * misc/getttyent.c (getttyent): Likewise.
51398         (setttyent): Likewise.
51399         (endttyent): Likewise.
51400         * misc/getusershell.c (getusershell): Likewise.
51401         (endusershell): Likewise.
51402         (setusershell): Likewise.
51403         (initshells): Likewise.
51404         * misc/hsearch.c (__hdestroy): Likewise.
51405         * misc/sync.c (sync): Likewise.
51406         * misc/syslog.c (closelog_internal): Likewise.
51407         (closelog): Likewise.
51408         * misc/ttyslot.c (ttyslot): Likewise.
51409         * misc/vhangup.c (vhangup): Likewise.
51410         * posix/fork.c (__fork): Likewise.
51411         * posix/getegid.c (__getegid): Likewise.
51412         * posix/geteuid.c (__geteuid): Likewise.
51413         * posix/getgid.c (__getgid): Likewise.
51414         * posix/getpid.c (__getpid): Likewise.
51415         * posix/getppid.c (__getppid): Likewise.
51416         * posix/getuid.c (__getuid): Likewise.
51417         * posix/pause.c (pause): Likewise.
51418         * posix/setpgrp.c (setpgrp): Likewise.
51419         * posix/setsid.c (__setsid): Likewise.
51420         * posix/test-vfork.c (noop): Likewise.
51421         * resolv/gethnamaddr.c (_endhtent): Likewise.
51422         (_gethtent): Likewise.
51423         (ht_endhostent): Likewise.
51424         (gethostent): Likewise.
51425         (dns_service): Likewise.
51426         * stdlib/drand48.c (drand48): Likewise.
51427         * stdlib/lrand48.c (lrand48): Likewise.
51428         * stdlib/mrand48.c (mrand48): Likewise.
51429         * stdlib/rand.c (rand): Likewise.
51430         * stdlib/random.c (__random): Likewise.
51431         * stdlib/setenv.c (clearenv): Likewise.
51432         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
51433         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
51434         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
51435         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
51436         (__get_nprocs): Likewise.
51437         (__get_phys_pages): Likewise.
51438         (__get_avphys_pages): Likewise.
51439         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
51440         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
51441         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
51442         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
51443         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
51444         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
51445         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
51446         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
51447         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
51448         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
51449         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
51450         * sysdeps/mach/hurd/sync.c (sync): Likewise.
51451         * sysdeps/posix/clock.c (clock): Likewise.
51452         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
51453         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
51454         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
51455         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
51456         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
51457         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
51458         (__get_nprocs_conf): Likewise.
51459         (__get_phys_pages): Likewise.
51460         (__get_avphys_pages): Likewise.
51461         * time/clock.c (clock): Likewise.
51462         * time/tzset.c (__tzname_max): Likewise.
51464 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
51466         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
51467         (__bswap_32): Do not use "register".
51468         * crypt/crypt.c (_ufc_doit_r): Likewise.
51469         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
51470         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
51471         * gmon/gmon.c (__monstartup): Likewise.
51472         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
51473         * hurd/hurdmalloc.c (more_memory): Likewise.
51474         (malloc): Likewise.
51475         (free): Likewise.
51476         (realloc): Likewise.
51477         (malloc_fork_prepare): Likewise.
51478         (malloc_fork_parent): Likewise.
51479         (malloc_fork_child): Likewise.
51480         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
51481         (_svcauth_des): Likewise.
51482         * inet/inet_lnaof.c (inet_lnaof): Likewise.
51483         * inet/inet_net.c (inet_network): Likewise.
51484         * inet/inet_netof.c (inet_netof): Likewise.
51485         * inet/rcmd.c (__validuser2_sa): Likewise.
51486         * io/fts.c (fts_open): Likewise.
51487         (fts_load): Likewise.
51488         (fts_close): Likewise.
51489         (fts_read): Likewise.
51490         (fts_children): Likewise.
51491         (fts_build): Likewise.
51492         (fts_stat): Likewise.
51493         (fts_sort): Likewise.
51494         (fts_alloc): Likewise.
51495         (fts_lfree): Likewise.
51496         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
51497         (_IO_file_xsgetn): Likewise.
51498         (_IO_file_xsgetn_mmap): Likewise.
51499         * libio/iofopncook.c (_IO_cookie_read): Likewise.
51500         (_IO_cookie_write): Likewise.
51501         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
51502         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
51503         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
51504         * malloc/obstack.c (_obstack_begin): Likewise.
51505         (_obstack_begin_1): Likewise.
51506         (_obstack_newchunk): Likewise.
51507         (_obstack_allocated_p): Likewise.
51508         (obstack_free): Likewise.
51509         (_obstack_memory_used): Likewise.
51510         * misc/getttyent.c (getttynam): Likewise.
51511         (getttyent): Likewise.
51512         (skip): Likewise.
51513         (value): Likewise.
51514         * misc/getusershell.c (initshells): Likewise.
51515         * misc/syslog.c (__vsyslog_chk): Likewise.
51516         * misc/ttyslot.c (ttyslot): Likewise.
51517         * nis/nis_hash.c (__nis_hash): Likewise.
51518         * posix/fnmatch_loop.c (FCT): Likewise.
51519         * posix/getconf.c (print_all): Likewise.
51520         (main): Likewise.
51521         * posix/getopt.c (exchange): Likewise.
51522         * posix/glob.c (globfree): Likewise.
51523         (prefix_array): Likewise.
51524         (__glob_pattern_type): Likewise.
51525         * resolv/arpa/nameser.h (NS_GET16): Likewise.
51526         (NS_GET32): Likewise.
51527         (NS_PUT16): Likewise.
51528         (NS_PUT32): Likewise.
51529         * resolv/gethnamaddr.c (getanswer): Likewise.
51530         (gethostbyname2): Likewise.
51531         (gethostbyaddr): Likewise.
51532         (_gethtent): Likewise.
51533         (_gethtbyname2): Likewise.
51534         (_gethtbyaddr): Likewise.
51535         * resolv/ns_print.c (dst_s_get_int16): Likewise.
51536         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
51537         * resolv/res_init.c (__res_vinit): Likewise.
51538         (net_mask): Likewise.
51539         * resolv/res_mkquery.c (outchar): Likewise.
51540         (PRINT): Likewise.
51541         * stdio-common/printf_fp.c (outchar): Likewise.
51542         (PRINT): Likewise.
51543         * stdio-common/printf_fphex.c (outchar): Likewise.
51544         (PRINT): Likewise.
51545         * stdio-common/printf_size.c (outchar): Likewise.
51546         (PRINT): Likewise.
51547         * stdio-common/test_rdwr.c (main): Likewise.
51548         * stdio-common/tfformat.c (matches): Likewise.
51549         * stdio-common/vfprintf.c (outchar): Likewise.
51550         (printf_unknown): Likewise.
51551         (buffered_vfprintf): Likewise.
51552         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
51553         * stdio-common/xbug.c (AppendToBuffer): Likewise.
51554         (ReadFile): Likewise.
51555         * stdlib/qsort.c (SWAP): Likewise.
51556         (_quicksort): Likewise.
51557         * stdlib/setenv.c (__add_to_environ): Likewise.
51558         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
51559         * stdlib/strtol_l.c (__strtol_l): Likewise.
51560         * stdlib/tst-strtod.c (main): Likewise.
51561         * stdlib/tst-strtol.c (main): Likewise.
51562         * stdlib/tst-strtoll.c (main): Likewise.
51563         * string/bits/string2.h (__strcmp_cc): Likewise.
51564         (__strcmp_cg): Likewise.
51565         (__strcspn_c1): Likewise.
51566         (__strcspn_c2): Likewise.
51567         (__strcspn_c3): Likewise.
51568         (__strspn_c1): Likewise.
51569         (__strspn_c2): Likewise.
51570         (__strspn_c3): Likewise.
51571         (__strsep_1c): Likewise.
51572         (__strsep_2c): Likewise.
51573         (__strsep_3c): Likewise.
51574         * string/memccpy.c (__memccpy): Likewise.
51575         * string/stpcpy.c (__stpcpy): Likewise.
51576         * string/strcmp.c (strcmp): Likewise.
51577         * string/strrchr.c (strrchr): Likewise.
51578         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
51579         Likewise.
51580         * sysdeps/mach/hurd/getcwd.c
51581         (_hurd_canonicalize_directory_name_internal): Likewise.
51582         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
51583         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
51584         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
51585         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
51586         Likewise, in both definitions.
51587         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
51588         definitions.
51589         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
51590         64] (__bswap_64): Likewise.
51591         * time/test_time.c (main): Likewise.
51592         * time/tzfile.c (__tzfile_read): Likewise.
51593         (__tzfile_compute): Likewise.
51594         * time/tzset.c (__tzset_parse_tz): Likewise.
51595         (tzset_internal): Likewise.
51596         (compute_change): Likewise.
51597         * wcsmbs/wcscat.c (__wcscat): Likewise.
51598         * wcsmbs/wcschr.c (wcschr): Likewise.
51599         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
51600         * wcsmbs/wcscspn.c (wcscspn): Likewise.
51601         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
51602         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
51603         * wcsmbs/wcsspn.c (wcsspn): Likewise.
51604         * wcsmbs/wcsstr.c (wcsstr): Likewise.
51605         * wcsmbs/wmemchr.c (wmemchr): Likewise.
51606         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
51607         * wcsmbs/wmemset.c (wmemset): Likewise.
51609 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
51611         * scripts/config.guess: Update to version 2013-05-16.
51612         * scripts/config.sub: Update to version 2013-04-24.
51613         * scripts/install-sh: Update to version 2011-11-20.07.
51614         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
51615         * scripts/move-if-change: Update to version 2012-01-06 07:23.
51617 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
51619         * debug/fgetws_u_chk.c: Fix leading whitespaces.
51620         * elf/sln.c: Likewise.
51621         * hurd/hurd/ioctl.h: Likewise.
51622         * hurd/hurdmalloc.c: Likewise.
51623         * hurd/xattr.c: Likewise.
51624         * include/shlib-compat.h: Likewise.
51625         * inet/ruserpass.c: Likewise.
51626         * libio/iofgets_u.c: Likewise.
51627         * libio/iofgetws_u.c: Likewise.
51628         * locale/programs/ld-identification.c: Likewise.
51629         * locale/programs/ld-time.c: Likewise.
51630         * mach/msg-destroy.c: Likewise.
51631         * nss/nss_files/files-netgrp.c: Likewise.
51632         * resolv/res_data.c: Likewise.
51633         * soft-fp/op-1.h: Likewise.
51634         * soft-fp/op-2.h: Likewise.
51635         * soft-fp/op-4.h: Likewise.
51636         * soft-fp/op-common.h: Likewise.
51637         * stdio-common/printf_fphex.c: Likewise.
51638         * stdlib/strtod_l.c: Likewise.
51639         * sunrpc/rpc/clnt.h: Likewise.
51640         * sysdeps/generic/framestate.c: Likewise.
51641         * sysdeps/i386/bsd-_setjmp.S: Likewise.
51642         * sysdeps/i386/bsd-setjmp.S: Likewise.
51643         * sysdeps/i386/__longjmp.S: Likewise.
51644         * sysdeps/i386/setjmp.S: Likewise.
51645         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
51646         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
51647         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
51648         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51649         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51650         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
51651         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
51652         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
51653         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
51654         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
51655         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
51656         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
51657         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
51658         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
51659         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
51660         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
51661         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
51662         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
51663         * sysdeps/ieee754/support.c: Likewise.
51664         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
51665         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
51666         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
51667         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
51668         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
51669         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
51670         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
51671         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
51672         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
51673         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
51674         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
51675         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
51676         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
51677         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
51678         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
51679         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
51680         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
51681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
51683 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
51685         * posix/transbug.c: Remove executable mode.
51687 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
51689         * crypt/speeds.c: Remove trailing whitespace.
51690         * dlfcn/default.c: Likewise.
51691         * elf/ifuncdep2.c: Likewise.
51692         * elf/ifuncmain1.c: Likewise.
51693         * elf/ifuncmain1vis.c: Likewise.
51694         * elf/testobj.h: Likewise.
51695         * elf/tst-stackguard1.c: Likewise.
51696         * gmon/sys/gmon.h: Likewise.
51697         * hurd/hurdmsg.c: Likewise.
51698         * hurd/new-fd.c: Likewise.
51699         * hurd/ports-get.c: Likewise.
51700         * iconvdata/ibm1008_420.c: Likewise.
51701         * inet/tst-getni1.c: Likewise.
51702         * inet/tst-getni2.c: Likewise.
51703         * libio/ioungetc.c: Likewise.
51704         * libio/wfiledoalloc.c: Likewise.
51705         * manual/libm-err-tab.pl: Likewise.
51706         * math/w_dremf.c: Likewise.
51707         * misc/ftruncate.c: Likewise.
51708         * posix/bug-glob2.c: Likewise.
51709         * posix/tst-pcre.c: Likewise.
51710         * posix/wait4.c: Likewise.
51711         * resolv/README: Likewise.
51712         * resolv/res_debug.h: Likewise.
51713         * resolv/tst-inet_ntop.c: Likewise.
51714         * setjmp/bug269-setjmp.c: Likewise.
51715         * soft-fp/extended.h: Likewise.
51716         * soft-fp/op-1.h: Likewise.
51717         * soft-fp/op-2.h: Likewise.
51718         * soft-fp/op-4.h: Likewise.
51719         * soft-fp/op-8.h: Likewise.
51720         * soft-fp/testit.c: Likewise.
51721         * stdio-common/bug16.c: Likewise.
51722         * stdlib/random.c: Likewise.
51723         * sunrpc/rpcsvc/rquota.x: Likewise.
51724         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
51725         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
51726         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
51727         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
51728         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
51729         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
51730         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
51731         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
51732         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
51733         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
51734         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
51735         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
51736         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
51737         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
51738         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
51739         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
51740         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
51741         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
51742         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
51743         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
51744         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
51745         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
51746         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
51747         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
51748         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
51749         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
51750         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
51751         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
51752         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
51753         * sysdeps/ieee754/s_lib_version.c: Likewise.
51754         * sysdeps/mach/hurd/check_fds.c: Likewise.
51755         * sysdeps/mach/hurd/getsockname.c: Likewise.
51756         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
51757         * sysdeps/mach/hurd/recvfrom.c: Likewise.
51758         * sysdeps/powerpc/bits/link.h: Likewise.
51759         * sysdeps/powerpc/dl-procinfo.c: Likewise.
51760         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
51761         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
51762         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
51763         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
51764         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
51765         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
51766         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
51767         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
51768         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
51769         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
51770         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
51771         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
51772         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
51773         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
51774         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
51775         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
51776         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
51777         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
51778         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51779         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51780         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
51781         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
51782         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
51783         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
51784         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
51785         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
51786         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51787         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51788         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
51789         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
51790         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
51791         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
51792         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51793         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
51794         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
51795         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
51796         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
51797         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
51798         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
51799         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
51800         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
51801         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
51802         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
51803         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
51804         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
51805         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
51806         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
51807         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
51808         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
51809         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51810         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51811         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
51812         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
51813         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
51814         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
51815         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
51816         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
51817         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
51818         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
51819         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
51820         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
51821         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
51822         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
51823         * sysdeps/powerpc/sysdep.h: Likewise.
51824         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
51825         * sysdeps/s390/s390-64/sub_n.S: Likewise.
51826         * sysdeps/sh/dl-trampoline.S: Likewise.
51827         * sysdeps/sh/memset.S: Likewise.
51828         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
51829         * sysdeps/sh/strlen.S: Likewise.
51830         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
51831         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
51832         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
51833         * sysdeps/sparc/sparc32/rem.S: Likewise.
51834         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
51835         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
51836         * sysdeps/sparc/sparc32/strchr.S: Likewise.
51837         * sysdeps/sparc/sparc32/udiv.S: Likewise.
51838         * sysdeps/sparc/sparc32/urem.S: Likewise.
51839         * sysdeps/sparc/sparc64/add_n.S: Likewise.
51840         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
51841         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
51842         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
51843         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
51844         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
51845         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
51846         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
51847         * sysdeps/unix/bsd/times.c: Likewise.
51848         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
51849         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
51850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
51851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
51852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
51853         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
51854         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
51855         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
51856         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
51857         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
51858         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
51859         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
51860         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
51861         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
51862         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
51863         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
51864         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
51865         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
51866         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
51867         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
51868         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
51869         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
51870         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
51871         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
51872         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
51873         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
51874         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
51875         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
51876         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
51877         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
51878         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
51879         * sysdeps/x86_64/strcspn.S: Likewise.
51881 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51883         * locale/C-translit.h: Revert #include <stdint.h> because this is a
51884         generated file.  Regenerate properly from gen-translit.pl.
51885         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
51886         locale/C-translit.h.
51888 2013-06-05  Andreas Schwab  <schwab@suse.de>
51890         [BZ #15100]
51891         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
51892         week as 6 instead of -1.
51893         * time/tst-strptime.c (day_tests): Add test case.
51895 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51897         * sysdeps/generic/math_private.h
51898         (libc_feholdexcept_setround_53bit): Replace with
51899         libc_feholdsetround_53bit.
51900         (libc_feupdateenv_53bit): Replace with
51901         libc_feresetround_53bit.
51902         (SET_RESTORE_ROUND_53BIT): Adjust.
51904 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
51906         * string/test-strchrnul.c: Add copyright header.
51908         * posix/tst-getaddrinfo4.c: Increase test timeout.
51910 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
51912         [BZ #15536]
51913         * math/libm-test.inc (MAX_EXP): Remove
51914         (MIN_EXP): Define.
51915         (ulp): Use MIN_EXP - MANT_DIG.
51916         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
51918 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
51920         * po/be.po: Revert last change.
51921         * po/zh_CN.po: Likewise.
51922         * po/header.pot: Likewise.
51924 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
51926         * Makefile ($(common-objpfx)linkobj/libc.so): Define
51927         link-libc-deps to empty as target-specific variable.
51928         * Makerules (link-libc-args): New variable.
51929         (libc-for-link): Likewise.
51930         (link-libc-deps): Likewise.
51931         (lib%.so): Depend on $(link-libc-deps).  Link with
51932         $(link-libc-args).
51933         (build-module): Link with $(link-libc-args).
51934         (build-module-asneeded): Likewise.
51935         (build-module-helper-objlist): Filter out $(link-libc-deps) from
51936         list of objects.
51937         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
51938         target-specific variable.
51939         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
51940         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
51941         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
51942         libc.
51943         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
51944         libc and ld.so.
51945         ($(objpfx)libpcprofile.so): Likewise.
51946         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
51947         libc_nonshared.a.
51948         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
51949         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
51950         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
51951         $(link-libc-deps).
51952         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
51953         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
51954         * login/Makefile ($(objpfx)libutil.so): Likewise.
51955         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
51956         * math/Makefile ($(objpfx)libm.so): Likewise.
51957         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
51958         $(objpfx)libnsl.so): Define libc-for-link as target-specific
51959         variable instead of depending directly on libc.
51960         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
51961         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
51962         $(link-libc-deps).
51963         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
51964         libc.
51965         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
51966         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
51967         ($(objpfx)libanl.so): Likewise.
51968         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
51969         ld.so.
51970         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
51971         $(link-libc-deps).
51972         * sysdeps/i386/fpu/Makefile: Remove file.
51973         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
51974         ($(objpfx)libm.so): Remove dependency on ld.so.
51976 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
51978         [BZ # 15553]
51979         * nis/yp_xdr.c (XDRMAXNAME): Define.
51980         (XDRMAXRECORD): Define.
51981         (xdr_domainname): Use XDRMAXNAME.
51982         (xdr_mapname): Likewise.
51983         (xdr_peername): Likewise.
51984         (xdr_keydat): Use XDRMAXRECORD.
51985         (xdr_valdat): Likewise.
51987 2013-05-30  Jeff Law  <law@redhat.com>
51989         [BZ #14256]
51990         * manual/errno.texi (ESTALE): Update to account for more than
51991         just NFS file systems.
51992         * sysdeps/gnu/errlist.c: Regenerated.
51994 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
51996         [BZ #15465]
51997         * elf/Makefile (tests): Add tst-null-argv.
51998         (modules-names):  Add tst-null-argv-lib.
51999         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
52000         (tst-null-argv-ENV): Set environment for tst-null-argv.
52001         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
52002         (RTLD_PROGNAME): New macro.
52003         * elf/tst-null-argv.c: New test case.
52004         * elf/tst-null-argv-lib.c: Library for test case.
52005         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
52006         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
52007         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
52008         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
52009         * elf/dl-init.c (call_init): Likewise.
52010         (_dl_init): Likewise.
52011         * elf/dl-load.c (print_search_path): Likewise.
52012         (_dl_map_object): Likewise.
52013         * elf/dl-lookup.c (do_lookup_x): Likewise.
52014         (add_dependency): Likewise.
52015         (_dl_lookup_symbol_x): Likewise.
52016         (_dl_debug_bindings): Likewise.
52017         * elf/dl-open.c (_dl_show_scope): Likewise.
52018         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
52019         * elf/dl-version.c (match_symbol): Likewise.
52020         (_dl_check_map_versions): Likewise.
52021         * elf/rtld.c (dl_main): Likewise.
52022         (print_unresolved): Use RTLD_PROGNAME.
52023         (print_missing_version): Likewise.
52024         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
52025         (elf_machine_rela): Likewise.
52026         * sysdeps/powerpc/powerpc32/dl-machine.c
52027         (__process_machine_rela): Likewise.
52028         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52029         Likewise.
52030         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
52031         Likewise.
52032         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
52033         Likewise.
52034         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52035         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
52036         Likewise.
52037         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
52038         Likewise.
52039         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
52041 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
52043         * po/be.po: Add descriptive title.
52044         * po/zh_CN.po: Likewise.
52045         * po/header.pot: Likewise.
52047 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
52049         * locale/programs/locarchive.c (create_archive): Inlucde fname in
52050         error message.
52051         (enlarge_archive): Likewise.
52053 2013-05-28  Ben North  <ben@redfrontdoor.org>
52055         * manual/arith.texi (frexp): It is the magnitude of the return
52056         value which lies in [0.5, 1), not the return value itself.
52058 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52060         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52062 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
52064         * stdio-common/bug26.c (main): Correct fscanf template.
52066         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
52067         declare _dl_skip_args.
52069         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
52070         Don't declare.
52072         * manual/platform.texi: Add missing @end deftypefun.
52074 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
52076         [BZ #15529]
52077         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
52078         bit of mantissa of 2^16382.
52079         * math/libm-test.inc (hypot_test_data): Add more tests.
52081         * math/libm-test.inc: Add drem and pow10 to list of tested
52082         functions.
52083         (pow10_test): New function.
52084         (drem_test): Likewise.
52085         (drem_test_tonearest): Likewise.
52086         (drem_test_towardzero): Likewise.
52087         (drem_test_downward): Likewise.
52088         (drem_test_upward): Likewise.
52089         (main): Call the new functions.
52091         * math/libm-test.inc (finite_test_data): Remove.
52092         (finite_test): Run tests from isfinite_test_data.
52093         (gamma_test_data): Remove.
52094         (gamma_test): Run tests from lgamma_test_data.
52095         * sysdeps/i386/fpu/libm-test-ulps: Update.
52096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52098 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52100         * manual/platform.texi: Add PowerPC PPR function set documentation.
52101         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
52102         implementation.
52104 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
52106         * math/libm-test.inc (MAX_EXP): Define.
52107         (ULPDIFF): Define.
52108         (ulp): New function.
52109         (check_float_internal): Use ULPDIFF.
52110         (cpow_test): Disable failing test.
52111         (check_ulp): Test ulp() implemetnation.
52112         (main): Call check_ulp before starting tests.
52114 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
52116         * math/gen-libm-test.pl (generate_testfile): Do not handle
52117         START_DATA and END_DATA.
52118         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
52119         END_DATA.
52120         (acos_tonearest_test_data): Likewise.
52121         (acos_towardzero_test_data): Likewise.
52122         (acos_downward_test_data): Likewise.
52123         (acos_upward_test_data): Likewise.
52124         (acosh_test_data): Likewise.
52125         (asin_test_data): Likewise.
52126         (asin_tonearest_test_data): Likewise.
52127         (asin_towardzero_test_data): Likewise.
52128         (asin_downward_test_data): Likewise.
52129         (asin_upward_test_data): Likewise.
52130         (asinh_test_data): Likewise.
52131         (atan_test_data): Likewise.
52132         (atanh_test_data): Likewise.
52133         (atan2_test_data): Likewise.
52134         (cabs_test_data): Likewise.
52135         (cacos_test_data): Likewise.
52136         (cacosh_test_data): Likewise.
52137         (carg_test_data): Likewise.
52138         (casin_test_data): Likewise.
52139         (casinh_test_data): Likewise.
52140         (catan_test_data): Likewise.
52141         (catanh_test_data): Likewise.
52142         (cbrt_test_data): Likewise.
52143         (ccos_test_data): Likewise.
52144         (ccosh_test_data): Likewise.
52145         (ceil_test_data): Likewise.
52146         (cexp_test_data): Likewise.
52147         (cimag_test_data): Likewise.
52148         (clog_test_data): Likewise.
52149         (clog10_test_data): Likewise.
52150         (conj_test_data): Likewise.
52151         (copysign_test_data): Likewise.
52152         (cos_test_data): Likewise.
52153         (cos_tonearest_test_data): Likewise.
52154         (cos_towardzero_test_data): Likewise.
52155         (cos_downward_test_data): Likewise.
52156         (cos_upward_test_data): Likewise.
52157         (cosh_test_data): Likewise.
52158         (cosh_tonearest_test_data): Likewise.
52159         (cosh_towardzero_test_data): Likewise.
52160         (cosh_downward_test_data): Likewise.
52161         (cosh_upward_test_data): Likewise.
52162         (cpow_test_data): Likewise.
52163         (cproj_test_data): Likewise.
52164         (creal_test_data): Likewise.
52165         (csin_test_data): Likewise.
52166         (csinh_test_data): Likewise.
52167         (csqrt_test_data): Likewise.
52168         (ctan_test_data): Likewise.
52169         (ctan_tonearest_test_data): Likewise.
52170         (ctan_towardzero_test_data): Likewise.
52171         (ctan_downward_test_data): Likewise.
52172         (ctan_upward_test_data): Likewise.
52173         (ctanh_test_data): Likewise.
52174         (ctanh_tonearest_test_data): Likewise.
52175         (ctanh_towardzero_test_data): Likewise.
52176         (ctanh_downward_test_data): Likewise.
52177         (ctanh_upward_test_data): Likewise.
52178         (erf_test_data): Likewise.
52179         (erfc_test_data): Likewise.
52180         (exp_test_data): Likewise.
52181         (exp_tonearest_test_data): Likewise.
52182         (exp_towardzero_test_data): Likewise.
52183         (exp_downward_test_data): Likewise.
52184         (exp_upward_test_data): Likewise.
52185         (exp10_test_data): Likewise.
52186         (exp2_test_data): Likewise.
52187         (expm1_test_data): Likewise.
52188         (fabs_test_data): Likewise.
52189         (fdim_test_data): Likewise.
52190         (finite_test_data): Likewise.
52191         (floor_test_data): Likewise.
52192         (fma_test_data): Likewise.
52193         (fma_towardzero_test_data): Likewise.
52194         (fma_downward_test_data): Likewise.
52195         (fma_upward_test_data): Likewise.
52196         (fmax_test_data): Likewise.
52197         (fmin_test_data): Likewise.
52198         (fmod_test_data): Likewise.
52199         (fpclassify_test_data): Likewise.
52200         (frexp_test_data): Likewise.
52201         (gamma_test_data): Likewise.
52202         (hypot_test_data): Likewise.
52203         (ilogb_test_data): Likewise.
52204         (isfinite_test_data): Likewise.
52205         (isgreater_test_data): Likewise.
52206         (isgreaterequal_test_data): Likewise.
52207         (isinf_test_data): Likewise.
52208         (isless_test_data): Likewise.
52209         (islessequal_test_data): Likewise.
52210         (islessgreater_test_data): Likewise.
52211         (isnan_test_data): Likewise.
52212         (isnormal_test_data): Likewise.
52213         (issignaling_test_data): Likewise.
52214         (isunordered_test_data): Likewise.
52215         (j0_test_data): Likewise.
52216         (j1_test_data): Likewise.
52217         (jn_test_data): Likewise.
52218         (ldexp_test_data): Likewise.
52219         (lgamma_test_data): Likewise.
52220         (lrint_test_data): Likewise.
52221         (lrint_tonearest_test_data): Likewise.
52222         (lrint_towardzero_test_data): Likewise.
52223         (lrint_downward_test_data): Likewise.
52224         (lrint_upward_test_data): Likewise.
52225         (llrint_test_data): Likewise.
52226         (llrint_tonearest_test_data): Likewise.
52227         (llrint_towardzero_test_data): Likewise.
52228         (llrint_downward_test_data): Likewise.
52229         (llrint_upward_test_data): Likewise.
52230         (log_test_data): Likewise.
52231         (log10_test_data): Likewise.
52232         (log1p_test_data): Likewise.
52233         (log2_test_data): Likewise.
52234         (logb_test_data): Likewise.
52235         (logb_downward_test_data): Likewise.
52236         (lround_test_data): Likewise.
52237         (llround_test_data): Likewise.
52238         (modf_test_data): Likewise.
52239         (nearbyint_test_data): Likewise.
52240         (nextafter_test_data): Likewise.
52241         (nexttoward_test_data): Likewise.
52242         (pow_test_data): Likewise.
52243         (pow_tonearest_test_data): Likewise.
52244         (pow_towardzero_test_data): Likewise.
52245         (pow_downward_test_data): Likewise.
52246         (pow_upward_test_data): Likewise.
52247         (remainder_test_data): Likewise.
52248         (remainder_tonearest_test_data): Likewise.
52249         (remainder_towardzero_test_data): Likewise.
52250         (remainder_downward_test_data): Likewise.
52251         (remainder_upward_test_data): Likewise.
52252         (remquo_test_data): Likewise.
52253         (rint_test_data): Likewise.
52254         (rint_tonearest_test_data): Likewise.
52255         (rint_towardzero_test_data): Likewise.
52256         (rint_downward_test_data): Likewise.
52257         (rint_upward_test_data): Likewise.
52258         (round_test_data): Likewise.
52259         (scalb_test_data): Likewise.
52260         (scalbn_test_data): Likewise.
52261         (scalbln_test_data): Likewise.
52262         (signbit_test_data): Likewise.
52263         (sin_test_data): Likewise.
52264         (sin_tonearest_test_data): Likewise.
52265         (sin_towardzero_test_data): Likewise.
52266         (sin_downward_test_data): Likewise.
52267         (sin_upward_test_data): Likewise.
52268         (sincos_test_data): Likewise.
52269         (sinh_test_data): Likewise.
52270         (sinh_tonearest_test_data): Likewise.
52271         (sinh_towardzero_test_data): Likewise.
52272         (sinh_downward_test_data): Likewise.
52273         (sinh_upward_test_data): Likewise.
52274         (sqrt_test_data): Likewise.
52275         (tan_test_data): Likewise.
52276         (tan_tonearest_test_data): Likewise.
52277         (tan_towardzero_test_data): Likewise.
52278         (tan_downward_test_data): Likewise.
52279         (tan_upward_test_data): Likewise.
52280         (tanh_test_data): Likewise.
52281         (tgamma_test_data): Likewise.
52282         (trunc_test_data): Likewise.
52283         (y0_test_data): Likewise.
52284         (y1_test_data): Likewise.
52285         (yn_test_data): Likewise.
52286         (significand_test_data): Likewise.
52288         * math/gen-libm-test.pl (@functions): Remove variable.
52289         (generate_testfile): Don't handle START and END lines.
52290         * math/libm-test.inc (START): New macro.
52291         (END): Likewise.
52292         (END_COMPLEX): Likewise.
52293         (acos_test): Use END macro without arguments.
52294         (acos_test_tonearest): Likewise.
52295         (acos_test_towardzero): Likewise.
52296         (acos_test_downward): Likewise.
52297         (acos_test_upward): Likewise.
52298         (acosh_test): Likewise.
52299         (asin_test): Likewise.
52300         (asin_test_tonearest): Likewise.
52301         (asin_test_towardzero): Likewise.
52302         (asin_test_downward): Likewise.
52303         (asin_test_upward): Likewise.
52304         (asinh_test): Likewise.
52305         (atan_test): Likewise.
52306         (atanh_test): Likewise.
52307         (atan2_test): Likewise.
52308         (cabs_test): Likewise.
52309         (cacos_test): Use END_COMPLEX macro without arguments.
52310         (cacosh_test): Likewise.
52311         (carg_test): Use END macro without arguments.
52312         (casin_test): Use END_COMPLEX macro without arguments.
52313         (casinh_test): Likewise.
52314         (catan_test): Likewise.
52315         (catanh_test): Likewise.
52316         (cbrt_test): Use END macro without arguments.
52317         (ccos_test): Use END_COMPLEX macro without arguments.
52318         (ccosh_test): Likewise.
52319         (ceil_test): Use END macro without arguments.
52320         (cexp_test): Use END_COMPLEX macro without arguments.
52321         (cimag_test): Use END macro without arguments.
52322         (clog_test): Use END_COMPLEX macro without arguments.
52323         (clog10_test): Likewise.
52324         (conj_test): Likewise.
52325         (copysign_test): Use END macro without arguments.
52326         (cos_test): Likewise.
52327         (cos_test_tonearest): Likewise.
52328         (cos_test_towardzero): Likewise.
52329         (cos_test_downward): Likewise.
52330         (cos_test_upward): Likewise.
52331         (cosh_test): Likewise.
52332         (cosh_test_tonearest): Likewise.
52333         (cosh_test_towardzero): Likewise.
52334         (cosh_test_downward): Likewise.
52335         (cosh_test_upward): Likewise.
52336         (cpow_test): Use END_COMPLEX macro without arguments.
52337         (cproj_test): Likewise.
52338         (creal_test): Use END macro without arguments.
52339         (csin_test): Use END_COMPLEX macro without arguments.
52340         (csinh_test): Likewise.
52341         (csqrt_test): Likewise.
52342         (ctan_test): Likewise.
52343         (ctan_test_tonearest): Likewise.
52344         (ctan_test_towardzero): Likewise.
52345         (ctan_test_downward): Likewise.
52346         (ctan_test_upward): Likewise.
52347         (ctanh_test): Likewise.
52348         (ctanh_test_tonearest): Likewise.
52349         (ctanh_test_towardzero): Likewise.
52350         (ctanh_test_downward): Likewise.
52351         (ctanh_test_upward): Likewise.
52352         (erf_test): Use END macro without arguments.
52353         (erfc_test): Likewise.
52354         (exp_test): Likewise.
52355         (exp_test_tonearest): Likewise.
52356         (exp_test_towardzero): Likewise.
52357         (exp_test_downward): Likewise.
52358         (exp_test_upward): Likewise.
52359         (exp10_test): Likewise.
52360         (exp2_test): Likewise.
52361         (expm1_test): Likewise.
52362         (fabs_test): Likewise.
52363         (fdim_test): Likewise.
52364         (finite_test): Likewise.
52365         (floor_test): Likewise.
52366         (fma_test): Likewise.
52367         (fma_test_towardzero): Likewise.
52368         (fma_test_downward): Likewise.
52369         (fma_test_upward): Likewise.
52370         (fmax_test): Likewise.
52371         (fmin_test): Likewise.
52372         (fmod_test): Likewise.
52373         (fpclassify_test): Likewise.
52374         (frexp_test): Likewise.
52375         (gamma_test): Likewise.
52376         (hypot_test): Likewise.
52377         (ilogb_test): Likewise.
52378         (isfinite_test): Likewise.
52379         (isgreater_test): Likewise.
52380         (isgreaterequal_test): Likewise.
52381         (isinf_test): Likewise.
52382         (isless_test): Likewise.
52383         (islessequal_test): Likewise.
52384         (islessgreater_test): Likewise.
52385         (isnan_test): Likewise.
52386         (isnormal_test): Likewise.
52387         (issignaling_test): Likewise.
52388         (isunordered_test): Likewise.
52389         (j0_test): Likewise.
52390         (j1_test): Likewise.
52391         (jn_test): Likewise.
52392         (ldexp_test): Likewise.
52393         (lgamma_test): Likewise.
52394         (lrint_test): Likewise.
52395         (lrint_test_tonearest): Likewise.
52396         (lrint_test_towardzero): Likewise.
52397         (lrint_test_downward): Likewise.
52398         (lrint_test_upward): Likewise.
52399         (llrint_test): Likewise.
52400         (llrint_test_tonearest): Likewise.
52401         (llrint_test_towardzero): Likewise.
52402         (llrint_test_downward): Likewise.
52403         (llrint_test_upward): Likewise.
52404         (log_test): Likewise.
52405         (log10_test): Likewise.
52406         (log1p_test): Likewise.
52407         (log2_test): Likewise.
52408         (logb_test): Likewise.
52409         (logb_test_downward): Likewise.
52410         (lround_test): Likewise.
52411         (llround_test): Likewise.
52412         (modf_test): Likewise.
52413         (nearbyint_test): Likewise.
52414         (nextafter_test): Likewise.
52415         (nexttoward_test): Likewise.
52416         (pow_test): Likewise.
52417         (pow_test_tonearest): Likewise.
52418         (pow_test_towardzero): Likewise.
52419         (pow_test_downward): Likewise.
52420         (pow_test_upward): Likewise.
52421         (remainder_test): Likewise.
52422         (remainder_test_tonearest): Likewise.
52423         (remainder_test_towardzero): Likewise.
52424         (remainder_test_downward): Likewise.
52425         (remainder_test_upward): Likewise.
52426         (remquo_test): Likewise.
52427         (rint_test): Likewise.
52428         (rint_test_tonearest): Likewise.
52429         (rint_test_towardzero): Likewise.
52430         (rint_test_downward): Likewise.
52431         (rint_test_upward): Likewise.
52432         (round_test): Likewise.
52433         (scalb_test): Likewise.
52434         (scalbn_test): Likewise.
52435         (scalbln_test): Likewise.
52436         (signbit_test): Likewise.
52437         (sin_test): Likewise.
52438         (sin_test_tonearest): Likewise.
52439         (sin_test_towardzero): Likewise.
52440         (sin_test_downward): Likewise.
52441         (sin_test_upward): Likewise.
52442         (sincos_test): Likewise.
52443         (sinh_test): Likewise.
52444         (sinh_test_tonearest): Likewise.
52445         (sinh_test_towardzero): Likewise.
52446         (sinh_test_downward): Likewise.
52447         (sinh_test_upward): Likewise.
52448         (sqrt_test): Likewise.
52449         (tan_test): Likewise.
52450         (tan_test_tonearest): Likewise.
52451         (tan_test_towardzero): Likewise.
52452         (tan_test_downward): Likewise.
52453         (tan_test_upward): Likewise.
52454         (tanh_test): Likewise.
52455         (tgamma_test): Likewise.
52456         (trunc_test): Likewise.
52457         (y0_test): Likewise.
52458         (y1_test): Likewise.
52459         (yn_test): Likewise.
52460         (significand_test): Likewise.
52462 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
52464         [BZ #15381]
52465         * libio/genops.c (_IO_no_init): Initialize wide struct info.
52467 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
52469         [BZ #14894]
52470         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
52471         __ppc_mdoio and __ppc_mdoom.
52472         * manual/platform.texi: Document new functions __ppc_yield,
52473         __ppc_mdoio and __ppc_mdoom.
52475 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
52477         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
52478         (main): Mention "tls" pseudo-hwcap is legacy.
52479         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
52481 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
52483         * math/gen-libm-test.pl (parse_args): Output only string of
52484         arguments as text for test name, not full call or descriptions of
52485         tests for extra outputs.
52486         (generate_testfile): Do not pass function name to parse_args.
52487         Generate this_func variable from START.
52488         * math/libm-test.inc (struct test_f_f_data): Rename test_name
52489         field to arg_str.
52490         (struct test_ff_f_data): Likewise.
52491         (test_ff_f_data_nexttoward): Likewise.
52492         (struct test_fi_f_data): Likewise.
52493         (struct test_fl_f_data): Likewise.
52494         (struct test_if_f_data): Likewise.
52495         (struct test_fff_f_data): Likewise.
52496         (struct test_c_f_data): Likewise.
52497         (struct test_f_f1_data): Likewise.  Remove field extra_name.
52498         (struct test_fF_f1_data): Likewise.
52499         (struct test_ffI_f1_data): Likewise.
52500         (struct test_c_c_data): Rename test_name field to arg_str.
52501         (struct test_cc_c_data): Likewise.
52502         (struct test_f_i_data): Likewise.
52503         (struct test_ff_i_data): Likewise.
52504         (struct test_f_l_data): Likewise.
52505         (struct test_f_L_data): Likewise.
52506         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
52507         and extra2_name.
52508         (COMMON_TEST_SETUP): New macro.
52509         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
52510         (COMMON_TEST_CLEANUP): Likewise.
52511         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
52512         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
52513         macros.
52514         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
52515         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
52516         macros.
52517         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
52518         (RUN_TEST_fff_f): Take argument string.  Call new setup and
52519         cleanup macros.
52520         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
52521         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
52522         macros.
52523         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
52524         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
52525         macros.
52526         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
52527         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
52528         cleanup macros.
52529         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
52530         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
52531         cleanup macros.
52532         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
52533         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
52534         cleanup macros.
52535         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
52536         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
52537         macros.
52538         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
52539         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
52540         macros.
52541         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
52542         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
52543         macros.
52544         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
52545         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
52546         cleanup macros.
52547         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
52548         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
52549         cleanup macros.
52550         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
52551         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
52552         macros.
52553         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
52554         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
52555         cleanup macros.
52556         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
52557         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
52558         macros.
52559         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
52560         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
52561         macros.
52562         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
52563         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
52564         cleanup macros.
52565         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
52567 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
52569         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
52570         to _sifields.sigfault.
52571         (si_addr_lsb): Define new macro.
52572         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
52573         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52574         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
52576 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
52578         [BZ #15441]
52579         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
52580         returns -1.
52581         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
52582         null return -1.
52583         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
52584         loading the domain.
52586 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
52588         * math/gen-libm-test.pl (parse_args): Do not include expected
52589         result in test name.
52590         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
52591         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52592         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
52593         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
52594         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
52595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52597 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
52599         * benchtests/Makefile: Sort function entries.
52601         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
52602         tanh, asinh, acosh, atanh.
52603         * benchtests/acos-inputs: New file.
52604         * benchtests/acosh-inputs: New file.
52605         * benchtests/asin-inputs: New file.
52606         * benchtests/asinh-inputs: New file.
52607         * benchtests/atanh-inputs: New file.
52608         * benchtests/cosh-inputs: New file.
52609         * benchtests/log-inputs: New file.
52610         * benchtests/sinh-inputs: New file.
52611         * benchtests/tanh-inputs: New file.
52613 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
52615         [BZ #15339]
52616         * posix/tst-getaddrinfo4.c: New test.
52617         * posix/Makefile (tests): Add it.
52619 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52621         [BZ #15339]
52622         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
52623         when no services were used.
52624         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
52625         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
52627 2013-05-21  Andreas Schwab  <schwab@suse.de>
52629         [BZ #15014]
52630         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
52631         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
52632         successful.
52633         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
52634         redundant variable declarations and reallocation of buffer when
52635         parsing as IPv6 address.  Always set NSS status when called from
52636         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
52637         buffer too small.  Correct computation of needed size.
52638         * nss/Makefile (tests): Add test-digits-dots.
52639         * nss/test-digits-dots.c: New test.
52641 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52643         * benchtests/Makefile: Remove instructions for adding
52644         benchmark tests.
52645         * benchtests/README: New file to explain how to execute and
52646         enhance the benchmark tests.
52648 2013-05-21  Andreas Schwab  <schwab@suse.de>
52650         [BZ #15493]
52651         * setjmp/Makefile (tests): Add tst-sigsetjmp.
52652         * setjmp/tst-sigsetjmp.c: New test.
52654 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
52656         * sysdeps/x86_64/memset.S (memset): New implementation.
52657         (__bzero): Likewise.
52658         (__memset_tail): New function.
52660 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
52662         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
52663         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
52664         __memcpy_sse2_unaligned ifunc selection.
52665         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
52666         Add memcpy-sse2-unaligned.S.
52667         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
52668         Add: __memcpy_sse2_unaligned.
52670 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
52672         [BZ #15490]
52673         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
52674         math_force_eval before restoring floating-point envrionment.
52675         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
52676         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
52677         Likewise.
52678         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
52679         <math_private.h>.
52680         (__nearbyintl): Use math_force_eval before restoring
52681         floating-point environment.
52682         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
52684         * math/gen-libm-test.pl (special_functions): Remove.
52685         (parse_args): Don't handle TEST_extra.  Handle functions with no
52686         return value.
52687         * math/libm-test.inc (struct test_sincos_data): Replace with
52688         struct test_fFF_11_data.
52689         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
52690         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
52691         (sincos_test_data): Change element type to struct
52692         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
52693         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
52694         RUN_TEST_LOOP_sincos.
52695         * math/README.libm-test: Don't mention special handling of
52696         individual functions.
52697         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
52698         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52699         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
52700         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
52701         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
52702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52704         * math/gen-libm-test.pl (get_variable): Remove function.
52705         (parse_args): Don't show pointer parameters to call in test
52706         names.  Use "extra output N" in test names for extra outputs
52707         rather than naming variables.
52709 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
52711         [BZ #15488]
52712         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
52713         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
52714         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
52715         double tests.
52716         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
52717         disable.
52718         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
52719         check_long_double.
52721         * math/gen-libm-test.pl (@tests): Remove variable.
52722         ($count): Likewise.
52723         (new_test): Remove function.
52724         (show_exceptions): New function.
52725         (special_functions): Use show_exceptions instead of new_test.
52726         (parse_args): Likewise.
52727         (generate_testfile): Pass only function name in generated call to
52728         print_max_error or print_complex_max_error.
52729         (get_ulps): Do not handle complex tests specially.
52730         (output_test): Rename to ...
52731         (get_all_ulps_for_test): ... this.  Return a string rather than
52732         printing to a file.  Require ulps to be present.
52733         (output_ulps): Generate arrays rather than #defines.
52734         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
52735         (struct ulp_data): New type.
52736         (BUILD_COMPLEX_ULP): Remove macro.
52737         (compare_ulp_data): New function.
52738         (find_ulps): Likewise.
52739         (find_test_ulps): Likewise.
52740         (find_function_ulps): Likewise.
52741         (find_complex_function_ulps): Likewise.
52742         (print_max_error): Determine allowed ulps using
52743         find_function_ulps.
52744         (print_complex_max_error): Determine allowed ulps using
52745         find_complex_function_ulps.
52746         (check_float_internal): Determine max ulps using find_test_ulps.
52747         (check_float): Do not take max_ulp parameter.  Update call to
52748         check_float_internal.
52749         (check_complex): Likewise.
52750         (check_int): Do not take max_ulp parameter.
52751         (check_long): Likewise.
52752         (check_bool): Likewise.
52753         (check_longlong): Likewise.
52754         (struct test_f_f_data): Remove max_ulp field.
52755         (struct test_ff_f_data): Likewise.
52756         (struct test_ff_f_data_nexttoward): Likewise.
52757         (struct test_fi_f_data): Likewise.
52758         (struct test_fl_f_data): Likewise.
52759         (struct test_if_f_data): Likewise.
52760         (struct test_fff_f_data): Likewise.
52761         (struct test_c_f_data): Likewise.
52762         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
52763         (struct test_fF_f1_data): Likewise.
52764         (struct test_ffI_f1_data): Likewise.
52765         (struct test_c_c_data): Remove max_ulp field.
52766         (struct test_cc_c_data): Likewise.
52767         (struct test_f_i_data): Likewise.
52768         (struct test_ff_i_data): Likewise.
52769         (struct test_f_l_data): Likewise.
52770         (struct test_f_L_data): Likewise.
52771         (struct test_sincos_data): Likewise.
52772         (RUN_TEST_f_f): Do not handle ulps.
52773         (RUN_TEST_LOOP_f_f): Likewise.
52774         (RUN_TEST_2_f): Likewise.
52775         (RUN_TEST_LOOP_2_f): Likewise.
52776         (RUN_TEST_fff_f): Likewise.
52777         (RUN_TEST_LOOP_fff_f): Likewise.
52778         (RUN_TEST_c_f): Likewise.
52779         (RUN_TEST_LOOP_c_f): Likewise.
52780         (RUN_TEST_f_f1): Likewise.
52781         (RUN_TEST_LOOP_f_f1): Likewise.
52782         (RUN_TEST_fF_f1): Likewise.
52783         (RUN_TEST_LOOP_fF_f1): Likewise.
52784         (RUN_TEST_fI_f1): Likewise.
52785         (RUN_TEST_LOOP_fI_f1): Likewise.
52786         (RUN_TEST_ffI_f1): Likewise.
52787         (RUN_TEST_LOOP_ffI_f1): Likewise.
52788         (RUN_TEST_c_c): Likewise.
52789         (RUN_TEST_LOOP_c_c): Likewise.
52790         (RUN_TEST_cc_c): Likewise.
52791         (RUN_TEST_LOOP_cc_c): Likewise.
52792         (RUN_TEST_f_i): Likewise.
52793         (RUN_TEST_LOOP_f_i): Likewise.
52794         (RUN_TEST_f_i_tg): Likewise.
52795         (RUN_TEST_LOOP_f_i_tg): Likewise.
52796         (RUN_TEST_ff_i_tg): Likewise.
52797         (RUN_TEST_LOOP_ff_i_tg): Likewise.
52798         (RUN_TEST_f_b): Likewise.
52799         (RUN_TEST_LOOP_f_b): Likewise.
52800         (RUN_TEST_f_b_tg): Likewise.
52801         (RUN_TEST_LOOP_f_b_tg): Likewise.
52802         (RUN_TEST_f_l): Likewise.
52803         (RUN_TEST_LOOP_f_l): Likewise.
52804         (RUN_TEST_f_L): Likewise.
52805         (RUN_TEST_LOOP_f_L): Likewise.
52806         (RUN_TEST_sincos): Likewise.
52807         (RUN_TEST_LOOP_sincos): Likewise.
52809 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
52811         [BZ #15480]
52812         [BZ #15485]
52813         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
52814         main case of finite arguments, set rounding mode to FE_TONEAREST
52815         and discard exceptions.
52816         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
52817         exceptions.
52818         (remainder_tonearest_test_data): New variable.
52819         (remainder_test_tonearest): New function.
52820         (remainder_towardzero_test_data): New variable.
52821         (remainder_test_towardzero): New function.
52822         (remainder_downward_test_data): New variable.
52823         (remainder_test_downward): New function.
52824         (remainder_upward_test_data): New variable.
52825         (remainder_test_upward): New function.
52826         (main): Call the new test functions.
52828         * math/libm-test.inc (struct test_f_f1_data): Remove field
52829         extra_init.
52830         (struct test_fF_f1_data): Likewise.
52831         (struct test_ffI_f1_data): Likewise.
52832         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
52833         based on value of EXTRA_EXPECTED.
52834         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
52835         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
52836         EXTRA_VAR based on value of EXTRA_EXPECTED.
52837         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
52838         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
52839         EXTRA_VAR based on value of EXTRA_EXPECTED.
52840         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
52841         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
52842         EXTRA_VAR based on value of EXTRA_EXPECTED.
52843         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
52844         * math/gen-libm-test.pl (parse_args): Don't output initializers
52845         for extra output values.
52847         * math/libm-test.inc (check_int): Expect result to be exactly
52848         equal to expected value and do not handle ulps.
52849         (check_long): Likewise.
52850         (check_longlong): Likewise.
52852         * math/libm-test.inc (ceil_test_data): Test for "inexact"
52853         exceptions.
52854         (cimag_test_data): Likewise.
52855         (conj_test_data): Likewise.
52856         (copysign_test_data): Likewise.
52857         (cproj_test_data): Likewise.
52858         (creal_test_data): Likewise.
52859         (fabs_test_data): Likewise.
52860         (fdim_test_data): Likewise.
52861         (finite_test_data): Likewise.
52862         (floor_test_data): Likewise.
52863         (fmax_test_data): Likewise.
52864         (fmin_test_data): Likewise.
52865         (fmod_test_data): Likewise.
52866         (fpclassify_test_data): Likewise.
52867         (frexp_test_data): Likewise.
52868         (ilogb_test_data): Likewise.
52869         (isfinite_test_data): Likewise.
52870         (isgreater_test_data): Likewise.
52871         (isgreaterequal_test_data): Likewise.
52872         (isinf_test_data): Likewise.
52873         (isless_test_data): Likewise.
52874         (islessequal_test_data): Likewise.
52875         (islessgreater_test_data): Likewise.
52876         (isnan_test_data): Likewise.
52877         (isnormal_test_data): Likewise.
52878         (issignaling_test_data): Likewise.
52879         (isunordered_test_data): Likewise.
52880         (ldexp_test_data): Likewise.
52881         (lrint_test_data): Likewise.
52882         (lrint_test_data) [TEST_FLOAT]: Disable one test.
52883         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
52884         (lrint_tonearest_test_data): Test for "inexact" exceptions.
52885         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
52886         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
52887         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
52888         test input.
52889         (lrint_towardzero_test_data): Test for "inexact" exceptions.
52890         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
52891         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
52892         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
52893         that test input.
52894         (lrint_downward_test_data): Test for "inexact" exceptions.
52895         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
52896         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
52897         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
52898         test input.
52899         (lrint_upward_test_data): Test for "inexact" exceptions.
52900         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
52901         test input.
52902         (llrint_test_data): Test for "inexact" exceptions.
52903         (llrint_test_data) [TEST_FLOAT]: Disable one test.
52904         (llrint_tonearest_test_data): Test for "inexact" exceptions.
52905         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
52906         (llrint_towardzero_test_data): Test for "inexact" exceptions.
52907         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
52908         (llrint_downward_test_data): Test for "inexact" exceptions.
52909         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
52910         (llrint_upward_test_data): Test for "inexact" exceptions.
52911         (logb_test_data): Likewise.
52912         (logb_downward_test_data): Likewise.
52913         (nextafter_test_data): Likewise.
52914         (nexttoward_test_data): Likewise.
52915         (remainder_test_data): Likewise.
52916         (remquo_test_data): Likewise.
52917         (scalbn_test_data): Likewise.
52918         (scalbln_test_data): Likewise.
52919         (signbit_test_data): Likewise.
52920         (sqrt_test_data): Likewise.
52921         (significand_test_data): Likewise.
52923 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
52925         [BZ #15424]
52926         * benchtests/bench-modf.c (struct args): Mark arg0 as
52927         volatile.
52928         * scripts/bench.pl: Mark members of struct args as volatile.
52930 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52932         [BZ # 15497]
52933         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
52934         negative infinity on POWER6 or lower.
52935         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
52937 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
52939         [BZ #15442]
52940         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
52941         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
52942         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
52943         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
52944         (_FP_SETQNAN): New macro.
52945         (_FP_SETQNAN_SEMIRAW): Likewise.
52946         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
52947         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
52948         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
52949         (FP_EXTEND): Use _FP_FRAC_SNANP.
52950         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
52951         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
52952         into account.
52953         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
52954         New macro.
52955         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
52956         Likewise.
52958 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
52960         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
52961         with DIVIDE_BY_ZERO_EXCEPTION.
52962         (gamma_test_data): Likewise.
52963         (lgamma_test_data): Likewise.
52964         (log_test_data): Likewise.
52965         (log10_test_data): Likewise.
52966         (log2_test_data): Likewise.
52967         (tgamma_test_data): Likewise.
52969         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
52970         (acos_test_tonearest): Likewise.
52971         (acos_test_towardzero): Likewise.
52972         (acos_test_downward): Likewise.
52973         (acos_test_upward): Likewise.
52974         (acosh_test): Likewise.
52975         (asin_test): Likewise.
52976         (asin_test_tonearest): Likewise.
52977         (asin_test_towardzero): Likewise.
52978         (asin_test_downward): Likewise.
52979         (asin_test_upward): Likewise.
52980         (asinh_test): Likewise.
52981         (atan_test): Likewise.
52982         (atanh_test): Likewise.
52983         (atan2_test): Likewise.
52984         (cabs_test): Likewise.
52985         (cacos_test): Likewise.
52986         (cacosh_test): Likewise.
52987         (casin_test): Likewise.
52988         (casinh_test): Likewise.
52989         (catan_test): Likewise.
52990         (catanh_test): Likewise.
52991         (cbrt_test): Likewise.
52992         (ccos_test): Likewise.
52993         (ccosh_test): Likewise.
52994         (cexp_test): Likewise.
52995         (clog_test): Likewise.
52996         (clog10_test): Likewise.
52997         (cos_test): Likewise.
52998         (cos_test_tonearest): Likewise.
52999         (cos_test_towardzero): Likewise.
53000         (cos_test_downward): Likewise.
53001         (cos_test_upward): Likewise.
53002         (cosh_test): Likewise.
53003         (cosh_test_tonearest): Likewise.
53004         (cosh_test_towardzero): Likewise.
53005         (cosh_test_downward): Likewise.
53006         (cosh_test_upward): Likewise.
53007         (cpow_test): Likewise.
53008         (csin_test): Likewise.
53009         (csinh_test): Likewise.
53010         (csqrt_test): Likewise.
53011         (ctan_test): Likewise.
53012         (ctan_test_tonearest): Likewise.
53013         (ctan_test_towardzero): Likewise.
53014         (ctan_test_downward): Likewise.
53015         (ctan_test_upward): Likewise.
53016         (ctanh_test): Likewise.
53017         (ctanh_test_tonearest): Likewise.
53018         (ctanh_test_towardzero): Likewise.
53019         (ctanh_test_downward): Likewise.
53020         (ctanh_test_upward): Likewise.
53021         (erf_test): Likewise.
53022         (erfc_test): Likewise.
53023         (exp_test): Likewise.
53024         (exp_test_tonearest): Likewise.
53025         (exp_test_towardzero): Likewise.
53026         (exp_test_downward): Likewise.
53027         (exp_test_upward): Likewise.
53028         (exp10_test): Likewise.
53029         (exp2_test): Likewise.
53030         (expm1_test): Likewise.
53031         (fmod_test): Likewise.
53032         (gamma_test): Likewise.
53033         (hypot_test): Likewise.
53034         (j0_test): Likewise.
53035         (j1_test): Likewise.
53036         (jn_test): Likewise.
53037         (lgamma_test): Likewise.
53038         (log_test): Likewise.
53039         (log10_test): Likewise.
53040         (log1p_test): Likewise.
53041         (log2_test): Likewise.
53042         (logb_test_downward): Likewise.
53043         (pow_test): Likewise.
53044         (pow_test_tonearest): Likewise.
53045         (pow_test_towardzero): Likewise.
53046         (pow_test_downward): Likewise.
53047         (pow_test_upward): Likewise.
53048         (remainder_test): Likewise.
53049         (remquo_test): Likewise.
53050         (sin_test): Likewise.
53051         (sin_test_tonearest): Likewise.
53052         (sin_test_towardzero): Likewise.
53053         (sin_test_downward): Likewise.
53054         (sin_test_upward): Likewise.
53055         (sincos_test): Likewise.
53056         (sinh_test): Likewise.
53057         (sinh_test_tonearest): Likewise.
53058         (sinh_test_towardzero): Likewise.
53059         (sinh_test_downward): Likewise.
53060         (sinh_test_upward): Likewise.
53061         (sqrt_test): Likewise.
53062         (tan_test): Likewise.
53063         (tan_test_tonearest): Likewise.
53064         (tan_test_towardzero): Likewise.
53065         (tan_test_downward): Likewise.
53066         (tan_test_upward): Likewise.
53067         (tanh_test): Likewise.
53068         (tgamma_test): Likewise.
53069         (y0_test): Likewise.
53070         (y1_test): Likewise.
53071         (yn_test): Likewise.
53073         * math/gen-libm-test.pl (adjust_arg): Remove function.
53074         (special_function): Remove argument $in_func.  Only handle
53075         generating output for tables of tests, not inside functions.
53076         (parse_args): Likewise.
53077         (generate_testfile): Remove variable $in_func.  Update call to
53078         parse_args.
53079         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
53080         (MINUS_ZERO_INIT): Rename macro to minus_zero.
53081         (PLUS_INFTY_INIT): Rename macro to plus_infty.
53082         (MINUS_INFTY_INIT): Rename macro to minus_infty.
53083         (QNAN_VALUE_INIT): Rename macro to qnan_value.
53084         (MAX_VALUE_INIT): Rename macro to max_value.
53085         (MIN_VALUE_INIT): Rename macro to min_value.
53086         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
53087         (plus_zero): Remove variable.
53088         (minus_zero): Likewise.
53089         (plus_infty): Likewise.
53090         (minus_infty): Likewise.
53091         (qnan_value): Likewise.
53092         (max_value): Likewise.
53093         (min_value): Likewise.
53094         (min_subnorm_value): Likewise.
53096 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53098         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
53099         uint64_t or uint32_t usage.
53100         * crypt/sha256-block.c: Likewise.
53101         * crypt/sha256-crypt.c: Likewise.
53102         * crypt/sha256.c: Likewise.
53103         * crypt/sha512-block.c: Likewise.
53104         * crypt/sha512-crypt.c: Likewise.
53105         * crypt/sha512.c: Likewise.
53106         * debug/backtrace-tst.c: Likewise.
53107         * debug/pcprofiledump.c: Likewise.
53108         * elf/cache.c: Likewise.
53109         * elf/dl-cache.c: Likewise.
53110         * elf/dl-misc.c: Likewise.
53111         * elf/dl-profile.c: Likewise.
53112         * elf/dl-support.c: Likewise.
53113         * elf/ldconfig.c: Likewise.
53114         * elf/sprof.c: Likewise.
53115         * iconv/dummy-repertoire.c: Likewise.
53116         * iconv/iconv_charmap.c: Likewise.
53117         * iconv/skeleton.c: Likewise.
53118         * iconvdata/8bit-generic.c: Likewise.
53119         * iconvdata/cp737.h: Likewise.
53120         * iconvdata/cp775.h: Likewise.
53121         * iconvdata/ibm1008.h: Likewise.
53122         * iconvdata/ibm1025.h: Likewise.
53123         * iconvdata/ibm1046.h: Likewise.
53124         * iconvdata/ibm1097.h: Likewise.
53125         * iconvdata/ibm1112.h: Likewise.
53126         * iconvdata/ibm1122.h: Likewise.
53127         * iconvdata/ibm1123.h: Likewise.
53128         * iconvdata/ibm1124.h: Likewise.
53129         * iconvdata/ibm1129.h: Likewise.
53130         * iconvdata/ibm1130.h: Likewise.
53131         * iconvdata/ibm1132.h: Likewise.
53132         * iconvdata/ibm1133.h: Likewise.
53133         * iconvdata/ibm1137.h: Likewise.
53134         * iconvdata/ibm1140.h: Likewise.
53135         * iconvdata/ibm1141.h: Likewise.
53136         * iconvdata/ibm1142.h: Likewise.
53137         * iconvdata/ibm1143.h: Likewise.
53138         * iconvdata/ibm1144.h: Likewise.
53139         * iconvdata/ibm1145.h: Likewise.
53140         * iconvdata/ibm1146.h: Likewise.
53141         * iconvdata/ibm1147.h: Likewise.
53142         * iconvdata/ibm1148.h: Likewise.
53143         * iconvdata/ibm1149.h: Likewise.
53144         * iconvdata/ibm1153.h: Likewise.
53145         * iconvdata/ibm1154.h: Likewise.
53146         * iconvdata/ibm1155.h: Likewise.
53147         * iconvdata/ibm1156.h: Likewise.
53148         * iconvdata/ibm1157.h: Likewise.
53149         * iconvdata/ibm1158.h: Likewise.
53150         * iconvdata/ibm1160.h: Likewise.
53151         * iconvdata/ibm1161.h: Likewise.
53152         * iconvdata/ibm1162.h: Likewise.
53153         * iconvdata/ibm1163.h: Likewise.
53154         * iconvdata/ibm1164.h: Likewise.
53155         * iconvdata/ibm1166.h: Likewise.
53156         * iconvdata/ibm1167.h: Likewise.
53157         * iconvdata/ibm12712.h: Likewise.
53158         * iconvdata/ibm1390.h: Likewise.
53159         * iconvdata/ibm1399.h: Likewise.
53160         * iconvdata/ibm16804.h: Likewise.
53161         * iconvdata/ibm4517.h: Likewise.
53162         * iconvdata/ibm4899.h: Likewise.
53163         * iconvdata/ibm4909.h: Likewise.
53164         * iconvdata/ibm4971.h: Likewise.
53165         * iconvdata/ibm5347.h: Likewise.
53166         * iconvdata/ibm803.h: Likewise.
53167         * iconvdata/ibm856.h: Likewise.
53168         * iconvdata/ibm901.h: Likewise.
53169         * iconvdata/ibm902.h: Likewise.
53170         * iconvdata/ibm9030.h: Likewise.
53171         * iconvdata/ibm9066.h: Likewise.
53172         * iconvdata/ibm921.h: Likewise.
53173         * iconvdata/ibm922.h: Likewise.
53174         * iconvdata/ibm9448.h: Likewise.
53175         * iconvdata/isiri-3342.h: Likewise.
53176         * iconvdata/jis0201.h: Likewise.
53177         * include/link.h: Likewise.
53178         * include/netdb.h: Likewise.
53179         * inet/check_native.c: Likewise.
53180         * inet/check_pf.c: Likewise.
53181         * inet/getipv4sourcefilter.c: Likewise.
53182         * inet/getnameinfo.c: Likewise.
53183         * inet/getsourcefilter.c: Likewise.
53184         * inet/htonl.c: Likewise.
53185         * inet/setipv4sourcefilter.c: Likewise.
53186         * inet/setsourcefilter.c: Likewise.
53187         * inet/test-inet6_opt.c: Likewise.
53188         * inet/tst-network.c: Likewise.
53189         * locale/C-collate.c: Likewise.
53190         * locale/C-ctype.c: Likewise.
53191         * locale/C-time.c: Likewise.
53192         * locale/C-translit.h: Likewise.
53193         * locale/loadarchive.c: Likewise.
53194         * locale/programs/3level.h: Likewise.
53195         * locale/programs/charmap.c: Likewise.
53196         * locale/programs/charmap.h: Likewise.
53197         * locale/programs/ld-address.c: Likewise.
53198         * locale/programs/ld-collate.c: Likewise.
53199         * locale/programs/ld-ctype.c: Likewise.
53200         * locale/programs/ld-identification.c: Likewise.
53201         * locale/programs/ld-measurement.c: Likewise.
53202         * locale/programs/ld-messages.c: Likewise.
53203         * locale/programs/ld-monetary.c: Likewise.
53204         * locale/programs/ld-name.c: Likewise.
53205         * locale/programs/ld-numeric.c: Likewise.
53206         * locale/programs/ld-paper.c: Likewise.
53207         * locale/programs/ld-telephone.c: Likewise.
53208         * locale/programs/ld-time.c: Likewise.
53209         * locale/programs/linereader.c: Likewise.
53210         * locale/programs/locale.c: Likewise.
53211         * locale/programs/locarchive.c: Likewise.
53212         * locale/programs/locfile.h: Likewise.
53213         * locale/programs/repertoire.c: Likewise.
53214         * locale/programs/simple-hash.c: Likewise.
53215         * locale/programs/simple-hash.h: Likewise.
53216         * malloc/memusage.c: Likewise.
53217         * malloc/memusagestat.c: Likewise.
53218         * nis/nis_defaults.c: Likewise.
53219         * nis/nis_hash.c: Likewise.
53220         * nis/nis_print.c: Likewise.
53221         * nis/nis_xdr.c: Likewise.
53222         * nscd/connections.c: Likewise.
53223         * nscd/hstcache.c: Likewise.
53224         * nscd/nscd_gethst_r.c: Likewise.
53225         * nscd/nscd_getserv_r.c: Likewise.
53226         * nscd/nscd_helper.c: Likewise.
53227         * nscd/servicescache.c: Likewise.
53228         * nss/makedb.c: Likewise.
53229         * nss/nss_db/db-XXX.c: Likewise.
53230         * nss/nss_db/db-initgroups.c: Likewise.
53231         * nss/nss_db/db-netgrp.c: Likewise.
53232         * nss/nss_files/files-network.c: Likewise.
53233         * nss/nss_files/files-parse.c: Likewise.
53234         * posix/bug-regex5.c: Likewise.
53235         * posix/fnmatch_loop.c: Likewise.
53236         * posix/regcomp.c: Likewise.
53237         * posix/regexec.c: Likewise.
53238         * posix/tst-rfc3484-2.c: Likewise.
53239         * posix/tst-rfc3484-3.c: Likewise.
53240         * posix/tst-rfc3484.c: Likewise.
53241         * resolv/nss_dns/dns-canon.c: Likewise.
53242         * resolv/nss_dns/dns-network.c: Likewise.
53243         * resolv/res_init.c: Likewise.
53244         * resolv/res_mkquery.c: Likewise.
53245         * resolv/tst-aton.c: Likewise.
53246         * stdlib/cxa_atexit.c: Likewise.
53247         * stdlib/cxa_finalize.c: Likewise.
53248         * stdlib/gen-fpioconst.c: Likewise.
53249         * stdlib/strtol_l.c: Likewise.
53250         * string/tst-endian.c: Likewise.
53251         * sunrpc/auth_des.c: Likewise.
53252         * sunrpc/clnt_udp.c: Likewise.
53253         * sunrpc/rtime.c: Likewise.
53254         * sunrpc/svcauth_des.c: Likewise.
53255         * sunrpc/xdr.c: Likewise.
53256         * sunrpc/xdr_intXX_t.c: Likewise.
53257         * sunrpc/xdr_rec.c: Likewise.
53258         * sysdeps/generic/ldconfig.h: Likewise.
53259         * sysdeps/generic/ldsodefs.h: Likewise.
53260         * sysdeps/generic/memusage.h: Likewise.
53261         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
53262         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
53263         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
53264         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
53265         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53266         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
53267         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
53268         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
53269         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
53270         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
53271         * sysdeps/posix/getaddrinfo.c: Likewise.
53272         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53273         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53274         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
53275         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
53276         * sysdeps/powerpc/test-gettimebase.c: Likewise.
53277         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
53278         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
53279         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
53280         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
53281         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
53282         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
53283         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
53284         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
53285         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
53286         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
53287         * sysdeps/x86_64/dl-tls.h: Likewise.
53288         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
53289         * time/alt_digit.c: Likewise.
53290         * time/era.c: Likewise.
53291         * wcsmbs/tst-c16c32-1.c: Likewise.
53293 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
53295         * math/libm-test.inc (struct test_sincos_data): New type.
53296         (RUN_TEST_LOOP_sincos): New macro.
53297         (sincos_test_data): New variable.
53298         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
53300 2013-05-16  Richard Henderson  <rth@redhat.com>
53302         * math/atest-exp2.c (LIMB64): New macro.
53303         (CONSTSZ): New macro.
53304         (mp_exp1, mp_exp_m1, mp_log2): New variables.
53305         (hexdig): Move ...
53306         (print_mpn_fp): ... to function scope.
53307         (read_mpn_hex): Remove.
53308         (get_log2): Remove.
53309         (exp2_mpn): Use mp_log2.
53310         (main): Use mp_exp1.
53312 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
53314         * math/libm-test.inc: Remove comment about not testing "inexact"
53315         exceptions.
53316         (INEXACT_EXCEPTION): New macro.
53317         (NO_INEXACT_EXCEPTION): Likewise.
53318         (INVALID_EXCEPTION_OK): Update value.
53319         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
53320         (OVERFLOW_EXCEPTION_OK): Likewise.
53321         (UNDERFLOW_EXCEPTION_OK): Likewise.
53322         (IGNORE_ZERO_INF_SIGN): Likewise.
53323         (ERRNO_UNCHANGED): Likewise.
53324         (ERRNO_EDOM): Likewise.
53325         (ERRNO_ERANGE): Likewise.
53326         (test_exceptions): Handle testing "inexact" exceptions.
53327         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
53328         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
53329         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
53330         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
53331         INEXACT_EXCEPTION.
53332         (rint_towardzero_test_data): Likewise.
53333         (rint_downward_test_data): Likewise.
53334         (rint_upward_test_data): Likewise.
53336         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
53337         with OVERFLOW_EXCEPTION.
53338         (exp10_test_data): Likewise.
53339         (exp2_test_data): Likewise.
53340         (expm1_test_data): Likewise.
53341         (lgamma_test_data): Likewise.
53342         (pow_test_data): Likewise.
53343         (tgamma_test_data): Likewise.
53344         (yn_test_data): Remove duplicate test of overflow.
53346         * math/libm-test.inc (struct test_cc_c_data): New type.
53347         (RUN_TEST_LOOP_cc_c): New macro.
53348         (cpow_test_data): New variable.
53349         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
53351         * math/libm-test.inc (struct test_f_L_data): New type.
53352         (RUN_TEST_LOOP_f_L): New macro.
53353         (llrint_test_data): New variable.
53354         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
53355         (llrint_tonearest_test_data): New variable.
53356         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
53357         (llrint_towardzero_test_data): New variable.
53358         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
53359         (llrint_downward_test_data): New variable.
53360         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
53361         (llrint_upward_test_data): New variable.
53362         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
53363         (llround_test_data): New variable.
53364         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
53366 2013-05-13  Peter Collingbourne  <pcc@google.com>
53368         * math/atest-exp2.c (get_log2): Remove const attribute.
53370 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
53372         * math/libm-test.inc (struct test_f_l_data): New type.
53373         (RUN_TEST_LOOP_f_l): New macro.
53374         (lrint_test_data): New variable.
53375         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
53376         (lrint_tonearest_test_data): New variable.
53377         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
53378         (lrint_towardzero_test_data): New variable.
53379         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
53380         (lrint_downward_test_data): New variable.
53381         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
53382         (lrint_upward_test_data): New variable.
53383         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
53384         (lround_test_data): New variable.
53385         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
53387 2013-05-15  Peter Collingbourne  <pcc@google.com>
53389         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
53390         (EXTRACT_WORDS64) Use where appropriate.
53391         (INSERT_WORDS64) Likewise.
53393         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
53394         constraints with x constraints.
53395         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
53397         * malloc/obstack.c (_obstack_compat): Add initializer.
53399 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
53401         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
53402         si_trapno and add si_addr_lsb to _sifields.sigfault.
53403         (si_trapno): Remove macro.
53404         (si_addr_lsb): Define new macro.
53405         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
53407 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
53409         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
53410         instead of TEST_f_l.
53411         (llrint_test_tonearest): Likewise.
53412         (llrint_test_towardzero): Likewise.
53413         (llrint_test_downward): Likewise.
53414         (llrint_test_upward): Likewise.
53415         (llround_test): Likewise.
53417         * math/libm-test.inc (struct test_f_i_data): Add comment.
53418         (RUN_TEST_LOOP_f_b): New macro.
53419         (RUN_TEST_LOOP_f_b_tg): Likewise.
53420         (finite_test_data): New variable.
53421         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
53422         (isfinite_test_data): New variable.
53423         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
53424         (isinf_test_data): New variable.
53425         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
53426         (isnan_test_data): New variable.
53427         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
53428         (isnormal_test_data): New variable.
53429         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
53430         (issignaling_test_data): New variable.
53431         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
53432         (signbit_test_data): New variable.
53433         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
53435         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
53436         with INVALID_EXCEPTION.
53437         (acosh_test_data): Likewise.
53438         (asin_test_data): Likewise.
53439         (atanh_test_data): Likewise.
53440         (fmod_test_data): Likewise.
53441         (log_test_data): Likewise.
53442         (log10_test_data): Likewise.
53443         (log2_test_data): Likewise.
53444         (pow_test_data): Likewise.
53445         (sqrt_test_data): Likewise.
53446         (y0_test_data): Likewise.
53447         (y1_test_data): Likewise.
53448         (yn_test_data): Likewise.
53450         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
53451         function contents.
53453         * math/libm-test.inc (struct test_ff_i_data): New type.
53454         (RUN_TEST_LOOP_ff_i_tg): New macro.
53455         (isgreater_test_data): New variable.
53456         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
53457         (isgreaterequal_test_data): New variable.
53458         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
53459         (isless_test_data): New variable.
53460         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
53461         (islessequal_test_data): New variable.
53462         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
53463         (islessgreater_test_data): New variable.
53464         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
53465         (isunordered_test_data): New variable.
53466         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
53468 2013-05-14  David S. Miller  <davem@davemloft.net>
53470         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53472 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
53474         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
53476         * math/libm-test.inc (struct test_fF_f1_data): Change type of
53477         extra_test to int.
53478         (struct test_f_i_data): Change type of max_ulp to int.
53480         * math/libm-test.inc (test_ffI_f1_data): New type.
53481         (RUN_TEST_LOOP_ffI_f1): New macro.
53482         (remquo_test_data): New variable.
53483         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
53485         * setjmp/tst-setjmp-fp.c: New file.
53486         * setjmp/Makefile (tests): Add tst-setjmp-fp.
53487         (link-libm): New variable.
53488         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
53490         * math/libm-test.inc (struct test_f_i_data): New type.
53491         (RUN_TEST_LOOP_f_i): New macro.
53492         (RUN_TEST_LOOP_f_i_tg): Likewise.
53493         (fpclassify_test_data): New variable.
53494         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
53495         (ilogb_test_data): New variable.
53496         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
53498         * math/libm-test.inc (scalbln_test): Correct function name in END
53499         call.
53501         * math/libm-test.inc (struct test_f_f1_data): Add comment.
53502         (RUN_TEST_LOOP_fI_f1): New macro.
53503         (frexp_test_data): New variable.
53504         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
53506         * math/libm-test.inc (struct test_fF_f1_data): New type.
53507         (RUN_TEST_LOOP_fF_f1): New macro.
53508         (modf_test_data): New variable.
53509         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
53511         * math/libm-test.inc (struct test_f_f1_data): New type.
53512         (RUN_TEST_LOOP_f_f1): New macro.
53513         (gamma_test_data): New variable.
53514         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
53515         (lgamma_test_data): New variable.
53516         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
53518 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
53520         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
53521         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
53522         (main): Comment "tls" pseudo-hwcap.
53524 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
53526         * math/libm-test.inc (struct test_fl_f_data): New type.
53527         (RUN_TEST_LOOP_fl_f): New variable.
53528         (scalbln_test_data): New variable.
53529         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
53531         * math/libm-test.inc (struct test_fi_f_data): New type.
53532         (RUN_TEST_LOOP_fi_f): New macro.
53533         (ldexp_test_data): New variable.
53534         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
53535         (scalbn_test_data): New variable.
53536         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
53538         * math/libm-test.inc (struct test_c_f_data): New type.
53539         (RUN_TEST_LOOP_c_f): New macro.
53540         (cabs_test_data): New variable.
53541         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
53542         (carg_test_data): New variable.
53543         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
53544         (cimag_test_data): New variable.
53545         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
53546         (creal_test_data): New variable.
53547         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
53549         * math/libm-test.inc (struct test_if_f_data): New type.
53550         (RUN_TEST_LOOP_if_f): New macro.
53551         (jn_test_data): New variable.
53552         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
53553         (yn_test_data): New variable.
53554         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
53556         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
53558 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53560         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
53561         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
53563 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
53565         * benchtests/Makefile (CPPFLAGS-nonlib): Add
53566         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
53567         (bench-deps): Add bench-timing.h.
53568         * benchtests-bench-skeleton.c: Include bench-timing.h.
53569         (main): Use TIMING_* macros instead of clock_gettime.
53570         * benchtests/bench-timing.h: New file.
53572         [BZ #14582]
53573         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
53574         Renamed from _LIB_VERSION.
53575         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
53577 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
53579         * math/libm-test.inc (struct test_fff_f_data): New type.
53580         (RUN_TEST_LOOP_fff_f): New macro.
53581         (fma_test_data): New variable.
53582         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
53583         (fma_towardzero_test_data): New variable.
53584         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
53585         (fma_downward_test_data): New variable.
53586         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
53587         (fma_upward_test_data): New variable.
53588         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
53590         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
53591         (struct test_c_c_data): New type.
53592         (RUN_TEST_LOOP_c_c): New macro.
53593         (cacos_test_data): New variable.
53594         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
53595         (cacosh_test_data): New variable.
53596         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
53597         (casin_test_data): New variable.
53598         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
53599         (casinh_test_data): New variable.
53600         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
53601         (catan_test_data): New variable.
53602         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
53603         (catanh_test_data): New variable.
53604         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
53605         (ccos_test_data): New variable.
53606         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
53607         (ccosh_test_data): New variable.
53608         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
53609         (cexp_test_data): New variable.
53610         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
53611         (clog_test_data): New variable.
53612         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
53613         (clog10_test_data): New variable.
53614         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
53615         (conj_test_data): New variable.
53616         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
53617         (cproj_test_data): New variable.
53618         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
53619         (csin_test_data): New variable.
53620         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
53621         (csinh_test_data): New variable.
53622         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
53623         (csqrt_test_data): New variable.
53624         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
53625         (ctan_test_data): New variable.
53626         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
53627         (ctan_tonearest_test_data): New variable.
53628         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
53629         (ctan_towardzero_test_data): New variable.
53630         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
53631         (ctan_downward_test_data): New variable.
53632         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
53633         (ctan_upward_test_data): New variable.
53634         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
53635         (ctanh_test_data): New variable.
53636         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
53637         (ctanh_tonearest_test_data): New variable.
53638         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
53639         (ctanh_towardzero_test_data): New variable.
53640         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
53641         (ctanh_downward_test_data): New variable.
53642         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
53643         (ctanh_upward_test_data): New variable.
53644         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
53645         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
53646         of BUILD_COMPLEX.
53648         * math/libm-test.inc (struct test_ff_f_data): New type.
53649         (struct test_ff_f_data_nexttoward): Likewise.
53650         (RUN_TEST_LOOP_2_f): New macro.
53651         (RUN_TEST_LOOP_ff_f): Likewise.
53652         (atan2_test_data): New variable.
53653         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
53654         (copysign_test_data): New variable.
53655         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
53656         (fdim_test_data): New variable.
53657         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
53658         (fmax_test_data): New variable.
53659         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
53660         (fmin_test_data): New variable.
53661         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
53662         (fmod_test_data): New variable.
53663         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
53664         (hypot_test_data): New variable.
53665         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
53666         (nextafter_test_data): New variable.
53667         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
53668         (nexttoward_test_data): New variable.
53669         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
53670         (pow_test_data): New variable.
53671         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
53672         (pow_tonearest_test_data): New variable.
53673         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
53674         (pow_towardzero_test_data): New variable.
53675         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
53676         (pow_downward_test_data): New variable.
53677         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
53678         (pow_upward_test_data): New variable.
53679         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
53680         (remainder_test_data): New variable.
53681         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
53682         (scalb_test_data): New variable.
53683         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
53684         * sysdeps/i386/fpu/libm-test-ulps: Update.
53686 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
53688         * math/libm-test.inc (fma_test): Use max_value instead of local
53689         variable fltmax.
53690         (nextafter_test): Likewise.
53692         * math/libm-test.inc (acos_towardzero_test_data): New variable.
53693         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53694         (acos_downward_test_data): New variable.
53695         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53696         (acos_upward_test_data): New variable.
53697         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53698         (acosh_test_data): New variable.
53699         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
53700         (asin_test_data): New variable.
53701         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
53702         (asin_tonearest_test_data): New variable.
53703         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53704         (asin_towardzero_test_data): New variable.
53705         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53706         (asin_downward_test_data): New variable.
53707         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53708         (asin_upward_test_data): New variable.
53709         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53710         (asinh_test_data): New variable.
53711         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
53712         (atan_test_data): New variable.
53713         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
53714         (atanh_test_data): New variable.
53715         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
53716         (cbrt_test_data): New variable.
53717         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
53718         (ceil_test_data): New variable.
53719         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
53720         (cos_test_data): New variable.
53721         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
53722         (cos_tonearest_test_data): New variable.
53723         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53724         (cos_towardzero_test_data): New variable.
53725         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53726         (cos_downward_test_data): New variable.
53727         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53728         (cos_upward_test_data): New variable.
53729         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53730         (cosh_test_data): New variable.
53731         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
53732         (cosh_tonearest_test_data): New variable.
53733         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53734         (cosh_towardzero_test_data): New variable.
53735         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53736         (cosh_downward_test_data): New variable.
53737         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53738         (cosh_upward_test_data): New variable.
53739         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53740         (erf_test_data): New variable.
53741         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
53742         (erfc_test_data): New variable.
53743         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
53744         (exp_test_data): New variable.
53745         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
53746         (exp_tonearest_test_data): New variable.
53747         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53748         (exp_towardzero_test_data): New variable.
53749         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53750         (exp_downward_test_data): New variable.
53751         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53752         (exp_upward_test_data): New variable.
53753         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53754         (exp10_test_data): New variable.
53755         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
53756         (exp2_test_data): New variable.
53757         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
53758         (expm1_test_data): New variable.
53759         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
53760         (fabs_test_data): New variable.
53761         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
53762         (floor_test_data): New variable.
53763         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
53764         (j0_test_data): New variable.
53765         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
53766         (j1_test_data): New variable.
53767         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
53768         (log_test_data): New variable.
53769         (log_test): Run tests with RUN_TEST_LOOP_f_f.
53770         (log10_test_data): New variable.
53771         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
53772         (log1p_test_data): New variable.
53773         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
53774         (log2_test_data): New variable.
53775         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
53776         (logb_test_data): New variable.
53777         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
53778         (logb_downward_test_data): New variable.
53779         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53780         (nearbyint_test_data): New variable.
53781         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
53782         (rint_test_data): New variable.
53783         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
53784         (rint_tonearest_test_data): New variable.
53785         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53786         (rint_towardzero_test_data): New variable.
53787         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53788         (rint_downward_test_data): New variable.
53789         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53790         (rint_upward_test_data): New variable.
53791         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53792         (round_test_data): New variable.
53793         (round_test): Run tests with RUN_TEST_LOOP_f_f.
53794         (sin_test_data): New variable.
53795         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
53796         (sin_tonearest_test_data): New variable.
53797         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53798         (sin_towardzero_test_data): New variable.
53799         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53800         (sin_downward_test_data): New variable.
53801         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53802         (sin_upward_test_data): New variable.
53803         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53804         (sinh_test_data): New variable.
53805         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
53806         (sinh_tonearest_test_data): New variable.
53807         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53808         (sinh_towardzero_test_data): New variable.
53809         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53810         (sinh_downward_test_data): New variable.
53811         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53812         (sinh_upward_test_data): New variable.
53813         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53814         (sqrt_test_data): New variable.
53815         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
53816         (tan_test_data): New variable.
53817         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
53818         (tan_tonearest_test_data): New variable.
53819         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53820         (tan_towardzero_test_data): New variable.
53821         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53822         (tan_downward_test_data): New variable.
53823         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53824         (tan_upward_test_data): New variable.
53825         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53826         (tanh_test_data): New variable.
53827         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
53828         (tgamma_test_data): New variable.
53829         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
53830         (trunc_test_data): New variable.
53831         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
53832         (y0_test_data): New variable.
53833         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
53834         (y1_test_data): New variable.
53835         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
53836         (significand_test_data): New variable.
53837         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
53839 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
53841         [BZ #12387]
53842         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
53844 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
53846         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
53848 2013-05-10  Andreas Jaeger  <aj@suse.de>
53850         [BZ #15448]
53851         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
53852         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
53854 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
53856         * math/gen-libm-test.pl (adjust_arg): New function.
53857         (special_functions): Handle generating output in both functions
53858         and arrays.
53859         (parse_args): Likewise.
53860         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
53861         $in_func argument to parse_args.
53862         * math/libm-test.inc (struct test_f_f_data): New type.
53863         (IF_ROUND_INIT_): New macro.
53864         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
53865         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
53866         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
53867         (IF_ROUND_INIT_FE_UPWARD): Likewise.
53868         (ROUND_RESTORE_): Likewise.
53869         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
53870         (ROUND_RESTORE_FE_TONEAREST): Likewise.
53871         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
53872         (ROUND_RESTORE_FE_UPWARD): Likewise.
53873         (RUN_TEST_LOOP_f_f): New macro.
53874         (acos_test_data): New variable.
53875         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
53876         (acos_tonearest_test_data): New variable.
53877         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53879 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53881         * benchtests/bench-skeleton.c (startup): Fix coding style.
53883 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
53885         [BZ #6809]
53886         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
53887         negative infinity argument.
53888         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
53889         negative infinity argument.
53890         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
53891         negative infinity argument.
53892         * math/libm-test.inc (tgamma_test): Expect errno to be set for
53893         domain errors.
53895 2013-05-10  Florian Weimer  <fweimer@redhat.com>
53897         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
53898         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
53899         * iconv/iconv_prog.c (main): Likewise.
53900         * locale/programs/charmap-dir.c (charmap_readdir)
53901         (fopen_uncompressed): Likewise.
53902         * locale/programs/locfile.c (siblings_uncached)
53903         (write_locale_data): Use lstat64 instead of lstat.
53904         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
53905         stat.
53907 2013-05-10  Andreas Jaeger  <aj@suse.de>
53909         [BZ #15395]
53910         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
53911         localization.
53912         Include <locale.h>.
53914 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
53916         * elf/dl-close.c (_dl_close_worker): Add comments.
53918 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
53920         [BZ #15359]
53921         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
53922         high part of pi/2.
53923         (__ieee754_rem_pio2l): Update comments.
53925         [BZ #15429]
53926         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
53927         high part of pi/2.
53928         (__ieee754_rem_pio2l): Update comments.
53930         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
53931         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
53933         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
53934         M_PI_4l.
53936         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
53937         (M_PI_34_LOG10El): Likewise.
53938         (M_PI2_LOG10El): Likewise.
53939         (M_PI4_LOG10El): Likewise.
53940         (M_PI_LOG10El): Likewise.
53942 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53944         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53946 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
53948         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
53949         (MINUS_ZERO_INIT): Likewise.
53950         (PLUS_INFTY_INIT): Likewise.
53951         (MINUS_INFTY_INIT): Likewise.
53952         (QNAN_VALUE_INIT): Likewise.
53953         (MAX_VALUE_INIT): Likewise.
53954         (MIN_VALUE_INIT): Likewise.
53955         (MIN_SUBNORM_VALUE_INIT): Likewise.
53956         (plus_zero): Initialize with PLUS_ZERO_INIT.
53957         (minus_zero): Initialize with MINUS_ZERO_INIT.
53958         (plus_infty): Initialize with PLUS_INFTY_INIT.
53959         (minus_infty): Initialize with MINUS_INFTY_INIT.
53960         (qnan_value): Initialize with QNAN_VALUE_INIT.
53961         (max_value): Initialize with MAX_VALUE_INIT.
53962         (min_value): Initialize with MIN_VALUE_INIT.
53963         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
53965         * math/libm-test.inc (RUN_TEST_if_f): New macro.
53966         (jn_test): Use TEST_if_f instead of TEST_ff_f.
53967         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
53968         (yn_test): Use TEST_if_f instead of TEST_ff_f.
53970         * math/libm-test.inc (RUN_TEST_f_f): New macro.
53971         (RUN_TEST_2_f): Likewise.
53972         (RUN_TEST_ff_f): Likewise.
53973         (RUN_TEST_fi_f): Likewise.
53974         (RUN_TEST_fl_f): Likewise.
53975         (RUN_TEST_fff_f): Likewise.
53976         (RUN_TEST_c_f): Likewise.
53977         (RUN_TEST_f_f1): Likewise.
53978         (RUN_TEST_fF_f1): Likewise.
53979         (RUN_TEST_fI_f1): Likewise.
53980         (RUN_TEST_ffI_f1): Likewise.
53981         (RUN_TEST_c_c): Likewise.
53982         (RUN_TEST_cc_c): Likewise.
53983         (RUN_TEST_f_i): Likewise.
53984         (RUN_TEST_f_i_tg): Likewise.
53985         (RUN_TEST_ff_i_tg): Likewise.
53986         (RUN_TEST_f_b): Likewise.
53987         (RUN_TEST_f_b_tg): Likewise.
53988         (RUN_TEST_f_l): Likewise.
53989         (RUN_TEST_f_L): Likewise.
53990         (RUN_TEST_sincos): Likewise.
53991         * math/gen-libm-test.pl (new_test): Take new argument to indicate
53992         whether to show exceptions.  Do not include ");\n" in return
53993         value.
53994         (special_functions): Output call to RUN_TEST_sincos instead of
53995         check_float calls.  Update calls to new_test.
53996         (parse_args): Output call to single RUN_TEST_* macro instead of
53997         check_* calls and other assignments.  Update calls to new_test.
53999         [BZ #2546]
54000         [BZ #2560]
54001         [BZ #5159]
54002         [BZ #15426]
54003         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
54004         input to result for tgamma overflow.
54005         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
54006         (gamma_coeff): New variable.
54007         (NCOEFF): New macro.
54008         (gamma_positive): New function.
54009         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
54010         underflow here.  Use gamma_positive instead of exp (lgamma) for
54011         other arguments.
54012         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
54013         (gamma_coeff): New variable.
54014         (NCOEFF): New macro.
54015         (gammaf_positive): New function.
54016         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
54017         underflow here.  Use gamma_positive instead of exp (lgamma) for
54018         other arguments.
54019         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
54020         (gamma_coeff): New variable.
54021         (NCOEFF): New macro.
54022         (gammal_positive): New function.
54023         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
54024         underflow here.  Use gamma_positive instead of exp (lgamma) for
54025         other arguments.
54026         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
54027         (gamma_coeff): New variable.
54028         (NCOEFF): New macro.
54029         (gammal_positive): New function.
54030         (__ieee754_gammal_r): Handle positive infinity, overflow and
54031         underflow here.  Handle NaN the same as positive infinity.  Remove
54032         check x < 0xffffffff for negative integers.  Use gamma_positive
54033         instead of exp (lgamma) for other arguments.
54034         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
54035         (gamma_coeff): New variable.
54036         (NCOEFF): New macro.
54037         (gammal_positive): New function.
54038         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
54039         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
54040         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
54041         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
54042         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
54043         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
54044         * sysdeps/generic/math_private.h (__gamma_productf): New
54045         prototype.
54046         (__gamma_product): Likewise.
54047         (__gamma_productl): Likewise.
54048         * math/Makefile (libm-calls): Add gamma_product.
54049         * math/libm-test.inc (tgamma_test): Add more tests.
54050         * sysdeps/i386/fpu/libm-test-ulps: Update.
54051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54053 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
54055         * benchtests/bench-skeleton.c (main): Preheat CPU.
54057 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
54059         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
54061 2013-05-07  Roland McGrath  <roland@hack.frob.com>
54063         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
54064         and _dl_skip_args_internal.
54066 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
54068         * manual/message.texi (Message Translation): Talk about users.
54069         Message to key mapping impacts design.
54071 2013-05-06  Roland McGrath  <roland@hack.frob.com>
54073         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
54075         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
54077         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
54078         * sysdeps/wordsize-64/glob64.c: ... here.
54080         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
54081         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
54082         New macros.
54084         * debug/getlogin_r_chk.c: Moved to ...
54085         * login/getlogin_r_chk.c: ... here.
54086         * debug/Makefile (routines): Move getlogin_r_chk to ...
54087         * login/Makefile (routines): ... here.
54088         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
54089         * login/Versions (libc: GLIBC_2.4): ... here.
54091         * io/poll.c (__poll): Renamed from poll.
54092         Add libc_hidden_def.
54093         (poll): Define as weak alias.
54095         * debug/ptsname_r_chk.c: Moved to ...
54096         * login/ptsname_r_chk.c: ... here.
54097         * debug/Makefile (routines): Move ptsname_r_chk to ...
54098         * login/Makefile (routines): ... here.
54099         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
54100         * login/Versions (libc: GLIBC_2.4): ... here.
54102         * posix/getlogin.c: Moved to ...
54103         * login/getlogin.c: ... here.
54104         * posix/getlogin_r.c: Moved to ...
54105         * login/getlogin_r.c: ... here.
54106         * posix/getlogin_r.c: Moved to ...
54107         * login/getlogin_r.c: ... here.
54108         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
54109         * login/Makefile (routines): ... here.
54110         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
54111         * login/Versions (libc: GLIBC_2.0): ... here.
54113         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
54114         (setrlimit): Define as weak alias.
54116         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
54117         Call __ names for open, ftruncate, and close.
54118         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
54119         (truncate): Define as weak alias.
54121 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
54123         * math/gen-libm-test.pl (parse_args): Initialize x before each
54124         test of frexp, modf and remquo.
54126         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
54127         test signgam value.
54129 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54131         [BZ #15418]
54132         [BZ #15419]
54133         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
54134         internal tests.
54135         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54137 2013-05-06  Roland McGrath  <roland@hack.frob.com>
54139         * elf/dl-writev.h: New file.
54140         * elf/dl-misc.c: Include it.
54141         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
54142         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
54144 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
54146         * math/libm-test.inc (noXFails): Remove variable.
54147         (noXPasses): Likewise.
54148         (BUILD_COMPLEX_INT): Remove macro.
54149         (print_screen): Remove xfail argument.
54150         (print_screen_max_error): Likewise.
54151         (update_stats): Likewise.
54152         (print_max_error): Likewise.  Update calls to other affected
54153         functions.
54154         (print_complex_max_error): Likewise.
54155         (test_single_exception): Update calls to print_screen.
54156         (test_single_errno): Likewise.
54157         (check_float_internal): Remove xfail argument.  Update calls to
54158         other affected functions.
54159         (check_float): Likewise.
54160         (check_complex): Likewise.
54161         (check_int): Likewise.
54162         (check_long): Likewise.
54163         (check_bool): Likewise.
54164         (check_longlong): Likewise.
54165         (main): Don't print noXFails and noXPasses.
54166         * math/gen-libm-test.pl (top level): Don't mention expected
54167         failure handling in comment.
54168         (new_test): Don't handle expected failures.
54169         (parse_args): Don't mention expected failure handling in comment.
54170         (generate_testfile): Don't handle expected failures.
54171         (parse_ulps): Likewise.
54172         (print_ulps_file): Likewise.
54173         (get_failure): Remove function.
54174         (output_test): Don't handle expected failures.
54175         * make/README.libm-test: Don't mention expected failure handling.
54177         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
54178         (minus_zero): Likewise.
54179         (plus_infty): Likewise.
54180         (minus_infty): Likewise.
54181         (qnan_value): Likewise.
54182         (max_value): Likewise.
54183         (min_value): Likewise.
54184         (min_subnorm_value): Likewise.
54185         (initialize): Do not initialize those variables dynamically.
54187 2013-05-03  Roland McGrath  <roland@hack.frob.com>
54189         * io/open.c (__open_2): Moved to ...
54190         * io/open_2.c: ... this new file.
54191         * io/open64.c (__open64_2): Moved to ...
54192         * io/open64_2.c: ... this new file.
54193         * io/openat.c (__openat_2): Moved to ...
54194         * io/openat_2.c: ... this new file.
54195         * io/openat64.c (__openat64_2): Moved to ...
54196         * io/openat64_2.c: ... this new file.
54197         * io/Makefile (routines): Add them.
54198         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
54199         * sysdeps/unix/sysv/linux/open_2.c: File removed.
54200         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
54201         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
54202         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
54203         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
54204         (__openat64): Add hidden_ver.
54205         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
54206         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
54208         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
54209         Separately conditionalize setting of GLRO(dl_sysinfo) so
54210         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
54211         as well, but the actual setting is only under [NEED_DL_SYSINFO].
54213 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54215         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
54216         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
54217         definition.
54218         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
54219         * sysdeps/unix/sysv/linux/powerpc/init-first.c
54220         (_libc_vdso_platform_setup): Add __vdso_time initialization.
54221         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
54222         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
54224 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
54226         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
54227         test signgam value.
54229         * math/libm-test.inc (hypot_test): Do not use
54230         IGNORE_ZERO_INF_SIGN.
54232 2013-05-03  Andreas Jaeger  <aj@suse.de>
54234         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
54235         Linux 3.9.
54236         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
54237         (PF_MAX): Adjust for VSOCK change.
54239 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54241         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54243 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
54245         [BZ #15264]
54246         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
54247         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
54248         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
54250 2013-05-02  David S. Miller  <davem@davemloft.net>
54252         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54254 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
54256         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
54258 2013-05-01  Roland McGrath  <roland@hack.frob.com>
54260         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
54262 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
54264         [BZ #14952]
54265         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
54266         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
54267         Use __attribute__ ((__gnu_inline__)).
54268         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
54269         Don't use __attribute__ ((__gnu_inline__)).
54271 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
54273         [BZ #15423]
54274         * math/s_catan.c (__catan): Handle small real or imaginary part of
54275         input specially to avoid spurious underflow.
54276         * math/s_catanf.c (__catanf): Likewise.
54277         * math/s_catanh.c (__catanh): Likewise.
54278         * math/s_catanhf.c (__catanhf): Likewise.
54279         * math/s_catanhl.c (__catanhl): Likewise.
54280         * math/s_catanl.c (__catanl): Likewise.
54281         * math/libm-test.inc (catan_test): Add more tests.
54282         (catanh_test): Likewise.
54283         * sysdeps/i386/fpu/libm-test-ulps: Update.
54284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54286 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54288         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54290 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
54292         [BZ #15416]
54293         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
54294         accurately for denominator in atan2.
54295         * math/s_catanf.c (__catanf): Likewise.
54296         * math/s_catanh.c (__catanh): Likewise.
54297         * math/s_catanhf.c (__catanhf): Likewise.
54298         * math/s_catanhl.c (__catanhl): Likewise.
54299         * math/s_catanl.c (__catanl): Likewise.
54300         * math/libm-test.inc (catan_test): Add more tests.
54301         (catanh_test): Likewise.
54302         * sysdeps/i386/fpu/libm-test-ulps: Update.
54303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54305 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
54307         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
54309         * benchtests/Makefile (bench): Remove slow benchmarks.
54310         * benchtests/atan-inputs: Add slow benchmark inputs.
54311         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
54312         (BENCH_FUNC): Accept variant offset.
54313         (VARIANT): Define.
54314         * benchtests/bench-skeleton.c (main): Run benchmark for each
54315         variant.
54316         * benchtests/cos-inputs: Add slow benchmark inputs.
54317         * benchtests/exp-inputs: Likewise.
54318         * benchtests/pow-inputs: Likewise.
54319         * benchtests/sin-inputs: Likewise.
54320         * benchtests/slowatan-inputs: Remove.
54321         * benchtests/slowatan.c: Remove.
54322         * benchtests/slowcos-inputs: Remove.
54323         * benchtests/slowcos.c: Remove.
54324         * benchtests/slowexp-inputs: Remove.
54325         * benchtests/slowexp.c: Remove.
54326         * benchtests/slowpow-inputs: Remove.
54327         * benchtests/slowpow.c: Remove.
54328         * benchtests/slowsin-inputs: Remove.
54329         * benchtests/slowsin.c: Remove.
54330         * benchtests/slowtan-inputs: Remove.
54331         * benchtests/slowtan.c: Remove.
54332         * benchtests/tan-inputs: Add slow benchmark inputs.
54333         * scripts/bench.pl: Parse comments and directives.
54335         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
54336         in CPPFLAGS.
54337         ($(objpfx)bench-%.c): Remove *-ITER.
54338         * benchtests/bench-modf.c: Remove definition of ITER.
54339         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
54340         (main): Loop for DURATION seconds instead of fixed number of
54341         iterations.
54342         * scripts/bench.pl: Don't expect iterations in parameters.
54344 2013-04-29  Roland McGrath  <roland@hack.frob.com>
54346         * io/fchdir.c (__fchdir): Renamed from fchdir.
54347         (fchdir): Define as weak alias.
54349 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
54351         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
54352         (ERRNO_EDOM): Likewise.
54353         (ERRNO_ERANGE): Likewise.
54354         (noErrnoTests): New variable.
54355         (init_max_error): Set errno to 0.
54356         (test_single_errno): New function.
54357         (test_errno): Likewise.
54358         (check_float_internal): Call test_errno.  Set errno to 0.
54359         (check_complex): Refer to errno tests in comment.
54360         (check_int): Call test_errno.  Set errno to 0.
54361         (check_long): Likewise.
54362         (check_bool): Likewise.
54363         (check_longlong): Likewise.
54364         (cos_test): Use ERRNO_* flags for errno tests instead of
54365         check_int.
54366         (expm1_test): Likewise.
54367         (fmod_test): Likewise.
54368         (ilogb_test): Likewise.
54369         (lgamma_test): Likewise.
54370         (pow_test): Likewise.
54371         (remainder_test): Likewise.
54372         (sin_test): Likewise.
54373         (tan_test): Likewise.
54374         (yn_test): Likewise.
54375         (initialize): Set errno to 0.
54376         (main): Print number of errno tests.
54377         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
54379 2013-04-29  Andreas Jaeger  <aj@suse.de>
54381         [BZ #15084]
54382         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
54383         and RES_USEVC.
54385         [BZ #15085]
54386         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
54387         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
54388         unimplemented.
54390         [BZ #15380]
54391         * stdlib/random.c (__initstate): Return NULL if
54392         __initstate fails.
54394         [BZ #15086]
54395         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
54396         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
54397         RES_SNGLKUPREOP.
54399 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54401         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54403 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
54405         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
54406         of individual tests.
54407         (casin_test): Likewise.
54408         (casinh_test): Likewise.
54410 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
54412         [BZ #15409]
54413         * math/s_catan.c (__catan): Handle arguments with large real or
54414         imaginary part separately without squaring.
54415         * math/s_catanf.c (__catanf): Likewise.
54416         * math/s_catanh.c (__catanh): Likewise.
54417         * math/s_catanhf.c (__catanhf): Likewise.
54418         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
54419         and redefine.
54420         (__catanhl): Handle arguments with large real or imaginary part
54421         separately without squaring.
54422         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
54423         and redefine.
54424         (__catanl): Handle arguments with large real or imaginary part
54425         separately without squaring.
54426         * math/libm-test.inc (catan_test): Add more tests.
54427         (catanh_test): Likewise.
54428         * sysdeps/i386/fpu/libm-test-ulps: Update.
54429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54431 2013-04-27  Andreas Jaeger  <aj@suse.de>
54433         [BZ #15007]
54434         * stdlib/stdlib.h: Update guards for qecvt.
54435         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
54436         <stdlib.h>.
54438 2013-04-27  Allan McRae  <allan@archlinux.org>
54440         * sysdeps/i386/fpu/libm-test-ulps: Update.
54442 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
54444         [BZ #15406]
54445         * math/s_catan.c: Include <float.h>.
54446         (__catan): Ensure underflow exception occurs for underflowed
54447         result.
54448         * math/s_catanf.c: Include <float.h>.
54449         (__catanf): Ensure underflow exception occurs for underflowed
54450         result.
54451         * math/s_catanh.c: Include <float.h>.
54452         (__catanh): Ensure underflow exception occurs for underflowed
54453         result.
54454         * math/s_catanhf.c: Include <float.h>.
54455         (__catanhf): Ensure underflow exception occurs for underflowed
54456         result.
54457         * math/s_catanhl.c: Include <float.h>.
54458         (__catanhl): Ensure underflow exception occurs for underflowed
54459         result.
54460         * math/s_catanl.c: Include <float.h>.
54461         (__catanl): Ensure underflow exception occurs for underflowed
54462         result.
54463         * math/libm-test.inc (catan_test): Add more tests.
54464         (catanh_test): Likewise.
54466         [BZ #15405]
54467         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
54468         underflowed result.
54469         * math/s_ccoshf.c (__ccoshf): Likewise.
54470         * math/s_ccoshl.c (__ccoshl): Likewise.
54471         * math/s_csin.c (__csin): Likewise.
54472         * math/s_csinf.c (__csinf): Likewise.
54473         * math/s_csinh.c (__csinh): Likewise.
54474         * math/s_csinhf.c (__csinhf): Likewise.
54475         * math/s_csinhl.c (__csinhl): Likewise.
54476         * math/s_csinl.c (__csinl): Likewise.
54477         * math/libm-test.inc (ccos_test): Add more tests.
54478         (ccosh_test): Likewise.
54479         (csin_test): Likewise.
54480         (csinh_test): Likewise.
54482 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54484         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
54485         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
54486         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
54487         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
54488         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
54489         powerpc/power5+/fpu folders.
54490         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
54493 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
54495         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54497 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
54499         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
54500         additions to variable.
54501         [$(config-machine) = x86_64] (modules-names): Likewise.
54502         ($(objpfx)tst-audit3): Remove dependency.
54503         ($(objpfx)tst-audit3.out): Likewise.
54504         ($(objpfx)tst-audit4): Likewise.
54505         ($(objpfx)tst-audit4.out): Likewise.
54506         ($(objpfx)tst-audit5): Likewise.
54507         ($(objpfx)tst-audit5.out): Likewise.
54508         ($(objpfx)tst-audit6): Likewise.
54509         ($(objpfx)tst-audit6.out): Likewise.
54510         ($(objpfx)tst-audit7): Likewise.
54511         ($(objpfx)tst-audit7.out): Likewise.
54512         (tst-audit3-ENV): Remove variable.
54513         (tst-audit4-ENV): Likewise.
54514         (tst-audit5-ENV): Likewise.
54515         (tst-audit6-ENV): Likewise.
54516         (tst-audit7-ENV): Likewise.
54517         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
54518         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
54519         addition to variable.
54520         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
54521         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
54522         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
54523         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
54524         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
54525         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
54526         tst-audit3, tst-audit4 and tst-audit5.
54527         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
54528         tst-audit6 and tst-audit7.
54529         [$(subdir) = elf] (modules-names): Add audit modules for those
54530         tests.
54531         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
54532         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
54533         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
54534         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
54535         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
54536         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
54537         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
54538         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
54539         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
54540         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
54541         [$(subdir) = elf] (tst-audit3-ENV): New variable.
54542         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
54543         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
54544         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
54545         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
54546         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
54547         Likewise.
54548         [$(subdir) = elf && $(config-cflags-avx) = yes]
54549         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
54550         [$(subdir) = elf && $(config-cflags-avx) = yes]
54551         (CFLAGS-tst-auditmod4a.c): Likewise.
54552         [$(subdir) = elf && $(config-cflags-avx) = yes]
54553         (CFLAGS-tst-auditmod4b.c): Likewise.
54554         [$(subdir) = elf && $(config-cflags-avx) = yes]
54555         (CFLAGS-tst-auditmod6b.c): Likewise.
54556         [$(subdir) = elf && $(config-cflags-avx) = yes]
54557         (CFLAGS-tst-auditmod6c.c): Likewise.
54558         [$(subdir) = elf && $(config-cflags-avx) = yes]
54559         (CFLAGS-tst-auditmod7b.c): Likewise.
54560         * elf/tst-audit3.c: Move to ...
54561         * sysdeps/x86_64/tst-audit3.c: ... here.
54562         * elf/tst-audit4.c: Move to ...
54563         * sysdeps/x86_64/tst-audit4.c: ... here.
54564         * elf/tst-audit5.c: Move to ...
54565         * sysdeps/x86_64/tst-audit5.c: ... here.
54566         * elf/tst-audit6.c: Move to ...
54567         * sysdeps/x86_64/tst-audit6.c: ... here.
54568         * elf/tst-audit7.c: Move to ...
54569         * sysdeps/x86_64/tst-audit7.c: ... here.
54570         * elf/tst-auditmod3a.c: Move to ...
54571         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
54572         * elf/tst-auditmod3b.c: Move to ...
54573         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
54574         * elf/tst-auditmod4a.c: Move to ...
54575         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
54576         * elf/tst-auditmod4b.c: Move to ...
54577         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
54578         * elf/tst-auditmod5a.c: Move to ...
54579         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
54580         * elf/tst-auditmod5b.c: Move to ...
54581         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
54582         * elf/tst-auditmod6a.c: Move to ...
54583         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
54584         * elf/tst-auditmod6b.c: Move to ...
54585         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
54586         * elf/tst-auditmod6c.c: Move to ...
54587         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
54588         * elf/tst-auditmod7a.c: Move to ...
54589         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
54590         * elf/tst-auditmod7b.c: Move to ...
54591         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
54593 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
54595         [BZ #15366]
54596         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
54597         define unconditionally.
54598         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
54599         define unconditionally.
54600         (INT8_C, INT16_C, etc.): Likewise.
54602 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
54604         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
54605         __ehdr_start with hidden visibility.
54607         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
54609 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
54611         * math/libm-test.inc (cos_test): Use accurate hex constants.
54612         (sincost_test): Likewise.
54614 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
54616         * math/libm-test.inc (catan_test): Add more tests.
54617         (catanh_test): Likewise.
54619         * math/s_catanf.c (__catanf): Use suffixed floating-point
54620         constants.
54621         * math/s_catanhf.c (__catanhf): Likewise.
54622         * math/s_catanhl.c (__catanhl): Likewise.
54623         * math/s_catanl.c (__catanl): Likewise.
54625         [BZ #15394]
54626         * math/s_catan.c (__catan): Calculate imaginary part of result
54627         with log1p not log unless computing log of number close to 0.
54628         * math/s_catanf.c (__catanf): Likewise.
54629         * math/s_catanl.c (__catanl): Likewise.
54630         * math/s_catanh.c (__catanh): Calculate real part of result with
54631         log1p not log unless computing log of number close to 0.
54632         * math/s_catanhf.c (__catanhf): Likewise.
54633         * math/s_catanhl.c (__catanhl): Likewise.
54634         * math/libm-test.inc (catan_test): Add more tests.
54635         (catanh_test): Likewise.
54636         * sysdeps/i386/fpu/libm-test-ulps: Update.
54637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54639 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
54641         * benchtests/Makefile: Mention files in which fast and slow
54642         paths of math functions are implemented.
54644 2013-04-23  Roland McGrath  <roland@hack.frob.com>
54646         * sysdeps/posix/timespec_get.c: New file.
54648 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54650         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
54651         POWER.
54652         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
54653         for POWER.
54654         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
54655         powerpc/power5/fpu folders.
54656         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
54657         * benchtests/Makefile: Add modf testcase.
54658         * benchtests/bench-modf.c: New file: Benchmark test for mo
54660 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
54662         [BZ #14888]
54663         * time/Makefile (tests): Add tst-strptime-whitespace.
54664         * time/strptime_l.c (get_number): Use ISSPACE.
54665         (__strptime_internal): Likewise.
54666         * time/tst-strptime-whitespace.c: New test case.
54668 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
54670         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
54671         member.
54672         (_nss_files_init): Set it here.
54674 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
54676         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
54677         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
54678         unsigned.
54680 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
54682         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
54684 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
54686         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
54687         size just once.
54689 2013-04-21  David S. Miller  <davem@davemloft.net>
54691         * po/ru.po: Update Russion translation from translation project.
54693 2013-04-17  Adam Conrad  <adconrad@0c3.net>
54695         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
54696         and setfsgid.
54698 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
54700         * configure.in: Remove i386 configure warning. Remove i386 case.
54701         * configure: Regenerate.
54702         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
54703         Add example to error message.
54704         * sysdeps/i386/configure: Regenerate.
54706 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
54708         * benchtests/Makefile (bench): Add cos, tan, slowcos and
54709         slowtan.
54710         * benchtests/cos-inputs: New file.
54711         * benchtests/slowcos-inputs: New file.
54712         * benchtests/slowcos.c: New file.
54713         * benchtests/slowtan-inputs: New file.
54714         * benchtests/slowtan.c: New file.
54715         * benchtests/tan-inputs: New file.
54717 2013-04-16  Roland McGrath  <roland@hack.frob.com>
54719         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
54720         considered kosher.
54722 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54724         * benchtests/Makefile: Include cppflags-iterator.mk to add
54725         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
54727         * Makefile.in (bench-clean): New target.
54728         * benchtests/Makefile (bench-clean): Likewise.
54730 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
54732         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
54734 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
54736         * stdio-common/tstdiomisc.c: Fix coding-style violation.
54738 2013-04-15  Andreas Schwab  <schwab@suse.de>
54740         * nscd/grpcache.c (cache_addgr): Properly check for short write.
54741         * nscd/initgrcache.c (addinitgroupsX): Likewise.
54742         * nscd/pwdcache.c (cache_addpw): Likewise.
54743         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
54744         more than recsize.
54746 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54748         * benchtests/Makefile (bench): Write all output to
54749         bench-out.tmp together.
54751 2013-04-15  Andreas Schwab  <schwab@suse.de>
54753         * nscd/nscd.c (main): Don't fork again after closing files.
54755 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54757         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
54759         * benchtests/Rules (bench-deps): Collect dependencies into a
54760         single variable.  Add Makefile to dependencies.
54761         ($(objpfx)bench-%.c): Depend on bench-deps.
54763 2013-04-12  Roland McGrath  <roland@hack.frob.com>
54764             Xavier Roche  <roche+kml2@exalead.com>
54766         [BZ #15361]
54767         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
54768         just that it's a file descriptor.
54769         * manual/llio.texi (Synchronizing AIO Operations): Update description
54770         for EBADF error from aio_fsync.
54772 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
54774         * Rules (bench): Move target definition...
54775         * benchtests/Makefile: ... here.
54777 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
54779         * math/libm-test.inc (cos_test): Fix PI/2 test.
54780         (sincos_test): Likewise.
54781         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
54782         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
54784 2013-04-11  Andreas Schwab  <schwab@suse.de>
54786         [BZ #13988]
54787         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
54788         accept exponent character only when digits were seen.
54789         * stdio-common/Makefile (tests): Add bug26.
54790         * stdio-common/bug26.c: New file.
54792         [BZ #14293]
54793         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
54794         non-freeable.
54796 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54798         * Makeconfig (rtld-prefix): Define built linker prefix.
54799         * Rules (run-bench): Use it.
54800         * math/Makefile (run-regen-ulps): Likewise.
54802         * Rules (bench): Remove eval.
54804 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54805             Roland McGrath  <roland@hack.frob.com>
54806             Ondrej Bilka  <neleai@seznam.cz>
54808         [BZ #15346]
54809         * time/getdate.c: Include ctype.h and alloca.h.
54810         (__getdate_r): Trim leading and trailing spaces of input.
54811         * time/tst-getdate.c (tests): Add tests with leading and
54812         trailing spaces.
54814 2013-04-08  Roland McGrath  <roland@hack.frob.com>
54816         [BZ #14280]
54817         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
54818         when computing value.
54820 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
54822         * math/README.libm-test (How can I generate "libm-test-ulps"?):
54823         Use testrun.sh to run libm tests.
54825         [BZ #15309]
54826         * elf/dl-open.c (dl_open_worker): memset all of seen array.
54828 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
54830         [BZ #15264]
54831         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
54833 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
54835         * Makefile.in (regen-ulps): New target.
54836         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
54837         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
54838         [ifneq (no,$(PERL)] (regen-ulps): New target.
54839         [ifeq (no,$(PERL)] (regen-ulps): New target.
54840         * math/libm-test.inc (ulps_file_name): Define.
54841         (output_dir): New variable.
54842         (options): Add "output-dir" option.
54843         (parse_opt): Handle 'o' case.
54844         (main): If output_dir is non-NULL use it as a prefix
54845         otherwise use "".
54846         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
54848 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
54850         [BZ #10060, #10062]
54851         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
54852         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
54853         fail configure if __sync_val_compare_and_swap is not inlined.
54854         * sysdeps/i386/configure: Regenerate.
54855         * configure.in: Build for i686 when configured for i386.
54856         * configure: Regenerate.
54857         * README: Remove i386 reference.
54859 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
54861         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
54862         * sysdeps/s390/s390-64/sysdep.h: Likewise.
54864 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
54866         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
54867         (lmsnanval): New variables.
54868         (F): Add conversion tests.
54869         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
54870         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
54872         * stdio-common/tstdiomisc.c (F): Properly collect individual
54873         tests' results.
54875         [BZ #14686, #15336]
54876         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
54877         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
54878         Instead, use input NaN values or generate a qNaN by arithmetic
54879         operation.  Also fix bugs to comply with the standard.
54880         * math/libm-test.inc (remainder_test): Add more tests.
54882         [BZ #15335, #15342]
54883         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
54884         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
54885         input NaN values or generate a qNaN by arithmetic operation.
54887         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
54888         unreachable code.
54890         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
54891         definitions.
54893 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
54895         [BZ #14478]
54896         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
54897         underflowed result.
54898         * math/s_cexpf.c (__cexpf): Likewise.
54899         * math/s_cexpl.c (__cexpl): Likewise.
54900         * math/libm-test.inc (cexp_test): Add more tests.
54902 2013-04-03  Andreas Schwab  <schwab@suse.de>
54904         [BZ #15330]
54905         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
54906         order arrays from heap if bigger than alloca cutoff.
54908 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
54910         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
54911         (SNAN_TESTS_double): Refer to GCC PR56831.
54912         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
54913         GCC PR56828.
54915 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
54917         * Rules (bench): Move bench.out after the run is complete.
54919         * Rules (bench): Echo currently running benchmark.
54921         * benchtests/Makefile (bench): Add atan and slowatan.
54922         * benchtests/atan-inputs: New file.
54923         * benchtests/slowatan-inputs: New file.
54924         * benchtests/slowatan.c: New file.
54926         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
54927         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
54928         its value.
54930         [BZ #15305]
54931         * sysdeps/unix/sysv/linux/kernel-features.h
54932         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
54933         __ASSUME_XFS_RESTRICTED_CHOWN.
54934         * sysdeps/unix/sysv/linux/pathconf.c
54935         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
54936         Save and restore errno.
54938 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
54940         [BZ #15327]
54941         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
54942         arguments using __kernel_casinh.
54943         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
54944         arguments using __kernel_casinhf.
54945         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
54946         arguments using __kernel_casinhl.
54947         * math/libm-test.inc (cacosh_test): Add more tests.
54948         * sysdeps/i386/fpu/libm-test-ulps: Update.
54949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54951 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
54953         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
54954         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
54956         * bench/Makefile (bench): Add sin and slowsin.
54957         * benchtests/sin-inputs: New file.
54958         * benchtests/slowsin-inputs: New file.
54959         * benchtests/slowsin.c: New file.
54961         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
54962         (bench): Add slowexp and slowpow.
54963         (exp-ITER): Increase iterations.
54964         (pow-ITER): Likewise.
54965         * benchtests/exp-inputs: Change input.
54966         * benchtests/pow-inputs: Likewise.
54967         * benchtests/slowexp-inputs: New file.
54968         * benchtests/slowexp.c: New file.
54969         * benchtests/slowpow-inputs: New file.
54970         * benchtests/slowpow.c: New file.
54972 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54974         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
54975         instructions.
54976         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
54977         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
54978         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
54979         * benchtests/Makefile: Add rint benchtest.
54980         * benchtests/rint-inputs: Input for rint benchtest.
54982 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
54984         * Versions.def (libm): Add GLIBC_2.18.
54985         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
54986         hidden libm prototypes.
54987         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
54988         * math/Makefile (libm-calls): Add s_issignaling.
54989         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
54990         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
54991         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
54992         declaration.
54993         * math/math.h [__USE_GNU] (issignaling): New macro.
54994         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
54995         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
54996         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
54997         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
54998         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
54999         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
55000         * manual/arith.texi (issignaling): New section.
55001         * manual/libm-err-tab.pl (@all_functions): Update comment.
55002         * math/gen-libm-test.pl (parse_args): Apply special handling for
55003         issignaling.
55004         * math/libm-test.inc (print_float, issignaling_test): New
55005         functions.
55006         (check_float_internal): Add issignaling checks.
55007         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
55008         default definition.
55009         * sysdeps/powerpc/math-tests.h: New file.
55010         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
55011         tests.
55012         * math/test-snan.c (TEST_FUNC): Likewise.
55014 2013-03-30  David S. Miller  <davem@davemloft.net>
55016         * po/de.po: Update from translation team.
55018 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
55020         [BZ #10357]
55021         * math/k_casinh.c (__kernel_casinh): Handle arguments with
55022         imaginary part less than 1.0 and real part less than 0.5
55023         specially.
55024         * math/k_casinhf.c (__kernel_casinhf): Likewise.
55025         * math/k_casinhl.c (__kernel_casinhl): Likewise.
55026         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
55027         (cacos_test): Add more tests.
55028         (casin_test): Likewise.
55029         (casinh_test): Likewise.
55030         * sysdeps/i386/fpu/libm-test-ulps: Update.
55031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55033 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
55035         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
55036         ONE with its value.
55038         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
55039         (__pow_mp): Replace ONE and MONE with their values.
55040         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
55041         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
55042         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
55043         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
55044         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
55045         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
55047         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
55049         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
55050         (__pow_mp): Replace ZERO and MZERO with their values.
55051         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
55052         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
55053         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
55054         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
55055         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
55056         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
55057         (__sqr): Likewise.
55059         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
55061         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
55063 2013-03-28  Roland McGrath  <roland@hack.frob.com>
55065         * include/stdlib.h [!SHARED] (__call_tls_dtors):
55066         Declare with __attribute__ ((weak)).
55067         * stdlib/exit.c (__libc_atexit) [!SHARED]:
55068         Call __call_tls_dtors only if it's not NULL.
55070 2013-03-28  Roland McGrath  <roland@hack.frob.com>
55072         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
55073         didn't do it already, then set _dl_phdr and _dl_phnum based on the
55074         magic __ehdr_start linker symbol if it's defined.
55075         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
55076         them up here if it was already done.
55078         * elf/dl-support.c (_dl_phdr): Make pointer to const.
55079         (_dl_aux_init): Use const in cast when setting it.
55080         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
55081         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
55082         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
55084         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
55085         Declare them here.
55086         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
55087         * csu/libc-tls.c: Nor here.
55088         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
55090         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
55091         (__libc_message): Never call vsyslog.
55093 2013-03-28  Alan Modra  <amodra@gmail.com>
55095         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
55096         Define as empty.
55097         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
55098         Likewise.
55100 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55102         [BZ #15214]
55103         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
55104         underflow.
55105         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55107 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55109         [BZ #15304]
55110         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
55111         Don't add gid passed as argument.
55113         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
55115 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
55117         [BZ #15307]
55118         * math/k_casinh.c (__kernel_casinh): Handle arguments with
55119         imaginary part between 1.0 and 1.5 and real part less than 0.5
55120         specially.
55121         * math/k_casinhf.c (__kernel_casinhf): Likewise.
55122         * math/k_casinhl.c (__kernel_casinhl): Likewise.
55123         * math/libm-test.inc (cacos_test): Add more tests.
55124         (casin_test): Likewise.
55125         (casinh_test): Likewise.
55126         * sysdeps/i386/fpu/libm-test-ulps: Update.
55127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55129 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55131         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
55132         constants.
55133         (norm): Likewise.
55134         (denorm): Likewise.
55135         (__dbl_mp): Likewise.
55136         (add_magnitudes): Likewise.
55137         (sub_magnitudes): Likewise.
55138         (__add): Likewise.
55139         (__sub): Likewise.
55140         (__mul): Likewise.
55141         (__sqr): Likewise.
55142         (__inv): Likewise.
55143         (__dvd): Likewise.
55145         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
55146         commented code.
55147         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
55148         (__dubcos): Likewise.
55149         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
55150         (__ieee754_acos): Likewise.
55151         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
55152         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
55153         (__exp1): Likewise.
55154         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
55155         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
55156         (log1): Likewise.
55157         (my_log2): Likewise.
55158         (checkint): Likewise.
55159         * sysdeps/ieee754/dbl-64/e_remainder.c
55160         (__ieee754_remainder): Likewise.
55161         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
55162         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
55163         (bsloww): Likewise.
55164         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
55166         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
55167         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
55168         MANTISSA_STORE_T to store computations on mantissa.  Use
55169         macros for rounding and division.
55170         (denorm): Likewise.
55171         (__dbl_mp): Likewise.
55172         (add_magnitudes): Likewise.
55173         (sub_magnitudes): Likewise.
55174         (__mul): Likewise.
55175         (__sqr): Likewise.
55176         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
55177         powers of two in terms of TWOPOW macro.
55178         (mp_no): Make type of mantissa as MANTISSA_T.
55179         [!RADIXI]: Define RADIXI.
55180         [!TWO52]: Define TWO52.
55181         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
55183 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55185         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
55186         llroundl symbol when building for PPC32.
55188 2013-03-24  Mark H Weaver  <mhw@netris.org>
55190         * manual/arith.texi (Normalization Functions): Fix prototypes for
55191         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
55193 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55195         [BZ #13889]
55196         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
55197         high value to check if expl overflow.
55198         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
55199         to check for underflow and overflow.
55200         * math/libm-test.inc: Add exp test.
55202 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
55204         [BZ #11120]
55205         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
55206         with NOT_IN_libc.
55208 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55210         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
55211         symbol.
55213 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
55215         * math/gen-libm-test.pl (parse_args, special_functions): Properly
55216         wrap blocks consisting of several statements.
55218         * sysdeps/generic/math-tests.h: New file.
55219         * sysdeps/i386/fpu/math-tests.h: Likewise.
55220         * math/test-snan.c: Include it.
55221         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
55223 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
55225         [BZ #15285]
55226         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
55227         (__ieee754_j0l): Do not improve calculations using cos of twice
55228         input for inputs above LDBL_MAX / 2.0L.
55229         (__ieee754_y0l): Likewise.
55230         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
55231         (__ieee754_j1l): Do not improve calculations using cos of twice
55232         input for inputs above LDBL_MAX / 2.0L.
55233         (__ieee754_y1l): Likewise.
55234         * math/libm-test.inc (j0_test): Add another test.
55235         (j1_test): Likewise.
55236         (y0_test): Likewise.
55237         (y1_test): Likewise.
55238         * sysdeps/i386/fpu/libm-test-ulps: Update.
55240 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55242         * Rules ($(objpfx)bench-%.c): Include code from a C source
55243         file.
55245 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
55247         [BZ #15287]
55248         * math/k_casinh.c (__kernel_casinh): Handle arguments with
55249         imaginary part 1.0 and real part less than 0.5 specially.
55250         * math/k_casinhf.c (__kernel_casinhf): Likewise.
55251         * math/k_casinhl.c (__kernel_casinhl): Likewise.
55252         * math/libm-test.inc (cacos_test): Add more tests.
55253         (casin_test): Likewise.
55254         (casinh_test): Likewise.
55255         * sysdeps/i386/fpu/libm-test-ulps: Update.
55256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55258 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55260         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
55261         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
55263 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
55265         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
55266         * config.make.in (config-cflags-sse4): Remove variable.
55267         (config-cflags-avx): Likewise.
55268         (config-cflags-sse2avx): Likewise.
55269         (config-cflags-novzeroupper): Likewise.
55270         (config-asflags-i686): Likewise.
55271         (have-mfma4): Likewise.
55272         (have-as-vis3): Likewise.
55273         (MIG): Likewise.
55274         * configure.in (MIG): Do not AC_SUBST.
55275         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
55276         (libc_cv_cc_sse4): Do not AC_SUBST.
55277         (libc_cv_cc_avx): Likewise.
55278         (libc_cv_cc_sse2avx): Likewise.
55279         (libc_cv_cc_novzeroupper): Likewise.
55280         (libc_cv_cc_fma4): Likewise.
55281         (libc_cv_as_i686): Likewise.
55282         (libc_cv_sparc_as_vis3): Likewise.
55283         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
55284         LIBC_CONFIG_VAR.
55285         (config-asflags-i686): Likewise.
55286         (config-cflags-avx): Likewise.
55287         (config-cflags-sse2avx): Likewise.
55288         (have-mfma4): Likewise.
55289         (config-cflags-novzeroupper): Likewise.
55290         * sysdeps/mach/configure.in (MIG): Likewise.
55291         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
55292         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
55293         LIBC_CONFIG_VAR.
55294         (config-cflags-avx): Likewise.
55295         (config-cflags-sse2avx): Likewise.
55296         (have-mfma4): Likewise.
55297         (config-cflags-novzeroupper): Likewise.
55298         * configure: Regenerated.
55299         * sysdeps/i386/configure: Likewise.
55300         * sysdeps/mach/configure: Likewise.
55301         * sysdeps/sparc/configure: Likewise.
55302         * sysdeps/x86_64/configure: Likewise.
55304 2013-03-20  Roland McGrath  <roland@hack.frob.com>
55306         [BZ #14812]
55307         * locale/programs/localedef.c (options): Put N_ translation marker
55308         on argument names, not just descriptions.
55310 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55312         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
55314 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
55316         [BZ #14176]
55317         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
55319 2013-03-19  Roland McGrath  <roland@hack.frob.com>
55321         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
55322         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
55323         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
55324         [!BEFORE_ABORT] (before_abort): New function.
55325         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
55326         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
55327         (writev_for_fatal): New function.
55328         (WRITEV_FOR_FATAL): New macro; call that.
55329         (backtrace_and_maps): New function.
55330         (BEFORE_ABORT): New macro; call that.
55331         (struct str_list): Type removed.
55332         (__libc_message, __libc_fatal): Functions removed.
55333         Include <sysdeps/posix/libc_fatal.c> instead.
55335 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
55337         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
55338         constants.
55339         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
55340         double constants.
55342 2013-03-19  Andreas Schwab  <schwab@suse.de>
55344         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
55345         * sysdeps/gnu/configure: Regenerate.
55347         * configure.in: Substitute libc_cv_rtlddir.
55348         * configure: Regenerate.
55349         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
55350         * Makeconfig (rtlddir, inst_rtlddir): New variables.
55351         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
55352         * elf/Makefile (install-others, CFLAGS-interp.c)
55353         (ldso_install, common-ldd-rewrite): Likewise.
55354         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
55355         $(inst_slibdir)/$(rtld-installed-name).
55356         * scripts/rellns-sh: Add -p option.
55357         * Makerules (make-shlib-link): Use rellns-sh to get relative name
55358         for source.
55360 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
55362         * manual/nptl.texi: Renamed to ...
55363         * manual/threads.texi: ... this.
55364         * manual/Makefile (chapters): Update.
55366 2013-03-18  Roland McGrath  <roland@hack.frob.com>
55368         [BZ #14812]
55369         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
55370         on argument names, not just descriptions.
55371         * malloc/memusagestat.c (options): Likewise.
55372         * nss/getent.c (options): Likewise.
55374 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
55376         [BZ #14812]
55377         * iconv/iconv_prog.c (options): Put N_ translation marker
55378         on argument names, not just descriptions.
55379         * iconv/iconvconfig.c (options): Likewise.
55381 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
55383         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
55384         implementation which is faster on all x86_64 architectures.
55385         Tested on AMD, Intel Nehalem, SNB, IVB.
55386         * sysdeps/x86_64/strnlen.S: Likewise.
55388         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
55389         Remove all multiarch strlen and strnlen versions.
55390         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
55391         Remove strlen and strnlen related parts.
55393         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
55394         Inline strlen part.
55395         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
55397         * sysdeps/x86_64/multiarch/strlen.S: Remove.
55398         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
55399         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
55400         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
55401         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
55402         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
55404 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
55406         * manual/memory.texi (Malloc Tunable Parameters):
55407         Sort parameters alphabetically. Add comments for missing entries.
55409 2013-03-17  David S. Miller  <davem@davemloft.net>
55411         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55413 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
55415         [BZ #15283]
55416         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
55417         for arguments at most half maximum finite value.
55418         * math/libm-test.inc (j0_test): Add more tests.
55419         (j1_test): Likewise.
55420         (y0_test): Likewise.
55421         (y1_test): Likewise.
55422         * sysdeps/i386/fpu/libm-test-ulps: Update.
55423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55425         [BZ #14155]
55426         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
55427         1 / x and functions P and Q for arguments above 0x1p256L.
55428         (__ieee754_y0l): Likewise.
55429         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
55430         (__ieee754_y1l): Likewise.
55431         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
55432         (j1_test): Likewise.
55433         (y0_test): Likewise.
55434         (y1_test): Likewise.
55436 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
55438         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
55439         variable.
55441 2013-03-15  Roland McGrath  <roland@hack.frob.com>
55443         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
55444         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
55445         zero since it's initialized to EXEC_PAGESIZE.
55447         * sysdeps/unix/sysv/linux/ldsodefs.h
55448         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
55449         * sysdeps/generic/ldsodefs.h: ... here.
55451 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
55453         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
55455         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
55456         math/test-snan.c.
55457         * math/test-snan.c: Renamed from
55458         sysdeps/powerpc/fpu/test-powerpc-snan.c.
55459         * math/Makefile (tests): Add test-snan.
55460         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
55461         test-powerpc-snan.
55463         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
55464         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
55465         functions.
55466         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
55467         __builtin_nan family of functions.
55468         * math/libm-test.inc (initialize): Initialize qnan_value with
55469         __builtin_nan family of functions.
55470         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
55471         Remove variables.
55472         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
55473         Remove functions.
55474         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
55475         storage class.  Initialize qNaN_var and sNaN_var with
55476         __builtin_nan and __builtin_nans families of functions,
55477         respectively.
55479         * math/libm-test.inc (acosh_test): Also test with qNaN input.
55480         (sqrt_test): Remove duplicate test with qNaN input.
55481         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
55482         (round_test, signbit_test, significand_test): Note missing +/-Inf
55483         as well as qNaN tests.
55485         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
55486         qNaN_var.  Fix a few strings, too.
55487         * math/libm-test.inc (nan_value): Rename to qnan_value.
55488         * math/gen-libm-test.pl (%beautify): Adjust to that.
55489         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
55490         * math/test-misc.c (main): Likewise.
55491         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
55492         to __qnan_bytes, and __qnan_union, respectively.
55493         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
55494         Likewise.
55495         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
55496         and lqnanval, respectively.
55497         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
55498         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
55499         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
55500         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
55502         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
55503         * math/test-misc.c (main) [__x86_64__]: Enable test for long
55504         doubles.
55506         * math/test-misc.c (main): Fix copy'n'pastos.
55507         * misc/tst-efgcvt.c (special): Likewise.
55509         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
55510         Remove declarations.
55512 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55514         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
55515         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
55516         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
55517         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
55519 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55521         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
55522         macro to return vdso values correctly in IFUNC implementations.
55523         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
55524         Optimization by using IFUNC.
55526 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55527             Richard Henderson  <rth@redhat.com>
55528             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55530         * Makefile.in (bench): New target.
55531         * NEWS: Mention the benchmark framework.
55532         * Rules (bench): Likewise.
55533         (binaries-bench): Generate binaries for functions to
55534         benchmark.
55535         * benchtests/Makefile: New makefile for benchmark tests.
55536         * benchtests/bench-skeleton.c: New skeleton file for benchmark
55537         programs.
55538         * benchtests/exp-inputs: New input file for EXP function.
55539         * benchtests/pow-inputs: New input file for POW function.
55540         * scripts/bench.pl: New script to generate source files for
55541         benchmark programs.
55543 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55545         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
55546         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
55547         computations on mantissa.  Use macros for rounding and
55548         division.
55549         (denorm): Likewise.
55550         (__dbl_mp): Likewise.
55551         (add_magnitudes): Likewise.
55552         (sub_magnitudes): Likewise.
55553         (__mul): Likewise.
55554         (__sqr): Likewise.
55555         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
55556         powers of two in terms of TWOPOW macro.
55557         (mp_no): Make type of mantissa as MANTISSA_T.
55558         [!RADIXI]: Define RADIXI.
55559         [!TWO52]: Define TWO52.
55560         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
55562         * manual/nptl.texi (cindex): Modify threads to pthreads.
55564 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
55566         * sysdeps/x86_64/preconfigure: Regenerated.
55568 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
55570         [BZ #14155]
55571         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
55572         0x1p28 and above.
55573         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
55574         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
55575         0x1p28 and above.
55576         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
55577         * math/libm-test.inc (j0_test): Do not allow one spurious
55578         underflow exception.
55579         (y1_test): Likewise.
55581 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
55583         * manual/Makefile (chapters): Add nptl.
55584         * manual/debug.texi (Debugging Support): Add link to Threads
55585         chapter.
55586         * manual/nptl.texi: New file.
55588         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
55590 2013-03-14  Petr Baudis  <pasky@ucw.cz>
55592         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
55593         for non-NULL pointer before the memory validity test. Pointed
55594         out by Holger Brunck <holger.brunck@keymile.com>.
55596 2013-03-13  Andreas Schwab  <schwab@suse.de>
55598         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
55599         instead of .os.
55601 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
55603         * timezone/zic.c: Update from tzcode 2013b.
55605 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
55607         * manual/install.texi (Configuring and compiling):
55608         Mention i686 and i586.
55609         * INSTALL: Regenerate.
55611 2013-03-12  Roland McGrath  <roland@hack.frob.com>
55613         * sysdeps/init_array/elf-init.c: New file.
55614         * csu/elf-init.c
55615         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
55616         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
55618         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
55619         __gmon_start__ as global, but as static with a .preinit_array pointer.
55620         * sysdeps/init_array/gmon-start.c: New file.  Use that.
55621         * sysdeps/init_array/crti.S: New file, empty except for comments.
55622         * sysdeps/init_array/crtn.S: Likewise.
55624 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
55626         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
55627         definining bcopy.
55628         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55629         Remove Prefer_SSE_for_memop.
55630         * sysdeps/x86_64/multiarch/init-arch.h: Remove
55631         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
55632         HAS_PREFER_SSE_FOR_MEMOP.
55633         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
55634         memset-x86-64.
55635         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
55636         Remove bzero, memset ifunc support.
55637         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
55638         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
55639         * sysdeps/x86_64/multiarch/memset.S: Likewise.
55640         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
55642 2013-03-11  Andreas Schwab  <schwab@suse.de>
55644         [BZ #15234]
55645         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
55646         by SHLIB_COMPAT.
55647         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
55648         (GLIBC_2.16): Remove pthread_atfork.
55650 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
55652         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
55653         (ptestcases.h): Likewise.
55655 2013-03-08  Roland McGrath  <roland@hack.frob.com>
55657         * Makeconfig ($(common-objpfx)config.status): Depend on
55658         sysdeps/*/preconfigure{,.in} too.
55660 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
55662         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
55663         (__free_hook): Use void * instead of __malloc_ptr_t.
55664         (__malloc_hook): Likewise.
55665         (__realloc_hook): Likewise.
55666         (__memalign_hook): Likewise.
55667         (__after_morecore_hook): Likewise.
55668         * malloc/arena.c (save_malloc_hook): Likewise.
55669         (save_free_hook): Likewise.
55670         * malloc/hooks.c (malloc_hook_ini): Likewise.
55671         (realloc_hook_ini): Likewise.
55672         (memalign_hook_ini): Likewise.
55673         * malloc/malloc.c (malloc_hook_ini): Likewise.
55674         (realloc_hook_ini): Likewise.
55675         (memalign_hook_ini): Likewise.
55676         (__free_hook): Likewise.
55677         (__malloc_hook): Likewise.
55678         (__realloc_hook): Likewise.
55679         (__memalign_hook): Likewise.
55680         (__libc_malloc): Likewise.
55681         (__libc_free): Likewise.
55682         (__libc_realloc): Likewise.
55683         (__libc_memalign): Likewise.
55684         (__libc_valloc): Likewise.
55685         (__libc_pvalloc): Likewise.
55686         (__libc_calloc): Likewise.
55687         (__posix_memalign): Likewise.
55688         * malloc/morecore.c (__sbrk): Likewise.
55689         (__default_morecore): Likewise.
55691         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
55693         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
55694         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
55695         __malloc_ptrdiff_t.
55697         * malloc/malloc.h (__malloc_size_t): Remove macro.
55698         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
55699         __malloc_size_t.
55700         (old_memalign_hook): Likewise.
55701         (old_realloc_hook): Likewise.
55702         (struct hdr): Likewise.
55703         (flood): Likewise.
55704         (mallochook): Likewise.
55705         (memalignhook): Likewise.
55706         (reallochook): Likewise.
55707         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
55708         (tr_old_realloc_hook): Likewise.
55709         (tr_old_memalign_hook): Likewise.
55710         (tr_mallochook): Likewise.
55711         (tr_reallochook): Likewise.
55712         (tr_memalignhook): Likewise.
55714 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55716         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
55717         default_ldbl_pack and using as default implementation.
55718         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
55719         implementation.
55720         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
55721         redundant definition.
55722         (ldbl_insert_mantissa): Likewise.
55723         (ldbl_canonicalize): Likewise.
55724         (ldbl_nearbyint): Likewise.
55725         (ldbl_pack): Rename to ldbl_pack_ppc.
55726         (ldbl_unpack): Rename to ldbl_unpack_ppc.
55727         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
55728         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
55730 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
55732         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
55733         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
55734         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
55735         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
55736         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
55737         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
55738         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
55739         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
55741 2013-03-07  Andreas Jaeger  <aj@suse.de>
55743         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55744         bits/mman-linux.h.
55746 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
55748         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
55749         Include mpa.h and declare __MPEXP.
55750         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
55751         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
55752         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
55753         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
55754         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
55755         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
55756         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
55758         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
55759         (__slowpow): Use long double EXPL and LOGL functions to
55760         compute POW.
55761         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
55762         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
55763         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
55764         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
55765         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
55766         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
55768         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
55769         intermediate variable to calculate exponent.
55770         (__sqr): Likewise.
55771         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
55772         Likewise.
55773         (__sqr): Likewise.
55775         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
55776         [!NO__SQR]: Define __sqr.
55777         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
55778         and NO__SQR.  Remove all code except __mul and __sqr.  Include
55779         sysdeps/ieee754/dbl-64/mpa.c.
55780         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55782         [BZ #12723]
55783         * posix/Makefile (tests): Add tst-pathconf.
55784         * posix/tst-pathconf.c: New test case.
55785         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
55786         _PC_PIPE_BUF.
55787         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
55789 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
55791         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
55793 2013-03-06  Andreas Jaeger  <aj@suse.de>
55795         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
55796         definition via __MAP_ANONYMOUS.
55798         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
55799         it's not part of Linux headers.
55801         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
55802         (MAP_HUGE_MASK): Define.
55804         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
55805         Define.
55806         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
55807         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
55808         Define.
55809         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
55810         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
55811         Define.
55812         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
55813         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
55814         Define.
55815         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
55817         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
55818         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
55819         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
55820         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
55821         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
55822         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
55824         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
55825         Handle f2fs.
55827         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55828         Handle f2fs and efivarfs.
55830         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
55831         f2fs.
55833         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
55834         (EFIVARFS_MAGIC): Add.
55835         (F2FS_LINK_MAX): Add.
55837 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
55839         * stdio-common/vfprintf.c: Replace __builtin_expect with
55840         __glibc_unlikely.
55842 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
55844         [BZ #13550]
55845         * sysdeps/generic/bp-sym.h: Remove file.
55846         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
55847         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
55848         <bp-sym.h> and <bp-asm.h>.
55849         (__longjmp): Don't use BP_SYM.
55850         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
55851         and <bp-asm.h>.
55852         (memcpy): Don't use BP_SYM.
55853         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
55854         <bp-sym.h> and <bp-asm.h>.
55855         (memcpy): Don't use BP_SYM.
55856         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
55857         <bp-asm.h>.
55858         (memcpy): Don't use BP_SYM.
55859         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
55860         <bp-asm.h>.
55861         (memset): Don't use BP_SYM.
55862         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
55863         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
55864         (__bzero): Don't use BP_SYM.
55865         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
55866         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
55867         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
55868         <bp-sym.h> and <bp-asm.h>.
55869         (memcmp): Don't use BP_SYM.  Remove comment about bounded
55870         pointers.
55871         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
55872         <bp-sym.h> and <bp-asm.h>.
55873         (memcpy): Don't use BP_SYM.
55874         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
55875         <bp-sym.h> and <bp-asm.h>.
55876         (memset): Don't use BP_SYM.
55877         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
55878         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
55879         (__bzero): Don't use BP_SYM.
55880         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
55881         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
55882         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
55883         <bp-sym.h> and <bp-asm.h>.
55884         (strncmp): Don't use BP_SYM.  Remove comment about bounded
55885         pointers.
55886         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
55887         <bp-sym.h> and <bp-asm.h>.
55888         (memcpy): Don't use BP_SYM.
55889         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
55890         <bp-sym.h> and <bp-asm.h>.
55891         (memset): Don't use BP_SYM.
55892         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
55893         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
55894         (__bzero): Don't use BP_SYM.
55895         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
55896         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
55897         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
55898         <bp-sym.h> and <bp-asm.h>.
55899         (__memchr): Don't use BP_SYM.
55900         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
55901         <bp-sym.h> and <bp-asm.h>.
55902         (memcmp): Don't use BP_SYM.  Remove comment about bounded
55903         pointers.
55904         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
55905         <bp-sym.h> and <bp-asm.h>.
55906         (memcpy): Don't use BP_SYM.
55907         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
55908         <bp-sym.h> and <bp-asm.h>.
55909         (__mempcpy): Don't use BP_SYM.
55910         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
55911         <bp-sym.h> and <bp-asm.h>.
55912         (__memrchr): Don't use BP_SYM.
55913         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
55914         <bp-sym.h> and <bp-asm.h>.
55915         (memset): Don't use BP_SYM.
55916         (__bzero): Likewise.
55917         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
55918         <bp-sym.h> and <bp-asm.h>.
55919         (__rawmemchr): Don't use BP_SYM.
55920         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
55921         <bp-sym.h> and <bp-asm.h>.
55922         (__STRCMP): Don't use BP_SYM.
55923         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
55924         <bp-sym.h> and <bp-asm.h>.
55925         (strchr): Don't use BP_SYM.
55926         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
55927         <bp-sym.h> and <bp-asm.h>.
55928         (__strchrnul): Don't use BP_SYM.
55929         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
55930         <bp-sym.h> and <bp-asm.h>.
55931         (strlen): Don't use BP_SYM.
55932         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
55933         <bp-sym.h> and <bp-asm.h>.
55934         (strncmp): Don't use BP_SYM.  Remove comment about bounded
55935         pointers.
55936         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
55937         <bp-sym.h> and <bp-asm.h>.
55938         (__strnlen): Don't use BP_SYM.
55939         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
55940         <bp-sym.h> and <bp-asm.h>.
55941         (__GI__setjmp): Don't use BP_SYM.
55942         (_setjmp): Likewise.
55943         (__sigsetjmp): Likewise.
55944         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
55945         (L(start_addresses)): Don't use BP_SYM.
55946         (_start): Likewise.
55947         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
55948         <bp-asm.h>.
55949         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
55950         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
55951         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55952         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
55953         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
55954         <bp-asm.h>.
55955         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
55956         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
55957         about bounded pointers.
55958         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
55959         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
55960         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
55961         <bp-asm.h>.
55962         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
55963         about bounded pointers.  Remove GKM FIXME comments.
55964         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
55965         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
55966         <bp-asm.h>.
55967         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
55968         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
55969         Remove GKM FIXME comments.
55970         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55971         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
55972         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
55973         <bp-asm.h>.
55974         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
55975         about bounded pointers.  Remove GKM FIXME comment.
55976         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
55977         and <bp-asm.h>.
55978         (strncmp): Don't use BP_SYM.  Remove comment about bounded
55979         pointers.
55980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
55981         <bp-sym.h> and <bp-asm.h>.
55982         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
55983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
55984         <bp-sym.h> and <bp-asm.h>.
55985         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
55986         comment.
55988 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
55990         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
55991         call free(NULL).
55993 2013-03-05  David S. Miller  <davem@davemloft.net>
55995         * po/es.po: Update from translation team.
55997 2013-03-05  Andreas Jaeger  <aj@suse.de>
55999         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
56000         <bits/mman-linux.h>.
56001         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
56002         is fine.
56003         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
56004         <bits/mman-linux.h> to end of file.
56005         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
56006         is fine.
56007         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
56008         <bits/mman-linux.h> to end of file.
56009         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
56010         is fine.
56011         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
56012         <bits/mman-linux.h> to end of file.
56014         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
56015         (MCL_CURRENT, MCL_FUTURE): Define here.
56017 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56019         [BZ #15232]
56020         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
56021         attribute_hidden.
56022         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
56024 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56026         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
56027         fourth parameter needed for rt_sigprocmask syscall.
56028         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
56029         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
56030         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
56031         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
56032         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
56033         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
56035 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
56037         [BZ #13550]
56038         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
56039         comment about bounded pointers.
56040         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
56041         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
56043 2013-03-04  Andreas Jaeger  <aj@suse.de>
56045         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
56046         common definitions.
56048         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
56049         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
56050         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
56051         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
56052         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
56053         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
56055 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56057         [BZ #15055]
56058         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
56059         __ieee754_sqrl instead of __sqrl.
56061 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
56063         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
56064         * sysdeps/powerpc/fpu_control.h: ... here.
56065         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
56066         * sysdeps/powerpc/bits/fenvinline.h: ... here.
56067         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
56068         * sysdeps/powerpc/bits/mathinline.h: ... here.
56070 2013-03-01  Roland McGrath  <roland@hack.frob.com>
56072         * elf/dl-hwcaps.c (_dl_important_hwcaps):
56073         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
56074         to just [NEED_DL_SYSINFO_DSO].
56075         * elf/dl-support.c: Likewise.
56076         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
56077         * elf/rtld.c (dl_main): Likewise.
56078         * elf/setup-vdso.h (setup_vdso): Likewise.
56079         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
56080         * sysdeps/unix/sysv/linux/dl-sysdep.c
56081         (_dl_discover_osversion): Likewise.
56083 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
56085         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
56086         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
56088 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
56090         * NEWS: Mention libm performance improvements and non-x86 PI
56091         futex support.
56093         * csu/libc-start.c (__pthread_initialize_minimal): Change
56094         function arguments.
56095         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
56097 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
56099         [BZ #13550]
56100         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
56101         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
56102         <bp-sym.h> and <bp-asm.h>.
56103         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
56104         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
56105         and <bp-asm.h>.
56106         (memcpy): Don't use BP_SYM.
56107         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
56108         <bp-asm.h>.
56109         (__mpn_add_n): Don't use BP_SYM.
56110         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
56111         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
56112         and <bp-asm.h>.
56113         (__mpn_addmul_1): Don't use BP_SYM.
56114         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56115         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
56116         <bp-sym.h>.
56117         (_setjmp): Don't use BP_SYM.
56118         (__novmx_setjmp): Likewise.
56119         (__GI__setjmp): Likewise.
56120         (__vmx_setjmp): Likewise.
56121         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
56122         <bp-sym.h>.
56123         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
56124         (__bzero): Don't use BP_SYM.
56125         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
56126         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
56127         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
56128         <bp-sym.h> and <bp-asm.h>.
56129         (memcpy): Don't use BP_SYM.
56130         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
56131         <bp-sym.h> and <bp-asm.h>.
56132         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
56133         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
56134         <bp-sym.h> and <bp-asm.h>.
56135         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
56136         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
56137         <bp-asm.h>.
56138         (__mpn_lshift): Don't use BP_SYM.
56139         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56140         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
56141         <bp-asm.h>.
56142         (memset): Don't use BP_SYM.
56143         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
56144         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
56145         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
56146         <bp-asm.h>.
56147         (__mpn_mul_1): Don't use BP_SYM.
56148         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56149         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
56150         <bp-sym.h> and <bp-asm.h>.
56151         (memcmp): Don't use BP_SYM.
56152         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
56153         <bp-sym.h> and <bp-asm.h>.
56154         (memcpy): Don't use BP_SYM.
56155         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
56156         <bp-sym.h> and <bp-asm.h>.
56157         (memset): Don't use BP_SYM.
56158         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
56159         <bp-sym.h> and <bp-asm.h>.
56160         (strncmp): Don't use BP_SYM.
56161         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
56162         <bp-sym.h> and <bp-asm.h>.
56163         (memcpy): Don't use BP_SYM.
56164         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
56165         <bp-sym.h> and <bp-asm.h>.
56166         (memset): Don't use BP_SYM.
56167         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
56168         <bp-sym.h> and <bp-asm.h>.
56169         (__memchr): Don't use BP_SYM.
56170         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
56171         <bp-sym.h> and <bp-asm.h>.
56172         (memcmp): Don't use BP_SYM.
56173         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
56174         <bp-sym.h> and <bp-asm.h>.
56175         (memcpy): Don't use BP_SYM.
56176         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
56177         <bp-sym.h> and <bp-asm.h>.
56178         (__mempcpy): Don't use BP_SYM.
56179         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
56180         <bp-sym.h> and <bp-asm.h>.
56181         (__memrchr): Don't use BP_SYM.
56182         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
56183         <bp-sym.h> and <bp-asm.h>.
56184         (memset): Don't use BP_SYM.
56185         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
56186         <bp-sym.h> and <bp-asm.h>.
56187         (__rawmemchr): Don't use BP_SYM.
56188         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
56189         <bp-sym.h> and <bp-asm.h>.
56190         (__STRCMP): Don't use BP_SYM.
56191         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
56192         <bp-sym.h> and <bp-asm.h>.
56193         (strchr): Don't use BP_SYM.
56194         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
56195         <bp-sym.h> and <bp-asm.h>.
56196         (__strchrnul): Don't use BP_SYM.
56197         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
56198         <bp-sym.h> and <bp-asm.h>.
56199         (strlen): Don't use BP_SYM.
56200         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
56201         <bp-sym.h> and <bp-asm.h>.
56202         (strncmp): Don't use BP_SYM.
56203         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
56204         <bp-sym.h> and <bp-asm.h>.
56205         (__strnlen): Don't use BP_SYM.
56206         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
56207         <bp-asm.h>.
56208         (__mpn_rshift): Don't use BP_SYM.
56209         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56210         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
56211         <bp-sym.h> and <bp-asm.h>.
56212         (__sigsetjmp): Don't use BP_SYM.
56213         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
56214         (L(start_addresses)): Don't use BP_SYM.
56215         (_start): Likewise.
56216         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
56217         <bp-asm.h>.
56218         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
56219         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56220         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
56221         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
56222         <bp-asm.h>.
56223         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
56224         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
56225         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
56226         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
56227         <bp-asm.h>.
56228         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
56229         comments.
56230         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
56231         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
56232         <bp-asm.h>.
56233         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
56234         FIXME comments.
56235         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56236         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
56237         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
56238         <bp-asm.h>.
56239         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
56240         comment.
56241         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
56242         and <bp-asm.h>.
56243         (strncmp): Don't use BP_SYM,
56244         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
56245         <bp-asm.h>.
56246         (__mpn_sub_n): Don't use BP_SYM.
56247         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56248         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
56249         and <bp-asm.h>.
56250         (__mpn_submul_1): Don't use BP_SYM.
56251         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
56253         <bp-sym.h> and <bp-asm.h>.
56254         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
56255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
56256         <bp-sym.h> and <bp-asm.h>.
56257         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
56258         comment.
56260 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56262         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
56263         Use ZK to minimize writes to Z.
56264         (sub_magnitudes): Simplify code a bit.
56265         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
56266         Use ZK to minimize writes to Z.
56267         (sub_magnitudes): Simplify code a bit.
56269 2013-02-27  Roland McGrath  <roland@hack.frob.com>
56271         * csu/gmon-start.c: Add special exception to license text.
56273 2013-02-27  Richard Henderson  <rth@redhat.com>
56275         * scripts/config.guess: Update from config.git.
56276         * scripts/config.sub: Likewise.
56278 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56280         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
56282         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
56284         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
56286         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
56288         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
56290 2013-02-26  Roland McGrath  <roland@hack.frob.com>
56292         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
56293         [$(build-shared = yes].
56295 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56297         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
56298         (__mul): Reduce iterations for calculating mantissa.
56300         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
56301         MPTWO.
56302         (__mpranred): Likewise.
56304         [BZ #15160]
56305         * malloc/memusagestat.c (main): Draw graphs for heap and stack
56306         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
56308 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
56310         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
56311         Define __attribute__.
56313 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56315         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
56316         unused.
56317         * posix/regex_internal.h (__attribute): Remove.
56318         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
56319         (re_string_context_at): Likewise.
56320         (bitset_not): Use __attribute__ and mark function as possibly
56321         unused.
56322         (bitset_merge): Likewise.
56323         (bitset_mask): Likewise.
56324         (re_string_char_size_at): Likewise.
56325         (re_string_wchar_at): Likewise.
56326         (re_string_elem_size_at): Likewise.
56328 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
56330         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
56331         code.
56332         (cc32): Likewise.
56334         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
56335         (__acr): Likewise.
56336         (__cpy): Likewise.
56337         (norm): Likewise.
56338         (denorm): Likewise.
56339         (__dbl_mp): Likewise.
56340         (add_magnitudes): Likewise.
56341         (sub_magnitudes): Likewise.
56342         (__mul): Likewise.
56343         (__inv): Likewise.
56345         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
56346         style.
56348         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
56349         style.
56351         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
56352         code.
56354         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
56355         up changes with default code.
56356         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
56357         Likewise.
56359 2013-02-24  Allan McRae  <allan@archlinux.org>
56361         * manual/socket.texi (The Internet Namespace): Order menu items
56362         to match that in the file.
56364         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
56365         node listing of the info page menu.
56367 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
56369         [BZ #13550]
56370         * sysdeps/i386/bp-asm.h: Remove file.
56371         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
56372         (PARMS): Do not use macros from bp-asm.h.
56373         (S1): Likewise.
56374         (S2): Likewise.
56375         (SIZE): Likewise.
56376         (__mpn_add_n): Do not use BP_SYM
56377         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
56378         "bp-asm.h".
56379         (PARMS): Do not use macros from bp-asm.h.
56380         (S1): Likewise.
56381         (SIZE): Likewise.
56382         (__mpn_addmul_1): Do not use BP_SYM
56383         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
56384         "bp-asm.h".
56385         (PARMS): Do not use macros from bp-asm.h.
56386         (SIGMSK): Likewise.
56387         (_setjmp): Likewise.  Do not use BP_SYM.
56388         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
56389         "bp-asm.h".
56390         (PARMS): Do not use macros from bp-asm.h.
56391         (SIGMSK): Likewise.
56392         (setjmp): Likewise.  Do not use BP_SYM.
56393         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
56394         "bp-asm.h".
56395         (PARMS): Do not use macros from bp-asm.h.
56396         (__frexp): Do not use BP_SYM.
56397         (frexp): Likewise.
56398         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
56399         "bp-asm.h".
56400         (PARMS): Do not use macros from bp-asm.h.
56401         (__frexpf): Do not use BP_SYM.
56402         (frexpf): Likewise.
56403         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
56404         "bp-asm.h".
56405         (PARMS): Do not use macros from bp-asm.h.
56406         (__frexpl): Do not use BP_SYM.
56407         (frexpl): Likewise.
56408         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
56409         "bp-asm.h".
56410         (PARMS): Do not use macros from bp-asm.h.
56411         (__remquo): Do not use BP_SYM.
56412         (remquo): Likewise.
56413         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
56414         "bp-asm.h".
56415         (PARMS): Do not use macros from bp-asm.h.
56416         (__remquof): Do not use BP_SYM.
56417         (remquof): Likewise.
56418         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
56419         "bp-asm.h".
56420         (PARMS): Do not use macros from bp-asm.h.
56421         (__remquol): Do not use BP_SYM.
56422         (remquol): Likewise.
56423         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
56424         "bp-asm.h".
56425         (PARMS): Do not use macros from bp-asm.h.
56426         (DEST): Likewise.
56427         (SRC): Likewise.
56428         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
56429         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
56430         "bp-asm.h".
56431         (PARMS): Do not use macros from bp-asm.h.
56432         (strlen): Do not use BP_SYM.
56433         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
56434         "bp-asm.h".
56435         (PARMS): Do not use macros from bp-asm.h.
56436         (S1): Likewise.
56437         (S2): Likewise.
56438         (SIZE): Likewise.
56439         (__mpn_add_n): Do not use BP_SYM.
56440         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
56441         "bp-asm.h".
56442         (PARMS): Do not use macros from bp-asm.h.
56443         (S1): Likewise.
56444         (SIZE): Likewise.
56445         (__mpn_addmul_1): Do not use BP_SYM.
56446         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
56447         weak_alias.
56448         (bzero): Likewise.
56449         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
56450         "bp-asm.h".
56451         (PARMS): Do not use macros from bp-asm.h.
56452         (S): Likewise.
56453         (SIZE): Likewise.
56454         (__mpn_lshift): Do not use BP_SYM.
56455         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
56456         "bp-asm.h".
56457         (PARMS): Do not use macros from bp-asm.h.
56458         (DEST): Likewise.
56459         (SRC): Likewise.
56460         (LEN): Likewise.
56461         (memcpy): Likewise.  Do not use BP_SYM.
56462         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
56463         libc_hidden_def and weak_alias.
56464         (mempcpy): Do not use BP_SYM in weak_alias.
56465         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
56466         "bp-asm.h".
56467         (PARMS): Do not use macros from bp-asm.h.
56468         (DEST): Likewise.
56469         (LEN): Likewise.
56470         [!BZERO_P] (CHR): Likewise.
56471         (memset): Likewise.  Do not use BP_SYM.
56472         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
56473         "bp-asm.h".
56474         (PARMS): Do not use macros from bp-asm.h.
56475         (S1): Likewise.
56476         (SIZE): Likewise.
56477         (__mpn_mul_1): Do not use BP_SYM.
56478         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
56479         "bp-asm.h".
56480         (PARMS): Do not use macros from bp-asm.h.
56481         (S): Likewise.
56482         (SIZE): Likewise.
56483         (__mpn_rshift): Do not use BP_SYM.
56484         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
56485         "bp-asm.h".
56486         (PARMS): Do not use macros from bp-asm.h.
56487         (STR): Likewise.
56488         (CHR): Likewise.
56489         (strchr): Likewise.  Do not use BP_SYM.
56490         (index): Do not use BP_SYM in weak_alias.
56491         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
56492         "bp-asm.h".
56493         (PARMS): Do not use macros from bp-asm.h.
56494         (DEST): Likewise.
56495         (SRC): Likewise.
56496         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
56497         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
56498         "bp-asm.h".
56499         (PARMS): Do not use macros from bp-asm.h.
56500         (strlen): Do not use BP_SYM.
56501         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
56502         "bp-asm.h".
56503         (PARMS): Do not use macros from bp-asm.h.
56504         (S1): Likewise.
56505         (S2): Likewise.
56506         (SIZE): Likewise.
56507         (__mpn_sub_n): Do not use BP_SYM.
56508         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
56509         "bp-asm.h".
56510         (PARMS): Do not use macros from bp-asm.h.
56511         (S1): Likewise.
56512         (SIZE): Likewise.
56513         (__mpn_submul_1): Do not use BP_SYM.
56514         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
56515         "bp-asm.h".
56516         (PARMS): Do not use macros from bp-asm.h.
56517         (S1): Likewise.
56518         (S2): Likewise.
56519         (SIZE): Likewise.
56520         (__mpn_add_n): Do not use BP_SYM.
56521         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
56522         weak_alias.
56523         (bzero): Likewise.
56524         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
56525         "bp-asm.h".
56526         (PARMS): Do not use macros from bp-asm.h.
56527         (BLK2): Likewise.
56528         (LEN): Likewise.
56529         (memcmp): Do not use BP_SYM.
56530         (bcmp): Do not use BP_SYM in weak_alias.
56531         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
56532         "bp-asm.h".
56533         (PARMS): Do not use macros from bp-asm.h.
56534         (DEST): Likewise.
56535         (SRC): Likewise.
56536         (LEN): Likewise.
56537         (memcpy): Likewise.  Do not use BP_SYM.
56538         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
56539         "bp-asm.h".
56540         (PARMS): Do not use macros from bp-asm.h.
56541         (DEST): Likewise.
56542         (SRC): Likewise.
56543         (LEN): Likewise.
56544         (memmove): Likewise.  Do not use BP_SYM.
56545         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
56546         "bp-asm.h".
56547         (PARMS): Do not use macros from bp-asm.h.
56548         (DEST): Likewise.
56549         (SRC): Likewise.
56550         (LEN): Likewise.
56551         (__mempcpy): Likewise.  Do not use BP_SYM.
56552         (mempcpy): Do not use BP_SYM in weak_alias.
56553         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
56554         "bp-asm.h".
56555         (PARMS): Do not use macros from bp-asm.h.
56556         (DEST): Likewise.
56557         (LEN): Likewise.
56558         [!BZERO_P] (CHR): Likewise.
56559         (memset): Likewise.  Do not use BP_SYM.
56560         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
56561         "bp-asm.h".
56562         (PARMS): Do not use macros from bp-asm.h.
56563         (STR2): Likewise.
56564         (strcmp): Do not use BP_SYM.
56565         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
56566         "bp-asm.h".
56567         (PARMS): Do not use macros from bp-asm.h.
56568         (STR): Likewise.
56569         (DELIM): Likewise.
56570         [USE_AS_STRTOK_R] (SAVE): Likewise.
56571         (FUNCTION): Likewise.  Do not use BP_SYM.
56572         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
56573         aliases.
56574         (strtok_r): Likewise.
56575         (__GI___strtok_r): Likewise.
56576         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
56577         (PARMS): Do not use macros from bp-asm.h.
56578         (S): Likewise.
56579         (SIZE): Likewise.
56580         (__mpn_lshift): Do not use BP_SYM.
56581         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
56582         (PARMS): Do not use macros from bp-asm.h.
56583         (STR): Likewise.
56584         (CHR): Likewise.
56585         (__memchr): Do not use BP_SYM.
56586         (memchr): Do not use BP_SYM in weak_alias.
56587         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
56588         (PARMS): Do not use macros from bp-asm.h.
56589         (BLK2): Likewise.
56590         (LEN): Likewise.
56591         (memcmp): Do not use BP_SYM.
56592         (bcmp): Do not use BP_SYM in weak_alias.
56593         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
56594         (PARMS): Do not use macros from bp-asm.h.
56595         (S1): Likewise.
56596         (SIZE): Likewise.
56597         (__mpn_mul_1): Do not use BP_SYM.
56598         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
56599         "bp-asm.h".
56600         (PARMS): Do not use macros from bp-asm.h.
56601         (STR): Likewise.
56602         (CHR): Likewise.
56603         (__rawmemchr): Do not use BP_SYM.
56604         (rawmemchr): Do not use BP_SYM in weak_alias.
56605         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
56606         (PARMS): Do not use macros from bp-asm.h.
56607         (S): Likewise.
56608         (SIZE): Likewise.
56609         (__mpn_rshift): Do not use BP_SYM.
56610         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
56611         (PARMS): Do not use macros from bp-asm.h.
56612         (SIGMSK): Likewise.
56613         (__sigsetjmp): Likewise.  Do not use BP_SYM.
56614         * sysdeps/i386/start.S: Do not include "bp-sym.h".
56615         (_start): Do not use BP_SYM.
56616         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
56617         (PARMS): Do not use macros from bp-asm.h.
56618         (DEST): Likewise.
56619         (SRC): Likewise.
56620         (__stpcpy): Likewise.  Do not use BP_SYM.
56621         (stpcpy): Do not use BP_SYM in weak_alias.
56622         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
56623         "bp-asm.h".
56624         (PARMS): Do not use macros from bp-asm.h.
56625         (DEST): Likewise.
56626         (SRC): Likewise.
56627         (LEN): Likewise.
56628         (__stpncpy): Likewise.  Do not use BP_SYM.
56629         (stpncpy): Do not use BP_SYM in weak_alias.
56630         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
56631         (PARMS): Do not use macros from bp-asm.h.
56632         (STR): Likewise.
56633         (CHR): Likewise.
56634         (strchr): Likewise.  Do not use BP_SYM.
56635         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
56636         "bp-asm.h".
56637         (PARMS): Do not use macros from bp-asm.h.
56638         (STR): Likewise.
56639         (CHR): Likewise.
56640         (__strchrnul): Likewise.  Do not use BP_SYM.
56641         (strchrnul): Do not use BP_SYM in weak_alias.
56642         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
56643         "bp-asm.h".
56644         (PARMS): Do not use macros from bp-asm.h.
56645         (STOP): Likewise.
56646         (strcspn): Do not use BP_SYM.
56647         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
56648         "bp-asm.h".
56649         (PARMS): Do not use macros from bp-asm.h.
56650         (STR): Likewise.
56651         (STOP): Likewise.
56652         (strpbrk): Likewise.  Do not use BP_SYM.
56653         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
56654         "bp-asm.h".
56655         (PARMS): Do not use macros from bp-asm.h.
56656         (STR): Likewise.
56657         (CHR): Likewise.
56658         (strrchr): Likewise.  Do not use BP_SYM.
56659         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
56660         (PARMS): Do not use macros from bp-asm.h.
56661         (SKIP): Likewise.
56662         (strspn): Do not use BP_SYM.
56663         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
56664         (PARMS): Do not use macros from bp-asm.h.
56665         (STR): Likewise.
56666         (DELIM): Likewise.
56667         (SAVE): Likewise.
56668         (FUNCTION): Likewise.  Do not use BP_SYM.
56669         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
56670         aliases.
56671         (strtok_r): Likewise.
56672         (__GI___strtok_r): Likewise.
56673         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
56674         (PARMS): Do not use macros from bp-asm.h.
56675         (S1): Likewise.
56676         (S2): Likewise.
56677         (SIZE): Likewise.
56678         (__mpn_sub_n): Do not use BP_SYM.
56679         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
56680         "bp-asm.h".
56681         (PARMS): Do not use macros from bp-asm.h.
56682         (S1): Likewise.
56683         (SIZE): Likewise.
56684         (__mpn_submul_1): Do not use BP_SYM.
56685         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
56686         <bp-sym.h>.
56687         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
56688         and <bp-asm.h>.
56689         (PARMS): Do not use macros from bp-asm.h.
56690         (FLAGS): Likewise.
56691         (PTID): Likewise.
56692         (TLS): Likewise.
56693         (CTID): Likewise.
56694         (__clone): Do not use BP_SYM.
56695         (clone): Do not use BP_SYM in weak_alias.
56696         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
56697         and <bp-asm.h>.
56698         (PARMS): Do not use macros from bp-asm.h.
56699         (LEN): Likewise.
56700         (__mmap64): Do not use BP_SYM.
56701         (mmap64): Do not use BP_SYM in weak_alias.
56702         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
56703         <bp-sym.h> and <bp-asm.h>.
56704         (PARMS): Do not use macros from bp-asm.h.
56705         (__posix_fadvise64_l64): Do not use BP_SYM.
56706         * sysdeps/unix/sysv/linux/i386/semtimedop.S
56707         (PARMS): Do not use macros from bp-asm.h.
56708         (NSOPS): Likewise.
56709         (semtimedop): Do not use BP_SYM.
56710         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
56711         and <bp-asm.h>.
56713 2013-02-21  Allan McRae  <allan@archlinux.org>
56715         * manual/message.texi (Charset conversion in gettext):
56716         Move @end statement to beginning of line.
56718 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56720         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
56721         static.
56722         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
56723         Likewise.
56725         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
56726         (denorm): Likewise.
56727         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
56728         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
56730 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56732         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
56733         tail-call to the resolved function if pltexit isn't needed.
56735 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56737         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
56738         or Y being zero as being unlikely.
56739         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
56740         Likewise.
56742 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
56744         * manual/nss.texi (System Databases and Name Service Switch):
56745         Remove frobnicate @pxref.
56747 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
56749         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
56750         __attribute__ ((unused)) to __attribute__ ((__unused__)).
56752 2013-02-20  Petr Machata  <pmachata@redhat.com>
56754         * elf/elf.h (R_ARM_TARGET1): New macro.
56755         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
56756         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
56757         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
56758         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
56759         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
56760         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
56761         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
56762         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
56763         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
56764         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
56765         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
56766         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
56767         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
56768         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
56769         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
56770         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
56771         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
56772         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
56773         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
56774         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
56775         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
56776         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
56777         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
56778         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
56779         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
56780         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
56781         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
56782         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
56783         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
56784         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
56785         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
56786         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
56787         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
56788         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
56789         (R_ARM_THM_GOT_BREL12): Likewise.
56790         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
56791         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
56792         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
56793         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
56794         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
56795         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
56796         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
56797         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
56798         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
56800 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
56802         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
56803         __attribute_used__ to __attribute__ ((unused)).
56805 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
56807         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
56808         powerpc mpa.c.
56809         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
56810         comment formatting.
56811         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
56813 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
56815         [BZ #13550]
56816         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
56817         Remove macro.
56818         (ENTER): Remove both macro definitions.
56819         (LEAVE): Likewise.
56820         (CHECK_BOUNDS_LOW): Likewise.
56821         (CHECK_BOUNDS_HIGH): Likewise.
56822         (CHECK_BOUNDS_BOTH): Likewise.
56823         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
56824         (RETURN_BOUNDED_POINTER): Likewise.
56825         (RETURN_NULL_BOUNDED_POINTER): Likewise.
56826         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
56827         (POP_ERRNO_LOCATION_RETURN): Likewise.
56828         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
56829         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56830         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
56831         macros.
56832         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56833         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
56834         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
56835         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
56836         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
56837         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
56838         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
56839         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
56840         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
56841         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
56842         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
56843         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
56844         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56845         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
56846         removed macros.
56847         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56848         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
56849         macros.
56850         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56851         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
56852         * sysdeps/i386/i586/memset.S (memset): Likewise.
56853         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
56854         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56855         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
56856         macros.
56857         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56858         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
56859         Change uses of L(2) to L(out).
56860         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
56861         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
56862         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
56863         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56864         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
56865         removed macros.
56866         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56867         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
56868         macros.
56869         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56870         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
56871         (RETURN): Do not use macro LEAVE.
56872         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
56873         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
56874         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
56875         * sysdeps/i386/i686/memset.S (memset): Likewise.
56876         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
56877         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
56878         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
56879         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
56880         Likewise.
56881         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
56882         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
56883         L(1_2) and L(1_3) into L(1).
56884         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
56885         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
56886         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56887         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
56888         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
56889         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
56890         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
56891         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56892         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
56893         macros.
56894         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
56895         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56896         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
56897         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
56898         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
56899         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56900         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
56901         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
56902         * sysdeps/i386/strcspn.S (strcspn): Likewise.
56903         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
56904         * sysdeps/i386/strrchr.S (strrchr): Likewise.
56905         * sysdeps/i386/strspn.S (strspn): Likewise.
56906         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
56907         conditional code.
56908         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
56909         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
56910         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
56911         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
56912         L(1_3) into L(1_1).
56913         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
56914         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56915         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
56916         macros.
56917         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56919 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
56921         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
56922         macro.
56924 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
56926         * math/atest-exp.c (exp_mpn): Remove ROUND.
56927         * math/atest-exp2.c (exp_mpn): Likewise.
56928         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
56930         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
56931         * stdlib/tst-tls-atexit-lib.c: Likewise.
56932         * stdlib/tst-tls-atexit.c: Likewise.
56934 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
56936         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
56937         and __attribute_alloc_size__.
56939 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
56941         * include/programs/xmalloc.h: Change __attribute_alloc_size to
56942         __attribute_alloc_size__.
56943         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
56944         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
56946 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
56948         * include/programs/xmalloc.h: New file.
56949         * catgets/gencat.c: Include it.
56950         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
56951         * elf/pldd.c: Likewise.
56952         * iconv/iconv_charmap.c: Likewise.
56953         * iconv/iconvconfig.c: Likewise.
56954         * iconv/strtab.c: Likewise.
56955         * locale/programs/locale.c: Likewise.
56956         * locale/programs/localedef.h: Likewise.
56957         * locale/programs/simple-hash.c: Likewise.
56958         * nscd/nscd.h: Likewise.
56959         * nss/makedb.c: Likewise.
56960         * sysdeps/generic/ldconfig.h: Likewise.
56962 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56964         * Versions.def: Add GLIBC_2.18.
56965         * include/link.h (struct link_map): New member l_tls_dtor_count.
56966         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
56967         (__call_tls_dtors): Likewise.
56968         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
56969         __cxa_thread_atexit_impl.
56970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56971         Likewise.
56972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56973         Likewise.
56974         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
56975         Likewise.
56976         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
56977         Likewise.
56978         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
56979         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
56980         Likewise.
56981         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
56982         Likewise.
56983         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
56984         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
56985         Likewise.
56986         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
56987         (tests): Add test case tst-tls-atexit.
56988         (modules-names): Add shared library for tst-tls-atexit.
56989         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
56990         (GLIBC_PRIVATE): Add __call_tls_dtors.
56991         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
56992         for libstdc++.
56993         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
56994         * stdlib/tst-tls-atexit.c: New test case.
56995         * stdlib/tst-tls-atexit-lib.c: New test case.
56997         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
56999         * elf/Versions (ld): Add _dl_find_dso_for_object.
57000         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
57001         * elf/dl-open.c (_dl_find_dso_for_object): New function.
57002         (dl_open_worker): Use _dl_find_dso_for_object.
57003         * elf/dl-sym.c (do_sym): Likewise.
57004         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
57006 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57008         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
57009         Syntactic changes only.
57010         (_dl_runtime_profile): Do a tail-call to the resolved function.
57012 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
57014         [BZ #13550]
57015         * sysdeps/x86_64/bp-asm.h: Remove file.
57016         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
57017         <bp-sym.h> and <bp-asm.h>.
57018         (__clone): Do not use BP_SYM.
57019         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
57020         <bp-sym.h> and <bp-asm.h>.
57021         * sysdeps/unix/x86_64/sysdep.S: Likewise.
57022         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
57023         "bp-asm.h".
57024         (_setjmp): Do not use BP_SYM.
57025         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
57026         "bp-asm.h".
57027         (setjmp): Do not use BP_SYM.
57028         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
57029         libc_hidden_def.
57030         (mempcpy): Do not use BP_SYM in weak_alias.
57031         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
57032         "bp-asm.h".
57033         (strchr): Do not use BP_SYM.
57034         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
57035         "bp-asm.h".
57036         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
57037         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
57038         (_start): Do not use BP_SYM.
57039         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
57040         "bp-asm.h".
57041         (strcat): Do not use BP_SYM.
57042         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
57043         "bp-asm.h".
57044         (STRCMP): Do not use BP_SYM.
57045         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
57046         "bp-asm.h".
57047         (STRCPY): Do not use BP_SYM.
57048         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
57049         "bp-asm.h".
57050         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
57051         "bp-asm.h".
57052         (FUNCTION): Do not use BP_SYM.
57053         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
57054         weak_alias.
57055         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
57057 2013-02-17  Andreas Jaeger  <aj@suse.de>
57059         * time/Versions: Sort entries.
57060         * string/Versions: Likewise.
57061         * resolv/Versions: Likewise.
57062         * posix/Versions: Likewise.
57063         * iconv/Versions: Likewise.
57064         * elf/Versions: Likewise.
57065         * wcsmbs/Versions: Likewise.
57067 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
57069         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
57070         loop termination condition.
57072         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
57073         variable to calculate EZ.
57074         (__sqr): Likewise.
57076         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
57077         the lower precision input.
57079 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
57081         [BZ #13550]
57082         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
57083         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
57084         (run-via-rtld-prefix): Do not handle %-bp tests.
57085         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
57086         (all-object-suffixes): Remove .ob.
57087         (bppfx): Remove variable.
57088         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
57089         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
57090         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
57091         [$(build-bounded) = yes] (libtype.ob): Likewise.
57092         * Makerules (elide-routines.ob): Remove variable.
57093         (do-tests-clean): Do not handle *-bp.out.
57094         (common-mostlyclean): Do not handle *-bp and *-bp.out.
57095         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
57096         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
57097         (tests): Do not include $(tests-bp.out).
57098         (xtests): Do not include $(xtests-bp.out).
57099         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
57100         [$(build-bounded) = yes] ($(addprefix
57101         $(objpfx),$(binaries-bounded))): Remove rule.
57102         ($(objpfx)%-bp.out): Remove rule.
57103         * config.make.in (build-bounded): Remove variable.
57104         * crypt/Makefile [$(build-bounded) = yes]
57105         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
57106         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
57107         append to variable.
57108         [$(build-bounded) = yes] (install-lib): Likewise.
57109         [$(build-bounded) = yes] (generated): Likewise.
57110         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
57111         Remove rule.
57112         * intl/Makefile [$(build-bounded) = yes]
57113         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
57114         * math/Makefile [$(build-bounded) = yes]
57115         ($(tests:%=$(objpfx)%-bp): Likewise.
57116         * misc/Makefile [$(build-bounded) = yes]
57117         ($(objpfx)tst-tsearch-bp): Likewise.
57118         * nptl/Makeconfig (bounded-thread-library): Remove variable.
57119         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
57120         Remove dependency.
57121         * string/Makefile (o-objects.ob): Remove variable.
57122         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
57123         (CFLAGS-.ob): Remove variable.
57124         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
57125         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
57126         both definitions of variable.
57127         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
57128         (ASFLAGS-.ob): Remove variable.
57130 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
57132         [BZ #13550]
57133         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
57134         Remove __BOUNDED_POINTERS__ from condition.
57135         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
57136         * string/bits/string2.h [!__NO_STRING_INLINES &&
57137         !__BOUNDED_POINTERS__]: Likewise.
57138         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
57139         Likewise.
57140         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
57141         Remove conditional code.
57142         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
57143         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
57144         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
57145         condition.
57147         [BZ #13550]
57148         * csu/libc-start.c: Do not include <bp-sym.h>.
57149         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
57150         * elf/dl-open.c: Do not include <bp-sym.h>.
57151         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
57152         * math/fegetenv.c: Do not include <bp-sym.h>.
57153         (fegetenv): Do not use BP_SYM in versioned symbols.
57154         * nptl/sysdeps/pthread/bits/libc-lockP.h
57155         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
57156         <bp-sym.h>.
57157         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57158         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
57159         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57160         (__pthread_mutex_destroy): Likewise.
57161         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57162         (__pthread_mutex_lock): Likewise.
57163         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57164         (__pthread_mutex_trylock): Likewise.
57165         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57166         (__pthread_mutex_unlock): Likewise.
57167         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57168         (__pthread_mutexattr_init): Likewise.
57169         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57170         (__pthread_mutexattr_destroy): Likewise.
57171         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57172         (__pthread_mutexattr_settype): Likewise.
57173         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57174         (__pthread_rwlock_init): Likewise.
57175         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57176         (__pthread_rwlock_destroy): Likewise.
57177         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57178         (__pthread_rwlock_rdlock): Likewise.
57179         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57180         (__pthread_rwlock_tryrdlock): Likewise.
57181         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57182         (__pthread_rwlock_wrlock): Likewise.
57183         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57184         (__pthread_rwlock_trywrlock): Likewise.
57185         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57186         (__pthread_rwlock_unlock): Likewise.
57187         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57188         (__pthread_key_create): Likewise.
57189         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57190         (__pthread_setspecific): Likewise.
57191         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57192         (__pthread_getspecific): Likewise.
57193         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
57194         Likewise.
57195         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57196         (_pthread_cleanup_push_defer): Likewise.
57197         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57198         (_pthread_cleanup_pop_restore): Likewise.
57199         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57200         (pthread_setcancelstate): Likewise.
57201         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
57202         <bp-sym.h>.
57203         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
57204         (memchr): Do not use BP_SYM in weak_alias.
57205         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
57206         (fegetenv): Do not use BP_SYM in versioned symbols.
57207         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
57208         (fesetenv): Do not use BP_SYM in versioned symbols.
57209         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
57210         (feupdateenv): Do not use BP_SYM in versioned symbols.
57211         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
57212         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
57213         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
57214         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
57215         (open64): Do not use BP_SYM in weak_alias.
57216         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
57217         (fegetenv): Do not use BP_SYM in versioned symbols.
57218         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
57219         (fesetenv): Do not use BP_SYM in versioned symbols.
57220         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
57221         (feupdateenv): Do not use BP_SYM in versioned symbols.
57222         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
57223         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
57224         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
57225         (feraiseexcept): Do not use BP_SYM in versioned symbols.
57226         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
57227         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
57228         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
57229         <bp-sym.h>.
57230         (__libc_start_main): Do not use BP_SYM.
57232 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
57234         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
57235         redundant return line.
57236         (norm): Likewise.
57237         (denorm): Likewise.
57238         (dbl_mp): Likewise.
57239         (sub_magnitudes): Likewise.
57240         (__add): Likewise.
57241         (__sub): Likewise.
57242         (__mul): Likewise.
57243         (__inv): Likewise.
57244         (__dvd): Likewise.
57245         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
57246         (norm): Likewise.
57247         (denorm): Likewise.
57248         (dbl_mp): Likewise.
57249         (sub_magnitudes): Likewise.
57250         (__add): Likewise.
57251         (__sub): Likewise.
57252         (__mul): Likewise.
57253         (__inv): Likewise.
57254         (__dvd): Likewise.
57256         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
57257         instead of __mul.
57258         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
57259         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
57260         (cc32): Likewise.
57262         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
57263         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
57264         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
57265         of __mul for squares.
57266         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
57267         function
57268         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
57269         Likewise.
57270         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
57271         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
57273 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
57275         [BZ #13550]
57276         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
57277         code.
57278         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
57279         prototype or function definition.  Rename ubp_* variables and
57280         parameters.  Remove argv definitions conditional on
57281         [__BOUNDED_POINTERS__].
57282         * debug/backtrace.c (__backtrace): Do not use __unbounded.
57283         * elf/dl-runtime.c (_dl_fixup): Likewise.
57284         * include/set-hooks.h (RUN_HOOK): Likewise.
57285         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
57286         definition.
57287         * string/strcpy.c (strcpy): Do not use __unbounded.
57288         * sysdeps/generic/frame.h (struct layout): Likewise.
57289         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
57290         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
57291         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
57292         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
57293         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
57294         (__backtrace): Likewise.
57295         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
57296         use __ptrvalue.
57297         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
57298         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
57299         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
57300         Likewise.
57301         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
57302         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
57303         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
57304         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
57305         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
57306         Do not use __unbounded.
57307         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
57308         Rename __unboundedrlimits parameter to rlimits in prototype.
57309         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
57310         Do not use __unbounded.
57311         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
57312         not use __ptrvalue.
57313         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
57314         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
57315         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
57316         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
57317         __ptrvalue or __unbounded.
57318         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
57319         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
57320         use __unbounded.
57321         (__new_msgctl): Do not use __ptrvalue.
57322         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
57323         __unbounded.
57324         (__libc_msgrcv): Do not use __ptrvalue.
57325         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
57326         startup_info): Do not use __unbounded.
57327         (__libc_start_main): Likewise.  Rename ubp_* variables and
57328         parameters.  Remove argv definitions conditional on
57329         [__BOUNDED_POINTERS__].
57330         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
57331         __ptrvalue.
57332         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
57333         use __unbounded.
57334         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
57335         or __ptrvalue.
57336         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
57337         use __unbounded.
57338         (__new_shmctl): Do not use __ptrvalue.
57339         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
57340         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
57341         Likewise.
57342         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
57343         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
57344         (__libc_sigaction): Likewise.
57345         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
57346         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
57347         Likewise.
57348         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
57350 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
57352         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
57354         * string/mempcpy.c: Implement by calling memcpy.
57356 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
57358         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
57360         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
57361         evaluation.
57363         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
57364         values in the mantissa.
57366         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
57367         minimize writes to Z.
57368         (sub_magnitudes): Simplify code a bit.
57370 2013-02-12  Roland McGrath  <roland@hack.frob.com>
57372         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
57373         from the message.  The linker prefixes all warnings with that already.
57375 2013-02-12  Andreas Schwab  <schwab@suse.de>
57377         [BZ #15078]
57378         * posix/regexec.c (extend_buffers): Add parameter min_len.
57379         (check_matching): Pass minimum needed length.
57380         (clean_state_log_if_needed): Likewise.
57381         (get_subexp): Likewise.
57382         * posix/Makefile (tests): Add bug-regex34.
57383         (bug-regex34-ENV): Define.
57384         * posix/bug-regex34.c: New file.
57386         [BZ #11561]
57387         * posix/regcomp.c (parse_bracket_exp): When looking up collating
57388         elements compare against the byte sequence of it, not its name.
57389         * posix/Makefile (tests): Add bug-regex35.
57390         (bug-regex35-ENV): Define.
57391         * posix/bug-regex35.c: New file.
57393 2013-02-11  Tom de Vries  <tom@codesourcery.com>
57395         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
57396         comment.
57397         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
57398         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
57399         (CHECK_EOL): Add undef.
57401 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
57403         * bits/stdlib-bsearch.h: New file.
57404         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
57405         * stdlib/stdlib.h: Likewise.
57407 2013-02-11  Roland McGrath  <roland@hack.frob.com>
57409         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
57410         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
57411         declaration.
57412         * manual/search.texi (Array Search Function): Add missing const in
57413         lfind prototype.
57414         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
57415         declaration to use rlim_t.
57416         (Basic Scheduling Functions): Remove erroneous const from
57417         sched_getparam prototype.  Remove erroneous * from
57418         sched_get_priority_max and sched_get_priority_min prototypes.
57419         (Resource Usage): Fix summary @comment on vtimes to refer to
57420         sys/vtimes.h rather than vtimes.h.
57421         Add missing *s in vtimes prototype.
57422         (Limits on Resources): Fix ulimit prototype to return long int.
57423         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
57424         prototypes to use long int rather than double.
57425         (BSD Random): Fix initstate and setstate to use char *, not void *.
57426         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
57427         prototype to make second argument 'struct aiocb64 *const[]'.
57428         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
57429         (Status of AIO Operations): Remove erroneous const in aio_return and
57430         aio_return64 prototypes.
57431         (Synchronizing I/O): Fix sync prototype to return void.
57432         * manual/startup.texi (Suboptions): Remove an erroneous const in
57433         getsubopt prototype.
57434         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
57435         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
57436         use size_t rather than int.
57437         (Scanning All Users): Likewise for getpwent_r.
57438         (Setting Groups): Add missing const to setgroups prototype.
57439         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
57440         * manual/socket.texi (Host Names): Fix gethostbyaddr and
57441         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
57442         'const void *' rather than 'const char *'.
57443         (Host Address Functions): Likewise for inet_ntop.
57444         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
57445         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
57446         ssize_t for return value.
57447         (Sending Data): Likewise for send, sendto, sendmsg.
57448         (Socket Option Functions): Add a missing const in setsockopt prototype.
57449         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
57450         use wchar_t for the argument.
57451         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
57452         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
57453         take no arguments.
57454         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
57455         double/float/long double for second argument.
57456         Fix return types of significand, significandf, significandl.
57457         * manual/filesys.texi (Setting Permissions): Use mode_t for second
57458         argument in fchmod prototype.
57459         (File Owner): Use uid_t and gid_t in fchown prototype.
57460         (File Times): Add const to utimes, futimes, and lutimes prototypes.
57461         (Making Special Files): Use mode_t and dev_t in mknod prototype.
57462         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
57463         use 'const struct dirent **' as argument types to CMP function pointer
57464         argument.
57465         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
57466         (File Times): Fix summary magic @comment for struct utimbuf and utime
57467         to refer to utime.h, not time.h.
57468         * manual/string.texi (Argz Functions): Add missing const in
57469         argz_extract and argz_next prototypes.
57470         (Finding Tokens in a String): Likewise for basename.
57471         (String/Array Comparison): Fix typo in wcscasecmp prototype.
57472         (Copying and Concatenation): Fix typo in wmemmove prototype.
57473         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
57474         (Signal Stack): Remove erroneous const in sigstack prototype.
57475         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
57476         prototype.
57477         (Simple Calendar Time): Likewise for stime.
57478         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
57479         prototype.
57480         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
57481         say sys/sysctl.h instead.
57482         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
57483         and vsyslog prototypes.
57485 2013-02-11  Tom de Vries  <tom@codesourcery.com>
57487         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
57488         Remove.
57490 2013-02-11  Roland McGrath  <roland@hack.frob.com>
57492         * misc/sys/mman.h: Fix typo in mremap comment.
57494 2013-02-08  Roland McGrath  <roland@hack.frob.com>
57496         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
57497         the '\0' terminator.
57499 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
57501         [BZ #13550]
57502         * debug/segfault.c: Don't include <bp-checks.h>.
57503         * sysdeps/generic/bp-checks.h: Remove file.
57504         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
57505         (__GETDENTS): Don't use CHECK_N.
57506         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
57507         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
57508         (__getgroups): Don't use CHECK_N.
57509         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
57510         (setgroups): Don't use CHECK_N.
57511         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
57512         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
57513         (__libc_msgrcv): Don't use CHECK_N.
57514         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
57515         (__libc_msgsnd): Don't use CHECK_N.
57516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
57517         <bp-checks.h>.
57518         (__libc_pread): Don't use CHECK_N.
57519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
57520         include <bp-checks.h>.
57521         (__libc_pread64): Don't use CHECK_N.
57522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
57523         include <bp-checks.h>.
57524         (__libc_pwrite): Don't use CHECK_N.
57525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
57526         include <bp-checks.h>.
57527         (__libc_pwrite64): Don't use CHECK_N.
57528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
57529         <bp-checks.h>.
57530         (__libc_pread): Don't use CHECK_N.
57531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
57532         include <bp-checks.h>.
57533         (__libc_pread64): Don't use CHECK_N.
57534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
57535         include <bp-checks.h>.
57536         (__libc_pwrite): Don't use CHECK_N.
57537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
57538         include <bp-checks.h>.
57539         (__libc_pwrite64): Don't use CHECK_N.
57540         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
57541         (do_pread): Don't use CHECK_N.
57542         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
57543         (do_pread64): Don't use CHECK_N.
57544         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
57545         (do_pwrite): Don't use CHECK_N.
57546         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
57547         (do_pwrite64): Don't use CHECK_N.
57548         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
57549         (__libc_readv): Don't use CHECK_N.
57550         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
57551         (semop): Don't use CHECK_N.
57552         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
57553         <bp-checks.h>.
57554         (semtimedop): Don't use CHECK_N.
57555         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
57556         (__libc_pread): Don't use CHECK_N.
57557         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
57558         <bp-checks.h>.
57559         (__libc_pread64): Don't use CHECK_N.
57560         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
57561         <bp-checks.h>.
57562         (__libc_pwrite): Don't use CHECK_N.
57563         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
57564         <bp-checks.h>.
57565         (__libc_pwrite64): Don't use CHECK_N.
57566         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
57567         <bp-checks.h>.
57568         (__libc_msgrcv): Don't use CHECK_N.
57569         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
57570         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
57571         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
57572         (__libc_writev): Don't use CHECK_N.
57574 2013-02-08  Roland McGrath  <roland@hack.frob.com>
57576         * string/strcpy.c: Removed unused variable.
57578         * Makeconfig (+sysdep-includes): Define with := rather than =.
57579         Use an existing include/ subdir of each sysdeps dir before it.
57581 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
57583         * nscd/connection.c (register_traced_file): Comment function.
57584         [HAVE_INOTIFY] (union __inev): Define.
57585         [HAVE_INOTIFY] (inotify_check_files): New function.
57586         [HAVE_INOTIFY] (clear_db_cache): Likewise.
57587         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
57588         clear_db_cache.
57589         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
57591 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
57593         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
57594         loaded if not already and that a failure is permanent.
57596 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
57598         [BZ #15006]
57599         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
57600         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
57602 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
57604         [BZ #13550]
57605         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
57606         (CHECK_1_NULL_OK): Likewise.
57607         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
57608         (__fxstat): Do not use CHECK_1.
57609         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
57610         <bp-checks.h>.
57611         (___fxstat64): Do not use CHECK_1.
57612         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
57613         <bp-checks.h>.
57614         (__fxstatat): Do not use CHECK_1.
57615         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
57616         <bp-checks.h>.
57617         (__fxstatat64): Do not use CHECK_1.
57618         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
57619         <bp-checks.h>.
57620         (__fxstat): Do not use CHECK_1.
57621         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
57622         <bp-checks.h>.
57623         (__fxstatat): Do not use CHECK_1.
57624         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
57625         <bp-checks.h>.
57626         (__getresgid): Do not use CHECK_1.
57627         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
57628         <bp-checks.h>.
57629         (__getresuid): Do not use CHECK_1.
57630         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
57631         <bp-checks.h>.
57632         (__lxstat): Do not use CHECK_1.
57633         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
57634         <bp-checks.h>.
57635         (__old_msgctl): Do not use CHECK_1.
57636         (__new_msgctl): Likewise.
57637         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
57638         <bp-checks.h>.
57639         (__new_setrlimit): Do not use CHECK_1.
57640         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
57641         <bp-checks.h>.
57642         (__old_shmctl): Do not use CHECK_1.
57643         (__new_shmctl): Likewise.
57644         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
57645         <bp-checks.h>.
57646         (__xstat): Do not use CHECK_1.
57647         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
57648         (__lxstat): Do not use CHECK_1.
57649         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
57650         <bp-checks.h>.
57651         (___lxstat64): Do not use CHECK_1.
57652         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
57653         (__old_msgctl): Do not use CHECK_1.
57654         (__new_msgctl): Likewise.
57655         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
57656         <bp-checks.h>.
57657         (__gettimeofday): Do not use CHECK_1.
57658         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
57659         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
57660         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
57661         <bp-checks.h>.
57662         (__gettimeofday): Do not use CHECK_1.
57663         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
57664         (__old_shmctl): Do not use CHECK_1_NULL_OK.
57665         (__new_shmctl): Do not use CHECK_1.
57666         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
57667         <bp-checks.h>.
57668         (do_sigtimedwait): Do not use CHECK_1.
57669         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
57670         <bp-checks.h>.
57671         (do_sigwaitinfo): Do not use CHECK_1.
57672         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
57673         <bp-checks.h>.
57674         (msgctl): Do not use CHECK_1.
57675         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
57676         <bp-checks.h>.
57677         (shmctl): Do not use CHECK_1.
57678         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
57679         (ustat): Do not use CHECK_1.
57680         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
57681         <bp-checks.h>.
57682         (__fxstat): Do not use CHECK_1.
57683         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
57684         <bp-checks.h>.
57685         (__fxstatat): Do not use CHECK_1.
57686         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
57687         <bp-checks.h>.
57688         (__lxstat): Do not use CHECK_1.
57689         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
57690         <bp-checks.h>.
57691         (__xstat): Do not use CHECK_1.
57692         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
57693         (__xstat): Do not use CHECK_1.
57694         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
57695         (___xstat64): Do not use CHECK_1.
57697         [BZ #13550]
57698         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
57699         definitions.
57700         (CHECK_BOUNDS_HIGH): Likewise.
57701         * string/strcpy.c: Do not include <bp-checks.h>.
57702         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
57704 2013-02-07  Roland McGrath  <roland@hack.frob.com>
57706         * nscd/nscd-client.h (__nscd_drop_map_ref):
57707         Add __attribute__ ((unused)).
57708         * nis/nss-nisplus.h (niserr2nss): Likewise.
57710         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
57711         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
57713         * csu/libc-tls.c (init_static_tls, init_slotinfo):
57714         Remove inline keyword.
57715         * include/rounding-mode.h (round_away): Likewise.
57716         * libio/wfileops.c (adjust_wide_data): Likewise.
57717         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
57718         (__m128i_strloadu_tolower): Likewise.
57719         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
57720         (__m128i_strloadu_tolower): Likewise.
57721         * time/mktime.c (ydhms_diff): Likewise.
57722         * locale/elem-hash.h (elem_hash): Likewise.
57723         * locale/setlocale.c (setdata): Likewise.
57724         * posix/regex_internal.h (re_string_char_size_at): Likewise.
57725         (re_string_wchar_at): Likewise.
57726         (bitset_not, bitset_merge, bitset_mask): Likewise.
57727         [!(__GNUC__ > 3)] (inline): Remove macro.
57728         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
57729         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
57730         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
57731         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
57732         * string/memcmp.c (memcmp_bytes): Likewise.
57733         * locale/programs/locarchive.c (compute_hashval): Likewise.
57734         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
57735         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
57736         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
57737         * nss/getent.c (print_rpc, print_protocols): Likewise.
57738         (print_passwd, print_group, print_aliases): Likewise.
57739         * nis/nss-nisplus.h (niserr2nss): Likewise.
57740         * nscd/connections.c (restart_p): Likewise.
57741         Change return type to bool.
57743 2013-02-05  Roland McGrath  <roland@hack.frob.com>
57745         * Makeconfig (all-Depend-files): Add existing
57746         $(sorted-subdirs:=/Depend) files.
57747         (all-subdirs): Remove nss.
57748         * sysdeps/unix/inet/Subdirs: Add it here instead.
57749         * hesiod/Depend: New file.
57751         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
57752         instead of calling alloca.
57754         * io/lseek.c (__lseek): Rename to __libc_lseek.
57755         Define __lseek as an alias.
57757         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
57759 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
57761         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
57762         else clause and remove check for non-standard endianness.
57764 2013-02-04  David S. Miller  <davem@davemloft.net>
57766         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57768 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
57770         [BZ #13550]
57771         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
57772         (__ubp_memchr): Remove prototype.
57773         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
57774         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
57775         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
57776         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
57777         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
57778         Remove alias.
57779         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
57780         (__ubp_memchr): Likewise.
57781         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
57782         (__ubp_memchr): Likewise.
57783         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
57784         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
57785         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
57786         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
57787         CHECK_STRING.
57788         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
57789         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
57790         (__getcwd): Do not use CHECK_STRING.
57791         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
57792         <bp-checks.h>.
57793         (__real_chown): Do not use CHECK_STRING.
57794         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
57795         <bp-checks.h>.
57796         (fchownat): Do not use CHECK_STRING.
57797         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
57798         CHECK_STRING.
57799         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
57800         <bp-checks.h>.
57801         (__lchown): Do not use CHECK_STRING.
57802         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
57803         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
57804         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
57805         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
57806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
57807         include <bp-checks.h>.
57808         (truncate64): Do not use CHECK_STRING.
57809         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
57810         <bp-checks.h>.
57811         (__real_chown): Do not use CHECK_STRING.
57812         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
57813         <bp-checks.h>.
57814         (__lchown): Do not use CHECK_STRING.
57815         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
57816         <bp-checks.h>.
57817         (__chown): Do not use CHECK_STRING.
57818         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
57819         <bp-checks.h>.
57820         (truncate64): Do not use CHECK_STRING.
57821         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
57822         Likewise.
57823         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
57824         (__xmknod): Do not use CHECK_STRING.
57825         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
57826         <bp-checks.h>.
57827         (__xmknodat): Do not use CHECK_STRING.
57828         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
57829         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
57831 2013-02-04  Andreas Schwab  <schwab@suse.de>
57833         [BZ #14142]
57834         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
57835         * include/netdb.h: Likewise for h_errno.
57836         * elf/tst-stackguard1.c: Include <tls.h>.
57838 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
57840         * elf/link.h (struct link_map): Extend the l_addr comment.
57841         * include/link.h (struct link_map): Likewise.
57843 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
57845         [BZ #13550]
57846         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
57847         (BOUNDED_1): Remove macro.
57848         * debug/backtrace.c: Don't include <bp-checks.h>.
57849         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
57850         (__backtrace): Likewise.
57851         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
57852         <bp-checks.h>.
57853         (__backtrace): Don't use BOUNDED_1.
57854         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
57855         <bp-checks.h>.
57856         (__backtrace): Don't use BOUNDED_1.
57857         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
57858         (__backtrace): Don't use BOUNDED_1.
57859         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
57860         (shmat): Don't use BOUNDED_N.
57862 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
57864         [BZ #13550]
57865         * sysdeps/generic/bp-start.h: Remove file.
57866         * csu/libc-start.c: Don't include <bp-start.h>.
57867         (LIBC_START_MAIN): Set up __environ directly instead of using
57868         INIT_ARGV_and_ENVIRON.
57869         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
57870         <bp-start.h>.
57872         [BZ #13550]
57873         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
57874         definitions.
57875         (CHECK_FCNTL): Likewise.
57876         (CHECK_N_PAGES): Likewise.
57878         [BZ #13550]
57879         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
57880         definitions.
57881         (CHECK_SIGSET_NULL_OK): Likewise.
57882         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
57883         <bp-checks.h>.
57884         (sigpending): Don't use CHECK_SIGSET.
57885         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
57886         <bp-checks.h>.
57887         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
57888         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
57889         <bp-checks.h>.
57890         (do_sigsuspend): Don't use CHECK_SIGSET.
57891         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
57892         use CHECK_SIGSET.
57893         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
57894         (do_sigwait): Don't use CHECK_SIGSET.
57895         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
57896         use CHECK_SIGSET.
57897         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
57898         include <bp-checks.h>.
57899         (sigpending): Don't use CHECK_SIGSET.
57900         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
57901         include <bp-checks.h>.
57902         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
57903         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
57904         <bp-checks.h>.
57905         (sigpending): Don't use CHECK_SIGSET.
57906         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
57907         <bp-checks.h>.
57908         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
57910         [BZ #13550]
57911         * sysdeps/generic/bp-semctl.h: Remove file.
57912         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
57913         <bp-checks.h> and <bp-semctl.h>.
57914         (__old_semctl): Don't use CHECK_SEMCTL.
57915         (__new_semctl): Likewise.
57916         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
57917         and <bp-semctl.h>.
57918         (__old_semctl): Don't use CHECK_SEMCTL.
57919         (__new_semctl): Likewise.
57920         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
57921         <bp-checks.h> and <bp-semctl.h>.
57922         (__old_semctl): Don't use CHECK_SEMCTL.
57923         (__new_semctl): Likewise.
57924         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
57925         <bp-checks.h> and <bp-semctl.h>.
57926         (semctl): Don't use CHECK_SEMCTL.
57928         [BZ #13550]
57929         * Makerules (elide-bp-thunks): Remove variable.
57930         (elide-routines.oS): Don't use $(elide-bp-thunks).
57931         (elide-routines.os): Likewise.
57932         (elide-routines.o): Likewise.
57933         (elide-routines.op): Likewise.
57934         (elide-routines.og): Likewise.
57935         (objects): Don't use $(bp-thunks).
57936         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
57937         include.
57938         (common-generated): Do not add s-proto-bp.d.
57939         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
57940         (int): Likewise.
57941         (typ): Likewise.
57942         Do not generate makefile rules for bounded-pointer thunks.
57943         * sysdeps/generic/bp-thunks.h: Remove file.
57944         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
57945         * sysdeps/unix/s-proto-bp.S: Likewise.
57947         [BZ #15062]
57948         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
57949         parts of result separately when argument is not close to line from
57950         -i to i and one part of argument is small.
57951         * math/k_casinhf.c (__kernel_casinhf): Likewise.
57952         * math/k_casinhl.c (__kernel_casinhl): Likewise.
57953         * math/libm-test.inc (cacos_test): Add more tests.
57954         (casin_test): Likewise.
57955         (casinh_test): Likewise.
57956         * sysdeps/i386/fpu/libm-test-ulps: Update.
57957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57959 2013-01-31  David S. Miller  <davem@davemloft.net>
57961         * po/de.po: Update from translation team.
57963 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
57965         * time/tzfile.c: Include stdint.h for SIZE_MAX.
57967 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
57969         * configure.in (_AC_PROG_CC_C89): New definition.
57970         * configure: Regenerate.
57972         * configure.in (AC_PROG_CPP): New definition.
57973         * configure: Regenerate.
57975 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
57977         * debug/tst-backtrace.h: New file.
57978         * debug/tst-backtrace2.c: Include tst-backtrace.h.
57979         (ret): Remove variable.
57980         (x): Likewise.
57981         (FAIL): Remove macro.
57982         (NO_INLINE): Likewise.
57983         (fn1): Use match function instead of strstr.
57984         * debug/tst-backtrace3.c: Include tst-backtrace.h.
57985         (ret): Remove variable.
57986         (x): Likewise.
57987         (FAIL): Remove macro.
57988         (NO_INLINE): Likewise.
57989         (fn): Use match function instead of strstr.
57990         * debug/tst-backtrace4.c: Include tst-backtrace.h.
57991         (ret): Remove variable.
57992         (x): Likewise.
57993         (FAIL): Remove macro.
57994         (NO_INLINE): Likewise.
57995         (handle_signal): Use match function instead of strstr.
57996         * debug/tst-backtrace5.c: Include tst-backtrace.h.
57997         (ret): Remove variable.
57998         (x): Likewise.
57999         (FAIL): Remove macro.
58000         (NO_INLINE): Likewise.
58001         (handle_signal): Use match function instead of strstr.
58003 2013-01-23  Roland McGrath  <roland@hack.frob.com>
58005         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
58007 2013-01-23  David S. Miller  <davem@davemloft.net>
58009         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
58010         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
58011         argument of CAS if possible.
58012         * sysdeps/sparc/sparc64/bits/atomic.h
58013         (__arch_compare_and_exchange_val_32_acq): Likewise.
58014         (__arch_compare_and_exchange_val_64_acq): Likewise.
58016 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
58018         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
58019         * sysdeps/posix/ulimit.c: ... this.
58020         Include <limits.h>.
58021         * sysdeps/unix/bsd/ulimit.c: Remove file.
58023 2013-01-23  Adam Conrad  <adconrad@0c3.net>
58025         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
58026         (LDFLAGS-tst-array5): Likewise.
58028 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
58030         [BZ #15036]
58031         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
58032         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
58033         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
58034         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
58036 2013-01-21  David S. Miller  <davem@davemloft.net>
58038         * sysdeps/sparc/backtrace.c: New file.
58039         * sysdeps/sparc/sparc32/backtrace.h: New file.
58040         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
58041         * sysdeps/sparc/sparc64/backtrace.h: New file.
58042         * sysdeps/sparc/sparc64/backtrace.c: Delete.
58043         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
58044         -funwind-tables.
58046 2013-01-21  Andreas Schwab  <schwab@suse.de>
58048         [BZ #15020]
58049         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
58050         closed its stdout.
58052 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
58054         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
58055         "mpa2.h".
58056         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
58058 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
58059             Mark Mitchell  <mark@codesourcery.com>
58060             Tom de Vries  <tom@codesourcery.com>
58061             Paul Pluzhnikov  <ppluzhnikov@google.com>
58063         * debug/tst-backtrace2.c: New file.
58064         * debug/tst-backtrace3.c: Likewise.
58065         * debug/tst-backtrace4.c: Likewise.
58066         * debug/tst-backtrace5.c: Likewise.
58067         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
58068         (CFLAGS-tst-backtrace3.c): Likewise.
58069         (CFLAGS-tst-backtrace4.c): Likewise.
58070         (CFLAGS-tst-backtrace5.c): Likewise.
58071         (LDFLAGS-tst-backtrace2): Likewise.
58072         (LDFLAGS-tst-backtrace3): Likewise.
58073         (LDFLAGS-tst-backtrace4): Likewise.
58074         (LDFLAGS-tst-backtrace5): Likewise.
58075         (tests): Add new tests tst-backtrace2, tst-backtrace3,
58076         tst-backtrace4 and tst-backtrace5.
58078 2013-01-18  Anton Blanchard  <anton@samba.org>
58079             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58081         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
58082         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
58083         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
58084         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
58085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
58086         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
58087         "+r" and remove output regs list as redundant.  Add explicit inline
58088         asm to specify register of return val to work around compiler codegen
58089         bug.  Remove (int) cast on return value.  Add return type parameter to
58090         use in macro so that this macro does not truncate return value for
58091         64-bit values.
58092         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
58093         pass to INTERNAL_VSYSCALL_NCS.
58094         (INLINE_VSYSCALL): Add 'long int' as return type to
58095         INTERNAL_VSYSCALL_NCS macro invocation.
58096         (INTERNAL_VSYSCALL): Add 'long int' as return type to
58097         INTERNAL_VSYSCALL_NCS macro invocation.
58098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
58100 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
58102         [BZ #14496]
58103         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
58104         Fix application of SIMD FP exception mask.
58106         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
58107         mp_no from a power of two.
58108         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
58109         __mpexp_twomm1.  Use __pow_mp.
58111         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
58112         multiplication.
58114 2013-01-17  David S. Miller  <davem@davemloft.net>
58116         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58118 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
58120         [BZ #15023]
58121         * include/complex.h: Condition contents on [!_COMPLEX_H].
58122         (__kernel_casinhf): New prototype.
58123         (__kernel_casinh): Likewise.
58124         (__kernel_casinhl): Likewise.
58125         * math/Makefile (libm_calls): Add k_casinh.
58126         * math/k_casinh.c: New file.
58127         * math/k_casinhf.c: Likewise.
58128         * math/k_casinhl.c: Likewise.
58129         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
58130         finite nonzero arguments.
58131         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
58132         finite nonzero arguments.
58133         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
58134         finite nonzero arguments.
58135         * math/s_casinh.c: Do not include <float.h>.
58136         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
58137         * math/s_casinhf.c: Do not include <float.h>.
58138         (__casinhf): Move code for finite nonzero arguments to
58139         k_casinhf.c.
58140         * math/s_casinhl.c: Do not include <float.h>.
58141         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
58142         redefine.
58143         (__casinhl): Move code for finite nonzero arguments to
58144         k_casinhl.c.
58145         * math/libm-test.inc (cacos_test): Add more tests.
58146         * sysdeps/i386/fpu/libm-test-ulps: Update.
58147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58149 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
58151         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
58152         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
58153         [!HAVE_MREMAP]: Remove [defined linux] case.
58154         * malloc/arena.c: Do not include <malloc-sysdep.h>.
58156 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
58158         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
58160 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
58162         * elf/elf.h (R_386_SIZE32): New relocation.
58163         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
58164         R_386_SIZE32.
58165         (elf_machine_rela): Likewise.
58166         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
58167         R_X86_64_SIZE64 and R_X86_64_SIZE32.
58169 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
58171         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
58172         (FP_FAST_FMA): Do not define.
58173         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
58174         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
58175         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
58176         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
58177         !_SOFT_FLOAT]: Likewise.
58178         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
58179         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
58180         value.
58181         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
58182         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
58183         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
58184         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
58185         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
58186         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
58187         file.
58189 2013-01-16  Andreas Schwab  <schwab@suse.de>
58191         [BZ #14327]
58192         * include/stdlib.h (__mktemp): Add declaration.
58193         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
58194         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
58196 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58198         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
58199         definitions.
58200         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
58201         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
58202         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
58203         definitions here.
58204         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
58205         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
58206         definitions.
58207         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
58208         and ONE.
58209         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
58210         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
58211         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
58212         definitions.
58213         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
58214         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
58215         definitions.
58216         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
58218         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
58220 2013-01-15  David S. Miller  <davem@davemloft.net>
58222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
58223         trunc{,f} to libm-sysdep_routes.
58224         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
58225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
58226         file.
58227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
58228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
58229         file.
58230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
58231         file.
58232         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
58233         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
58234         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
58235         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
58236         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
58237         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
58238         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
58239         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
58241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
58242         nearbyint{,f} to libm-sysdep_routes.
58243         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
58244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
58245         New file.
58246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
58247         file.
58248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
58249         New file.
58250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
58251         file.
58252         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
58253         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
58254         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
58255         file.
58256         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
58257         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
58258         file.
58259         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
58260         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
58261         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
58263         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
58264         libc_feholdexcept and libc_fesetenv.
58266 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
58268         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
58270 2013-01-14  David S. Miller  <davem@davemloft.net>
58272         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
58273         (SPARC_ASM_VIS2_IFUNC): Likewise.
58274         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
58275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
58276         use of 'siam' instruction.
58277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
58278         Likewise.
58279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
58280         Likewise.
58281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
58282         Likewise.
58283         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
58284         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
58285         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
58286         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
58287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
58288         file.
58289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
58290         file.
58291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
58292         file.
58293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
58294         file.
58295         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
58296         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
58297         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
58298         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
58299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
58300         new VIS2 routines.
58301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
58302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
58303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
58304         Likewise.
58305         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
58306         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
58307         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
58308         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
58309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
58310         routines to libm-sysdep_routines.
58311         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
58313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
58314         fdim/fdimf to libm-sysdep_routines.
58315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
58316         file.
58317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
58318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
58319         file.
58320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
58321         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
58322         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
58323         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
58324         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
58325         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
58326         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
58328 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
58330         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
58331         to optimize copies.
58333         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
58334         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
58335         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
58337         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
58338         local variable MPTWO.
58339         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
58340         Likewise.
58342 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
58344         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
58345         GLOB_NOESCAPE.
58347 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
58349         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
58351 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
58353         * manual/pattern.texi (glob_t): Document gl_flags.
58354         (glob64_t): Likewise.
58356 2013-01-11  David S. Miller  <davem@davemloft.net>
58358         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
58359         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
58360         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
58361         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
58362         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
58363         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
58364         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
58365         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
58366         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
58367         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
58368         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
58369         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
58370         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
58372         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
58373         sparc V9 rather than using V8 code.
58374         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
58375         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
58377         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
58378         Move to...
58379         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
58380         Here.
58382 2013-01-11  Roland McGrath  <roland@hack.frob.com>
58384         [BZ #14941]
58385         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
58386         not in the main loop.
58387         * configure: Regenerated.
58389 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
58391         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
58392         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
58393         to just #else.
58394         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
58395         [!__GLIBC_HAVE_LONG_LONG] case.
58396         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
58397         condition to just #else.
58398         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
58399         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
58400         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
58401         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
58402         unconditional.
58403         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
58404         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
58405         #elif condition to just #else.
58406         * sysdeps/unix/sysv/linux/sys/sysmacros.h
58407         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
58408         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
58409         #elif condition to just #else.
58411 2013-01-11  Steve Ellcey  <sellcey@mips.com>
58413         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
58414         (EF_MIPS_ARCH_64): Fix value.
58415         (EF_MIPS_ARCH_32R2): New.
58416         (EF_MIPS_ARCH_64R2): New.
58418 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
58420         * Makeconfig (+link-pie-before-libc): New.
58421         (+link-pie-after-libc): Likewise.
58422         (+link-pie-tests): Likewise.
58423         (+link-pie): Rewritten.
58424         (link-before-libc): Remove $(config-LDFLAGS).
58425         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
58426         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
58427         (config-LDFLAGS): Renamed to ...
58428         (rtld-LDFLAGS): This.
58429         (rtld-tests-LDFLAGS): New macro.
58430         (link-libc-rpath-link): Likewise.
58431         (link-libc-tests-rpath-link): Likewise.
58432         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
58433         (link-libc): Prepand $(link-libc-rpath-link).
58434         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
58435         (test-program-prefix): New macro.
58436         (test-via-rtld-prefix): Likewise.
58437         (test-program-cmd): Likewise.
58438         (host-test-program-cmd): Likewise.
58439         * Makefile ($(common-objpfx)testrun.sh): Replace
58440         $(run-program-prefix) with $(test-program-prefix).
58441         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
58442         $(rtld-LDFLAGS).
58443         ($(common-objpfx)shlib.lds): Likewise.
58444         (build-module-helper): Likewise.
58445         ($(common-objpfx)format.lds): Likewise.
58446         * Rules (binaries-pie-tests): New.
58447         (binaries-pie-notests): Likewise.
58448         (binaries-pie): Rewritten.
58449         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
58450         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
58451         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
58452         (make-test-out): Replace $(host-built-program-cmd) with
58453         $(host-test-program-cmd).
58454         * config.make.in (build-hardcoded-path-in-tests): New variable.
58455         * configure.in (--enable-hardcoded-path-in-tests): New configure
58456         option.
58457         (hardcoded_path_in_tests): New AC_SUBST.
58458         * configure: Regenerated.
58459         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
58460         $(built-program-cmd) with $(test-program-cmd).
58461         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
58462         (test_program_cmd): This.
58463         * elf/Makefile ($(objpfx)order.out): Run test with
58464         $(test-program-prefix).
58465         ($(objpfx)order2.out): Likewise.
58466         ($(objpfx)tst-initorder.out): Likewise.
58467         ($(objpfx)tst-initorder2.out): Likewise.
58468         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
58469         $(test-program-cmd).
58470         ($(objpfx)tst-array1-static.out): Likewise.
58471         ($(objpfx)tst-array2.out): Likewise.
58472         ($(objpfx)tst-array3.out): Likewise.
58473         ($(objpfx)tst-array4.out): Likewise.
58474         ($(objpfx)tst-array5.out): Likewise.
58475         ($(objpfx)tst-array5-static.out): Likewise.
58476         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
58477         $(test-program-cmd).
58478         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
58479         $(run-program-prefix) with $(test-program-prefix).
58480         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
58481         (test_program_prefix): This.
58482         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
58483         $(run-program-prefix) with $(test-program-prefix).
58484         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
58485         (test_program_prefix): This.
58486         * iconvdata/tst-tables.sh: Likewise.
58487         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
58488         $(run-program-prefix) with $(test-program-prefix).
58489         ($(objpfx)tst-translit.out): Likewise.
58490         ($(objpfx)tst-gettext2.out): Likewise.
58491         ($(objpfx)tst-gettext4.out): Likewise.
58492         ($(objpfx)tst-gettext6.out): Likewise.
58493         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
58494         (test_program_prefix): This.
58495         * intl/tst-gettext2.sh: Likewise.
58496         * intl/tst-gettext4.sh  Likewise.
58497         * intl/tst-gettext6.sh: Likewise.
58498         * intl/tst-translit.sh: Likewise.
58499         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
58500         with $(test-program-cmd).
58501         * libio/Makefile ($(objpfx)test-freopen.out): Replace
58502         $(run-program-prefix) with $(test-program-prefix).
58503         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
58504         (test_program_prefix): This.
58505         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
58506         $(run-program-prefix) with $(test-program-prefix).
58507         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
58508         (test_program_prefix): This.
58509         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
58510         * posix/Makefile ($(objpfx)globtest.out): Replace
58511         $(run-via-rtld-prefix) and $(test-wrapper) with
58512         $(test-program-prefix) and $(test-via-rtld-prefix).
58513         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
58514         $(test-program-prefix).
58515         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
58516         $(host-test-program-cmd).
58517         (tst-spawn-ARGS): Likewise.
58518         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
58519         $(test-program-prefix).
58520         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
58521         (test_via_rtld_prefix): This.
58522         (test_wrapper): Renamed to ...
58523         (test_program_prefix): This.
58524         (run_program_prefix): Replaced by test_program_prefix.
58525         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
58526         (test_program_prefix): This.
58527         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
58528         with $(host-test-program-cmd).
58529         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
58530         $(run-program-prefix) with $(test-program-prefix).
58531         ($(objpfx)tst-printf.out): Likewise.
58532         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
58533         $(test-program-cmd).
58534         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
58535         (test_program_prefix): This.
58536         * stdio-common/tst-unbputc.sh: Likewise.
58537         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
58538         $(run-program-prefix) with $(test-program-prefix).
58539         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
58540         (test_program_prefix): This.
58541         * string/Makefile ($(objpfx)tst-svc.out):  Replace
58542         $(built-program-cmd) with $(test-program-cmd).
58544 2013-01-11  Andreas Jaeger  <aj@suse.de>
58546         [BZ #15003]
58547         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
58548         value. Sync with Linux 3.7.
58550 2013-01-10  David S. Miller  <davem@davemloft.net>
58552         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
58553         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
58554         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
58556 2013-01-10  Roland McGrath  <roland@hack.frob.com>
58558         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
58559         never set.
58560         * configure: Regenerated.
58562 2013-01-10  David S. Miller  <davem@davemloft.net>
58564         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
58565         sparc V9 rather than using V8 code.
58566         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
58567         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
58569 2013-01-10  Roland McGrath  <roland@hack.frob.com>
58571         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
58572         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
58573         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
58574         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
58575         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
58576         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
58577         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
58578         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
58579         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
58580         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
58581         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
58582         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
58583         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
58584         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
58585         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
58586         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
58587         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
58588         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
58589         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
58590         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
58591         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
58592         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
58593         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
58594         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
58595         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
58596         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
58597         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
58599 2013-01-10  David S. Miller  <davem@davemloft.net>
58601         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58603 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
58605         * posix/Makefile (tests-static): New variable.
58606         (tests): Add $(tests-static).
58607         (tst-exec-static-ARGS): New variable.
58608         (tst-spawn-static-ARGS): Likewise.
58609         * posix/tst-exec-static.c: New file.
58610         * posix/tst-spawn-static.c: Likewise.
58611         * posix/tst-exec.c: Support run directly.
58612         * posix/tst-spawn.c: Likewise.
58614 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
58616         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
58617         long.
58618         * math/bits/mathcalls.h (llrint): Likewise.
58619         (llround): Likewise.
58620         * stdlib/stdlib.h (struct drand48_data): Likewise.
58621         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
58622         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
58623         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
58624         Likewise.
58625         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
58626         Likewise.
58627         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
58628         (elf_greg_t): Likewise.
58629         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
58630         (__jmp_buf): Likewise.
58631         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
58632         definitions.
58633         (llrint): Likewise, for all definitions.
58634         (llrintl): Likewise.
58636         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
58637         Remove [__GNUC__] condition.
58638         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
58639         condition to just [__USE_ISOC99].
58640         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
58642 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
58644         [BZ #14200]
58645         * sysdeps/unix/sysv/linux/x86/bits/environments.h
58646         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
58647         defined.
58648         (_POSIX_V6_ILP32_OFF32): Likewise.
58649         (_XBS5_ILP32_OFF32): Likewise.
58650         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
58651         (__ILP32_OFFBIG_LDFLAGS): Likewise.
58653 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
58655         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
58657         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
58658         doubles __mpexp_twomm1.  Adjust usage.
58659         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
58660         Remove.
58662 2013-01-10  Andreas Schwab  <schwab@suse.de>
58664         [BZ #14964]
58665         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
58666         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
58668 2013-01-09  David S. Miller  <davem@davemloft.net>
58670         [BZ #15003]
58671         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
58672         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
58673         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
58674         (TCP_FASTOPEN): Define.
58675         (tcp_repair_opt): New structure.
58676         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
58677         enum values.
58678         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
58679         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
58680         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
58681         (tcp_cookie_transactions): New structure.
58683 2013-01-09  Anton Blanchard  <anton@samba.org>
58685         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
58686         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
58687         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
58688         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
58690 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
58692         * include/features.h (__USE_ANSI): Remove.
58694 2013-01-09  Roland McGrath  <roland@hack.frob.com>
58696         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
58698         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
58700 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
58702         * sysdeps/s390/fpu/libm-test-ulps: Update.
58704         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58706         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
58707         (__acr): Likewise.
58708         (__cpy): Likewise.
58709         (norm): Likewise.
58710         (denorm): Likewise.
58711         (__mp_dbl): Likewise.
58712         (__dbl_mp): Likewise.
58713         (add_magnitudes): Likewise.
58714         (sub_magnitudes): Likewise.
58715         (__add): Likewise.
58716         (__sub): Likewise.
58717         (__mul): Likewise.
58718         (__inv): Likewise.
58719         (__dvd): Likewise.
58720         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
58721         (__acr): Likewise.
58722         (__cpy): Likewise.
58723         (norm): Likewise.
58724         (denorm): Likewise.
58725         (__mp_dbl): Likewise.
58726         (__dbl_mp): Likewise.
58727         (add_magnitudes): Likewise.
58728         (sub_magnitudes): Likewise.
58729         (__add): Likewise.
58730         (__sub): Likewise.
58731         (__mul): Likewise.
58732         (__inv): Likewise.
58733         (__dvd): Likewise.
58734         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
58735         (__acr): Likewise.
58736         (__cpy): Likewise.
58737         (norm): Likewise.
58738         (denorm): Likewise.
58739         (__mp_dbl): Likewise.
58740         (__dbl_mp): Likewise.
58741         (add_magnitudes): Likewise.
58742         (sub_magnitudes): Likewise.
58743         (__add): Likewise.
58744         (__sub): Likewise.
58745         (__mul): Likewise.
58746         (__inv): Likewise.
58747         (__dvd): Likewise.
58749 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
58751         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
58752         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
58753         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
58754         2 && __USE_EXTERN_INLINES]: Likewise.
58756 2013-01-08  Andreas Jaeger  <aj@suse.de>
58758         [BZ# 14985]
58759         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
58760         Remove.
58761         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
58762         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
58764 2013-01-07  Anton Blanchard  <anton@samba.org>
58766         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
58767         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
58768         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
58769         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
58770         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
58771         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
58772         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
58773         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
58774         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
58775         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
58776         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
58777         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
58778         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
58779         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
58780         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
58781         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
58782         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
58783         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
58784         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
58785         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
58786         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
58787         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
58788         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
58789         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
58790         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
58791         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
58792         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
58793         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
58794         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
58795         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
58796         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
58797         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
58798         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
58799         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
58800         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
58801         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
58802         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
58803         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
58804         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
58805         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
58806         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
58807         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58808         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
58810 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
58812         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
58813         (__MALLOC_PMT): Likewise.
58814         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
58815         [__GNUC__], only on [_LIBC].
58816         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
58817         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
58818         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
58819         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
58820         forward declaration.
58821         (realloc_hook_ini): Likewise.
58822         (memalign_hook_ini): Likewise.
58823         (__libc_memalign): Do not use __MALLOC_PMT in variable
58824         declaration.
58825         (__libc_valloc): Likewise.
58826         (__libc_pvalloc): Likewise.
58827         (__libc_calloc): Likewise.
58828         (__posix_memalign): Likewise.
58830         [BZ #14996]
58831         * math/s_casinh.c: Include <float.h>.
58832         (__casinh): Do not do computation with squaring and square root
58833         for large arguments.
58834         * math/s_casinhf.c: Include <float.h>.
58835         (__casinhf): Do not do computation with squaring and square root
58836         for large arguments.
58837         * math/s_casinhl.c: Include <float.h>.
58838         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
58839         (__casinhl): Do not do computation with squaring and square root
58840         for large arguments.
58841         * math/libm-test.inc (casin_test): Add more tests.
58842         (casinh_test): Likewise.
58843         * sysdeps/i386/fpu/libm-test-ulps: Update.
58844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58846 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
58848         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
58849         (__x86_64_raw_data_cache_size): Likewise.
58850         (__x86_64_data_cache_size_half): Likewise.
58851         (__x86_64_raw_data_cache_size_half): Likewise.
58852         (__x86_64_shared_cache_size): Likewise.
58853         (__x86_64_raw_shared_cache_size): Likewise.
58854         (__x86_64_shared_cache_size_half): Likewise.
58855         (__x86_64_raw_shared_cache_size_half): Likewise.
58856         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
58857         to ...
58858         (__x86_data_cache_size): This.
58859         (__x86_64_raw_data_cache_size): Renamed to ...
58860         (__x86_raw_data_cache_size): This.
58861         (__x86_64_data_cache_size_half): Renamed to ...
58862         (__x86_data_cache_size_half): This.
58863         (__x86_64_raw_data_cache_size_half): Renamed to ...
58864         (__x86_raw_data_cache_size_half): This.
58865         (__x86_64_shared_cache_size): Renamed to ...
58866         (__x86_shared_cache_size): This.
58867         (__x86_64_raw_shared_cache_size): Renamed to ...
58868         (__x86_raw_shared_cache_size): This.
58869         (__x86_64_shared_cache_size_half): Renamed to ...
58870         (__x86_shared_cache_size_half): This.
58871         (__x86_64_raw_shared_cache_size_half): Renamed to ...
58872         (__x86_raw_shared_cache_size_half): This.
58873         * sysdeps/x86_64/memcpy.S: Updated.
58874         * sysdeps/x86_64/memset.S: Likewise.
58875         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
58876         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
58877         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
58879 2013-01-04  David S. Miller  <davem@davemloft.net>
58881         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58883 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
58885         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
58886         1 to avoid redefinition warning.
58887         (__USE_GNU): Don't define.
58888         (init_signaling_nan): Protoize.
58890         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58892 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
58894         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
58895         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
58896         (__cpymn): Likewise.
58897         (norm): Remove commented code.
58898         (denorm): Likewise.
58899         (__mp_dbl): Likewise.
58900         (__inv): Likewise.
58901         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
58902         (__cpymn): Likewise.
58903         (norm): Remove commented code.
58904         (denorm): Likewise.
58905         (__mp_dbl): Likewise.
58906         (__inv): Likewise.
58908         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
58909         mp_no value for 1.0 and 2.0.
58910         (norm): Use RADIXI instead of radixi.d.
58911         (denorm): Likewise.
58912         (__mul): Use 0.0 instead of zero.d.
58913         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
58914         mp_no value for 1.0 and 2.0.
58915         (norm): Use RADIXI instead of radixi.d.
58916         (denorm): Likewise.
58917         (__mul): Use 0.0 instead of zero.d.
58919 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
58921         [BZ #14994]
58922         * math/s_casinh.c (__casinh): Reduce finite argument to first
58923         quadrant then set signs of results at the end.
58924         * math/s_casinhf.c (__casinhf): Likewise.
58925         * math/s_casinhl.c (__casinhl): Likewise.
58926         * math/libm-test.inc (casin_test): Add more tests.
58927         (casinh_test): Likewise.
58928         * sysdeps/i386/fpu/libm-test-ulps: Update.
58929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58931 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
58933         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
58935         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
58937         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
58938         declarations.
58939         (denorm): Likewise.
58940         (__mp_dbl): Likewise.
58941         (__inv): Likewise.
58943         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
58944         and adjust the header comment.
58946         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
58947         variable name from declaration.
58949 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
58951         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58952         Initialize COMMON_CPUID_INDEX_7 element.
58953         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
58954         (CPUID_RTM): Likewise.
58955         (HAS_RTM): Likewise.
58956         (COMMON_CPUID_INDEX_7): New enum.
58958 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
58960         [BZ #14981]
58961         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
58962         size is zero, record memory as freed.
58964 2013-01-03  Andreas Jaeger  <aj@suse.de>
58966         * po/ia.po: Add new Interlingua translation.
58968 2012-01-03  Allan McRae  <allan@archlinux.org>
58970         * locale/programs/localedef.c: Fix description of '--posix' flag.
58972 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
58974         * NEWS: Update dates in second copyright notice.
58975         * README: Update copyright dates in example.
58976         * manual/libc.texinfo: Update copyright dates.
58977         * scripts/test-installation.pl: Update copyright date in --version
58978         output.
58980         * hurd/ctty-input.c: Fix copyright notice formatting.
58981         * hurd/ctty-output.c: Likewise.
58982         * hurd/dtable.c: Likewise.
58983         * hurd/hurd-raise.c: Likewise.
58984         * hurd/hurdprio.c: Likewise.
58985         * hurd/msgportdemux.c: Likewise.
58986         * misc/sys/file.h: Likewise.
58987         * misc/sys/ioctl.h: Likewise.
58988         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
58989         * sysdeps/mach/hurd/chdir.c: Likewise.
58990         * sysdeps/mach/hurd/fchdir.c: Likewise.
58991         * sysdeps/mach/hurd/rename.c: Likewise.
58992         * sysdeps/mach/hurd/rmdir.c: Likewise.
58993         * sysdeps/mach/hurd/seekdir.c: Likewise.
58994         * sysdeps/mach/hurd/setsid.c: Likewise.
58995         * sysdeps/posix/wait3.c: Likewise.
58997         * All files with FSF copyright notices: Update copyright dates
58998         using scripts/update-copyrights.
58999         * intl/plural.c: Regenerated.
59000         * locale/programs/charmap-kw.h: Likewise.
59001         * locale/programs/locfile-kw.h: Likewise.
59003 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
59005         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
59006         four values.
59008         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
59009         calculation loop and add branch prediction.
59011         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
59012         check access beyond bounds of m1np.
59014         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
59015         MPTWO.
59016         (__inv): Remove local variable MPTWO to use the global
59017         constant.
59018         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
59019         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
59020         variable MPTWO.
59021         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
59022         MP3HALFS static const.
59024 2013-01-01  David S. Miller  <davem@davemloft.net>
59026         * po/ca.po: Update from translation team.
59028 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
59030         * scripts/update-copyrights: New file.
59031         * Makeconfig: Reformat copyright notice.
59032         * ctype/ctype.h: Likewise.
59033         * debug/swprintf_chk.c: Likewise.
59034         * elf/dl-cache.c: Likewise.
59035         * elf/dl-debug.c: Likewise.
59036         * elf/dl-object.c: Likewise.
59037         * grp/initgroups.c: Likewise.
59038         * hurd/Makefile: Likewise.
59039         * hurd/hurd/signal.h: Likewise.
59040         * hurd/hurdfault.c: Likewise.
59041         * hurd/hurdioctl.c: Likewise.
59042         * hurd/hurdlookup.c: Likewise.
59043         * hurd/intr-msg.c: Likewise.
59044         * iconv/gconv_open.c: Likewise.
59045         * libio/swprintf.c: Likewise.
59046         * locale/lc-ctype.c: Likewise.
59047         * locale/nl_langinfo.c: Likewise.
59048         * mach/Machrules: Likewise.
59049         * mach/Makefile: Likewise.
59050         * malloc/obstack.h: Likewise.
59051         * manual/Makefile: Likewise.
59052         * manual/tsort.awk: Likewise.
59053         * misc/bits/stab.def: Likewise.
59054         * nis/nis_print_group_entry.c: Likewise.
59055         * nis/nis_table.c: Likewise.
59056         * nis/nss_compat/compat-pwd.c: Likewise.
59057         * nis/nss_compat/compat-spwd.c: Likewise.
59058         * po/Makefile: Likewise.
59059         * posix/fnmatch.c: Likewise.
59060         * posix/regex.h: Likewise.
59061         * resolv/Makefile: Likewise.
59062         * resolv/nss_dns/dns-network.c: Likewise.
59063         * resolv/res_hconf.c: Likewise.
59064         * scripts/gen-sorted.awk: Likewise.
59065         * soft-fp/soft-fp.h: Likewise.
59066         * stdio-common/printf.h: Likewise.
59067         * stdlib/monetary.h: Likewise.
59068         * stdlib/random.c: Likewise.
59069         * stdlib/random_r.c: Likewise.
59070         * sysdeps/generic/Makefile: Likewise.
59071         * sysdeps/gnu/Makefile: Likewise.
59072         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
59073         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59074         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
59075         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59076         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59077         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59078         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59079         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
59080         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59081         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59082         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
59083         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
59084         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
59085         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
59086         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
59087         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
59088         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
59089         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59090         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59091         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59092         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
59093         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
59094         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
59095         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
59096         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
59097         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
59098         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
59099         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
59100         * sysdeps/mach/hurd/errnos.awk: Likewise.
59101         * sysdeps/mach/hurd/fork.c: Likewise.
59102         * sysdeps/mach/hurd/getcwd.c: Likewise.
59103         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
59104         * sysdeps/mach/hurd/mmap.c: Likewise.
59105         * sysdeps/mach/hurd/utimes.c: Likewise.
59106         * sysdeps/mach/hurd/xmknod.c: Likewise.
59107         * sysdeps/posix/profil.c: Likewise.
59108         * sysdeps/posix/readdir_r.c: Likewise.
59109         * sysdeps/powerpc/bits/mathdef.h: Likewise.
59110         * sysdeps/powerpc/bits/setjmp.h: Likewise.
59111         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
59112         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
59113         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
59114         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
59115         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
59116         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
59117         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59118         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
59119         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
59120         * sysdeps/pthread/lio_listio.c: Likewise.
59121         * sysdeps/sparc/dl-procinfo.h: Likewise.
59122         * sysdeps/unix/i386/sysdep.S: Likewise.
59123         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
59124         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
59125         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
59126         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
59127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
59128         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
59129         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
59130         * sysdeps/unix/sysv/linux/speed.c: Likewise.
59131         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
59132         * sysdeps/wordsize-32/divdi3.c: Likewise.
59133         * time/sys/time.h: Likewise.
59134         * wcsmbs/Makefile: Likewise.
59136 2013-01-01  David S. Miller  <davem@davemloft.net>
59138         * po/fr.po: Update from translation team.
59140         * catgets/gencat.c: Update copyright year.
59141         * csu/version.c: Likewise.
59142         * debug/catchsegv.sh: Likewise.
59143         * debug/pcprofiledump.c: Likewise.
59144         * debug/xtrace.sh: Likewise.
59145         * elf/ldconfig.c: Likewise.
59146         * elf/ldd.bash.in: Likewise.
59147         * elf/pldd.c: Likewise.
59148         * elf/sotruss.ksh: Likewise.
59149         * elf/sprof.c: Likewise.
59150         * iconv/iconv_prog.c: Likewise.
59151         * iconv/iconvconfig.c: Likewise.
59152         * locale/programs/locale.c: Likewise.
59153         * locale/programs/localedef.c: Likewise.
59154         * login/programs/pt_chown.c: Likewise.
59155         * malloc/memusage.sh: Likewise.
59156         * malloc/memusagestat.c: Likewise.
59157         * malloc/mtrace.pl: Likewise.
59158         * nscd/nscd.c: Likewise.
59159         * nss/getent.c: Likewise.
59160         * nss/makedb.c: Likewise.
59161         * posix/getconf.c: Likewise.
59163 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
59165         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
59166         numbers.
59168 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
59170         * math/bits/mathcalls.h (modf): Use __nonnull.
59172 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
59174         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
59175         (split): Use macro CN instead of the bare value.
59176         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
59177         could be used.
59178         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
59179         instead of the bare value.
59180         (power1): Likewise.
59182 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59184         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
59185         __ATAN_TWOM.
59186         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
59188         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
59189         their values.
59190         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
59191         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
59192         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
59193         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
59195 2012-12-28  Andreas Jaeger  <aj@suse.de>
59197         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
59198         values are from Linux 3.7.
59200         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
59201         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
59203 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59205         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
59206         TRUE case.
59208         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
59209         (norm): Likewise.
59210         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
59211         variables with preprocessor constants.
59212         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
59213         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
59214         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
59216 2012-12-27  Bruno Haible  <bruno@clisp.org>
59218         [BZ #14317]
59219         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
59220         only if needed.
59222 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
59224         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
59225         and use variable directly.
59226         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
59228         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
59229         MPONE.
59230         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
59231         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
59232         variable MPONE.
59233         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
59234         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
59235         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
59236         include directive.  Remove local variable MPONE.
59237         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
59238         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
59239         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
59241 2012-12-25  David S. Miller  <davem@davemloft.net>
59243         * version.h (RELEASE): Set to "development".
59244         (VERSION): Set to "2.17.90".
59245         * NEWS: Add 2.18 section.
59247 2012-12-21  David S. Miller  <davem@davemloft.net>
59249         * po/hr.po: Update from translation team.
59251 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59253         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
59255 2012-12-19  Steve Ellcey  <sellcey@mips.com>
59257         * NEWS:  Mention new memcpy for MIPS.
59259 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59261         * manual/contrib.texi (Contributors): Spelling correction.
59263 2012-12-15  David S. Miller  <davem@davemloft.net>
59265         * po/ru.po: Update from translation team.
59267 2012-12-13  David S. Miller  <davem@davemloft.net>
59269         * NEWS: Mention IFUNC testsuite enhancements.
59271         * po/pl.po: Update from translation team.
59272         * po/bg.po: Likewise.
59274         * manual/contrib.texi (Contributors): Update entries for Hongjiu
59275         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
59277 2012-12-11  David S. Miller  <davem@davemloft.net>
59279         * po/sv.po: Update from translation team.
59281         * po/vi.po: Update from translation team.
59283         * po/cs.po: Update from translation team.
59285         * po/de.po: Update from translation team.
59286         * po/eo.po: Likewise.
59287         * po/nl.po: Likewise.
59289 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59291         [BZ #14246]
59292         * manual/argp.texi (Argp Helper Functions): Move node to follow
59293         Argp Parsing State.
59295         [BZ #14872]
59296         * manual/conf.texi (Limits on File System Capacity): Mention if
59297         terminating null is included in the max size.
59299 2012-12-10  Andreas Jaeger  <aj@suse.de>
59301         * po/cs.po: Update from translation team.
59303 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
59305         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
59306         void pointer and cast to uintptr_t.
59307         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
59308         path.
59309         * sysdeps/s390/s390-64/memcpy.S: Likewise.
59310         * sysdeps/s390/s390-64/memset.S: Likewise.
59312 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
59314         [BZ #14833]
59315         * menual/message.texi (Message Translation): Fix typos.
59316         (Helper programs for gettext): Likewise.
59318 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
59320         [BZ #14898]
59321         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
59322         Change to -1.
59324 2012-12-07  David S. Miller  <davem@davemloft.net>
59326         * po/libc.pot: Update.
59328 2012-12-07  Richard Henderson  <rth@redhat.com>
59330         [BZ #10114]
59331         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
59332         normal/normal case to before the switch.
59333         (_FP_DIV): Likewise.
59335 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
59336             Mike Frysinger  <vapier@gentoo.org>
59338         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
59339         check for __NR_fadvise64_64.
59341 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
59343         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
59344         0, not just to plain "0" as a statement.
59345         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
59346         with cw.
59348 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
59350         * NEWS: Use sourceware.org in Bugzilla URL.
59352 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
59354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
59355         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
59357         * stdio-common/tst-put-error.c (do_test): Add newline to the
59358         padded test to ensure flush.
59360 2012-12-05  Jeff Law  <law@redhat.com>
59362         * sunrpc/etc.rpc (fedfs_admin): Add entry.
59364 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
59366         * README: Don't refer to ports add-on as distributed separately.
59367         Mention AArch64 in list of systems supported in the ports add-on.
59369         * LICENSES: Add more non-FSF copyright and license notices.
59371         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
59372         ((unused)).
59374         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
59376         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
59377         10000 as width of padded output.
59379 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
59381         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
59383         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
59384         variable LX with __attribute__ ((unused)).
59385         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
59386         Likewise.
59387         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
59388         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
59389         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
59390         with __attribute__ ((unused)).
59392 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
59394         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
59396 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
59398         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
59399         (CFLAGS-nldbl-acos.c): New variable.
59400         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
59401         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
59402         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
59403         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
59404         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
59405         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
59406         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
59407         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
59408         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
59409         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
59410         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
59411         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
59412         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
59413         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
59414         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
59415         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
59416         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
59417         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
59418         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
59419         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
59420         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
59421         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
59422         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
59423         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
59424         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
59425         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
59426         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
59427         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
59428         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
59429         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
59430         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
59431         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
59432         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
59433         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
59434         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
59435         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
59436         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
59437         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
59438         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
59439         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
59440         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
59441         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
59442         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
59443         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
59444         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
59445         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
59446         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
59447         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
59448         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
59449         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
59450         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
59451         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
59452         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
59453         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
59454         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
59455         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
59456         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
59457         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
59458         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
59459         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
59460         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
59461         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
59462         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
59463         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
59464         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
59465         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
59466         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
59467         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
59468         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
59469         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
59470         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
59471         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
59472         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
59473         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
59474         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
59475         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
59476         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
59477         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
59478         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
59479         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
59480         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
59481         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
59482         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
59483         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
59484         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
59485         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
59486         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
59487         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
59488         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
59489         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
59490         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
59491         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
59492         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
59493         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
59494         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
59495         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
59496         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
59498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
59499         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
59501         [BZ #14914]
59502         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
59503         whole low double instead of just low 47 bits when splitting values
59504         into two parts.
59506 2012-12-03  Allan McRae  <allan@archlinux.org>
59508         * manual/stdio.texi (Predefined Printf Handlers): Remove
59509         @hsep and @vsep usage.
59511 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
59513         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
59514         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
59516 2012-12-03  Jeff Law  <law@redhat.com>
59518         * time/sys/time.h (settimeofday): Do not mark TV argument
59519         as __nonnull.
59521 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
59523         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
59524         when currently writing and seek to current position when not.
59525         * libio/Makefile (tests): Remove bug-fclose1.
59526         * libio/bug-fclose1.c: Delete.
59528 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
59530         * manual/arith.texi (feenableexcept): Fix typo.
59531         (fedisableexcept): Likewise.
59533 2012-11-30  Roland McGrath  <roland@hack.frob.com>
59535         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
59536         second, differently-typed declaration, rather than a cast.
59538 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
59540         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
59541         * include/rpc/svc.h: ... here.
59543 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
59545         [BZ #13013]
59546         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
59547         depending n and resplen2 to catch cases where answer
59548         equals answerp2.
59550 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
59552         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
59553         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
59555 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
59557         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
59559 2012-11-29  Roland McGrath  <roland@hack.frob.com>
59561         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
59563 2012-11-28  Jeff Law  <law@redhat.com>
59565         [BZ #13761]
59566         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
59567         dataset_temporary.  Track alloca usage into alloca_used.
59568         If dataset is large allocate and release it via malloc/free.
59570 2012-06-04  Florian Weimer  <fweimer@redhat.com>
59572         [BZ #14197]
59573         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
59575 2012-11-28  David S. Miller  <davem@davemloft.net>
59577         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59579 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
59581         [BZ #14803]
59582         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
59583         of pi/2 rounded to nearest to 64 bits.
59584         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
59585         nearest to 64 bits.
59586         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
59587         bits.
59589 2012-11-28  Jeff Law <law@redhat.com>
59590             Martin Osvald <mosvald@redhat.com>
59592         [BZ #14889]
59593         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
59594         * sunrpc/svc.c: Include time.h.
59595         (__svc_accept_failed): New function.
59596         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
59597         any reason other than EINTR, call __svc_accept_failed.
59598         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
59599         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
59601 2012-11-28  Andreas Schwab  <schwab@suse.de>
59603         * scripts/abilist.awk: Also handle indirect functions in .opd
59604         section.
59606 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
59608         [BZ #13881]
59609         * sysdeps/x86/fpu/powl_helper.c: New file.
59610         * sysdeps/x86/fpu/Makefile: Likewise.
59611         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
59612         (p3): New object.
59613         (__ieee754_powl): Use __powl_helper for finite arguments except
59614         integer exponents below 8.
59615         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
59616         (p3): New object.
59617         (__ieee754_powl): Use __powl_helper for finite arguments except
59618         integer exponents below 8.
59619         * math/libm-test.inc (pow_test): Add more tests and enable some
59620         previously disabled tests.
59621         * sysdeps/i386/fpu/libm-test-ulps: Update.
59622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59624 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59625             Carlos O'Donell  <carlos_odonell@mentor.com>
59627         * nss/makedb.c (is_prime): Assert that input is odd and greater
59628         than 4.  Note that fact in a comment too.
59629         (next_prime): Add 4 to input.
59631 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
59633         [BZ #11741]
59634         * libio/Makefile (tests): Add test case tst-fwrite-error.
59635         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
59636         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
59637         * libio/tst-fwrite-error.c: New test case.
59639 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
59641         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
59642         before casting to void *.
59643         * include/libc-internal.h (__pointer_type): New macro.
59644         (__integer_if_pointer_type_sub): Likewise.
59645         (__integer_if_pointer_type): Likewise.
59646         (cast_to_integer): Likewise.
59647         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
59648         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
59649         before casting to atomic64_t.
59650         (atomic_exchange_acq): Likewise.
59651         (__arch_exchange_and_add_body): Likewise.
59652         (__arch_add_body): Likewise.
59653         (atomic_add_negative): Likewise.
59654         (atomic_add_zero): Likewise.
59656 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
59658         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
59659         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
59660         (add_fdes): Likewise.
59661         (linear_search_fdes): Likewise.
59662         (binary_search_unencoded_fdes): Likewise.
59664 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
59666         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
59668 2012-11-24  Adam Conrad  <adconrad@0c3.net>
59670         * configure.in: Autodetect C++ header directories.
59671         * configure: Regenerated.
59673 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
59675         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
59677 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
59679         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59681 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
59683         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
59684         LDBL_MANT_DIG == 106]: Disable some tests.
59685         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
59686         Likewise.
59687         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
59688         Likewise.
59690         [BZ #14871]
59691         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
59692         input for small inputs.  Return +/- pi/2 for large inputs.
59693         * math/libm-test.inc (atan_test): Add more tests.
59695         * sysdeps/generic/unwind-dw2-fde-glibc.c
59696         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
59697         __attribute__ ((unused)).
59699         [BZ #14645]
59700         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
59701         x * y if x and y are nonzero and z is zero.
59703         [BZ #14811]
59704         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
59705         nonzero exponents with absolute value below 0x1p-117 to +/-
59706         0x1p-117.
59708         [BZ #14869]
59709         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
59710         up arguments below 2**-450, not just those below 2**-500.
59711         * math/libm-test.inc (hypot_test): Add another test.
59713         [BZ #14868]
59714         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
59715         Return a+b for ratio over 2**120, not 2**60.
59716         * math/libm-test.inc (hypot_test): Add another test.
59718         * math/libm-test.inc (clog_test): Use
59719         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
59720         (clog10_test): Likewise.
59722         [BZ #6778]
59723         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
59725 2012-11-22  Andreas Schwab  <schwab@suse.de>
59727         * sysdeps/i386/fpu/libm-test-ulps: Update.
59729 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
59731         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
59732         printf output with newline.
59734 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
59736         [BZ #14865]
59737         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
59738         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
59739         -z nodlopen, -z initfirst and -z execstack support.
59740         * configure: Regenerated.
59742         * elf/elf.h (DF_1_NODIRECT): New macro.
59743         (DF_1_IGNMULDEF): Likewise.
59744         (DF_1_NOKSYMS): Likewise.
59745         (DF_1_NOHDR): Likewise.
59746         (DF_1_EDITED): Likewise.
59747         (DF_1_NORELOC): Likewise.
59748         (DF_1_SYMINTPOSE): Likewise.
59749         (DF_1_GLOBAUDIT): Likewise.
59750         (DF_1_SINGLETON): Likewise.
59751         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
59752         DT_1_SUPPORTED_MASK bits.
59753         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
59755 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
59757         * sysdeps/unix/make-syscalls.sh: Document prefixes.
59759 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
59761         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
59762         macro.
59764         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
59765         (sendmmsg): Move declarations...
59766         * socket/sys/socket.h: ... here.
59767         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
59768         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
59769         include it from...
59770         * socket/recvmmsg.c: ... this new file.
59771         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
59772         (sendmmsg): Rename to __sendmmsg, create weak alias and make
59773         definition of __sendmmsg hidden.
59774         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
59775         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
59776         Move ENOSYS stub into and include it from...
59777         * socket/sendmmsg.c: ... this new file.
59778         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
59779         (sysdep_routines): Move recvmmsg and sendmmsg...
59780         * socket/Makefile (routines): ... here.
59781         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
59782         (GLIBC_PRIVATE): Add __sendmmsg.
59783         * include/sys/socket.h (__sendmmsg): Add declarations.
59784         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
59785         sendmmsg.
59787 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
59789         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
59790         variable I1 with __attribute__ ((unused)).
59791         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
59793 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
59795         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
59796         DUMMY variables with __attribute__ ((unused)).
59798         * bits/byteswap.h: Include <bits/types.h>.
59799         (__bswap_64): Use __uint64_t instead of unsigned long long int.
59801 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
59803         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
59804         string_t.  Do not manually set errno.
59805         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
59806         length with __strnlen.  Make sure to both set errno and return it on
59807         failure.
59809 2012-11-19  David S. Miller  <davem@davemloft.net>
59811         With help from Joseph Myers.
59812         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
59813         very large arguments properly.
59814         * math/libm-test.inc (atan_test): New tests.
59815         (atan2_test): New tests.
59816         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59817         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59819 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
59821         [BZ #14856]
59822         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
59823         Define to 3.
59825         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
59826         [POSIX] (EADDRNOTAVAIL): Likewise.
59827         [POSIX] (EAFNOSUPPORT): Likewise.
59828         [POSIX] (EALREADY): Likewise.
59829         [POSIX] (ECONNABORTED): Likewise.
59830         [POSIX] (ECONNREFUSED): Likewise.
59831         [POSIX] (ECONNRESET): Likewise.
59832         [POSIX] (EDESTADDRREQ): Likewise.
59833         [POSIX] (EDQUOT): Likewise.
59834         [POSIX] (EHOSTUNREACH): Likewise.
59835         [POSIX] (EIDRM): Likewise.
59836         [POSIX] (EISCONN): Likewise.
59837         [POSIX] (ELOOP): Likewise.
59838         [POSIX] (EMULTIHOP): Likewise.
59839         [POSIX] (ENETDOWN): Likewise.
59840         [POSIX] (ENETUNREACH): Likewise.
59841         [POSIX] (ENOBUFS): Likewise.
59842         [POSIX] (ENODATA): Likewise.
59843         [POSIX] (ENOLINK): Likewise.
59844         [POSIX] (ENOMSG): Likewise.
59845         [POSIX] (ENOPROTOOPT): Likewise.
59846         [POSIX] (ENOSR): Likewise.
59847         [POSIX] (ENOSTR): Likewise.
59848         [POSIX] (ENOTCONN): Likewise.
59849         [POSIX] (ENOTSOCK): Likewise.
59850         [POSIX] (EOPNOTSUPP): Likewise.
59851         [POSIX] (EOVERFLOW): Likewise.
59852         [POSIX] (EPROTO): Likewise.
59853         [POSIX] (EPROTONOSUPPORT): Likewise.
59854         [POSIX] (EPROTOTYPE): Likewise.
59855         [POSIX] (ESTALE): Likewise.
59856         [POSIX] (ETIME): Likewise.
59857         [POSIX] (ETXTBSY): Likewise.
59858         [POSIX] (EWOULDBLOCK): Likewise.
59859         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
59860         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
59861         [POSIX] (SEEK_CUR): Likewise.
59862         [POSIX] (SEEK_END): Likewise.
59863         [POSIX || UNIX98] (mode_t): Do not require.
59864         [POSIX] (off_t): Likewise.
59865         [POSIX] (pid_t): Likewise.
59866         [POSIX] (sys/stat.h): Do not allow header.
59867         [POSIX] (unistd.h): Likewise.
59868         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
59869         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
59870         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
59871         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
59872         require.
59873         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
59874         sigevent): Specify elements.
59875         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
59876         entry.
59877         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
59878         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
59880         * conform/data/cpio.h-data [POSIX]: Disable whole file.
59881         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
59882         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
59883         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
59884         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
59885         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
59886         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
59887         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
59888         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
59889         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
59890         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
59891         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
59892         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
59893         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
59894         Likewise.
59895         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
59896         Likewise.
59897         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
59898         Likewise.
59899         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
59900         Likewise.
59901         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
59902         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
59903         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
59904         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
59905         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
59906         Specify lower bound on value.
59907         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
59908         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
59909         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
59910         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
59911         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
59912         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
59913         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
59914         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
59915         value.
59916         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
59917         as optional.
59918         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
59919         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
59920         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
59921         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
59922         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
59923         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
59924         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
59925         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
59926         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
59927         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
59928         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
59929         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
59930         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
59931         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
59932         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
59933         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
59934         entry.
59935         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
59936         optional.
59937         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
59938         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
59939         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
59940         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
59941         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
59942         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
59943         Likewise.
59944         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
59945         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
59946         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
59947         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
59948         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
59949         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
59950         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
59951         as optional.
59952         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
59953         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
59954         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
59955         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
59956         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
59957         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
59958         specify as optional.
59959         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
59960         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
59961         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
59962         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
59963         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
59964         [XPG3] (NL_LANGMAX): Likewise.
59965         [POSIX || XPG3] (NL_MSGMAX): Likewise.
59966         [POSIX || XPG3] (NL_NMAX): Likewise.
59967         [POSIX || XPG3] (NL_SETMAX): Likewise.
59968         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
59969         [XPG3] (NZERO): Likewise.
59970         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
59971         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
59972         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
59973         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
59974         (REG_ERANGE): Expect.
59975         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
59976         optional-constant.
59977         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
59978         Use (void) in prototype.
59979         [POSIX] (*_t): Allow.
59980         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
59981         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
59982         (WRDE_BADVAL): Expect.
59984         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
59985         expect.
59986         [XPG3 || XPG4] (O_RSYNC): Likewise.
59987         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
59988         Likewise.
59989         [XPG3 || XPG4] (pthread_sigmask): Likewise.
59990         [XPG3 || XPG4] (sigqueue): Likewise.
59991         [XPG3 || XPG4] (sigtimedwait): Likewise.
59992         [XPG3 || XPG4] (sigwaitinfo): Likewise.
59993         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
59994         [XPG3 || XPG4] (vsnprintf): Likewise.
59995         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
59996         Likewise.
59997         [XPG3 || XPG4] (blksize_t): Likewise.
59998         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
59999         Likewise.
60000         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
60001         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
60002         [XPG3 || XPG4] (struct itimerspec): Likewise.
60003         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
60004         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
60005         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
60006         [XPG3 || XPG4] (clockid_t): Likewise.
60007         [XPG3 || XPG4] (timer_t): Likewise.
60008         [XPG3 || XPG4] (clock_getres): Likewise.
60009         [XPG3 || XPG4] (clock_gettime): Likewise.
60010         [XPG3 || XPG4] (clock_settime): Likewise.
60011         [XPG3 || XPG4] (nanosleep): Likewise.
60012         [XPG3 || XPG4] (timer_create): Likewise.
60013         [XPG3 || XPG4] (timer_delete): Likewise.
60014         [XPG3 || XPG4] (timer_gettime): Likewise.
60015         [XPG3 || XPG4] (timer_getoverrun): Likewise.
60016         [XPG3 || XPG4] (timer_settime): Likewise.
60017         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
60018         [XPG3 || XPG4] (getlogin_r): Likewise.
60019         [XPG3 || XPG4] (pread): Likewise.
60020         [XPG3 || XPG4] (pthread_atfork): Likewise.
60021         [XPG3 || XPG4] (pwrite): Likewise.
60023         [BZ #14835]
60024         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
60025         <bits/siginfo.h>.
60027 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
60029         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
60030         finalizing MALLSTREAM.
60032         * sysdeps/mach/hurd/syncfs.c: New file.
60034 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
60036         [BZ #14719]
60037         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
60038         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
60039         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
60040         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
60041         (_nss_dns_gethostbyname4_r): Likewise.
60042         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
60043         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
60045 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
60047         [BZ #13763]
60048         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
60050 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
60052         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
60053         * elf/cache.c (print_entry): Print ",AArch64" for
60054         FLAG_AARCH64_LIB64
60056         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
60057         * elf/cache.c (print_entry): Print ",hard-float" for
60058         FLAG_ARM_LIBHF.
60060 2012-11-18  David S. Miller  <davem@davemloft.net>
60062         With help from Joseph Myers.
60063         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
60064         cutoff to 2**-13.
60065         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
60066         cutoff to 2**-25.
60067         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
60068         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
60069         small.
60070         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
60071         * math/libm-test.inc (y0_test): New tests.
60072         (y1_test): New tests.
60073         * sysdeps/i386/fpu/libm-test-ulps: Update.
60074         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60075         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60077 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
60079         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
60080         64-bit targets.
60081         * configure: Regenerated.
60083 2012-11-17  David S. Miller  <davem@davemloft.net>
60085         [BZ #14811]
60086         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
60087         nonzero exponents with absolute value below 0x1p-128 to +/-
60088         0x1p-128.
60090 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
60092         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
60094         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
60096         * posix/getconf-speclist.c: New file.
60097         * posix/posix-envs.def: Likewise.
60098         * posix/confstr.c (START_ENV_GROUP): New macro.
60099         (END_ENV_GROUP): Likewise.
60100         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
60101         (KNOWN_PRESENT_ENV_STRING): Likewise.
60102         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
60103         (UNKNOWN_ENVIRONMENT): Likewise.
60104         (confstr): Include posix-envs.def instead of handling
60105         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
60106         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
60107         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
60108         (END_ENV_GROUP): Likewise.
60109         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
60110         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
60111         (UNKNOWN_ENVIRONMENT): Likewise.
60112         (__sysconf): Include posix-envs.def instead of handling associated
60113         cases directly here.
60114         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
60115         preprocessing getconf-speclist.c rather than running getconf or
60116         generating empty file.
60118 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
60120         * scripts/check-local-headers.sh: Ignore 'mach' headers.
60122 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
60124         [BZ #14672]
60125         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
60127 2012-11-16  David S. Miller  <davem@davemloft.net>
60129         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
60130         smaller than LDBL_EPSILON/2.0L, just return xm1.
60132 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
60134         * elf/tst-array1.c (init): Set constructor priority to 1000.
60135         (fini): Set destructor priority to 1000.
60136         * elf/tst-array2dep.c: Likewise.
60138 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
60140         [BZ #11741]
60141         * libio/fileops.c (_IO_new_file_write): Correctly return error.
60142         (_IO_new_file_xsputn): Also return EOF if none of the input
60143         data was written when overflow failed.
60144         * libio/iopadn.c (_IO_padn): Likewise.
60145         * libio/iowpadn.c (_IO_wpadn): Likewise.
60146         * stdio-common/tst-put-error.c: Add copyright notice.
60147         (do_test): Add case for printing padded string.
60148         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
60149         _IO_padn returned error.
60150         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
60151         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
60152         return EOF.
60154 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
60156         * libio/libioP.h: Add comment note that the references to C++
60157         bits are now obsolete.
60159 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60161         * math/libm-test.inc (check_complex): Use asprintf.
60163 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
60165         * debug/pcprofiledump.c (print_version): Update copyright year.
60166         * malloc/memusagestat.c (print_version): Likewise.
60168 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
60170         [BZ #14831]
60171         * elf/Makefile (tests): Add tst-audit8.
60172         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
60173         ($(objpfx)tst-audit8.out): New target.
60174         (tst-audit8-ENV): New variable.
60175         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
60176         audit if l_reloc_result is NULL.
60177         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
60178         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
60179         * elf/tst-audit8.c: New file.
60181 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60183         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
60184         * misc/Makefile (CFLAGS-select.c): Define.
60185         * posix/Makefile (CFLAGS-pause.c): Define.
60187 2012-11-13  David S. Miller  <davem@davemloft.net>
60189         * crypt/Makefile: Move test targets after toplevel Rules
60190         inclusion.  Grab any necessary sysdep routines when linking.
60191         * crypt/md5.c (md5_process_block): Remove define, we will always
60192         name it __md5_process_block.
60193         (md5_finish_ctx): Update md5_process_block call.
60194         (md5_stream): Likewise.
60195         (md5_process_bytes): Likewise.
60196         (md5_process_block): Rename to __md5_process_block and move to ...
60197         * crypt/md5-block.c: ... here.
60198         * crypt/sha256.c (sha256_process_block): Move to ...
60199         * crypt/sha256-block.c: ... here.
60200         * crypt/sha512.c (sha512_process_block): Move to ...
60201         * crypt/sha512-block.c: ... here.
60202         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
60203         path.
60204         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
60205         * sysdeps/sparc/sparc64/multiarch/Makefile
60206         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
60207         crypt subdir.
60208         (localedef-aux): Add md5 crypto assembler when in locale subdir.
60209         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
60210         multiarch changes.
60211         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
60212         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
60213         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
60214         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
60215         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
60216         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
60217         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
60218         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
60219         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
60220         file.
60221         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
60222         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
60223         file.
60224         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
60226 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
60228         * timezone/tzselect.ksh: Update from tzcode git revision
60229         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
60230         * timezone/zdump.c: Likewise.
60231         * timezone/zic.c: Likewise.
60232         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
60233         in TZVERSION setting, not $(PKGVERSION).
60234         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
60235         REPORT_BUGS_TO settings.
60237         [BZ #14838]
60238         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
60239         macro.
60241 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60243         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
60244         detection to immediately after _FP_ROUND().
60245         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
60246         bits are 0.
60248 2012-11-11  David S. Miller  <davem@davemloft.net>
60250         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
60251         inttypes.h
60252         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
60253         __close rather than their public counterparts.
60255 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
60257         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
60258         file.
60259         [UNIX98] (sem_timedwait): Do not expect.
60260         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
60261         [XPG4 || UNIX98] (sockatmark): Do not expect.
60262         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
60263         (clock_getcpuclockid): Do not expect.
60264         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
60265         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
60266         Do not expect.
60267         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
60268         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
60269         [UNIX98] (vwscanf): Likewise.
60270         [UNIX98] (vswscanf): Likewise.
60272 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
60274         * timezone/version.h: Remove file.
60275         * timezone/README: Do not refer to version.h.
60276         * timezone/Makefile ($(objpfx)zic.o): New dependency on
60277         $(objpfx)version.h.
60278         ($(objpfx)zdump.o): Likewise.
60279         ($(objpfx)version.h): New target.
60281         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
60282         2012i.
60283         * timezone/README: Don't mention modification to tzselect.ksh.
60284         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
60285         work on unmodified tzselect.ksh.  Substitute version numbers in
60286         tzselect.ksh.
60288         * Makefile (format-me): Remove.
60289         (INSTALL): Adjust indentation.  Use commands directly instead of
60290         using $(format-me).
60292         * aclocal.m4 (ACX_PKGVERSION): New macro.
60293         (ACX_BUGURL): Likewise.
60294         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
60295         (PKGVERSION): New AC_DEFINE_UNQUOTED.
60296         (REPORT_BUGS_TO): Likewise.
60297         * configure: Regenerated.
60298         * config.h.in (PKGVERSION): New macro.
60299         (REPORT_BUGS_TO): Likewise.
60300         * config.make.in (PKGVERSION): New variable.
60301         (PKGVERSION_TEXI): Likewise.
60302         (REPORT_BUGS_TO): Likewise.
60303         (REPORT_BUGS_TEXI): Likewise.
60304         * Makefile (format-me): Use -I$(common-objpfx)manual.
60305         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
60306         ($(common-objpfx)manual/%): New target.
60307         (manual/%): Remove target.
60308         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
60309         (print_version): Use PKGVERSION.
60310         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
60311         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
60312         and REPORT_BUGS_TO.
60313         ($(objpfx)xtrace): Likewise.
60314         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
60315         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
60316         (print_version): Use PKGVERSION.
60317         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
60318         (do_version): Use PKGVERSION.
60319         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
60320         REPORT_BUGS_TO.
60321         (common-ldd-rewrite): Likewise.
60322         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
60323         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
60324         (print_version): Use PKGVERSION.
60325         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
60326         * elf/pldd.c (argp_program_bug_address): Remove variable.
60327         (more_help): New function.
60328         (argp): Use more_help.
60329         (print_version): Use PKGVERSION.
60330         * elf/sln.c (main): Use PKGVERSION.
60331         (usage): Use REPORT_BUGS_TO.
60332         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
60333         (top level): Use PKGVERSION.
60334         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
60335         (print_version): Use PKGVERSION.
60336         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
60337         (print_version): Use PKGVERSION.
60338         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
60339         (print_version): Use PKGVERSION.
60340         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
60341         (print_version): Use PKGVERSION.
60342         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
60343         (print_version): Use PKGVERSION.
60344         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
60345         (print_version): Use PKGVERSION.
60346         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
60347         and BUGURL.
60348         ($(objpfx)memusage): Likewise.
60349         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
60350         (do_version): Use PKGVERSION.
60351         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
60352         (print_version): Use PKGVERSION.
60353         * malloc/mtrace.pl ($PACKAGE): Remove variable.
60354         ($PKGVERSION): New variable.
60355         ($REPORT_BUGS_TO): Likewise.
60356         (usage): Use $REPORT_BUGS_TO.
60357         (top level): Use $PKGVERSION.
60358         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
60359         ($(objpfx)pkgvers.texi): New rule.
60360         ($(objpfx)stamp-pkgvers): Likewise.
60361         * manual/install.texi: Include pkgvers.texi.
60362         (--with-pkgversion): Document new configure option.
60363         (--with-bugurl): Likewise.
60364         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
60365         than necessarily for this particular distribution.  Use
60366         REPORT_BUGS_TO for where to report bugs.
60367         * INSTALL: Regenerated.
60368         * manual/libc.texinfo: Include pkgvers.texi.
60369         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
60370         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
60371         (print_version): Use PKGVERSION.
60372         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
60373         (print_version): Use PKGVERSION.
60374         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
60375         (print_version): Use PKGVERSION.
60376         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
60377         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
60378         macro.
60379         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
60380         (print_version): Use PKGVERSION.
60381         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
60382         (print_version): Use PKGVERSION.
60383         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
60384         and PKGVERSION.
60386         * timezone/checktab.awk: Update from tzcode 2012i.
60387         * timezone/ialloc.c: Likewise.
60388         * timezone/private.h: Likewise.
60389         * timezone/scheck.c: Likewise.
60390         * timezone/tzfile.h: Likewise.
60391         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
60392         (TZVERSION): Hardcode tzcode version number.
60393         * timezone/zdump.c: Update from tzcode 2012i.
60394         * timezone/zic.c: Likewise.
60395         * timezone/version.h: New file.
60396         * timezone/README: Describe version.h.  Update upstream location.
60398         [BZ #14824]
60399         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
60400         (mktemp): Enable declaration.
60401         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
60402         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
60403         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
60404         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
60405         Likewise.
60406         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
60407         Likewise.
60408         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
60409         Likewise.
60410         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
60411         Likewise.
60412         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
60413         Likewise.
60414         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
60415         Likewise.
60417         [BZ #14821]
60418         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
60419         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
60420         for copies of such integer values.
60421         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
60422         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
60424 2012-11-09  Andreas Jaeger  <aj@suse.de>
60426         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
60427         definitions and declarations that are provided by
60428         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
60430 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60432         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
60433         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
60434         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
60435         definition.
60437 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60439         * elf/elf.h: Update comment before AArch64 relocations.
60441 2012-11-07  David S. Miller  <davem@davemloft.net>
60443         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
60444         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
60445         (__start_context): Declare.
60446         (__makecontext_ret): Delete.
60447         (__makecontext): Hook up __start_context instead of
60448         __makecontext_ret.
60449         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
60450         (sysdep_routines): Add __start_context when in stdlib.
60452 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
60454         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
60455         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
60456         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
60457         hardcoded "nm".
60458         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
60459         (READELF): New variable.  Use it instead of hardcoded "readelf".
60461 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
60463         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
60464         * sysdeps/x86/Makefile: Here.
60465         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
60466         * sysdeps/x86/tst-xmmymm.sh: This.
60468 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
60470         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
60471         expectations.
60472         [UNIX98] (pthread_barrier_t): Do not expect.
60473         [UNIX98] (pthread_barrierattr_t): Likewise.
60474         [UNIX98] (pthread_spinlock_t): Likewise.
60475         [UNIX98] (pthread_barrier_destroy): Likewise.
60476         [UNIX98] (pthread_barrier_init): Likewise.
60477         [UNIX98] (pthread_barrier_wait): Likewise.
60478         [UNIX98] (pthread_barrierattr_destroy): Likewise.
60479         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
60480         [UNIX98] (pthread_barrierattr_init): Likewise.
60481         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
60482         [UNIX98] (pthread_getcpuclockid): Likewise.
60483         [UNIX98] (pthread_mutex_timedlock): Likewise.
60484         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
60485         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
60486         [UNIX98] (pthread_sigmask): Likewise.
60487         [UNIX98] (pthread_spin_destroy): Likewise.
60488         [UNIX98] (pthread_spin_init): Likewise.
60489         [UNIX98] (pthread_spin_lock): Likewise.
60490         [UNIX98] (pthread_spin_trylock): Likewise.
60491         [UNIX98] (pthread_spin_unlock): Likewise.
60492         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
60493         Do not expect.
60494         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
60495         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
60496         [XPG3 || XPG4] (pthread_cond_t): Likewise.
60497         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
60498         [XPG3 || XPG4] (pthread_key_t): Likewise.
60499         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
60500         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
60501         [XPG3 || XPG4] (pthread_once_t): Likewise.
60502         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
60503         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
60504         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
60505         [XPG3 || XPG4] (pthread_t): Likewise.
60507         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
60508         not expect.
60509         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
60511         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
60512         Change function return type to int.
60514         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
60515         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
60516         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
60517         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
60518         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
60519         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
60520         [!POSIX] (posix_madvise): Likewise.
60521         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
60522         && !UNIX98].
60523         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
60524         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
60525         (mode_t): Likewise.
60526         (posix_mem_offset): Likewise.
60527         (posix_typed_mem_get_info): Likewise.
60528         (posix_typed_mem_open): Likewise.
60530         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
60531         Change condition to [XOPEN2K8].
60533         * conform/conformtest.pl: Preprocess allow-header data with -x c
60534         instead of from stdin.
60535         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
60536         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
60537         [C99-based standards] (cerfc): Likewise.
60538         [C99-based standards] (cexp2): Likewise.
60539         [C99-based standards] (cexpm1): Likewise.
60540         [C99-based standards] (clog10): Likewise.
60541         [C99-based standards] (clog1p): Likewise.
60542         [C99-based standards] (clog2): Likewise.
60543         [C99-based standards] (clgamma): Likewise.
60544         [C99-based standards] (ctgamma): Likewise.
60545         [C99-based standards] (cerff): Likewise.
60546         [C99-based standards] (cerfcf): Likewise.
60547         [C99-based standards] (cexp2f): Likewise.
60548         [C99-based standards] (cexpm1f): Likewise.
60549         [C99-based standards] (clog10f): Likewise.
60550         [C99-based standards] (clog1pf): Likewise.
60551         [C99-based standards] (clog2f): Likewise.
60552         [C99-based standards] (clgammaf): Likewise.
60553         [C99-based standards] (ctgammaf): Likewise.
60554         [C99-based standards] (cerfl): Likewise.
60555         [C99-based standards] (cerfcl): Likewise.
60556         [C99-based standards] (cexp2l): Likewise.
60557         [C99-based standards] (cexpm1l): Likewise.
60558         [C99-based standards] (clog10l): Likewise.
60559         [C99-based standards] (clog1pl): Likewise.
60560         [C99-based standards] (clog2l): Likewise.
60561         [C99-based standards] (clgammal): Likewise.
60562         [C99-based standards] (ctgammal): Likewise.
60563         * conform/data/inttypes.h-data [C99-based standards]: Include
60564         stdint.h-data.  Remove all expectations for stdint.h contents.
60565         [C99-based standards] (PRI*): Do not allow.
60566         [C99-based standards] (SCN*): Likewise.
60567         [C99-based standards] (*_t): Likewise.
60568         [C99-based-standards] (PRId8): Expect macro.
60569         [C99-based-standards] (PRIi8): Likewise.
60570         [C99-based-standards] (PRIo8): Likewise.
60571         [C99-based-standards] (PRIu8): Likewise.
60572         [C99-based-standards] (PRIx8): Likewise.
60573         [C99-based-standards] (PRIX8): Likewise.
60574         [C99-based-standards] (SCNd8): Likewise.
60575         [C99-based-standards] (SCNi8): Likewise.
60576         [C99-based-standards] (SCNo8): Likewise.
60577         [C99-based-standards] (SCNu8): Likewise.
60578         [C99-based-standards] (SCNx8): Likewise.
60579         [C99-based-standards] (PRIdLEAST8): Likewise.
60580         [C99-based-standards] (PRIiLEAST8): Likewise.
60581         [C99-based-standards] (PRIoLEAST8): Likewise.
60582         [C99-based-standards] (PRIuLEAST8): Likewise.
60583         [C99-based-standards] (PRIxLEAST8): Likewise.
60584         [C99-based-standards] (PRIXLEAST8): Likewise.
60585         [C99-based-standards] (SCNdLEAST8): Likewise.
60586         [C99-based-standards] (SCNiLEAST8): Likewise.
60587         [C99-based-standards] (SCNoLEAST8): Likewise.
60588         [C99-based-standards] (SCNuLEAST8): Likewise.
60589         [C99-based-standards] (SCNxLEAST8): Likewise.
60590         [C99-based-standards] (PRIdFAST8): Likewise.
60591         [C99-based-standards] (PRIiFAST8): Likewise.
60592         [C99-based-standards] (PRIoFAST8): Likewise.
60593         [C99-based-standards] (PRIuFAST8): Likewise.
60594         [C99-based-standards] (PRIxFAST8): Likewise.
60595         [C99-based-standards] (PRIXFAST8): Likewise.
60596         [C99-based-standards] (SCNdFAST8): Likewise.
60597         [C99-based-standards] (SCNiFAST8): Likewise.
60598         [C99-based-standards] (SCNoFAST8): Likewise.
60599         [C99-based-standards] (SCNuFAST8): Likewise.
60600         [C99-based-standards] (SCNxFAST8): Likewise.
60601         [C99-based-standards] (PRId16): Likewise.
60602         [C99-based-standards] (PRIi16): Likewise.
60603         [C99-based-standards] (PRIo16): Likewise.
60604         [C99-based-standards] (PRIu16): Likewise.
60605         [C99-based-standards] (PRIx16): Likewise.
60606         [C99-based-standards] (PRIX16): Likewise.
60607         [C99-based-standards] (SCNd16): Likewise.
60608         [C99-based-standards] (SCNi16): Likewise.
60609         [C99-based-standards] (SCNo16): Likewise.
60610         [C99-based-standards] (SCNu16): Likewise.
60611         [C99-based-standards] (SCNx16): Likewise.
60612         [C99-based-standards] (PRIdLEAST16): Likewise.
60613         [C99-based-standards] (PRIiLEAST16): Likewise.
60614         [C99-based-standards] (PRIoLEAST16): Likewise.
60615         [C99-based-standards] (PRIuLEAST16): Likewise.
60616         [C99-based-standards] (PRIxLEAST16): Likewise.
60617         [C99-based-standards] (PRIXLEAST16): Likewise.
60618         [C99-based-standards] (SCNdLEAST16): Likewise.
60619         [C99-based-standards] (SCNiLEAST16): Likewise.
60620         [C99-based-standards] (SCNoLEAST16): Likewise.
60621         [C99-based-standards] (SCNuLEAST16): Likewise.
60622         [C99-based-standards] (SCNxLEAST16): Likewise.
60623         [C99-based-standards] (PRIdFAST16): Likewise.
60624         [C99-based-standards] (PRIiFAST16): Likewise.
60625         [C99-based-standards] (PRIoFAST16): Likewise.
60626         [C99-based-standards] (PRIuFAST16): Likewise.
60627         [C99-based-standards] (PRIxFAST16): Likewise.
60628         [C99-based-standards] (PRIXFAST16): Likewise.
60629         [C99-based-standards] (SCNdFAST16): Likewise.
60630         [C99-based-standards] (SCNiFAST16): Likewise.
60631         [C99-based-standards] (SCNoFAST16): Likewise.
60632         [C99-based-standards] (SCNuFAST16): Likewise.
60633         [C99-based-standards] (SCNxFAST16): Likewise.
60634         [C99-based-standards] (PRId32): Likewise.
60635         [C99-based-standards] (PRIi32): Likewise.
60636         [C99-based-standards] (PRIo32): Likewise.
60637         [C99-based-standards] (PRIu32): Likewise.
60638         [C99-based-standards] (PRIx32): Likewise.
60639         [C99-based-standards] (PRIX32): Likewise.
60640         [C99-based-standards] (SCNd32): Likewise.
60641         [C99-based-standards] (SCNi32): Likewise.
60642         [C99-based-standards] (SCNo32): Likewise.
60643         [C99-based-standards] (SCNu32): Likewise.
60644         [C99-based-standards] (SCNx32): Likewise.
60645         [C99-based-standards] (PRIdLEAST32): Likewise.
60646         [C99-based-standards] (PRIiLEAST32): Likewise.
60647         [C99-based-standards] (PRIoLEAST32): Likewise.
60648         [C99-based-standards] (PRIuLEAST32): Likewise.
60649         [C99-based-standards] (PRIxLEAST32): Likewise.
60650         [C99-based-standards] (PRIXLEAST32): Likewise.
60651         [C99-based-standards] (SCNdLEAST32): Likewise.
60652         [C99-based-standards] (SCNiLEAST32): Likewise.
60653         [C99-based-standards] (SCNoLEAST32): Likewise.
60654         [C99-based-standards] (SCNuLEAST32): Likewise.
60655         [C99-based-standards] (SCNxLEAST32): Likewise.
60656         [C99-based-standards] (PRIdFAST32): Likewise.
60657         [C99-based-standards] (PRIiFAST32): Likewise.
60658         [C99-based-standards] (PRIoFAST32): Likewise.
60659         [C99-based-standards] (PRIuFAST32): Likewise.
60660         [C99-based-standards] (PRIxFAST32): Likewise.
60661         [C99-based-standards] (PRIXFAST32): Likewise.
60662         [C99-based-standards] (SCNdFAST32): Likewise.
60663         [C99-based-standards] (SCNiFAST32): Likewise.
60664         [C99-based-standards] (SCNoFAST32): Likewise.
60665         [C99-based-standards] (SCNuFAST32): Likewise.
60666         [C99-based-standards] (SCNxFAST32): Likewise.
60667         [C99-based-standards] (PRId64): Likewise.
60668         [C99-based-standards] (PRIi64): Likewise.
60669         [C99-based-standards] (PRIo64): Likewise.
60670         [C99-based-standards] (PRIu64): Likewise.
60671         [C99-based-standards] (PRIx64): Likewise.
60672         [C99-based-standards] (PRIX64): Likewise.
60673         [C99-based-standards] (SCNd64): Likewise.
60674         [C99-based-standards] (SCNi64): Likewise.
60675         [C99-based-standards] (SCNo64): Likewise.
60676         [C99-based-standards] (SCNu64): Likewise.
60677         [C99-based-standards] (SCNx64): Likewise.
60678         [C99-based-standards] (PRIdLEAST64): Likewise.
60679         [C99-based-standards] (PRIiLEAST64): Likewise.
60680         [C99-based-standards] (PRIoLEAST64): Likewise.
60681         [C99-based-standards] (PRIuLEAST64): Likewise.
60682         [C99-based-standards] (PRIxLEAST64): Likewise.
60683         [C99-based-standards] (PRIXLEAST64): Likewise.
60684         [C99-based-standards] (SCNdLEAST64): Likewise.
60685         [C99-based-standards] (SCNiLEAST64): Likewise.
60686         [C99-based-standards] (SCNoLEAST64): Likewise.
60687         [C99-based-standards] (SCNuLEAST64): Likewise.
60688         [C99-based-standards] (SCNxLEAST64): Likewise.
60689         [C99-based-standards] (PRIdFAST64): Likewise.
60690         [C99-based-standards] (PRIiFAST64): Likewise.
60691         [C99-based-standards] (PRIoFAST64): Likewise.
60692         [C99-based-standards] (PRIuFAST64): Likewise.
60693         [C99-based-standards] (PRIxFAST64): Likewise.
60694         [C99-based-standards] (PRIXFAST64): Likewise.
60695         [C99-based-standards] (SCNdFAST64): Likewise.
60696         [C99-based-standards] (SCNiFAST64): Likewise.
60697         [C99-based-standards] (SCNoFAST64): Likewise.
60698         [C99-based-standards] (SCNuFAST64): Likewise.
60699         [C99-based-standards] (SCNxFAST64): Likewise.
60700         [C99-based-standards] (PRIdMAX): Likewise.
60701         [C99-based-standards] (PRIiMAX): Likewise.
60702         [C99-based-standards] (PRIoMAX): Likewise.
60703         [C99-based-standards] (PRIuMAX): Likewise.
60704         [C99-based-standards] (PRIxMAX): Likewise.
60705         [C99-based-standards] (PRIXMAX): Likewise.
60706         [C99-based-standards] (SCNdMAX): Likewise.
60707         [C99-based-standards] (SCNiMAX): Likewise.
60708         [C99-based-standards] (SCNoMAX): Likewise.
60709         [C99-based-standards] (SCNuMAX): Likewise.
60710         [C99-based-standards] (SCNxMAX): Likewise.
60711         [C99-based-standards] (PRIdPTR): Likewise.
60712         [C99-based-standards] (PRIiPTR): Likewise.
60713         [C99-based-standards] (PRIoPTR): Likewise.
60714         [C99-based-standards] (PRIuPTR): Likewise.
60715         [C99-based-standards] (PRIxPTR): Likewise.
60716         [C99-based-standards] (PRIXPTR): Likewise.
60717         [C99-based-standards] (SCNdPTR): Likewise.
60718         [C99-based-standards] (SCNiPTR): Likewise.
60719         [C99-based-standards] (SCNoPTR): Likewise.
60720         [C99-based-standards] (SCNuPTR): Likewise.
60721         [C99-based-standards] (SCNxPTR): Likewise.
60722         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
60723         allow.
60724         * conform/data/stdint.h-data: Update comments to clarify
60725         requirements.
60726         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
60727         type.
60728         [C99-based standards] (INT8_MAX): Likewise.
60729         [C99-based standards] (INT16_MIN): Likewise.
60730         [C99-based standards] (INT16_MAX): Likewise.
60731         [C99-based standards] (INT32_MIN): Likewise.
60732         [C99-based standards] (INT32_MAX): Likewise.
60733         [C99-based standards] (INT64_MIN): Likewise.
60734         [C99-based standards] (INT64_MAX): Likewise.
60735         [C99-based standards] (UINT8_MAX): Likewise.
60736         [C99-based standards] (UINT16_MAX): Likewise.
60737         [C99-based standards] (UINT32_MAX): Likewise.
60738         [C99-based standards] (UINT64_MAX): Likewise.
60739         [C99-based standards] (INT_LEAST8_MIN): Likewise.
60740         [C99-based standards] (INT_LEAST8_MAX): Likewise.
60741         [C99-based standards] (INT_LEAST16_MIN): Likewise.
60742         [C99-based standards] (INT_LEAST16_MAX): Likewise.
60743         [C99-based standards] (INT_LEAST32_MIN): Likewise.
60744         [C99-based standards] (INT_LEAST32_MAX): Likewise.
60745         [C99-based standards] (INT_LEAST64_MIN): Likewise.
60746         [C99-based standards] (INT_LEAST64_MAX): Likewise.
60747         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
60748         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
60749         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
60750         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
60751         [C99-based standards] (INT_FAST8_MIN): Likewise.
60752         [C99-based standards] (INT_FAST8_MAX): Likewise.
60753         [C99-based standards] (INT_FAST16_MIN): Likewise.
60754         [C99-based standards] (INT_FAST16_MAX): Likewise.
60755         [C99-based standards] (INT_FAST32_MIN): Likewise.
60756         [C99-based standards] (INT_FAST32_MAX): Likewise.
60757         [C99-based standards] (INT_FAST64_MIN): Likewise.
60758         [C99-based standards] (INT_FAST64_MAX): Likewise.
60759         [C99-based standards] (UINT_FAST8_MAX): Likewise.
60760         [C99-based standards] (UINT_FAST16_MAX): Likewise.
60761         [C99-based standards] (UINT_FAST32_MAX): Likewise.
60762         [C99-based standards] (UINT_FAST64_MAX): Likewise.
60763         [C99-based standards] (INTPTR_MIN): Likewise.
60764         [C99-based standards] (INTPTR_MAX): Likewise.
60765         [C99-based standards] (UINTPTR_MAX): Likewise.
60766         [C99-based standards] (INTMAX_MIN): Likewise.
60767         [C99-based standards] (INTMAX_MAX): Likewise.
60768         [C99-based standards] (UINTMAX_MAX): Likewise.
60769         [C99-based standards] (PTRDIFF_MIN): Likewise.
60770         [C99-based standards] (PTRDIFF_MAX): Likewise.
60771         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
60772         [C99-based standards] (SIZE_MAX): Likewise.
60773         [C99-based standards] (WCHAR_MAX): Likewise.
60774         [C99-based standards] (WINT_MAX): Likewise.
60775         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
60776         constraint on value.
60777         [C99-based standards] (WCHAR_MIN): Likewise.
60778         [C99-based standards] (WINT_MIN): Likewise.
60779         [C99-based standards] (*_t): Allow.
60780         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
60781         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
60782         Include math.h-data and complex.h-data.  Remove all expectations
60783         of math.h and complex.h contents.
60784         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
60785         at end of line.
60786         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
60787         (struct tm): Expect tag.
60788         [C99-based-standards] (wcstof): Expect function.
60789         [C99-based-standards] (wcstold): Likewise.
60790         [C99-based-standards] (wcstoll): Likewise.
60791         [C99-based-standards] (wcstoull): Likewise.
60792         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
60793         macro-int-constant.  Specify type.
60794         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
60795         constraint on value.
60796         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
60797         Specify type.
60798         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
60799         Specify value.
60800         [ISO C standards]: Do not allow headers.
60801         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
60802         wcs[abcdefghijklmnopqrstuvwxyz]*.
60803         [ISO C standards] (*_t): Do not allow.
60804         * conform/data/wctype.h-data [C99-based standards] (iswblank):
60805         Expect function.
60806         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
60807         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
60808         Specify type.
60809         [ISO C standards]: Do not allow headers.
60810         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
60811         is[abcdefghijklmnopqrstuvwxyz]*.
60812         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
60813         to[abcdefghijklmnopqrstuvwxyz]*.
60814         [ISO C standards] (*_t): Do not allow.
60815         * conform/data/stdalign.h-data: New file.
60816         * conform/data/stdbool.h-data: Likewise.
60817         * conform/data/stdnoreturn.h-data: Likewise.
60819 2012-11-07  Roland McGrath  <roland@hack.frob.com>
60821         [BZ #14815]
60822         * manual/filesys.texi (Directory Entries): Typo fix.
60823         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
60825 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60827         * elf/elf.h (EM_AARCH64): New macro.
60828         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
60829         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
60830         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
60831         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
60832         (R_AARCH64_TLSDESC): Likewise.
60833         (NT_ARM_TLS): Likewise.
60834         (NT_ARM_HW_BREAK): Likewise.
60835         (NT_ARM_HW_WATCH): Likewise.
60837 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
60839         [BZ #14811]
60840         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
60841         (__ieee754_powl): Saturate nonzero exponents with absolute value
60842         below 0x1p-79 to +/- 0x1p-79.
60843         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
60844         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
60845         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
60846         nonzero exponents with absolute value below 0x1p-32 to +/-
60847         0x1p-32.
60848         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
60849         (__ieee754_powl): Saturate nonzero exponents with absolute value
60850         below 0x1p-79 to +/- 0x1p-79.
60851         * math/libm-test.inc (pow_test): Add more tests.
60853 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60855         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
60856         _dl_s390_cap_flags with kernel. Increase string length.
60857         (_dl_s390_platforms): Add z196 and zEC12.
60859 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
60861         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
60862         Change XOPEN21K to XOPEN2K.
60864 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
60866         * string/memmove.c: Use memcpy when possible.
60868 2012-11-06  Andreas Jaeger  <aj@suse.de>
60870         * po/eo.po: Update from translation team.
60872 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
60874         [BZ #14793]
60875         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
60876         exponent and small x and y exponents, scale x or y up.  Increase
60877         by 2 the exponent used in scaling up.
60878         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60879         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60880         * math/libm-test.inc (fma_test): Add more tests.
60881         (fma_test_towardzero): Likewise.
60882         (fma_test_downward): Likewise.
60883         (fma_test_upward): Likewise.
60885 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
60887         [BZ #14805]
60888         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
60889         fenv_t *.
60891         [BZ #14801]
60892         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
60893         namespace for names of struct fields.
60894         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
60895         fenv_t fields.
60896         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
60897         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
60899 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60901         [BZ #3665]
60902         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
60904 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
60906         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
60907         PTR_DEMANGLE.
60909         [BZ #5246]
60910         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
60911         PTR_DEMANGLE.
60913 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
60915         [BZ #14797]
60916         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
60917         definitely overflow as x * y not x * y + z.
60918         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60919         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60920         * math/libm-test.inc (fma_test): Add more tests.
60921         (fma_test_towardzero): Likewise.
60922         (fma_test_downward): Likewise.
60923         (fma_test_upward): Likewise.
60925 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
60927         [BZ #157]
60929         * include/stub-tag.h: Remove file.
60930         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
60931         '#include' of it.
60932         * manual/maint.texi (Porting): Don't reference it.
60933         * Makerules ($(objpfx)stubs): Likewise.
60934         * dirent/closedir.c: Don't include <stub-tag.h>.
60935         * dirent/dirfd.c: Likewise.
60936         * dirent/fdopendir.c: Likewise.
60937         * dirent/getdents.c: Likewise.
60938         * dirent/getdents64.c: Likewise.
60939         * dirent/opendir.c: Likewise.
60940         * dirent/readdir.c: Likewise.
60941         * dirent/readdir64.c: Likewise.
60942         * dirent/readdir64_r.c: Likewise.
60943         * dirent/readdir_r.c: Likewise.
60944         * dirent/rewinddir.c: Likewise.
60945         * dirent/seekdir.c: Likewise.
60946         * dirent/telldir.c: Likewise.
60947         * gmon/profil.c: Likewise.
60948         * grp/setgroups.c: Likewise.
60949         * inet/if_index.c: Likewise.
60950         * io/access.c: Likewise.
60951         * io/chdir.c: Likewise.
60952         * io/chmod.c: Likewise.
60953         * io/chown.c: Likewise.
60954         * io/close.c: Likewise.
60955         * io/dup.c: Likewise.
60956         * io/dup2.c: Likewise.
60957         * io/dup3.c: Likewise.
60958         * io/euidaccess.c: Likewise.
60959         * io/faccessat.c: Likewise.
60960         * io/fchdir.c: Likewise.
60961         * io/fchmod.c: Likewise.
60962         * io/fchmodat.c: Likewise.
60963         * io/fchown.c: Likewise.
60964         * io/fchownat.c: Likewise.
60965         * io/fcntl.c: Likewise.
60966         * io/flock.c: Likewise.
60967         * io/fstatfs.c: Likewise.
60968         * io/fstatfs64.c: Likewise.
60969         * io/fstatvfs.c: Likewise.
60970         * io/fstatvfs64.c: Likewise.
60971         * io/futimens.c: Likewise.
60972         * io/fxstat.c: Likewise.
60973         * io/fxstat64.c: Likewise.
60974         * io/fxstatat.c: Likewise.
60975         * io/fxstatat64.c: Likewise.
60976         * io/getcwd.c: Likewise.
60977         * io/isatty.c: Likewise.
60978         * io/lchmod.c: Likewise.
60979         * io/lchown.c: Likewise.
60980         * io/link.c: Likewise.
60981         * io/linkat.c: Likewise.
60982         * io/lseek.c: Likewise.
60983         * io/lseek64.c: Likewise.
60984         * io/lxstat64.c: Likewise.
60985         * io/mkdir.c: Likewise.
60986         * io/mkdirat.c: Likewise.
60987         * io/mkfifo.c: Likewise.
60988         * io/mkfifoat.c: Likewise.
60989         * io/open.c: Likewise.
60990         * io/open64.c: Likewise.
60991         * io/openat.c: Likewise.
60992         * io/openat64.c: Likewise.
60993         * io/pipe.c: Likewise.
60994         * io/pipe2.c: Likewise.
60995         * io/poll.c: Likewise.
60996         * io/posix_fadvise.c: Likewise.
60997         * io/posix_fadvise64.c: Likewise.
60998         * io/posix_fallocate.c: Likewise.
60999         * io/posix_fallocate64.c: Likewise.
61000         * io/read.c: Likewise.
61001         * io/readlink.c: Likewise.
61002         * io/readlinkat.c: Likewise.
61003         * io/rmdir.c: Likewise.
61004         * io/sendfile.c: Likewise.
61005         * io/sendfile64.c: Likewise.
61006         * io/statfs.c: Likewise.
61007         * io/statfs64.c: Likewise.
61008         * io/statvfs.c: Likewise.
61009         * io/statvfs64.c: Likewise.
61010         * io/symlink.c: Likewise.
61011         * io/symlinkat.c: Likewise.
61012         * io/ttyname.c: Likewise.
61013         * io/ttyname_r.c: Likewise.
61014         * io/umask.c: Likewise.
61015         * io/unlink.c: Likewise.
61016         * io/unlinkat.c: Likewise.
61017         * io/utime.c: Likewise.
61018         * io/utimensat.c: Likewise.
61019         * io/write.c: Likewise.
61020         * io/xmknod.c: Likewise.
61021         * io/xmknodat.c: Likewise.
61022         * io/xstat.c: Likewise.
61023         * io/xstat64.c: Likewise.
61024         * login/getpt.c: Likewise.
61025         * login/grantpt.c: Likewise.
61026         * login/unlockpt.c: Likewise.
61027         * math/e_acoshl.c: Likewise.
61028         * math/e_acosl.c: Likewise.
61029         * math/e_asinl.c: Likewise.
61030         * math/e_atan2l.c: Likewise.
61031         * math/e_atanhl.c: Likewise.
61032         * math/e_coshl.c: Likewise.
61033         * math/e_expl.c: Likewise.
61034         * math/e_fmodl.c: Likewise.
61035         * math/e_gammal_r.c: Likewise.
61036         * math/e_hypotl.c: Likewise.
61037         * math/e_j0l.c: Likewise.
61038         * math/e_j1l.c: Likewise.
61039         * math/e_jnl.c: Likewise.
61040         * math/e_lgammal_r.c: Likewise.
61041         * math/e_log10l.c: Likewise.
61042         * math/e_log2l.c: Likewise.
61043         * math/e_logl.c: Likewise.
61044         * math/e_powl.c: Likewise.
61045         * math/e_rem_pio2l.c: Likewise.
61046         * math/e_sinhl.c: Likewise.
61047         * math/e_sqrtl.c: Likewise.
61048         * math/fclrexcpt.c: Likewise.
61049         * math/fedisblxcpt.c: Likewise.
61050         * math/feenablxcpt.c: Likewise.
61051         * math/fegetenv.c: Likewise.
61052         * math/fegetexcept.c: Likewise.
61053         * math/fegetround.c: Likewise.
61054         * math/feholdexcpt.c: Likewise.
61055         * math/fesetenv.c: Likewise.
61056         * math/fesetround.c: Likewise.
61057         * math/feupdateenv.c: Likewise.
61058         * math/fgetexcptflg.c: Likewise.
61059         * math/fraiseexcpt.c: Likewise.
61060         * math/fsetexcptflg.c: Likewise.
61061         * math/ftestexcept.c: Likewise.
61062         * math/k_cosl.c: Likewise.
61063         * math/k_rem_pio2l.c: Likewise.
61064         * math/k_sinl.c: Likewise.
61065         * math/k_tanl.c: Likewise.
61066         * math/s_asinhl.c: Likewise.
61067         * math/s_atanl.c: Likewise.
61068         * math/s_cbrtl.c: Likewise.
61069         * math/s_erfl.c: Likewise.
61070         * math/s_expm1l.c: Likewise.
61071         * math/s_log1pl.c: Likewise.
61072         * math/s_tanhl.c: Likewise.
61073         * misc/acct.c: Likewise.
61074         * misc/brk.c: Likewise.
61075         * misc/chflags.c: Likewise.
61076         * misc/chroot.c: Likewise.
61077         * misc/fchflags.c: Likewise.
61078         * misc/fgetxattr.c: Likewise.
61079         * misc/flistxattr.c: Likewise.
61080         * misc/fremovexattr.c: Likewise.
61081         * misc/fsetxattr.c: Likewise.
61082         * misc/fsync.c: Likewise.
61083         * misc/ftruncate.c: Likewise.
61084         * misc/futimes.c: Likewise.
61085         * misc/futimesat.c: Likewise.
61086         * misc/getdomain.c: Likewise.
61087         * misc/getdtsz.c: Likewise.
61088         * misc/gethostid.c: Likewise.
61089         * misc/gethostname.c: Likewise.
61090         * misc/getloadavg.c: Likewise.
61091         * misc/getpagesize.c: Likewise.
61092         * misc/getsysstats.c: Likewise.
61093         * misc/getxattr.c: Likewise.
61094         * misc/gtty.c: Likewise.
61095         * misc/ioctl.c: Likewise.
61096         * misc/lgetxattr.c: Likewise.
61097         * misc/listxattr.c: Likewise.
61098         * misc/llistxattr.c: Likewise.
61099         * misc/lremovexattr.c: Likewise.
61100         * misc/lsetxattr.c: Likewise.
61101         * misc/lutimes.c: Likewise.
61102         * misc/madvise.c: Likewise.
61103         * misc/mincore.c: Likewise.
61104         * misc/mlock.c: Likewise.
61105         * misc/mlockall.c: Likewise.
61106         * misc/mmap.c: Likewise.
61107         * misc/mprotect.c: Likewise.
61108         * misc/msync.c: Likewise.
61109         * misc/munlock.c: Likewise.
61110         * misc/munlockall.c: Likewise.
61111         * misc/munmap.c: Likewise.
61112         * misc/preadv.c: Likewise.
61113         * misc/preadv64.c: Likewise.
61114         * misc/ptrace.c: Likewise.
61115         * misc/pwritev.c: Likewise.
61116         * misc/pwritev64.c: Likewise.
61117         * misc/readv.c: Likewise.
61118         * misc/reboot.c: Likewise.
61119         * misc/remap_file_pages.c: Likewise.
61120         * misc/removexattr.c: Likewise.
61121         * misc/revoke.c: Likewise.
61122         * misc/select.c: Likewise.
61123         * misc/setdomain.c: Likewise.
61124         * misc/setegid.c: Likewise.
61125         * misc/seteuid.c: Likewise.
61126         * misc/sethostid.c: Likewise.
61127         * misc/sethostname.c: Likewise.
61128         * misc/setregid.c: Likewise.
61129         * misc/setreuid.c: Likewise.
61130         * misc/setxattr.c: Likewise.
61131         * misc/sstk.c: Likewise.
61132         * misc/stty.c: Likewise.
61133         * misc/swapoff.c: Likewise.
61134         * misc/swapon.c: Likewise.
61135         * misc/sync.c: Likewise.
61136         * misc/syncfs.c: Likewise.
61137         * misc/syscall.c: Likewise.
61138         * misc/truncate.c: Likewise.
61139         * misc/ualarm.c: Likewise.
61140         * misc/usleep.c: Likewise.
61141         * misc/ustat.c: Likewise.
61142         * misc/utimes.c: Likewise.
61143         * misc/vhangup.c: Likewise.
61144         * misc/writev.c: Likewise.
61145         * posix/_exit.c: Likewise.
61146         * posix/alarm.c: Likewise.
61147         * posix/execve.c: Likewise.
61148         * posix/fexecve.c: Likewise.
61149         * posix/fork.c: Likewise.
61150         * posix/fpathconf.c: Likewise.
61151         * posix/getaddrinfo.c: Likewise.
61152         * posix/getegid.c: Likewise.
61153         * posix/geteuid.c: Likewise.
61154         * posix/getgid.c: Likewise.
61155         * posix/getgroups.c: Likewise.
61156         * posix/getlogin.c: Likewise.
61157         * posix/getlogin_r.c: Likewise.
61158         * posix/getpgid.c: Likewise.
61159         * posix/getpid.c: Likewise.
61160         * posix/getppid.c: Likewise.
61161         * posix/getresgid.c: Likewise.
61162         * posix/getresuid.c: Likewise.
61163         * posix/getsid.c: Likewise.
61164         * posix/getuid.c: Likewise.
61165         * posix/glob64.c: Likewise.
61166         * posix/nanosleep.c: Likewise.
61167         * posix/pathconf.c: Likewise.
61168         * posix/pause.c: Likewise.
61169         * posix/posix_madvise.c: Likewise.
61170         * posix/pread.c: Likewise.
61171         * posix/pread64.c: Likewise.
61172         * posix/pwrite.c: Likewise.
61173         * posix/pwrite64.c: Likewise.
61174         * posix/sched_getaffinity.c: Likewise.
61175         * posix/sched_getp.c: Likewise.
61176         * posix/sched_gets.c: Likewise.
61177         * posix/sched_primax.c: Likewise.
61178         * posix/sched_primin.c: Likewise.
61179         * posix/sched_rr_gi.c: Likewise.
61180         * posix/sched_setaffinity.c: Likewise.
61181         * posix/sched_setp.c: Likewise.
61182         * posix/sched_sets.c: Likewise.
61183         * posix/sched_yield.c: Likewise.
61184         * posix/setgid.c: Likewise.
61185         * posix/setlogin.c: Likewise.
61186         * posix/setpgid.c: Likewise.
61187         * posix/setresgid.c: Likewise.
61188         * posix/setresuid.c: Likewise.
61189         * posix/setsid.c: Likewise.
61190         * posix/setuid.c: Likewise.
61191         * posix/sleep.c: Likewise.
61192         * posix/spawni.c: Likewise.
61193         * posix/sysconf.c: Likewise.
61194         * posix/times.c: Likewise.
61195         * posix/wait.c: Likewise.
61196         * posix/wait3.c: Likewise.
61197         * posix/wait4.c: Likewise.
61198         * posix/waitpid.c: Likewise.
61199         * resolv/gai_sigqueue.c: Likewise.
61200         * resource/getpriority.c: Likewise.
61201         * resource/getrlimit.c: Likewise.
61202         * resource/getrusage.c: Likewise.
61203         * resource/nice.c: Likewise.
61204         * resource/setpriority.c: Likewise.
61205         * resource/setrlimit.c: Likewise.
61206         * resource/ulimit.c: Likewise.
61207         * rt/aio_cancel.c: Likewise.
61208         * rt/aio_fsync.c: Likewise.
61209         * rt/aio_read.c: Likewise.
61210         * rt/aio_sigqueue.c: Likewise.
61211         * rt/aio_suspend.c: Likewise.
61212         * rt/aio_write.c: Likewise.
61213         * rt/clock_getres.c: Likewise.
61214         * rt/clock_gettime.c: Likewise.
61215         * rt/clock_nanosleep.c: Likewise.
61216         * rt/clock_settime.c: Likewise.
61217         * rt/lio_listio.c: Likewise.
61218         * rt/mq_close.c: Likewise.
61219         * rt/mq_getattr.c: Likewise.
61220         * rt/mq_notify.c: Likewise.
61221         * rt/mq_open.c: Likewise.
61222         * rt/mq_receive.c: Likewise.
61223         * rt/mq_send.c: Likewise.
61224         * rt/mq_setattr.c: Likewise.
61225         * rt/mq_timedreceive.c: Likewise.
61226         * rt/mq_timedsend.c: Likewise.
61227         * rt/mq_unlink.c: Likewise.
61228         * rt/shm_open.c: Likewise.
61229         * rt/shm_unlink.c: Likewise.
61230         * rt/timer_create.c: Likewise.
61231         * rt/timer_delete.c: Likewise.
61232         * rt/timer_getoverr.c: Likewise.
61233         * rt/timer_gettime.c: Likewise.
61234         * rt/timer_settime.c: Likewise.
61235         * setjmp/__longjmp.c: Likewise.
61236         * setjmp/setjmp.c: Likewise.
61237         * signal/kill.c: Likewise.
61238         * signal/killpg.c: Likewise.
61239         * signal/raise.c: Likewise.
61240         * signal/sigaction.c: Likewise.
61241         * signal/sigaltstack.c: Likewise.
61242         * signal/sigblock.c: Likewise.
61243         * signal/sigignore.c: Likewise.
61244         * signal/sigintr.c: Likewise.
61245         * signal/signal.c: Likewise.
61246         * signal/sigpause.c: Likewise.
61247         * signal/sigpending.c: Likewise.
61248         * signal/sigqueue.c: Likewise.
61249         * signal/sigreturn.c: Likewise.
61250         * signal/sigset.c: Likewise.
61251         * signal/sigsetmask.c: Likewise.
61252         * signal/sigstack.c: Likewise.
61253         * signal/sigsuspend.c: Likewise.
61254         * signal/sigtimedwait.c: Likewise.
61255         * signal/sigvec.c: Likewise.
61256         * signal/sigwait.c: Likewise.
61257         * signal/sigwaitinfo.c: Likewise.
61258         * signal/sysv_signal.c: Likewise.
61259         * socket/accept.c: Likewise.
61260         * socket/accept4.c: Likewise.
61261         * socket/bind.c: Likewise.
61262         * socket/connect.c: Likewise.
61263         * socket/getpeername.c: Likewise.
61264         * socket/getsockname.c: Likewise.
61265         * socket/getsockopt.c: Likewise.
61266         * socket/isfdtype.c: Likewise.
61267         * socket/listen.c: Likewise.
61268         * socket/recv.c: Likewise.
61269         * socket/recvfrom.c: Likewise.
61270         * socket/recvmsg.c: Likewise.
61271         * socket/send.c: Likewise.
61272         * socket/sendmsg.c: Likewise.
61273         * socket/sendto.c: Likewise.
61274         * socket/setsockopt.c: Likewise.
61275         * socket/shutdown.c: Likewise.
61276         * socket/sockatmark.c: Likewise.
61277         * socket/socket.c: Likewise.
61278         * socket/socketpair.c: Likewise.
61279         * stdio-common/ctermid.c: Likewise.
61280         * stdio-common/cuserid.c: Likewise.
61281         * stdio-common/remove.c: Likewise.
61282         * stdio-common/rename.c: Likewise.
61283         * stdio-common/renameat.c: Likewise.
61284         * stdio-common/tempname.c: Likewise.
61285         * stdlib/getcontext.c: Likewise.
61286         * stdlib/makecontext.c: Likewise.
61287         * stdlib/setcontext.c: Likewise.
61288         * stdlib/swapcontext.c: Likewise.
61289         * stdlib/system.c: Likewise.
61290         * streams/fattach.c: Likewise.
61291         * streams/fdetach.c: Likewise.
61292         * streams/getmsg.c: Likewise.
61293         * streams/getpmsg.c: Likewise.
61294         * streams/putmsg.c: Likewise.
61295         * streams/putpmsg.c: Likewise.
61296         * sysdeps/unix/bsd/getpt.c: Likewise.
61297         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
61298         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
61299         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
61300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
61301         Likewise.
61302         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
61303         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
61304         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
61305         * sysvipc/msgctl.c: Likewise.
61306         * sysvipc/msgget.c: Likewise.
61307         * sysvipc/msgrcv.c: Likewise.
61308         * sysvipc/msgsnd.c: Likewise.
61309         * sysvipc/semctl.c: Likewise.
61310         * sysvipc/semget.c: Likewise.
61311         * sysvipc/semop.c: Likewise.
61312         * sysvipc/semtimedop.c: Likewise.
61313         * sysvipc/shmat.c: Likewise.
61314         * sysvipc/shmctl.c: Likewise.
61315         * sysvipc/shmdt.c: Likewise.
61316         * sysvipc/shmget.c: Likewise.
61317         * termios/tcdrain.c: Likewise.
61318         * termios/tcflow.c: Likewise.
61319         * termios/tcflush.c: Likewise.
61320         * termios/tcgetattr.c: Likewise.
61321         * termios/tcgetpgrp.c: Likewise.
61322         * termios/tcsendbrk.c: Likewise.
61323         * termios/tcsetattr.c: Likewise.
61324         * termios/tcsetpgrp.c: Likewise.
61325         * time/adjtime.c: Likewise.
61326         * time/clock.c: Likewise.
61327         * time/getitimer.c: Likewise.
61328         * time/gettimeofday.c: Likewise.
61329         * time/setitimer.c: Likewise.
61330         * time/settimeofday.c: Likewise.
61331         * time/stime.c: Likewise.
61332         * time/time.c: Likewise.
61334 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
61336         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
61337         /usr/old/bin.
61339         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
61340         instead of spaces.
61341         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
61343 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
61345         [BZ #14796]
61346         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
61347         FE_TONEAREST before applying Dekker multiplication and Knuth
61348         addition.  Clear inexact exceptions and check for exact zero
61349         results afterwards.
61350         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61351         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
61352         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61353         * math/libm-test.inc (fma_test): Add more tests.
61354         (fma_test_towardzero): Likewise.
61355         (fma_test_downward): Likewise.
61356         (fma_test_upward): Likewise.
61357         * sysdeps/generic/math_private.h (default_libc_fesetround): New
61358         function.
61359         (libc_fesetround): New macro.
61360         (libc_fesetroundf): Likewise.
61361         (libc_fesetroundl): Likewise.
61362         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
61363         function.
61364         (libc_fesetround_387): Likewise.
61365         (libc_fesetroundf): New macro.
61366         (libc_fesetround): Likewise.
61367         (libc_fesetroundl): Likewise.
61368         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
61369         function.
61370         (libc_fesetroundf): New macro.
61371         (libc_fesetround): Likewise.
61372         (libc_fesetroundl): Likewise.
61373         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
61374         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
61375         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
61376         libm_hidden_ver.
61377         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
61378         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
61379         libm_hidden_def.
61380         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
61381         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
61382         libm_hidden_ver.
61383         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
61384         libm_hidden_def.
61386         [BZ #3439]
61387         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
61388         integer constant usable in #if and use that to give value to enum
61389         constant.
61390         (FE_DIVBYZERO): Likewise.
61391         (FE_UNDERFLOW): Likewise.
61392         (FE_OVERFLOW): Likewise.
61393         (FE_INVALID): Likewise.
61394         (FE_INVALID_SNAN): Likewise.
61395         (FE_INVALID_ISI): Likewise.
61396         (FE_INVALID_IDI): Likewise.
61397         (FE_INVALID_ZDZ): Likewise.
61398         (FE_INVALID_IMZ): Likewise.
61399         (FE_INVALID_COMPARE): Likewise.
61400         (FE_INVALID_SOFTWARE): Likewise.
61401         (FE_INVALID_SQRT): Likewise.
61402         (FE_INVALID_INTEGER_CONVERSION): Likewise.
61403         (FE_TONEAREST): Likewise.
61404         (FE_TOWARDZERO): Likewise.
61405         (FE_UPWARD): Likewise.
61406         (FE_DOWNWARD): Likewise.
61407         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
61408         (FE_DIVBYZERO): Likewise.
61409         (FE_OVERFLOW): Likewise.
61410         (FE_UNDERFLOW): Likewise.
61411         (FE_INEXACT): Likewise.
61412         (FE_TONEAREST): Likewise.
61413         (FE_DOWNWARD): Likewise.
61414         (FE_UPWARD): Likewise.
61415         (FE_TOWARDZERO): Likewise.
61416         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
61417         (FE_UNDERFLOW): Likewise.
61418         (FE_OVERFLOW): Likewise.
61419         (FE_DIVBYZERO): Likewise.
61420         (FE_INVALID): Likewise.
61421         (FE_TONEAREST): Likewise.
61422         (FE_TOWARDZERO): Likewise.
61423         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
61424         (FE_OVERFLOW): Likewise.
61425         (FE_UNDERFLOW): Likewise.
61426         (FE_DIVBYZERO): Likewise.
61427         (FE_INEXACT): Likewise.
61428         (FE_TONEAREST): Likewise.
61429         (FE_TOWARDZERO): Likewise.
61430         (FE_UPWARD): Likewise.
61431         (FE_DOWNWARD): Likewise.
61432         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
61433         (FE_DIVBYZERO): Likewise.
61434         (FE_OVERFLOW): Likewise.
61435         (FE_UNDERFLOW): Likewise.
61436         (FE_INEXACT): Likewise.
61437         (FE_TONEAREST): Likewise.
61438         (FE_DOWNWARD): Likewise.
61439         (FE_UPWARD): Likewise.
61440         (FE_TOWARDZERO): Likewise.
61442 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
61444         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
61446 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
61448         * scripts/cross-test-ssh.sh (command): Use newlines to separate
61449         commands.  Quote $PWD.
61450         (blacklist_exports): Don't use remove_newlines.  Replace "declare
61451         -x" by "export".
61452         (remove_newlines): Remove.
61454 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
61456         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
61457         * stdlib/stdlib.h (atof): Moved to ...
61458         * include/bits/stdlib-float.h: Here.  New file.
61459         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
61460         * stdlib/bits/stdlib-float.h: New file.
61461         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
61462         -mno-sse -mno-mmx.
61463         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
61464         <xmmintrin.h>.
61466 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
61468         * conform/conformtest.pl (@headers): Add fenv.h.
61469         * conform/data/fenv.h-data: New file.
61470         * include/fenv.h [_ISOMAC]: Disable all contents of file except
61471         include of <math/fenv.h>.
61473         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
61474         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
61475         && !UNIX98].  Enables tests for XOPEN2K8.
61476         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
61477         POSIX2008]: Likewise.
61479         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
61480         (struct rusage): Do not expect type or its members.
61482         [BZ #3439]
61483         * math/math.h (FP_NAN): Define macro to integer constant usable in
61484         #if and use that to give value to enum constant.
61485         (FP_INFINITE): Likewise.
61486         (FP_ZERO): Likewise.
61487         (FP_SUBNORMAL): Likewise.
61488         (FP_NORMAL): Likewise.
61490 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
61492         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
61493         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
61494         arguments.
61496 2012-11-02  Roland McGrath  <roland@hack.frob.com>
61498         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
61499         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
61500         autoconf-time if not.
61501         * configure.in: Remove AC_PREREQ.
61503 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61505         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
61506         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
61507         of the internal implementation.
61509 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
61511         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
61512         except include of <misc/sys/syslog.h>.
61514 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
61516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
61517         function returns with a NULL context exit with zero.
61519 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61521         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
61523 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
61525         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
61526         (run_program_cmd): This.
61527         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
61528         (tst_langinfo): New variable.  Use it.
61530 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
61532         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
61533         floating point opcodes.
61535 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
61537         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
61538         variable.
61540         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
61542         * sysdeps/mach/hurd/powerpc: Remove directory.
61543         * sysdeps/mach/powerpc: Likewise.
61545 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
61547         * scripts/check-local-headers.sh: Ignore c++ headers.
61549 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
61551         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
61552         __libc_cleanup_region_start argument.
61554 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
61556         [BZ #14784]
61557         [BZ #14785]
61558         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
61559         x * y using scaling, not as x * y + z.
61560         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61561         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61562         * math/libm-test.inc (fma_test): Add more tests.
61563         (fma_test_towardzero): Likewise.
61564         (fma_test_downward): Likewise.
61565         (fma_test_upward): Likewise.
61567 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
61569         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
61571 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
61573         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
61574         New variable.
61576 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
61578         * rt/tst-shm.c (worker): Correct checking for mmap failure.
61580 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
61582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61583         Fix sort order.
61584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
61585         Likewise.
61587 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61590         Fix the order of the list for glibc 2.17.
61591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
61592         Likewise.
61594 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
61596         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61598 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
61600         [BZ #14610]
61601         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
61602         for low part of x being zero before using __atanl (y).
61603         * math/libm-test.inc (atan2_test): Add another test.
61605         * manual/install.texi (Configuring and compiling): Document
61606         general use of test-wrapper and test-wrapper-env.
61607         * INSTALL: Regenerated.
61609         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
61610         (__fma): Do not extract and scale down low bits on after-rounding
61611         systems when result rounded to normal precision would have normal
61612         exponent.
61613         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
61614         (__fmal): Do not extract and scale down low bits on after-rounding
61615         systems when result rounded to normal precision would have normal
61616         exponent.
61617         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
61618         (__fmal): Do not extract and scale down low bits on after-rounding
61619         systems when result rounded to normal precision would have normal
61620         exponent.
61621         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
61622         macro.
61623         (fma_test): Add more tests.
61624         (fma_test_towardzero): Likewise.
61625         (fma_test_downward): Likewise.
61626         (fma_test_upward): Likewise.
61628 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
61630         * sysdeps/i386/tininess.h: Renamed to ...
61631         * sysdeps/x86/tininess.h: This.
61632         * sysdeps/x86_64/tininess.h: Removed.
61634 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
61636         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
61637         input.  Use $(build-program-cmd).
61638         ($(objpfx)tst-array1-static.out): Likewise.
61639         ($(objpfx)tst-array2.out): Likewise.
61640         ($(objpfx)tst-array3.out): Likewise.
61641         ($(objpfx)tst-array4.out): Likewise.
61642         ($(objpfx)tst-array5.out): Likewise.
61643         ($(objpfx)tst-array5-static.out): Likewise.
61645 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
61647         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
61648         if defined.
61650         * nss/nsswitch.h (nss_interface_function): Provide new
61651         macro for use with NSS functions.
61652         * grp/initgroups.c: Use new macro.
61653         * nss/getXXbyYY.c: Likewise.
61654         * nss/getXXbyYY_r.c: Likewise.
61655         * nss/getXXent.c: Likewise.
61656         * nss/getXXent_r.c: Likewise.
61657         * sysdeps/posix/getaddrinfo.c: Likewise.
61659 2012-10-30  Andreas Jaeger  <aj@suse.de>
61661         * po/ru.po: Update Russion translation from translation project.
61663 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
61665         [BZ #14152]
61666         [BZ #14783]
61667         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
61668         result and shift together with sticky bit instead of replicating
61669         round-to-nearest rounding.
61670         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61671         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61672         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
61673         missing underflow exceptions.
61674         (fma_test_towardzero): Add more tests.
61675         (fma_test_downward): Likewise.
61676         (fma_test_upward): Likewise.
61678         [BZ #14047]
61679         * sysdeps/generic/tininess.h: New file.
61680         * sysdeps/i386/tininess.h: Likewise.
61681         * sysdeps/sh/tininess.h: Likewise.
61682         * sysdeps/x86_64/tininess.h: Likewise.
61683         * stdlib/tst-strtod-underflow.c: Likewise.
61684         * stdlib/tst-tininess.c: Likewise.
61685         * stdlib/strtod_l.c: Include <tininess.h>.
61686         (round_and_return): Do not set errno for exact underflow cases.
61687         Force an underflow exception when setting errno for underflow.
61688         Determine underflow based on rounding to normal precision if
61689         TININESS_AFTER_ROUNDING.
61690         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
61691         ERANGE for exact underflow cases.
61692         * stdlib/Makefile (tests): Add tst-tininess and
61693         tst-strtod-underflow.
61694         ($(objpfx)tst-tininess): Use $(link-libm).
61695         ($(objpfx)tst-strtod-underflow): Likewise.
61697 2012-10-30  Andreas Jaeger  <aj@suse.de>
61699         [BZ#14767]
61700         * elf/Makefile (tests): Remove conditional for have-initfini-array
61701         since this is now always required and the variable does not exist
61702         anymore.
61703         (tests-static): Likewise.
61704         (modules-names): Likewise.
61706         * po/eo.po: Add Esperanto translation from translation project.
61708         * elf/tst-array1.c (fini_array): Make writeable so that it can be
61709         merged with constructor/destructor.
61710         (init_array): Likewise.
61711         * elf/tst-array2dep.c (fini_array): Likewise.
61712         (init_array): Likewise.
61714 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
61716         * manual/message.texi: Delete @cartouche tags.
61718 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
61720         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
61721         EOPNOTSUPP.
61722         * sysdeps/mach/hurd/fsync.c: Likewise.
61724         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
61725         [_POSIX_REALTIME_SIGNALS]: Change condition to
61726         [_POSIX_REALTIME_SIGNALS > 0].
61728 2012-10-27  Andreas Jaeger  <aj@suse.de>
61730         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
61731         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
61732         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
61733         [__WORDSIZE != 64]: Likewise.
61735 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
61737         *  iconvdata/tst-table.sh: Remove ${SHELL}.
61738         *  iconvdata/tst-tables.sh: Likewise.
61740 2012-10-25  David S. Miller  <davem@davemloft.net>
61742         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61743         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
61744         of strtoull.
61746         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
61747         ifunc-impl-list.c
61748         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
61749         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
61750         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
61751         file.
61753 2012-10-25  Roland McGrath  <roland@hack.frob.com>
61755         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61756         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
61757         __getdirentries.
61759 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
61760             Jim Blandy  <jimb@codesourcery.com>
61762         * scripts/cross-test-ssh.sh: New file.
61763         * manual/install.texi (Configuring and compiling): Document use of
61764         cross-test-ssh.sh.
61765         * INSTALL: Regenerated.
61767 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
61769         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
61770         EOPNOTSUPP.
61772 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
61774         * Makeconfig (run-program-prefix): Fix comment.
61776 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
61777             Jim Blandy  <jimb@codesourcery.com>
61779         * Makeconfig (test-wrapper): New variable,
61780         (test-wrapper-env): Likewise.
61781         [$(cross-compiling) = yes && $(test-wrapper) != ""]
61782         (run-built-tests): Define to yes.
61783         (run-program-prefix): Use $(test-wrapper).
61784         (built-program-cmd): Likewise.
61785         * Rules (make-test-out): Use $(test-wrapper-env) and
61786         $(host-built-program-cmd).
61787         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
61788         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
61789         tst-pathopt.sh.
61790         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
61791         $(test-wrapper-env) to tst-rtld-load-self.sh.
61792         ($(objpfx)order2.out): Use $(test-wrapper).
61793         ($(objpfx)tst-initorder.out): Likewise.
61794         ($(objpfx)tst-initorder2.out): Likewise.
61795         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
61796         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
61797         (test_wrapper_env): New variable.  Use it to run ld.so.
61798         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
61799         Use it to run ld.so.
61800         (test_wrapper_env): Likewise.
61801         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
61802         $(test-wrapper) to run-iconv-test.sh.
61803         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
61804         (ICONV): Use $test_wrapper.
61805         * posix/Makefile ($(objpfx)globtest.out): Pass
61806         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
61807         globtest.sh, not $(run-program-prefix).
61808         * posix/globtest.sh (run_via_rtld_prefix): New variable.
61809         (test_wrapper): Likewise.
61810         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
61811         set together with run_via_rtld_prefix.
61812         (run_program_prefix): Define in terms of test_wrapper and
61813         run_via_rtld_prefix.
61815 2012-10-24  Roland McGrath  <roland@hack.frob.com>
61817         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
61818         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
61819         Targets removed.
61821         [BZ #14743]
61822         * include/time.h: Remove librt_hidden_proto (clock_gettime).
61823         Declare __clock_getres, __clock_gettime, __clock_settime,
61824         __clock_nanosleep, and __clock_getcpuclockid.
61825         * rt/clock_gettime.c: Define __clock_gettime as an alias.
61826         Remove librt_hidden_def (clock_gettime).
61827         * sysdeps/unix/clock_gettime.c: Likewise.
61828         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
61829         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
61830         * rt/clock_getres.c: Define __clock_getres as an alias.
61831         * sysdeps/posix/clock_getres.c: Likewise.
61832         * rt/clock_settime.c: Define __clock_settime as an alias.
61833         * sysdeps/unix/clock_settime.c: Likewise.
61834         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
61835         * sysdeps/unix/clock_nanosleep.c: Likewise.
61836         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
61837         * rt/clock-compat.c: New file.
61838         * rt/Makefile (librt-routines): Add clock-compat and move
61839         $(clock-routines) to ...
61840         (routines): ... here, new variable.
61841         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
61842         Don't add get_clockfreq here.
61843         * rt/Versions (libc: GLIBC_2.17): New version set.
61844         Add clock_* symbols here.
61845         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
61846         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
61847         (GLIBC_2.17): Add clock_* symbols.
61848         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
61849         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
61850         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
61851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
61852         Likewise.
61853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61854         Likewise.
61855         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
61856         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
61857         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
61858         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
61859         * NEWS: Mention the move.
61861         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
61862         Use __open, __read, __close rather than their public counterparts.
61863         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61864         (__get_clockfreq_via_cpuinfo): Likewise.
61865         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
61866         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
61868         * config.h.in (HAVE_IFUNC): New #undef.
61869         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
61870         was successful.
61871         * configure: Regenerated.
61873 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
61875         * configure.in: Move READELF check to start of file.
61876         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
61877         libc_cv_asm_gnu_indirect_function in the process.
61878         * configure: Regenerated.
61880 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
61882         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
61883         send the output to /dev/null.
61884         (libc_cv_cc_with_libunwind): Likewise.
61885         (libc_cv_as_noexecstack): Likewise.
61886         * configure: Regenerate.
61888 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
61890         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
61892         * posix/globtest.sh (TMPDIR): Do not set.
61893         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
61894         (testout): Likewise.
61896 2012-10-24  Andreas Jaeger  <aj@suse.de>
61898         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
61899         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
61900         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
61901         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
61902         posix_fadvise64, posix_fallocate64.
61904         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
61905         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
61906         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
61907         Likewise.
61908         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
61909         Likewise.
61910         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
61912         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
61913         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
61914         <bits/fcntl-linux.h>.
61915         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
61917         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
61918         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
61919         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
61920         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
61921         [__WORDSIZE != 64]: Likewise.
61923 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
61925         * Makeconfig (run-built-tests): New variable.
61926         * Rules [$(cross-compiling) = yes]: Change condition to
61927         [$(run-built-tests) = no].
61928         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
61929         to [$(run-built-tests) = yes].
61930         * elf/Makefile [$(cross-compiling) = no]: Likewise.
61931         * grp/Makefile [$(cross-compiling) = no]: Likewise.
61932         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
61933         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
61934         * intl/Makefile [$(cross-compiling) = no]: Likewise.
61935         * io/Makefile [$(cross-compiling) = no]: Likewise.
61936         * libio/Makefile [$(cross-compiling) = no]: Likewise.
61937         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
61938         * misc/Makefile [$(cross-compiling) = no]: Likewise.
61939         * posix/Makefile [$(cross-compiling) = no]: Likewise.
61940         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
61941         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
61942         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
61943         * string/Makefile [$(cross-compiling) = no]: Likewise.
61945         * posix/Makefile ($(objpfx)globtest.out): Pass
61946         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
61947         $(rtld-installed-name).
61948         * posix/globtest.sh (elf_objpfx): Remove variable.
61949         (rtld_installed_name): Likewise.
61950         (library_path): Likewise.
61951         (run_program_prefix): New variable.  Use for running globtest
61952         binary.
61954 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
61955             Joseph Myers  <joseph@codesourcery.com>
61957         * Makeconfig (host-built-program-cmd): New variable.
61958         * elf/Makefile (tst-stackguard1-ARGS): Use
61959         $(host-built-program-cmd).
61960         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
61961         (tst-spawn-ARGS): Likewise.
61962         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
61964 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
61965             Jim Blandy  <jimb@codesourcery.com>
61967         * Makeconfig (run-via-rtld-prefix): New variable.
61968         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
61969         (built-program-cmd): Likewise.
61971 2012-10-22  Andreas Jaeger  <aj@suse.de>
61973         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
61974         __O_RSYNC if it exists, otherwise to O_SYNC.
61976 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
61977             Joseph Myers  <joseph@codesourcery.com>
61979         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
61980         /dev/null.
61981         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
61982         from /dev/null
61983         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
61984         /dev/null.
61986 2012-10-22  Andreas Jaeger  <aj@suse.de>
61988         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
61989         Define always.
61990         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
61992         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61993         bits/fcntl-linux.h.
61995         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
61996         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
61998         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
61999         to __O_LARGEFILE.
62000         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
62001         to __O_LARGEFILE.
62003 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
62004             Joseph Myers  <joseph@codesourcery.com>
62006         * config.make.in (NM): New variable.
62008 2012-10-21  Andreas Jaeger  <aj@suse.de>
62010         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
62011         definitions and declarations that are provided by
62012         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
62014 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
62016         [BZ #14683]
62017         * elf/Makefile (tests-static): Add tst-leaks1-static.
62018         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
62019         ($(objpfx)tst-leaks1-static): New rule.
62020         ($(objpfx)tst-leaks1-static-mem): Likewise.
62021         (tst-leaks1-static-ENV): New macro.
62022         * elf/dl-open.c (dl_open_worker): Check the main application
62023         only if SHARED is defined.
62024         * elf/tst-leaks1-static.c: New file.
62026 2012-10-20  Andreas Jaeger  <aj@suse.de>
62028         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
62029         generic values for Linux.
62030         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
62031         and declarations that are provided by <bits/fcntl-linux.h> and
62032         include <bits/fcntl-linux.h>.
62033         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62034         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62036 2012-10-20  Roland McGrath  <roland@hack.frob.com>
62038         * io/fcntl.h: Move include of <bits/types.h> to the top and
62039         include it unconditionally.
62041 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
62043         * wcsmbs/Makefile (tests-ifunc): New variable.
62044         (tests): Add $(tests-ifunc).
62045         * wcsmbs/test-wcschr-ifunc.c: New file.
62046         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
62047         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
62048         * wcsmbs/test-wcslen-ifunc.c: Likewise.
62049         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
62050         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
62052         * string/Makefile (tests-ifunc): New variable.
62053         (tests): Add $(tests-ifunc).
62054         * string/test-memccpy.c (TEST_NAME): New macro.
62055         * string/test-memchr.c (TEST_NAME): Likewise.
62056         * string/test-memcmp.c (TEST_NAME): Likewise.
62057         * string/test-memcpy.c (TEST_NAME): Likewise.
62058         * string/test-memmem.c (TEST_NAME): Likewise.
62059         * string/test-memmove.c (TEST_NAME): Likewise.
62060         * string/test-memset.c (TEST_NAME): Likewise.
62061         * string/test-rawmemchr.c (TEST_NAME): Likewise.
62062         * string/test-stpcpy.c (TEST_NAME): Likewise.
62063         * string/test-stpncpy.c (TEST_NAME): Likewise.
62064         * string/test-strcasecmp.c (TEST_NAME): Likewise.
62065         * string/test-strcasestr.c (TEST_NAME): Likewise.
62066         * string/test-strcat.c (TEST_NAME): Likewise.
62067         * string/test-strchr.c (TEST_NAME): Likewise.
62068         * string/test-strcmp.c(TEST_NAME): Likewise.
62069         * string/test-strcpy.c (TEST_NAME): Likewise.
62070         * string/test-strcspn.c (TEST_NAME): Likewise.
62071         * string/test-strlen.c (TEST_NAME): Likewise.
62072         * string/test-strncasecmp.c (TEST_NAME): Likewise.
62073         * string/test-strncmp.c (TEST_NAME): Likewise.
62074         * string/test-strncpy.c (TEST_NAME): Likewise.
62075         * string/test-strnlen.c (TEST_NAME): Likewise.
62076         * string/test-strpbrk.c (TEST_NAME): Likewise.
62077         * string/test-strrchr.c (TEST_NAME): Likewise.
62078         * string/test-strspn.c (TEST_NAME): Likewise.
62079         * string/test-strstr.c (TEST_NAME): Likewise.
62080         * string/test-bcopy-ifunc.c: New file.
62081         * string/test-bzero-ifunc.c: Likewise.
62082         * string/test-memccpy-ifunc.c: Likewise.
62083         * string/test-memchr-ifunc.c: Likewise.
62084         * string/test-memcmp-ifunc.c: Likewise.
62085         * string/test-memcpy-ifunc.c: Likewise.
62086         * string/test-memmem-ifunc.c: Likewise.
62087         * string/test-memmove-ifunc.c: Likewise.
62088         * string/test-mempcpy-ifunc.c: Likewise.
62089         * string/test-memset-ifunc.c: Likewise.
62090         * string/test-rawmemchr-ifunc.c: Likewise.
62091         * string/test-stpcpy-ifunc.c: Likewise.
62092         * string/test-stpncpy-ifunc.c: Likewise.
62093         * string/test-strcasecmp-ifunc.c: Likewise.
62094         * string/test-strcasestr-ifunc.c: Likewise.
62095         * string/test-strcat-ifunc.c: Likewise.
62096         * string/test-strchr-ifunc.c: Likewise.
62097         * string/test-strchrnul-ifunc.c: Likewise.
62098         * string/test-strcmp-ifunc.c: Likewise.
62099         * string/test-strcpy-ifunc.c: Likewise.
62100         * string/test-strcspn-ifunc.c: Likewise.
62101         * string/test-strlen-ifunc.c: Likewise.
62102         * string/test-strncasecmp-ifunc.c: Likewise.
62103         * string/test-strncat-ifunc.c: Likewise.
62104         * string/test-strncmp-ifunc.c: Likewise.
62105         * string/test-strncpy-ifunc.c: Likewise.
62106         * string/test-strnlen-ifunc.c: Likewise.
62107         * string/test-strpbrk-ifunc.c: Likewise.
62108         * string/test-strrchr-ifunc.c: Likewise.
62109         * string/test-strspn-ifunc.c: Likewise.
62110         * string/test-strstr-ifunc.c: Likewise.
62112         * debug/Makefile (tests-ifunc): New variable.
62113         (tests): Add $(tests-ifunc).
62114         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
62115         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
62116         * debug/test-stpcpy_chk-ifunc.c: New file.
62117         * debug/test-strcpy_chk-ifunc.c: Likewise.
62119 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
62121         [BZ #13601]
62122         * elf/dl-load.c (open_verify): Retry read if the entire ELF
62123         header is not read in.
62125 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
62127         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
62128         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
62129         directly.  Pass built executable to script as
62130         $(built-program-cmd).
62131         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
62132         $testprogram without using LD_LIBRARY_PATH and $ldso.
62134         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
62135         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
62136         $(rtld-installed-name).
62137         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
62138         (rtld_installed_name): Likewise.
62139         (library_path): Likewise.
62140         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
62141         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
62142         $(run-program-prefix) to tst-tables.sh.
62143         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
62144         it to run tst-table-from and tst-table-to.
62145         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
62146         Pass it to tst-table.sh.
62147         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
62148         $(run-program-prefix) to tst-gettext.sh.
62149         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
62150         tst-translit.sh.
62151         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
62152         tst-gettext2.sh.
62153         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
62154         to run tst-gettext.
62155         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
62156         to run tst-gettext2.
62157         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
62158         to run tst-translit.
62159         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
62160         $(run-program-prefix) to tst-mtrace.sh.
62161         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
62162         to run tst-mtrace.
62163         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
62164         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
62165         $(rtld-installed-name).
62166         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
62167         (rtld_installed_name): Likewise.
62168         (run_program_prefix): New variable.  Use it to run wordexp-test.
62170         * Makeconfig (ARCH): Remove all definitions.
62171         (machine): Likewise.
62172         [ARCH]: Remove conditional code.
62173         [!objdir]: Give error.
62174         [!objdir] (objpfx): Remove.
62175         [!objdir] (common-objpfx): Likewise.
62176         [!objdir] (common-objdir): Likewise.
62177         * configure.in (config_makefile): Remove.  Hardcode Makefile in
62178         AC_CONFIG_FILES call.
62179         * configure: Regenerated.
62181         [BZ #13888]
62182         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
62183         or TMPDIR.
62184         (testout): Likewise.
62186         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
62187         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
62188         $(rtld-installed-name).
62189         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
62190         (rtld_installed_name): Likwise.
62191         (runit): Remove function.
62192         (run_getconf): New variable,  Use it for running getconf binary.
62194 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
62196         [BZ #14716]
62197         * string/test-memmem.c (check_result): New function.
62198         (do_one_test): Use it.
62199         (check1): New function.
62200         (test_main): Use it.
62202 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
62204         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
62206 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
62208         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
62209         (_G_LSEEK64): Likewise.
62210         (_G_MMAP64): Likewise.
62211         (_G_FSTAT64): Likewise.
62212         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
62213         (_G_LSEEK64): Likewise.
62214         (_G_MMAP64): Likewise.
62215         (_G_FSTAT64): Likewise.
62216         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
62217         unconditional.  Call __mmap64 directly.
62218         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
62219         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
62220         __lseek64 directly.
62221         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
62222         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
62223         __mmap64 directly.
62224         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
62225         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
62226         __lseek64 directly.
62227         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
62228         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
62229         __lseek64 directly.
62230         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
62231         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
62232         __lseek64 directly.
62233         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
62234         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
62235         __fxstat64 directly.
62236         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
62237         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
62238         unconditional.
62239         (freopen64) [!_G_OPEN64]: Remove conditional code.
62240         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
62241         unconditional.
62242         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
62243         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
62244         unconditional.
62245         (ftello64) [!_G_LSEEK64]: Remove conditional code.
62246         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
62247         unconditional.
62248         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
62249         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
62250         unconditional.
62251         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
62252         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
62253         unconditional.
62254         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
62255         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
62256         unconditional.
62257         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
62258         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
62259         unconditional.
62260         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
62262 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
62264         [BZ #12140]
62265         * manual/memory.texi (Malloc Tunable Parameters): Add note
62266         about free list pointers overwriting some perturb bytes.
62267         Wording suggested by Roland McGrath.
62269 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
62271         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
62272         (lgamma_test): Likewise.
62273         (tgamma_test): Likewise.
62275 2012-10-16  Florian Weimer  <fweimer@redhat.com>
62277         [BZ #14700]
62278         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
62279         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
62281 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
62283         * NEWS: Mention BZ #14716.
62284         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
62285         when removing AVAILABLE1_USES_J macro.
62287 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
62289         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
62290         (__bswap_64): __uint64_t for unsigned 64-bit int.
62292 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
62294         * include/string.h (memmem): Declare libc hidden alias.
62295         * string/memmem.c (memmem): Define libc hidden alias.
62296         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
62297         __read, __close instead of open, read, close.
62299 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
62301         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
62302         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
62303         global and hidden.
62304         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
62305         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
62306         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
62307         Likewise.
62308         (__rawmemchr_sse2): Likewise.
62309         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
62310         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
62311         (__strchr_sse2): Likewise.
62312         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
62313         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
62314         (__strcasecmp_sse2): Likewise.
62315         (__strncasecmp_sse2): Likewise.
62316         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
62317         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
62318         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
62319         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
62320         (__strrchr_sse2): Likewise.
62321         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
62322         ifunc-impl-list.c.
62323         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
62324         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
62325         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
62326         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
62327         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
62328         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
62329         * sysdeps/x86_64/multiarch/memset.S: Likewise.
62330         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
62331         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
62332         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
62333         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
62334         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
62335         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
62336         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
62337         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
62338         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
62339         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
62340         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
62341         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
62342         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
62343         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
62344         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
62345         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
62346         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
62347         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
62348         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
62349         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
62350         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
62351         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
62352         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
62354         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
62355         global and hidden.
62356         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
62357         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
62358         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
62359         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
62360         Likewise.
62361         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
62362         Likewise.
62363         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
62364         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
62365         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
62366         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
62367         ifunc-impl-list.c.
62368         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
62369         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
62370         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
62371         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
62372         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
62373         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
62374         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
62375         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
62376         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
62377         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
62378         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
62379         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
62380         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
62381         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
62382         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
62383         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
62384         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
62385         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
62386         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
62387         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
62388         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
62389         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
62390         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
62391         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
62392         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
62393         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
62394         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
62395         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
62396         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
62397         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
62398         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
62399         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
62400         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
62401         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
62402         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
62403         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
62404         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
62405         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
62406         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
62407         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
62408         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
62410         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
62411         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
62412         * include/ifunc-impl-list.h: New file.
62413         * misc/ifunc-impl-list.c: Likewise.
62414         * misc/Makefile (routines): Add ifunc-impl-list.
62415         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
62416         * string/test-string.h: Include <ifunc-impl-list.h>.
62417         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
62418         TEST_NAME]: New variables.
62419         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
62420         are defined.
62421         (test_init): Call __libc_ifunc_impl_list to initialize
62422         func_list if TEST_IFUNC and TEST_NAME are defined.
62424         * string/Makefile (strop-tests): Add bcopy and bzero.
62425         * string/test-bcopy.c: New file.
62426         * string/test-bzero.c: Likewise.
62427         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
62428         defined.
62429         * string/test-memset.c: Support bzero test if TEST_BZERO is
62430         defined.
62431         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
62432         __libc_memmove.
62433         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
62434         __libc_memset.
62435         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
62436         of memset.
62438 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
62440         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
62441         * configure: Regenerated.
62443         * Makeconfig (+link-static-before-libc): Don't include
62444         $(link-static-libc).
62446         * libio/libio.h (_IO_pos_t): Remove.
62448 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
62450         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
62451         McGrath.
62453 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
62455         * crypt/crypt-entry.c: Include fips-private.h.
62456         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
62457         * crypt/md5c-test.c (main): Tolerate disabled MD5.
62458         * sysdeps/unix/sysv/linux/fips-private.h: New file.
62459         * sysdeps/generic/fips-private.h: New file, dummy fallback.
62461 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
62463         * crypt/crypt-private.h: Include stdbool.h.
62464         (_ufc_setup_salt_r): Return bool.
62465         * crypt/crypt-entry.c: Include errno.h.
62466         (__crypt_r): Return NULL with EINVAL for bad salt.
62467         * crypt/crypt_util.c (bad_for_salt): New.
62468         (_ufc_setup_salt_r): Check that salt is long enough and within
62469         the specified alphabet.
62470         * crypt/badsalttest.c: New file.
62471         * crypt/Makefile (tests): Add it.
62472         ($(objpfx)badsalttest): New.
62474 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
62476         * NEWS: Add entry for BZ #14602.
62478 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
62480         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
62481         type-generic.
62482         * math/libm-test.inc: Update comment listing what functions and
62483         macros are tested.
62484         (isgreater_test): New function.
62485         (isgreaterequal_test): Likewise.
62486         (isless_test): Likewise.
62487         (islessequal_test): Likewise.
62488         (islessgreater_test): Likewise.
62489         (isunordered_test): Likewise.
62490         (main): Call the new functions.
62492 2012-10-09  Roland McGrath  <roland@hack.frob.com>
62494         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
62495         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
62496         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
62497         * sysdeps/i386/configure: Regenerated.
62498         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
62499         * sysdeps/mach/configure: Regenerated.
62500         * sysdeps/mach/hurd/configure: Regenerated.
62501         * sysdeps/powerpc/configure: Regenerated.
62502         * sysdeps/powerpc/powerpc32/configure: Regenerated.
62503         * sysdeps/powerpc/powerpc64/configure: Regenerated.
62504         * sysdeps/s390/s390-32/configure: Regenerated.
62505         * sysdeps/s390/s390-64/configure: Regenerated.
62506         * sysdeps/sh/configure: Regenerated.
62507         * sysdeps/sparc/configure: Regenerated.
62508         * sysdeps/unix/sysv/linux/configure: Regenerated.
62509         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
62510         * sysdeps/x86_64/configure: Regenerated.
62512         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
62513         defined.  Don't check if MAP is NULL.
62515 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
62517         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
62518         (_G_stat64): Likewise.
62519         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
62520         (_G_stat64): Likewise.
62521         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
62522         instead of struct _G_stat64.
62523         * libio/fileops.c (mmap_remap_check): Likewise.
62524         (decide_maybe_mmap): Likewise.
62525         (_IO_new_file_seekoff): Likewise.
62526         (_IO_file_stat): Likewise.
62527         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
62528         _G_off64_t.
62529         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
62530         instead of struct _G_stat64.
62531         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
62533 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
62535         [BZ #14602]
62536         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
62537         Replace with ...
62538         (CHECK_EOL): New macro.
62539         (two_way_short_needle): Check beginning of haystack for EOL.  Use
62540         CHECK_EOL.
62541         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
62542         Replace with CHECK_EOL.
62543         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
62544         Replace with CHECK_EOL.
62546 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
62548         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
62549         type-generic.
62550         * math/libm-test.inc: Update comment listing what functions and
62551         macros are tested.
62552         (finite_test): New function.
62553         (isinf_test): Likewise.
62554         (isnan_test): Likewise.
62555         (fpclassify_test): Test subnormal input.
62556         (isfinite_test): Likewise.
62557         (isnormal_test): Likewise.
62558         (main): Call the new functions.
62560 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
62562         [BZ #14660]
62563         * Makerules (%.dynsym): Force C locale when running
62564         $(OBJDUMP) --dynamic-syms.
62566 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
62568         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
62569         <stdint.h>.
62571 2012-10-06  David S. Miller  <davem@davemloft.net>
62573         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
62574         upper 32-bits of the length value in %o2 since we use branch-on-register
62575         tests which consider the entire 64-bit register.
62577 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
62579         * string/test-strstr.c (check2): Add a test for page boundary.
62581 2012-10-05  David S. Miller  <davem@davemloft.net>
62583         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
62584         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
62585         file.
62586         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
62587         sysdep_routines.
62588         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
62589         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
62590         and bzero when HWCAP_SPARC_CRYPTO is present.
62592 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
62594         [BZ #14602]
62595         * string/test-strstr.c (check2): New function.
62596         (test_main): Call check2.
62598         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
62599         and bug-strchr1.
62600         * string/bug-strcasestr1.c (do_test): Moved to ...
62601         * string/test-strcasestr.c (check1): Here.  New function.
62602         (do_one_test): Break out result checking code into ...
62603         (check_result): This.  New function.
62604         (do_one_test): Call check_result.
62605         (test_main): Call check1.
62606         * string/bug-strchr1.c (do_test): Moved to ...
62607         * string/test-strchr.c (check1): Here.  New function.
62608         (do_one_test): Break out result checking code into ...
62609         (check_result): This.  New function.
62610         (do_one_test): Call check_result.
62611         (test_main): Call check1.
62612         * string/bug-strstr1.c (main): Moved to ...
62613         * string/test-strstr.c (check1): Here.  New function.
62614         (do_one_test): Break out result checking code into ...
62615         (check_result): This.  New function.
62616         (do_one_test): Call check_result.
62617         (test_main): Call check1.
62618         * string/bug-strcasestr1.c: Removed.
62619         * string/bug-strchr1.c: Likewise.
62620         * string/bug-strstr1.c: Likewise.
62622         * elf/Makefile (dl-routines): Add hwcaps.
62623         * elf/dl-support.c (_dl_important_hwcaps): Removed.
62624         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
62625         (_dl_important_hwcaps): Moved to ...
62626         * elf/dl-hwcaps.c: Here.  New file.
62627         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
62629         [BZ #14557]
62630         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
62631         if IS_IN_rtld isn't defined.
62633         * elf/dl-support.c (_dl_sysinfo_map): New.
62634         Include "get-dynamic-info.h" and "setup-vdso.h".
62635         (_dl_non_dynamic_init): Call setup_vdso.
62636         * elf/dynamic-link.h: Don't include <assert.h>.
62637         (elf_get_dynamic_info): Moved to ...
62638         * elf/get-dynamic-info.h: Here.  New file.
62639         * elf/dynamic-link.h: Include "get-dynamic-info.h".
62640         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
62641         * elf/setup-vdso.h: Here.  New file.
62642         * elf/rtld.c: Include "setup-vdso.h".
62643         (dl_main): Call setup_vdso.
62645 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
62647         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
62648         creal in comment listing functions tested.  List finite, isinf,
62649         isnan, isless, islessequal, isgreater, isgreaterequal,
62650         islessgreater, isunordered, lgamma_r and pow10 as functions and
62651         macros not tested.  Mention which functions not tested are aliases
62652         for other functions.  Fix typo.  Note that signs of NaNs are not
62653         tested.
62655         * scripts/config.guess: Update from config.git.
62656         * scripts/config.sub: Likewise.
62658 2012-10-04  Roland McGrath  <roland@hack.frob.com>
62660         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
62661         * misc/madvise.c (madvise): Renamed to __madvise.
62662         Make madvise a weak alias.
62663         * include/sys/mman.h: Declare __madvise.
62664         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
62665         * sysdeps/unix/syscalls.list
62666         (madvise): Make __madvise the strong name, and madvise a weak alias.
62667         * sysdeps/unix/sysv/linux/syscalls.list
62668         (madvise, mmap): Remove redundant entries.
62669         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
62670         * malloc/malloc.c (mtrim): Likewise.
62671         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
62673 2012-10-03  Roland McGrath  <roland@hack.frob.com>
62675         * sysdeps/mach/hurd/dl-cache.c: File removed.
62676         * config.h.in (USE_LDCONFIG): New #undef.
62677         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
62678         * configure: Regenerated.
62679         * elf/Makefile (dl-routines): Add dl-cache only under
62680         [$(use-ldconfig) = yes].
62681         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
62682         cache on [USE_LDCONFIG].
62683         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
62684         [USE_LDCONFIG].
62685         * elf/rtld.c (dl_main): Likewise.
62687 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
62689         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
62690         _SC_LEVEL4_CACHE_LINESIZE.
62692 2012-10-03  Roland McGrath  <roland@hack.frob.com>
62694         * sysdeps/unix/bsd/confstr.h: File removed.
62696 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
62698         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
62699         sys/sdt-config.h.
62701 2012-10-02  Roland McGrath  <roland@hack.frob.com>
62703         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
62704         Make 'mapoff' field ElfW(Off) rather than off_t.
62706 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
62708         * nscd/Makefile: Remove nscd-cflags and all its users.
62709         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
62710         (CFLAGS-nonlib): Add compiler flags for nscd modules.
62712         [BZ #10631]
62713         * malloc.c (malloc_printerr): Clarify error message.
62715 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
62717         [BZ #14648]
62718         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62719         Set bit_FMA_Usable if FMA is supported.
62720         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
62721         macro.
62722         (bit_FMA4_Usable): Updated.
62723         (index_FMA_Usable): New macro.
62724         (CPUID_FMA): Likewise.
62725         (HAS_FMA): Defined with bit_FMA_Usable.
62727 2012-10-01  Roland McGrath  <roland@hack.frob.com>
62729         * bits/types.h (__swblk_t): Type removed.
62730         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
62731         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
62732         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62733         (__SWBLK_T_TYPE): Likewise.
62734         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
62735         (__SWBLK_T_TYPE): Likewise.
62736         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62737         (__SWBLK_T_TYPE): Likewise.
62738         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62739         (__SWBLK_T_TYPE): Likewise.
62741 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
62742             Honza Horak <hhorak@redhat.com>
62744         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
62745         (xdr_mapname): Use YPMAXMAP as maxsize.
62746         (xdr_peername): Use YPMAXPEER as maxsize.
62747         (xdr_keydat): Use YPAXRECORD as maxsize.
62748         (xdr_valdat): Use YPMAXRECORD as maxsize.
62750 2012-10-01  Roland McGrath  <roland@hack.frob.com>
62752         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
62754         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
62755         * csu/init-first.c: ... here.
62756         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
62757         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
62758         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
62759         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
62760         * sysdeps/i386/init-first.c: File removed.
62761         * sysdeps/sh/init-first.c: File removed.
62763 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
62765         [BZ #14645]
62766         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
62767         if x * y might underflow to zero and z is zero.
62768         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62769         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62770         * math/libm-test.inc (min_subnorm_value): New variable.
62771         (fma_test): Add more tests.
62772         (fma_test_towardzero): Likewise.
62773         (fma_test_downward): Likewise.
62774         (fma_test_upward): Likewise.
62775         (initialize): Set min_subnorm_value.
62777 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
62779         [BZ #14638]
62780         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
62781         0 + 0.
62782         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
62783         mode for addition resulting in exact zero.
62784         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
62785         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
62786         exact 0 + 0.
62787         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
62788         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62789         * math/libm-test.inc (fma_test): Add more tests.
62790         (fma_test_towardzero): New function.
62791         (fma_test_downward): Likewise.
62792         (fma_test_upward): Likewise.
62793         (main): Call the new functions.
62795 2012-09-28  David S. Miller  <davem@davemloft.net>
62797         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
62799 2012-09-28  Roland McGrath  <roland@hack.frob.com>
62801         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
62802         instead of SIGALRM.
62804         * sysdeps/gnu/_G_config.h: Moved to ...
62805         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
62806         * sysdeps/mach/hurd/_G_config.h: Moved to ...
62807         * sysdeps/generic/_G_config.h: ... here.
62809         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
62811         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
62813         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
62814         Conditionalize target on [libnss_test1.so-version].
62816         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
62818         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
62819         (elfobjdir): Move out of conditionals.
62821         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
62822         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
62823         (__nss_lookup_function): Conditionalize label remove_from_tree on
62824         [!DO_STATIC_NSS || SHARED], matching its only use.
62826 2012-09-28  David S. Miller  <davem@davemloft.net>
62828         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
62829         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
62830         file.
62831         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
62832         sysdep_routines.
62833         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
62834         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
62835         when HWCAP_SPARC_CRYPTO is present.
62837 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
62839         * io/tst-mknodat.c: Create a FIFO instead of a socket.
62841 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
62843         [BZ #6530]
62844         * stdio-common/vfprintf.c (process_string_arg): Revert
62845         2000-07-22 change.
62847 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
62849         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
62850         for testcase.
62851         * stdio-common/tst-sprintf.c: Include <locale.h>
62852         (main): Test sprintf's handling of incomplete multibyte
62853         characters.
62855 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
62857         * elf/dl-runtime.c (VERSYMIDX): Removed.
62858         * elf/dl-version.c (VERSYMIDX): Likewise.
62859         * elf/do-rel.h (VERSYMIDX): Likewise.
62860         (VALIDX): Likewise.
62861         * elf/dynamic-link.h (VERSYMIDX): Likewise.
62862         * elf/rtld.c (VALIDX): Likewise.
62863         (ADDRIDX): Likewise.
62864         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
62865         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
62866         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
62867         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
62868         (VALIDX): Likewise.
62869         (ADDRIDX): Likewise.
62871 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
62873         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
62875 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
62877         [BZ #11438]
62878         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
62879         to global scope.
62880         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
62881         addresses are in the same scope as 192.0.2/24.
62882         * posix/gai.conf: Document new scope table defaults.
62884 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62886         [BZ #5298]
62887         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
62888         for ftell.  Compute offsets from write pointers instead.
62889         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
62891 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62893         [BZ #14543]
62894         * libio/Makefile (tests): New test case tst-fseek.
62895         * libio/tst-fseek.c: New test case to verify that fseek/ftell
62896         combination works in wide mode.
62897         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
62898         state when the external buffer state changes.
62900 2012-09-27  David S. Miller  <davem@davemloft.net>
62902         [BZ #14376]
62903         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
62904         pass reloc->r_addend in as the 'high' argument to
62905         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
62907         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62909 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
62911         * rt/tst-aio2.c: Include <pthread.h>.
62912         * rt/tst-aio3.c: Likewise.
62914 2012-09-27  Steve Ellcey  <sellcey@mips.com>
62916         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
62918 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
62920         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
62921         contents on [SHARED].
62923 2012-09-26  Marek Polacek  <polacek@redhat.com>
62925         [BZ #14530]
62926         [BZ #13741]
62927         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
62928         for C++ and GCC <4.3 as well as for non GCC compilers.
62930 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
62932         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62934 2012-09-25  Roland McGrath  <roland@hack.frob.com>
62936         * Makefile.in (all, install): Declare with .PHONY.
62937         Reported by Michael Hope <michael.hope@linaro.org>.
62939 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62941         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
62942         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
62943         system header.
62944         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
62945         Likewise.
62946         (sydep_routines): Add the new and the internal functions.
62947         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
62948         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
62949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
62950         (GLIBC_2.17): Add the new function.
62951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
62952         (GLIBC_2.17): Likewise.
62953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
62954         (GLIBC_2.17): Likewise.
62955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
62956         (GLIBC_2.17): Likewise.
62957         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
62959 2012-09-25  Alan Modra  <amodra@gmail.com>
62961         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
62962         Add release barrier before setting once_control to say
62963         initialisation is done.  Add hints on lwarx.  Use macro in
62964         place of isync.
62965         (clear_once_control): Add release barrier.
62967 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
62969         [BZ #13629]
62970         * math/s_clog.c (__clog): Handle more values close to |z| = 1
62971         specially.
62972         * math/s_clog10.c (__clog10): Likewise.
62973         * math/s_clog10f.c (__clog10f): Likewise.
62974         * math/s_clog10l.c (__clog10l): Likewise.
62975         * math/s_clogf.c (__clogf): Likewise.
62976         * math/s_clogl.c (__clogl): Likewise.
62977         * math/Makefile (libm-calls): Add x2y2m1.
62978         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
62979         (__x2y2m1): Likewise.
62980         (__x2y2m1l): Likewise.
62981         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
62982         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
62983         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
62984         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
62985         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
62986         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
62987         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
62988         * sysdeps/i386/fpu/libm-test-ulps: Update.
62989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62991         [BZ #14621]
62992         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
62993         int as type of variable DEPTH.
62994         (glob): Use size_t instead of int as type of variables NEWCOUNT
62995         and OLD_PATHC.
62997 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62999         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
63000         Add s_sincosf-sse2.
63001         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
63002         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
63003         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
63004         macros for using routine as __sincosf_ia32.
63005         Use macro for function declaration and weak_alias.
63006         * sysdeps/i386/fpu/libm-test-ulps: Update.
63008         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
63009         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63011         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
63012         subnormal argument.
63013         * math/s_cexpf.c (__cexpf): Likewise.
63014         * math/s_csinf.c (__csinf): Likewise.
63015         * math/s_csinhf.c (__csinhf): Likewise.
63016         * math/s_ctanf.c (__ctanf): Likewise.
63017         * math/s_ctanhf.c (__ctanhf): Likewise.
63018         * math/s_ccosh.c (__ccoshf): Likewise.
63019         * math/s_cexp.c (__cexpl): Likewise.
63020         * math/s_csin.c (__csin): Likewise.
63021         * math/s_csinh.c (__csinh): Likewise.
63022         * math/s_ctan.c (__ctan): Likewise.
63023         * math/s_ctanh.c (ctanh): Likewise.
63024         * math/s_ccoshl.c (__ccoshl): Likewise.
63025         * math/s_cexpl.c (__cexpl): Likewise.
63026         * math/s_csinl.c (__csinl): Likewise.
63027         * math/s_csinhl.c (__csinhl): Likewise.
63028         * math/s_ctanl.c (__ctanl): Likewise.
63029         * math/s_ctanhl.c (__ctanhl): Likewise.
63031 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
63033         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
63034         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
63035         (_IO_off_t): Define to __off_t, not _G_off_t.
63036         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
63037         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
63038         (_IO_wint_t): Define to wint_t, not _G_wint_t.
63039         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
63040         type of __dummy and __dummy2 fields.
63041         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
63042         (_G_ssize_t): Likewise.
63043         (_G_off_t): Likewise.
63044         (_G_pid_t): Likewise.
63045         (_G_uid_t): Likewise.
63046         (_G_wchar_t): Likewise.
63047         (_G_wint_t): Likewise.
63048         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
63049         (_G_ssize_t): Likewise.
63050         (_G_off_t): Likewise.
63051         (_G_pid_t): Likewise.
63052         (_G_uid_t): Likewise.
63053         (_G_wchar_t): Likewise.
63054         (_G_wint_t): Likewise.
63055         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
63056         (_G_ssize_t): Likewise.
63057         (_G_off_t): Likewise.
63058         (_G_pid_t): Likewise.
63059         (_G_uid_t): Likewise.
63060         (_G_wchar_t): Likewise.
63061         (_G_wint_t): Likewise.
63063 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
63065         * malloc/arena.c: Include malloc-sysdep.h.
63066         (shrink_heap): Use check_may_shrink_heap to decide if madvise
63067         is sufficient to shrink the heap or an unmap is needed.
63068         * sysdeps/generic/malloc-sysdep.h: New file.  Define
63069         new function check_may_shrink_heap.
63070         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
63071         new function check_may_shrink_heap.
63073 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
63075         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
63076         comments.
63078 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
63080         * catgets/test-gencat.sh: Add "set -e".
63081         * elf/tst-pathopt.sh: Likewise.
63082         * grp/tst_fgetgrent.sh: Likewise.
63083         * iconvdata/run-iconv-test.sh: Likewise.
63084         * intl/tst-gettext.sh: Likewise.
63085         * intl/tst-gettext2.sh: Likewise.
63086         * intl/tst-gettext4.sh: Likewise.
63087         * intl/tst-gettext6.sh: Likewise.
63088         * intl/tst-translit.sh: Likewise.
63089         * io/ftwtest-sh: Likewise.
63090         * libio/test-freopen.sh: Likewise.
63091         * malloc/tst-mtrace.sh: Likewise.
63092         * posix/globtest.sh: Likewise.
63093         * posix/tst-getconf.sh: Likewise.
63094         * posix/wordexp-tst.sh: Likewise.
63095         * stdio-common/tst-printf.sh: Likewise.
63096         * stdio-common/tst-unbputc.sh: Likewise.
63097         * stdlib/tst-fmtmsg.sh: Likewise.
63098         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
63099         * catgets/Makefile: Do not specify -e option when running
63100         testsuite shell scripts.
63101         * elf/Makefile: Likewise.
63102         * grp/Makefile: Likewise.
63103         * iconvdata/Makefile: Likewise.
63104         * intl/Makefile: Likewise.
63105         * io/Makefile: Likewise.
63106         * libio/Makefile: Likewise.
63107         * malloc/Makefile: Likewise.
63108         * posix/Makefile: Likewise.
63109         * stdio-common/Makefile: Likewise.
63110         * stdlib/Makefile: Likewise.
63111         * sysdeps/x86_64/Makefile: Likewise.
63113         * io/ftwtest-sh: Add copyright header.
63114         * posix/globtest.sh: Likewise.
63115         * posix/tst-getconf.sh: Likewise.
63116         * posix/wordexp-tst.sh: Likewise.
63117         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
63119 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
63121         [BZ #13679]
63122         * Makeconfig (+link): Defined as $(+link-static) if
63123         $(build-shared) isn't yes.
63124         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
63125         isn't yes.
63126         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
63128         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
63130         [BZ #14562]
63131         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
63132         new chunk size with MALLOC_ALIGN_MASK.
63134 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
63136         [BZ #5044]
63137         * stdio-common/printf_fphex.c: Include <stdbool.h> and
63138         <rounding-mode.h>.
63139         (__printf_fphex): Determine rounding using get_rounding_mode and
63140         round_away.
63141         * stdio-common/tst-printf-round.c (struct hex_test): New
63142         structure.
63143         (hex_tests): New variable.
63144         (test_hex_in_one_mode): New function.
63145         (do_test): Also run tests for hex float output.
63147 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
63149         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
63150         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
63151         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
63152         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
63153         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
63154         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
63155         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
63156         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
63158 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
63160         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
63161         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
63162         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
63163         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
63165 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
63167         [BZ #14579]
63168         * elf/rtld.c (dl_main): Limit the check for self loading to normal
63169         mode only.
63170         * elf/tst-rtld-load-self.sh: New test.
63171         * elf/Makefile: Run it.
63173 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
63175         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
63176         (tst-writev-ENV): Remove.
63177         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
63179 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
63181         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
63183 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
63185         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
63186         unconditional.
63187         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
63188         Likewise.
63189         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
63190         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
63191         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
63192         Likewise.
63194 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
63196         [BZ #14587]
63197         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
63198         * config.make.in (have-cpp-asm-debuginfo): Removed.
63199         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
63200         * configure: Regenerated.
63202 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
63204         [BZ #5044]
63205         * stdio-common/printf_fp.c: Include <stdbool.h> and
63206         <rounding-mode.h>.
63207         (___printf_fp): Determine rounding using get_rounding_mode and
63208         round_away.
63209         * stdio-common/tst-printf-round.c: New file.
63210         * stdio-common/Makefile (tests): Add tst-printf-round.
63211         (link-libm): New variable.
63212         ($(objpfx)tst-printf-round): Depend in $(link-libm).
63214 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
63216         [BZ #14576]
63217         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
63218         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
63219         Likewise.
63220         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
63221         Likewise.
63223 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
63225         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
63226         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
63227         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
63228         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
63230 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
63232         [BZ #14518]
63233         * include/rounding-mode.h: New file.
63234         * sysdeps/generic/get-rounding-mode.h: Likewise.
63235         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
63236         * stdlib/strtod_l.c: Include <rounding-mode.h>.
63237         (MAX_VALUE): New macro.
63238         (MIN_VALUE): Likewise.
63239         (overflow_value): New function.
63240         (underflow_value): Likewise.
63241         (round_and_return): Use overflow_value and underflow_value to
63242         determine return values in overflow and underflow cases.  Use
63243         round_away to determine rounding depending on rounding mode.
63244         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
63245         determine return values in overflow and underflow cases.
63246         * stdlib/tst-strtod-round.c: Include <fenv.h>.
63247         (struct test_results): New structure.
63248         (struct test): Use struct test_results to store expected results
63249         for all rounding modes.
63250         (TEST): Include expected results for all rounding modes.
63251         (test_in_one_mode): New function.
63252         (do_test): Use test_in_one_mode to compute and check results.
63253         Check results for all rounding modes.
63254         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
63255         $(link-libm).
63257 2012-12-09  Allan McRae  <allan@archlinux.org>
63259         * sysdeps/i386/fpu/libm-test-ulps: Update
63261 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
63263         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
63264         (_G_int32_t): Likewise.
63265         (_G_uint16_t): Likewise.
63266         (_G_uint32_t): Likewise.
63267         (_G_HAVE_BOOL): Likewise.
63268         (_G_HAVE_ATEXIT): Likewise.
63269         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
63270         (_G_HAVE_IO_FILE_OPEN): Likewise.
63271         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
63272         (_G_int32_t): Likewise.
63273         (_G_uint16_t): Likewise.
63274         (_G_uint32_t): Likewise.
63275         (_G_HAVE_BOOL): Likewise.
63276         (_G_HAVE_ATEXIT): Likewise.
63277         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
63278         (_G_HAVE_IO_FILE_OPEN): Likewise.
63279         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
63280         (_G_int32_t): Likewise.
63281         (_G_uint16_t): Likewise.
63282         (_G_uint32_t): Likewise.
63283         (_G_HAVE_BOOL): Likewise.
63284         (_G_HAVE_ATEXIT): Likewise.
63285         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
63286         (_G_HAVE_IO_FILE_OPEN): Likewise.
63288 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
63290         * csu/libc-tls.c: Update copyright years.
63292 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
63294         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
63295         [!_G_USING_THUNKS]: Remove conditional code.
63296         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
63297         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
63299         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
63300         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
63301         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
63302         (_G_VTABLE_LABEL_PREFIX): Likewise.
63303         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
63304         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
63305         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
63306         (_G_VTABLE_LABEL_PREFIX): Likewise.
63307         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
63308         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
63309         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
63310         (_G_VTABLE_LABEL_PREFIX): Likewise.
63311         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
63313 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
63315         * libio/Makefile: Include ../Makeconfig before tests.
63316         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
63317         only if $(build-shared) is yes.
63319         * iconv/gconv_db.c: Update copyright years.
63321 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63323         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
63324         unwind info if defined PIC. Fix special cases description.
63325         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
63327         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
63328         DP_HI_MASK entry.
63329         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
63331 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
63333         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
63335         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
63336         is NULL.
63338         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
63339         (LDLIBS-tst-chk4): This.
63340         (LDFLAGS-tst-chk5): Renamed to ...
63341         (LDLIBS-tst-chk5): This.
63342         (LDFLAGS-tst-chk6): Renamed to ...
63343         (LDLIBS-tst-chk6): This.
63344         (LDFLAGS-tst-lfschk4): Renamed to ...
63345         (LDLIBS-tst-lfschk4): This.
63346         (LDFLAGS-tst-lfschk5): Renamed to ...
63347         (LDLIBS-tst-lfschk5): This.
63348         (LDFLAGS-tst-lfschk6): Renamed to ...
63349         (LDLIBS-tst-lfschk6): This.
63351         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
63352         on $(common-objpfx)soversions.mk.
63354 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
63356         [BZ #10014]
63357         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
63358         example host name.
63360 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
63362         * malloc/arena.c (arena_get_retry): New function that gets
63363         another arena for the caller to try its request on.
63364         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
63365         current arena cannot fulfill the request.
63366         (__libc_memalign): Likewise.
63367         (__libc_memalign): Likewise.
63368         (__libc_pvalloc): Likewise.
63369         (__libc_calloc): Likewise.
63371 2012-09-05  John Tobey  <john.tobey@gmail.com>
63373         [BZ #13542]
63374         * manual/arith.texi (Operations on Complex): Fix description
63375         of carg branch cut.
63377 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
63379         [BZ #10014]
63380         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
63381         host name.
63383         [BZ #10038]
63384         * manual/memory.texi (Memory): Make order of menu items match
63385         order of sections.
63387 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
63389         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
63390         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
63391         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
63393 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
63395         * csu/libc-tls.c (static_dtv): Renamed to ...
63396         (_dl_static_dtv): This.  Make it global.
63397         (_dl_initial_dtv): Removed.
63398         (__libc_setup_tls): Updated.
63399         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
63400         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
63401         DL_INITIAL_DTV.
63403 2012-09-06  Petr Machata  <pmachata@redhat.com>
63405         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
63406         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
63407         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
63408         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
63410 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
63412         [BZ #14545]
63413         * csu/libc-tls.c (_dl_initial_dtv): New variable.
63414         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
63415         freeing dtv[-1].
63417 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
63419         [BZ #14544]
63420         * Makeconfig (link-static-before-libc): Replace $(+prector)
63421         with $(+prectorT).
63422         (link-static-after-libc): Replace $(+postctor) with
63423         $(+postctorT).
63424         (link-bounded): Replace $(+prector)/$(+postctor) with
63425         $(+prectorT)/$(+postctorT).
63426         (+prectorT): New macro.
63427         (+postctorT): Likewise.
63429 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
63431         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
63432         (round_str): Handle values above the maximum for IBM long double
63433         as inexact.
63434         * stdlib/tst-strtod-round.c (tests): Regenerated.
63436 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63438         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
63439         assembler flag.
63440         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
63441         zarch_nohighgprs around the zarch optimized routines.
63442         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
63443         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
63444         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
63445         for zarch.
63447 2012-09-05  David S. Miller  <davem@davemloft.net>
63449         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63451         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
63452         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
63453         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
63454         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
63455         entries.
63457 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
63459         * malloc/arena.c: Fold copyright years.
63460         * malloc/mcheck.c, malloc/memusage.c: Likewise.
63462 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
63464         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
63466 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
63468         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
63470 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
63472         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
63473         change internal state upon failure.
63475 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
63477         * malloc/mcheck.c (mcheck_check_all): Fix typo.
63478         * malloc/memusage.c (mmap): Likewise.
63479         (mmap64, mremap): Likewise.  Adjust name in comment.
63481 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
63483         * libio/fileops.c: Fix typos in comments.
63484         * libio/oldfileops.c: Likewise.
63485         * libio/wfileops.c: Likewise.
63487 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
63489         [BZ #1349]
63490         * malloc/Makefile (tests): Add tst-malloc-usable test case.
63491         (tst-malloc-usable-ENV): Set environment for test case.
63492         * malloc/hooks.c (malloc_check_get_size): New function to get
63493         requested size.
63494         * malloc/malloc.c (musable): Use malloc_check_get_size.
63495         * malloc/tst-malloc-usable.c: New test case.
63497 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
63499         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
63501 2012-09-05  Allan McRae  <allan@archlinux.org>
63503         [BZ #13966]
63504         * configure.in (CXX_SYSINCLUDES): Use compiler output to
63505         determine header location.
63506         * configure: Regenerated.
63508 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
63510         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
63511         float format.
63512         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
63513         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
63514         format.
63515         (test): Regenerate.
63517 2012-09-04  David S. Miller  <davem@davemloft.net>
63519         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
63520         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
63521         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
63523 2012-09-04  Florian Weimer  <fweimer@redhat.com>
63525         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
63526         failures.
63528         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
63530 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
63532         [BZ #9914]
63533         * libio/iogetdelim.c: Include <limits.h>.
63534         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
63535         + len + 1 would overflow.
63537 2012-09-03  Andreas Jaeger  <aj@suse.de>
63539         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63540         * sysdeps/i386/fpu/libm-test-ulps: Update.
63542 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63544         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
63545         Add s_sinf-sse2, s_conf-sse2.
63547         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
63548         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
63549         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
63550         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
63552         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
63553         for using routine as __sinf_ia32.
63554         Use macro for function declaration and weak_alias.
63555         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
63556         for using routine as __cosf_ia32.
63557         Use macro for function declaration and weak_alias.
63559         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
63560         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
63562         * sysdeps/x86_64/fpu/s_sinf.S: New file.
63563         * sysdeps/x86_64/fpu/s_cosf.S: New file.
63564         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63566         * math/libm-test.inc (cos_test): Add more test cases.
63567         (sin_test): Likewise.
63568         (sincos_test): Likewise.
63570 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63572         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
63573         (IFUNC_RESOLVE): Make pointers to the specialized implementations
63574         hidden.
63575         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
63577 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
63579         [BZ #14538]
63580         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
63581         first element of the GOT.
63582         (elf_machine_load_address): Return the difference between
63583         the runtime address of _DYNAMIC and elf_machine_dynamic ().
63585 2012-09-01  Allan McRae  <allan@archlinux.org>
63587         [BZ #13412]
63588         * configure.in (AWK): Require gawk version 3.0 or later.
63589         * configure: Regenerated.
63591 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
63593         * sysdeps/unix/sysv/linux/kernel-features.h
63594         (__ASSUME_POSIX_CPU_TIMERS): Remove.
63595         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
63596         [__NR_clock_getres]: Make code unconditional.
63597         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
63598         (clock_getcpuclockid): Remove code left unreachable by removal of
63599         conditionals.
63600         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
63601         code unconditional.
63602         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
63603         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
63604         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
63605         Make code unconditional.
63606         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
63607         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
63608         * sysdeps/unix/sysv/linux/clock_settime.c
63609         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
63610         conditional code.
63611         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
63612         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
63614 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
63616         [BZ #14476]
63617         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
63618         scripts/test-installation.pl.
63620         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
63621         and $ld_so_version if it is set.
63623 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
63625         [BZ #14516]
63626         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
63627         failure if reading from procfs failed.
63628         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
63630 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
63632         * sysdeps/unix/sysv/linux/kernel-features.h
63633         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
63634         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
63635         Remove conditional code.
63636         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63637         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
63638         Remove conditional code.
63639         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63640         * sysdeps/unix/sysv/linux/i386/fxstat.c
63641         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
63642         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63643         * sysdeps/unix/sysv/linux/i386/fxstatat.c
63644         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
63645         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63646         * sysdeps/unix/sysv/linux/i386/lxstat.c
63647         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
63648         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63649         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
63650         Remove conditional code.
63651         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63652         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
63653         Remove conditional code.
63654         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63655         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
63656         <kernel-features.h>.
63657         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
63658         Remove.
63659         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
63660         Remove conditional code.
63661         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63662         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
63663         Remove conditional.
63665 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
63667         [BZ #5400]
63668         * NEWS: Add fixed bug number.
63670 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
63672         [BZ #14519]
63673         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
63674         underflowing exponent in case of negative sign.
63675         * stdlib/tst-strtod-round-data: Add more tests.
63676         * stdlib/tst-strtod-round.c (tests): Regenerated.
63678         [BZ #3479]
63679         * stdlib/strtod_l.c (NDIG): Remove.
63680         (HEXNDIG): Likewise.
63681         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
63682         smallest representable value.
63683         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
63684         lie within an exact representation of 1/2 ulp of the result.
63685         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
63686         unconditionally.
63687         (TENS_P9_IDX): Define unconditionally.
63688         (TENS_P9_SIZE): Likewise.
63689         (TENS_P10_IDX): Likewise.
63690         (TENS_P10_SIZE): Likewise.
63691         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
63692         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
63693         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
63694         entries for 10^2^13 and 10^2^14.
63695         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
63696         (TENS_P13_IDX): Define.
63697         (TENS_P13_SIZE): Likewise.
63698         (TENS_P14_IDX): Likewise.
63699         (TENS_P14_SIZE): Likewise.
63700         (_fpioconst_pow10): Change array size to
63701         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
63702         unconditional.
63703         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
63704         1024]: Add entries for 10^2^13 and 10^2^14.
63705         [LAST_POW10 > _LAST_POW10]: Remove #error.
63706         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
63707         (_fpioconst_pow10): Change array size to
63708         FPIOCONST_POW10_ARRAY_SIZE.
63709         * stdlib/gen-fpioconst.c: New file.
63710         * stdlib/gen-tst-strtod-round.c: Likewise.
63711         * stdlib/tst-strtod-round-data: Likewise.
63712         * stdlib/tst-strtod-round.c: Likewise.
63713         * stdlib/Makefile (tests): Add tst-strtod-round.
63715         [BZ #14459]
63716         * stdlib/strtod_l.c: Include <stdint.h>.
63717         (NDEBUG): Do not define.
63718         (round_and_return): Change EXPONENT parameter to type intmax_t.
63719         Rearrange calculations to avoid internal overflow possibilities.
63720         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
63721         Rearrange calculations to avoid internal overflow possibilities.
63722         Assert that number fits inside MPNSIZE limbs.
63723         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
63724         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
63725         calculations and add assertions to avoid internal overflow
63726         possibilities.  Add casts to avoid signed/unsigned operations.
63727         * stdlib/tst-strtod-overflow.c: New file.
63728         * stdlib/Makefile (tests): Add tst-strtod-overflow.
63730 2012-08-25  Marek Polacek  <polacek@redhat.com>
63732         * time/time.h: Fix some typos in comments.
63734 2012-08-23  Roland McGrath  <roland@hack.frob.com>
63736         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
63737         * posix/tst-rfc3484-2.c: Likewise.
63738         * posix/tst-rfc3484-3.c: Likewise.
63740 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
63742         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
63743         (EF_ARM_ABI_FLOAT_HARD): Likewise.
63745 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
63747         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
63748         #include of fxstatat64.c.
63750 2012-08-22  Roland McGrath  <roland@hack.frob.com>
63752         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
63753         * shadow/getspent_r.c: Likewise.
63754         * shadow/getspnam.c: Likewise.
63755         * shadow/getspnam_r.c: Likewise.
63756         * gshadow/getsgent.c: Likewise.
63757         * gshadow/getsgent_r.c: Likewise.
63758         * gshadow/getsgnam.c: Likewise.
63759         * gshadow/getsgnam_r.c: Likewise.
63760         * inet/getnetbyad.c: Likewise.
63761         * inet/getnetbyad_r.c: Likewise.
63762         * inet/getnetbynm.c: Likewise.
63763         * inet/getnetbynm_r.c: Likewise.
63764         * inet/getnetent.c: Likewise.
63765         * inet/getnetent_r.c: Likewise.
63766         * inet/getproto.c: Likewise.
63767         * inet/getproto_r.c: Likewise.
63768         * inet/getprtent.c: Likewise.
63769         * inet/getprtent_r.c: Likewise.
63770         * inet/getprtname.c: Likewise.
63771         * inet/getprtname_r.c: Likewise.
63772         * inet/getrpcbyname.c: Likewise.
63773         * inet/getrpcbyname_r.c: Likewise.
63774         * inet/getrpcbynumber.c: Likewise.
63775         * inet/getrpcbynumber_r.c: Likewise.
63776         * inet/getrpcent.c: Likewise.
63777         * inet/getrpcent_r.c: Likewise.
63778         * inet/getaliasent.c: Likewise.
63779         * inet/getaliasent_r.c: Likewise.
63780         * inet/getaliasname.c: Likewise.
63781         * inet/getaliasname_r.c: Likewise.
63782         * nscd/getgrgid_r.c: Likewise.
63783         * nscd/getgrnam_r.c: Likewise.
63784         * nscd/gethstbyad_r.c: Likewise.
63785         * nscd/gethstbynm3_r.c: Likewise.
63786         * nscd/getpwnam_r.c: Likewise.
63787         * nscd/getpwuid_r.c: Likewise.
63788         * nscd/getsrvbynm_r.c: Likewise.
63789         * nscd/getsrvbypt_r.c: Likewise.
63790         * nscd/gai.c: Likewise.
63792         * configure.in (build_nscd): New substituted variable, set
63793         by --disable-build-nscd and defaults to $use_nscd.
63794         * configure: Regenerated.
63795         * config.make.in (build-nscd): New substituted variable.
63796         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
63797         Change conditional to require [$(build-nscd) = yes] as well.
63798         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
63800         [BZ# 13696]
63801         * configure.in (use_nscd): New substituted variable, set by
63802         --disable-nscd.  If enabled, define USE_NSCD.
63803         * configure: Regenerated.
63804         * config.h.in: Add USE_NSCD.
63805         * config.make.in (use-nscd): New substituted variable.
63806         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
63807         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
63808         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
63809         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
63810         (CFLAGS-getgrnam_r.c): Likewise.
63811         (CFLAGS-initgroups.c): Likewise.
63812         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
63813         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
63814         Variables removed.
63815         * inet/getnetgrent_r.c
63816         (nscd_setnetgrent): New function, broken out of ...
63817         (setnetgrent): ... here.  Call it.
63818         (innetgr): Conditionalize nscd bits on [USE_NSCD].
63819         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
63820         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
63821         * nscd/Makefile (routines, aux): Move definitions after include of
63822         Makeconfig.  Conditionalize on [$(use-nscd) != no].
63823         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
63824         Conditionalize on [USE_NSCD].
63825         (is_nscd, nscd_init_cb): Likewise.
63826         (nss_load_library): Conditionalize init callback on [USE_NSCD].
63827         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
63828         * nss/nss_db/db-init.c: Likewise.
63829         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
63830         [USE_NSCD].
63831         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
63832         (make_request): Use it.
63833         (cache_valid_p): New function.
63834         (__check_pf): Use it.
63835         * NEWS: Add item for --disable-nscd.
63837 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
63839         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
63840         to support sed >= 4.2.1-20-ga9bf076.
63841         * configure: Regenerated.
63843 2012-08-22  Roland McGrath  <roland@hack.frob.com>
63845         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
63846         Conditionalize whole body on [IREL].
63848 2012-08-22  Jeff Law <law@redhat.com>
63850         [BZ #14505]
63851         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
63852         if the family is PF_UNSPEC.
63854 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
63856         * Makerules (lib-version): Rename from V.
63857         (install-lib-nosubdir): Change V to lib-version.
63859 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
63861         [BZ #14252]
63862         * powerpc32/power6/wcschr.c: New file.
63863         * powerpc32/power6/wcscpy.c: New file.
63864         * powerpc32/power6/wcsrchr.c: New file.
63865         * powerpc64/power6/wcschr.c: New file.
63866         * powerpc64/power6/wcscpy.c: New file.
63867         * powerpc64/power6/wcsrchr.c: New file.
63869 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
63871         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
63872         (two_way_short_needle): Use it.
63873         * string/strstr.c (AVAILABLE1_USES_J): Define.
63874         * string/strcasestr.c: Likewise.
63876         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
63877         array references.
63878         * string/strcasestr.c (TOLOWER): Make side-effect safe.
63880         [BZ #11607]
63881         * NEWS: Add an entry.
63882         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
63883         define their defaults.
63884         (two_way_short_needle): Detect end-of-string on-the-fly.
63885         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
63886         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
63887         * string/bug-strcasestr1.c: New test.
63888         * string/Makefile: Run it.
63890 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
63892         [BZ #11607]
63893         * string/str-two-way.h (two_way_short_needle): Optimize matching of
63894         the first character.
63896 2012-08-21  Roland McGrath  <roland@hack.frob.com>
63898         * csu/elf-init.c (__libc_csu_irel): Function removed.
63899         * csu/libc-start.c (apply_irel): New function.
63900         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
63902 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
63904         * sysdeps/unix/sysv/linux/kernel-features.h
63905         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
63906         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
63907         <kernel-features.h>.
63908         [__NR_fadvise64_64]: Make code unconditional.
63909         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
63910         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
63911         !__NR_fadvise64_64)]: Likewise.
63912         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
63913         !__NR_fadvise64_64))]: Likewise.
63914         [__NR_fadvise64]: Make code unconditional.
63915         [!__NR_fadvise64]: Remove conditional code.
63916         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
63917         <kernel-features.h>.
63918         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
63919         unconditional.
63920         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
63921         conditional code.
63922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
63923         not include <kernel-features.h>.
63924         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
63925         unconditional.
63926         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
63927         conditional code.
63928         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
63929         include <kernel-features.h>.
63930         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
63931         unconditional.
63932         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
63933         conditional code.
63935 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
63937         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
63938         slight instruction rearrangements per scrollpipe analysis.
63939         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
63941 2012-08-20  Roland McGrath  <roland@hack.frob.com>
63943         * manual/syslog.texi (syslog; vsyslog, closelog):
63944         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
63945         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
63947         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
63948         DSOCAPS to match condition on defining it.
63950 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
63952         * sysdeps/unix/sysv/linux/kernel-features.h
63953         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
63954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
63955         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
63956         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
63957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
63958         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
63959         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
63960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
63961         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
63962         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
63964         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
63965         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
63967         * sysdeps/unix/sysv/linux/kernel-features.h
63968         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
63969         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
63970         unconditional.
63971         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
63972         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
63973         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
63974         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
63975         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
63976         Make code unconditional.
63977         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
63978         (__mmap64) [!__NR_mmap2]: Likewise.
63979         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
63980         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
63981         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
63982         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
63983         [__NR_mmap2]: Make code unconditional.
63984         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
63985         (__mmap64) [!__NR_mmap2]: Likewise.
63987 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63989         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
63991 2012-08-18  Andreas Jaeger  <aj@suse.de>
63993         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
63995 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
63997         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
63998         * include/unistd.h (__have_sock_cloexec): Likewise.
63999         (__have_pipe2): Likewise.
64000         (__have_dup3): Likewise.
64002 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
64004         [BZ #9685]
64005         * include/unistd.h (__have_pipe2): Change define into an extern int.
64006         (__have_dup3): Likewise.
64007         * socket/have_sock_cloexec.c: Include fcntl.h.
64008         (__have_pipe2): New variable.
64009         (__have_dup3): Likewise.
64011 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
64013         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
64015 2012-08-17  Marek Polacek  <polacek@redhat.com>
64017         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
64018         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
64020 2012-08-17  Roland McGrath  <roland@hack.frob.com>
64022         * configure.in: Add AC_SUBST for sysheaders.
64023         * configure: Regenerated.
64024         * config.make.in (sysheaders): New substituted variable.
64026         * sysdeps/unix/mkfifo.c: Moved ...
64027         * sysdeps/posix/mkfifo.c: ... here.
64028         * sysdeps/unix/mkfifoat.c: Moved ...
64029         * sysdeps/posix/mkfifoat.c: ... here.
64031         * sysdeps/unix/utime.c: Moved ...
64032         * sysdeps/posix/utime.c: ... here.
64034         * sysdeps/unix/time.c: Moved ...
64035         * sysdeps/posix/time.c: ... here.
64036         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
64037         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
64039         * sysdeps/unix/nice.c: Moved ...
64040         * sysdeps/posix/nice.c: ... here.
64042         * sysdeps/unix/alarm.c: Moved ...
64043         * sysdeps/posix/alarm.c: ... here.
64045         * intl/Makefile ($(codeset_mo)): Depend on the input file.
64047 2012-08-17  Jeff Law <law@redhat.com>
64049         * intl/Makefile (codeset_mo): New variable.
64050         ($(codeset_mo)): New target.
64051         (tst-codeset.out): Depend on that.  Remove explicit rule.
64052         (tst-gettext3.out, tst-gettext5.out): Likewise.
64053         (LOCPATH-ENV, tst-codeset-ENV): New variables.
64054         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
64055         * intl/tst-codeset.sh: Remove.
64056         * intl/tst-gettext3.sh: Likewise.
64057         * intl/tst-gettext5.sh: Likewise.
64059 2012-08-17  Roland McGrath  <roland@hack.frob.com>
64061         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
64062         * sysdeps/unix/syscalls.list: ... here.
64064         * sysdeps/posix/getaddrinfo.c
64065         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
64066         (gaiconf_init, gaiconf_reload): Use them.
64067         [!_STATBUF_ST_NSEC]
64068         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
64069         Define using time_t rather than struct timespec.
64071         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
64072         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
64073         Macros removed.
64074         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
64075         [!NO_THREADS].
64076         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
64077         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
64078         Likewise.
64080         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
64081         __libc_cleanup_push argument.
64083         * bits/param.h: New file.
64084         * misc/sys/param.h: New file.
64085         * include/sys/param.h: New file.
64086         * misc/Makefile (headers): Add bits/param.h.
64087         * sysdeps/generic/sys/param.h: File removed.
64088         * sysdeps/unix/sysv/linux/bits/param.h: New file.
64089         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
64090         * sysdeps/mach/hurd/bits/param.h: New file.
64091         * sysdeps/mach/hurd/sys/param.h: File removed.
64093         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
64094         last change.
64096         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
64097         [_IO_MTSAFE_IO].
64098         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
64099         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
64100         New macros.
64102         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
64103         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
64104         rather than -D_IO_MTSAFE_IO conditionally.
64105         * stdio-common/Makefile (CPPFLAGS): Likewise.
64106         * wcsmbs/Makefile (CPPFLAGS): Likewise.
64107         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
64108         Use $(libio-mtsafe).
64109         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
64110         of -D_IO_MTSAFE_IO.
64111         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
64112         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
64113         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
64114         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
64115         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
64116         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
64117         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
64118         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
64119         (CFLAGS-fread_u_chk.c): Likewise.
64120         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
64121         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
64122         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
64123         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
64124         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
64125         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
64126         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
64127         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
64128         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
64130         * libio/Makefile: Test [$(libc-reentrant) = yes]
64131         instead of [$(filter %REENTRANT, $(defines)) nonempty].
64133         * Makeconfig
64134         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
64135         * sysdeps/pthread/configure: File removed.
64136         * sysdeps/pthread/Makeconfig: New file.
64137         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
64138         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
64140 2012-08-16  Gary Benson  <gbenson@redhat.com>
64142         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
64143         unmapping the first object in a namespace.
64145 2012-08-16  Roland McGrath  <roland@hack.frob.com>
64147         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
64148         (__internal_setnetgrent): ... this.  Add internal_function to
64149         definition.  Add libc_hidden_def.
64150         (setnetgrent): Update caller.
64151         (internal_endnetgrent): Renamed to ...
64152         (__internal_endnetgrent): ... this.  Add internal_function to
64153         definition.  Add libc_hidden_def.
64154         (endnetgrent): Update caller.
64155         (internal_getnetgrent_r): Renamed to ...
64156         (__internal_getnetgrent_r): ... this.  Add internal_function to
64157         definition.  Add libc_hidden_def.
64158         (__getnetgrent_r): Update caller.
64159         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
64161 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
64163         * stdlib/longlong.h: Update from GCC.
64165 2012-08-16  Roland McGrath  <roland@hack.frob.com>
64167         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
64168         on _QL, which is set by umul_ppmm but never used.
64169         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
64170         variables, which are set by GMP macros but never used.
64171         * stdio-common/_itowa.c (_itowa): Likewise.
64172         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
64173         * stdlib/mod_1.c (mpn_mod_1): Likewise.
64175 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
64177         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
64178         struct La_sh_regs is not constant.
64179         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
64180         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
64181         and struct La_sparc64_regs are not constant.
64183 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
64185         * sysdeps/unix/sysv/linux/kernel-features.h
64186         (__ASSUME_POSIX_TIMERS): Remove.
64187         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
64188         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
64189         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
64190         Make code unconditional.
64191         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
64192         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
64193         Make code unconditional.
64194         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
64195         * sysdeps/unix/sysv/linux/clock_nanosleep.c
64196         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
64197         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
64198         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
64199         Make code unconditional.
64200         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
64201         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
64202         (__libc_missing_posix_timers): Remove.
64204 2012-08-15  Roland McGrath  <roland@hack.frob.com>
64206         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
64207         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
64209         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
64211         * elf/dl-sym.c: Include <stdlib.h>.
64213         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
64214         constants, which avoids warnings in 32-bit builds.
64216         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
64217         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
64219         * misc/lseek.c: File moved to ...
64220         * io/lseek.c: ... here.
64222         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
64224         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
64225         shifting LEN more than 31 bits at once.
64227 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64229         [BZ #14195]
64230         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
64231         segmentation fault for a case of two empty input strings.
64232         * string/test-strncasecmp.c (check1): Renamed to...
64233         (bz12205): ...this.
64234         (bz14195): Add new testcase for two empty input strings and N > 0.
64235         (test_main): Call new testcase, adapt for renamed function.
64237 2012-08-15  Andreas Jaeger  <aj@suse.de>
64239         [BZ #14090]
64240         * crypt/md5test2.c: New test, based on test supplied by Serge
64241         Belyshev <belyshev@depni.sinp.msu.ru>.
64242         * crypt/Makefile (xtests): Add md5test-giant..
64243         * crypt/Makefile ($(objpfx)md5test-giant): Add.
64245 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
64247         [BZ #14090]
64248         * crypt/md5.c (md5_process_block): Don't assume the buffer
64249         length is less than 2**32.
64250         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
64251         length is less than 2**64.
64253 2012-08-15  Roland McGrath  <roland@hack.frob.com>
64255         * string/str-two-way.h: Include <sys/param.h>.
64256         (MAX): Macro removed.
64258         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
64259         Move #define and #undef of memmove to just before and after
64260         including <string.h>.
64262         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
64263         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
64264         and after including <string.h>.  Move declarations of
64265         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
64266         to before #include "string/memmove.c".
64268         * include/dirent.h: Declare __getdirentries.
64270         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
64271         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
64273 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
64275         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
64276         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
64277         * sysdeps/i386/configure: Regenerated.
64278         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
64279         STABS_CURRENT_FILE, and STABS_FUN.
64280         (END): Remove call to STABS_FUN_END.
64281         (STABS_CURRENT_FILE1): Delete.
64282         (STABS_CURRENT_FILE): Likewise.
64283         (STABS_FUN): Likewise.
64284         (STABS_FUN_END): Likewise.
64285         (STABS_FUN2): Likewise.
64286         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
64287         * sysdeps/x86_64/configure: Regenerated.
64289 2012-08-14  Roland McGrath  <roland@hack.frob.com>
64291         * elf/dl-open.c: Include <atomic.h>.
64292         * elf/dl-lookup.c: Likewise.
64294 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
64296         * sysdeps/unix/sysv/linux/kernel-features.h
64297         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
64298         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
64299         unconditionally.
64300         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
64301         unconditionally.
64302         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
64303         condition on __ASSUME_CLONE_THREAD_FLAGS.
64305 2012-08-14  Andreas Jaeger  <aj@suse.de>
64307         * sysdeps/i386/fpu/libm-test-ulps: Update.
64309 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
64311         * include/atomic.h (atomic_exchange_and_add): Split into ...
64312         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
64313         New atomic macros.
64315 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
64317         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64319 2012-08-13  Jeff Law <law@redhat.com>
64321         * manual/stdio.texi (snprintf): Clarify handling of the trailing
64322         null byte in the output string.
64324 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
64326         * sysdeps/unix/sysv/linux/kernel-features.h
64327         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
64328         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
64329         (__ASSUME_ARG_MAX_STACK_BASED): Define.
64330         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
64331         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
64332         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
64333         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
64335 2012-08-09  Jeff Law <law@redhat.com>
64337         [BZ #13939]
64338         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
64339         When avoid_arena is set, don't retry in the that arena.  Pick the
64340         next one, whatever it might be.
64341         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
64342         (arena_lock): Pass in new parameter to arena_get2.
64343         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
64344         arena_get2.
64345         (__libc_malloc): Unify retrying after main arena failure with
64346         __libc_memalign version.
64347         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
64349 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
64351         [BZ #14166]
64352         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
64353         to __redirect_strstr.
64354         (__strstr_sse42): Use typeof __redirect_strstr.
64355         (__strstr_ia32): Likewise.
64356         (__libc_strstr): New prototype.
64357         (strstr): Renamed to ...
64358         (__libc_strstr): This.
64359         (strstr): New strong alias of __libc_strstr.
64360         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
64361         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
64362         __redirect_time.
64363         Include <time.h>.
64364         (__libc_time): New prototype.
64365         (time_ifunc): Replace time with __libc_time.
64366         (time): New strong alias and hidden definition of __libc_time.
64367         (__GI_time): Remove strong alias.
64368         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
64369         Include <stddef.h>.
64370         (memmove): Redefined to __redirect_memmove.
64371         (__memmove_sse2): Use typeof __redirect_memmove.
64372         (__memmove_ssse3): Likewise.
64373         (__memmove_ssse3_back): Likewise.
64374         (__libc_memmove): New prototype.
64375         (memmove): Renamed to ...
64376         (__libc_memmove): This.
64377         (memmove): New strong alias of __libc_memmove.
64379 2012-08-08  Mark Salter  <msalter@redhat.com>
64381         * elf/elf.h
64382         (R_MN10300_TLS_GD): Define.
64383         (R_MN10300_TLS_LD): Likewise.
64384         (R_MN10300_TLS_LDO): Likewise.
64385         (R_MN10300_TLS_GOTIE): Likewise.
64386         (R_MN10300_TLS_IE): Likewise.
64387         (R_MN10300_TLS_LE): Likewise.
64388         (R_MN10300_TLS_DTPMOD): Likewise.
64389         (R_MN10300_TLS_DTPOFF): Likewise.
64390         (R_MN10300_TLS_TPOFF): Likewise.
64391         (R_MN10300_SYM_DIFF): Likewise.
64392         (R_MN10300_ALIGN): Likewise.
64393         (R_MN10300_NUM): Update.
64395 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
64397         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
64398         Remove.
64400 2012-08-08  Roland McGrath  <roland@hack.frob.com>
64402         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
64404         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
64405         sysdeps/unix -> sysdeps/posix move.
64406         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
64408 2012-08-07      Allan McRae     <allan@archlinux.org>
64410         [BZ #14303]
64411         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
64412         (SUNOS_CPP): Likewise.
64413         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
64414         not found.
64415         (open_input): Call CPP using execvp.
64417 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
64419         * sysdeps/unix/sysv/linux/kernel-features.h
64420         (__ASSUME_PROT_GROWSUPDOWN): Remove.
64421         (__ASSUME_NO_CLONE_DETACHED): Likewise.
64422         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
64423         (__ASSUME_WAITID_SYSCALL): Likewise.
64424         * sysdeps/unix/sysv/linux/dl-execstack.c
64425         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
64426         code unconditional.
64427         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
64428         conditional code.
64429         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
64430         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
64431         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
64432         code.
64433         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
64434         unconditional.
64435         [__ASSUME_WAITID_SYSCALL]: Likewise.
64436         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
64438 2012-08-07  Roland McGrath  <roland@hack.frob.com>
64440         * sysdeps/unix/closedir.c: Renamed to ...
64441         * sysdeps/posix/closedir.c: ... here.
64442         * sysdeps/unix/dirfd.c: Renamed to ...
64443         * sysdeps/posix/dirfd.c: ... here.
64444         * sysdeps/unix/dirstream.h: Renamed to ...
64445         * sysdeps/posix/dirstream.h: ... here.
64446         * sysdeps/unix/fdopendir.c: Renamed to ...
64447         * sysdeps/posix/fdopendir.c: ... here.
64448         * sysdeps/unix/opendir.c: Renamed to ...
64449         * sysdeps/posix/opendir.c: ... here.
64450         * sysdeps/unix/readdir.c: Renamed to ...
64451         * sysdeps/posix/readdir.c: ... here.
64452         * sysdeps/unix/readdir_r.c: Renamed to ...
64453         * sysdeps/posix/readdir_r.c: ... here.
64454         * sysdeps/unix/rewinddir.c: Renamed to ...
64455         * sysdeps/posix/rewinddir.c: ... here.
64456         * sysdeps/unix/seekdir.c: Renamed to ...
64457         * sysdeps/posix/seekdir.c: ... here.
64458         * sysdeps/unix/telldir.c: Renamed to ...
64459         * sysdeps/posix/telldir.c: ... here.
64460         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
64461         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
64462         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
64463         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
64465         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
64466         * bits/fcntl.h: ... here.
64468         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
64469         not 0.
64470         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
64471         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
64472         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
64473         (struct flock): Move l_start, l_len to the beginning.
64474         Use __pid_t for l_pid.
64475         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
64476         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
64477         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
64478         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
64479         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
64480         [__USE_LARGEFILE64] (struct flock64): New type.
64481         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
64483         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
64484         * bits/dirent.h: ... here.
64486         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
64487         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
64489 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
64491         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
64492         Change from 2.6.0 to 2.6.16.
64493         * sysdeps/unix/sysv/linux/configure: Regenerated.
64494         * sysdeps/unix/sysv/linux/kernel-features.h
64495         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
64496         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
64497         version.
64498         (__ASSUME_UTIMES): Likewise.
64499         (__ASSUME_CLONE_STOPPED): Remove.
64500         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
64501         architectures, not kernel version.
64502         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
64503         (__ASSUME_NO_CLONE_DETACHED): Likewise.
64504         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
64505         (__ASSUME_WAITID_SYSCALL): Likewise.
64506         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
64507         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
64508         * README: State 2.6.16 as minimum Linux kernel version.  Do not
64509         refer to older versions.
64511 2012-08-06  Roland McGrath  <roland@hack.frob.com>
64513         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
64514         Define alphasort64 as an alias.
64515         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
64516         Define versionsort64 as an alias.
64517         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
64518         Define scandir64 as an alias.
64519         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
64520         Define scandirat64 as an alias.
64521         * dirent/alphasort64.c (alphasort64):
64522         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
64523         * dirent/versionsort64.c: Likewise.
64524         * dirent/scandir64.c: Likewise.
64525         * dirent/scandirat64.c: Likewise.
64526         * sysdeps/wordsize-64/alphasort.c: File removed.
64527         * sysdeps/wordsize-64/alphasort64.c: File removed.
64528         * sysdeps/wordsize-64/scandir.c: File removed.
64529         * sysdeps/wordsize-64/scandir64.c: File removed.
64530         * sysdeps/wordsize-64/scandirat.c: File removed.
64531         * sysdeps/wordsize-64/scandirat64.c: File removed.
64532         * sysdeps/wordsize-64/versionsort.c: File removed.
64533         * sysdeps/wordsize-64/versionsort64.c: File removed.
64534         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
64535         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
64536         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
64537         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
64538         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
64539         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
64540         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
64541         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
64543         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
64544         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
64545         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
64546         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64547         [defined __arch64__ || defined __sparcv9]
64548         (__INO_T_MATCHES_INO64_T): New macro.
64549         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
64550         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
64551         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
64552         * sysdeps/unix/sysv/linux/bits/dirent.h
64553         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
64554         (_DIRENT_MATCHES_DIRENT64): New macro.
64556         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
64557         Define lockf64 as an alias.
64558         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
64559         Define fseeko64 as an alias.
64560         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
64561         Define ftello64 as an alias.
64562         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
64563         Define _IO_fgetpos64 and fgetpos64 as aliases.
64564         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
64565         Define _IO_fsetpos64 and fsetpos64 as aliases.
64566         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
64567         Conditionalize body on this.
64568         * libio/fseeko64.c: Likewise.
64569         * libio/ftello64.c: Likewise.
64570         * libio/iofgetpos64.c: Likewise.
64571         * libio/iofsetpos64.c: Likewise.
64572         * sysdeps/wordsize-64/lockf.c: File removed.
64573         * sysdeps/wordsize-64/lockf64.c: File removed.
64574         * sysdeps/wordsize-64/fseeko.c: File removed.
64575         * sysdeps/wordsize-64/fseeko64.c: File removed.
64576         * sysdeps/wordsize-64/ftello.c: File removed.
64577         * sysdeps/wordsize-64/ftello64.c: File removed.
64578         * sysdeps/wordsize-64/iofgetpos.c: File removed.
64579         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
64580         * sysdeps/wordsize-64/iofsetpos.c: File removed.
64581         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
64582         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
64583         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
64584         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
64585         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
64586         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
64587         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
64588         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
64589         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
64590         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
64591         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
64593         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
64594         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
64595         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
64596         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64597         [defined __arch64__ || defined __sparcv9]
64598         (__OFF_T_MATCHES_OFF64_T): New macro.
64599         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
64600         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
64601         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64602         (__OFF_T_MATCHES_OFF64_T): New macro.
64604 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
64606         * stdlib/secure-getenv.c (__secure_getenv): Replace
64607         GLIBC_2_16 with GLIBC_2_17.
64609 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
64611         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
64612         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
64614 2012-08-03  David S. Miller  <davem@davemloft.net>
64616         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64618 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
64620         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
64621         Remove.
64622         (__ASSUME_CORRECT_SI_PID): Likewise.
64623         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
64624         (__ASSUME_TMPFS_NAME): Likewise.
64625         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
64626         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
64627         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
64628         (HAVE_AUX_SECURE): Make definition unconditional.
64629         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
64630         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
64632 2012-08-03  Roland McGrath  <roland@hack.frob.com>
64634         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
64635         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
64636         * sysdeps/mach/hurd/eloop-threshold.h: New file.
64637         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
64638         __eloop_threshold instead of SYMLOOP_MAX.
64640         * sysdeps/generic/eloop-threshold.h: New file.
64641         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
64642         of MAXSYMLINKS.
64643         * elf/chroot_canon.c (chroot_canon): Likewise.
64645 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
64647         [BZ #13717]
64648         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
64649         Change to 2.6.0 everywhere.
64650         * sysdeps/unix/sysv/linux/configure: Regenerated.
64651         * sysdeps/unix/sysv/linux/kernel-features.h
64652         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
64653         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
64654         kernel versions.
64655         (__ASSUME_POSIX_TIMERS): Define unconditionally.
64656         (__ASSUME_FUTEX_REQUEUE): Remove.
64657         (__ASSUME_STATFS64): Define unconditionally.
64658         (__ASSUME_AT_SECURE): Likewise.
64659         (__ASSUME_CORRECT_SI_PID): Likewise.
64660         (__ASSUME_TGKILL): Define without depending on kernel version for
64661         i386.
64662         (__ASSUME_UTIMES): Likewise.
64663         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
64664         kernel version.
64665         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
64666         (__ASSUME_TMPFS_NAME): Likewise.
64667         * README: Update reference to Linux kernel versions.
64669 2012-08-02  Marek Polacek  <polacek@redhat.com>
64671         [BZ# 14150]
64672         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
64673         libc_cv_asm_type_prefix with %.
64674         * configure: Regenerated.
64675         * include/libc-symbols.h: Remove comment about
64676         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
64677         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
64678         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
64679         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
64680         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
64681         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
64682         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
64683         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
64684         * elf/tst-unique2mod1.c: Likewise.
64685         * elf/tst-unique1mod2.c: Likewise.
64686         * elf/tst-unique1mod1.c: Likewise.
64687         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
64688         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
64689         Replace ASM_TYPE_DIRECTIVE with .type.
64690         * sysdeps/s390/s390-64/sysdep.h: Likewise.
64691         * sysdeps/i386/sysdep.h: Likewise.
64692         * sysdeps/x86_64/sysdep.h: Likewise.
64693         * sysdeps/sh/sysdep.h: Likewise.
64694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
64695         Do not define ASM_TYPE_DIRECTIVE.
64696         * sysdeps/powerpc/sysdep.h: Likewise.
64697         * sysdeps/powerpc/powerpc32/sysdep.h:
64698         Replace ASM_TYPE_DIRECTIVE with .type.
64699         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
64700         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
64701         * sysdeps/i386/fpu/e_powf.S: Likewise.
64702         * sysdeps/i386/fpu/e_expl.S: Likewise.
64703         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
64704         * sysdeps/i386/fpu/e_acosh.S: Likewise.
64705         * sysdeps/i386/fpu/e_pow.S: Likewise.
64706         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
64707         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
64708         * sysdeps/i386/fpu/s_expm1.S: Likewise.
64709         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
64710         * sysdeps/i386/fpu/e_log2.S: Likewise.
64711         * sysdeps/i386/fpu/e_log2l.S: Likewise.
64712         * sysdeps/i386/fpu/e_scalb.S: Likewise.
64713         * sysdeps/i386/fpu/e_powl.S: Likewise.
64714         * sysdeps/i386/fpu/e_log10f.S: Likewise.
64715         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
64716         * sysdeps/i386/fpu/e_logl.S: Likewise.
64717         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
64718         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
64719         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
64720         * sysdeps/i386/fpu/e_log2f.S: Likewise.
64721         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
64722         * sysdeps/i386/fpu/e_log.S: Likewise.
64723         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
64724         * sysdeps/i386/fpu/e_logf.S: Likewise.
64725         * sysdeps/i386/fpu/e_log10l.S: Likewise.
64726         * sysdeps/i386/fpu/e_atanh.S: Likewise.
64727         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
64728         * sysdeps/i386/fpu/e_log10.S: Likewise.
64729         * sysdeps/i386/fpu/s_frexp.S: Likewise.
64730         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
64731         * sysdeps/i386/fpu/s_asinh.S: Likewise.
64732         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
64733         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
64734         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
64735         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
64736         * sysdeps/i386/i686/strtok.S: Likewise.
64737         * sysdeps/i386/i386-mcount.S: Likewise.
64738         * sysdeps/i386/strtok.S: Likewise.
64739         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
64740         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
64741         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
64742         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
64743         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
64744         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
64745         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
64746         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
64747         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
64748         * sysdeps/x86_64/_mcount.S: Likewise.
64749         * sysdeps/x86_64/strtok.S: Likewise.
64750         * sysdeps/sh/_mcount.S: Likewise.
64752 2012-08-01  Roland McGrath  <roland@hack.frob.com>
64754         * libio/iofopen.c: Include <fcntl.h>.
64755         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
64756         (_IO_fopen64, fopen64): Define as aliases.
64757         * libio/iofopen64.c: Include <fcntl.h>.
64758         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
64759         Conditionalize body on this.
64760         * sysdeps/wordsize-64/iofopen.c: File removed.
64761         * sysdeps/wordsize-64/iofopen64.c: File removed.
64763 2012-08-01  Marek Polacek  <polacek@redhat.com>
64765         * libc/Makeconfig: Use elf in place of binfmt-subdir.
64766         Use dlfcn directly instead of a variable.
64767         (binfmt-subdir): Do not define.
64768         (dlfcn): Likewise.
64770 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
64772         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
64773         Remove all definitions.
64774         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
64775         <kernel-features.h>.
64776         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
64777         (miss_F_GETOWN_EX): Remove all definitions.
64778         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
64779         macro definition.
64780         [!__ASSUME_FCNTL64]: Remove conditional code.
64781         [__ASSUME_FCNTL64]: Make code unconditional.
64782         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
64783         <kernel-features.h>.
64784         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
64785         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
64786         (lockf64) [__NR_fcntl64]: Make code unconditional.
64787         (lockf64) [__ASSUME_FCNTL64]: Likewise.
64789         * sysdeps/unix/sysv/linux/kernel-features.h
64790         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
64791         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
64792         Make code unconditional.
64793         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
64794         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
64795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
64796         [__NR_vfork]: Make code unconditional.
64797         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
64798         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
64799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
64800         [__NR_vfork]: Make code unconditional.
64801         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
64802         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
64804 2012-08-01  Roland McGrath  <roland@hack.frob.com>
64806         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
64807         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
64809         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
64810         Define mkstemp64 as an alias.
64811         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
64812         Define mkstemps64 as an alias.
64813         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
64814         Define mkostemp64 as an alias.
64815         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
64816         Define mkostemps64 as an alias.
64817         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
64818         Conditionalize body on this.
64819         * misc/mkostemp64.c: Likewise.
64820         * misc/mkostemps64.c: Likewise.
64821         * misc/mkstemps64.c: Likewise.
64822         * sysdeps/wordsize-64/mkstemp64.c: File removed.
64823         * sysdeps/wordsize-64/mkostemp64.c: File removed.
64824         * sysdeps/wordsize-64/mkostemp.c: File removed.
64825         * sysdeps/wordsize-64/mkstemp.c: File removed.
64826         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
64827         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
64828         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
64829         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
64831         [BZ #14138]
64832         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
64833         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
64834         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
64835         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
64837         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
64838         compat_symbol macros from <shlib-compat.h> rather than the underlying
64839         default_symbol_version and symbol_version macros, so that DEFAULT
64840         lines in shlib-versions are respected.
64841         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
64843 2012-08-01  Florian Weimer  <fweimer@redhat.com>
64845         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
64846         Declare with warn_unused_result.
64847         (setgid, setregid, setegid, setresgid): Likewise.
64848         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
64849         Likewise.
64850         * WUR-REPORT: Remove set*id functions.
64852 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
64854         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
64856 2012-07-31  Roland McGrath  <roland@hack.frob.com>
64858         [BZ #10191]
64859         * include/sys/socket.h (__libc_accept, __libc_accept4):
64860         Add attribute_hidden.
64861         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
64863         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
64864         use of PTR_MANGLE.
64865         * inet/getnetgrent_r.c (setup): Likewise.
64867         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
64869 2012-07-31  David S. Miller  <davem@davemloft.net>
64871         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64873 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
64875         [BZ #13629]
64876         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
64877         value between 1.0 and 2.0 and smaller part has absolute value less
64878         than 1.0.
64879         * math/s_clog10.c (__clog10): Likewise.
64880         * math/s_clog10f.c (__clog10f): Likewise.
64881         * math/s_clog10l.c (__clog10l): Likewise.
64882         * math/s_clogf.c (__clogf): Likewise.
64883         * math/s_clogl.c (__clogl): Likewise.
64884         * math/libm-test.inc (clog_test): Add more tests.
64885         (clog10_test): Likewise.
64886         * sysdeps/i386/fpu/libm-test-ulps: Update.
64887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64889 2012-07-31  Florian Weimer  <fweimer@redhat.com>
64891         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
64892         Exit with zero in case no suitable GID is found, and write a
64893         message to standard error.
64895 2012-07-30  Roland McGrath  <roland@hack.frob.com>
64897         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
64898         rather than to 1.
64899         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
64900         (MAXPATHLEN): Removed.
64901         (NOGROUP, NODEV): New macros.
64902         (setbit, clrbit, isset, isclr): New macros.
64903         (howmany, roundup, powerof2): New macros.
64904         (DEV_BSIZE): New macro.
64906         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
64907         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
64909         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
64910         definition on [!__NO_LONG_DOUBLE_MATH].
64912         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
64913         PTR_MANGLE and PTR_DEMANGLE.
64915         * socket/accept4.c (accept4): Rename to __libc_accept4.
64916         Define accept4 as a weak alias.
64918         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
64919         on [_DIRENT_HAVE_D_TYPE].
64920         * io/ftw.c (ftw_dir): Likewise.
64922         * io/xmknod.c (__xmknod): Don't check PATH for being null.
64924         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
64926         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
64927         Use the BSD numbers rather than the arbitrary ones we had.
64928         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
64929         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
64930         (SIGXCPU, SIGXFSZ): New macros.
64931         (_NSIG): Now 32.
64933         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
64934         initializer on [_LIBC_REENTRANT].
64936         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
64937         definitions inside [_POSIX_MAPPED_FILES].
64939         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
64941         * dirent/opendir.c: Include <fcntl.h>.
64943         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
64944         (__libc_getspecific): Likewise.
64945         (__libc_key_create): Likewise.
64947         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
64948         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
64949         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
64950         (tmpfile64): Define as alias.
64951         * sysdeps/wordsize-64/tmpfile.c: File removed.
64952         * sysdeps/wordsize-64/tmpfile64.c: File removed.
64953         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
64954         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
64956         * stdio-common/vfscanf.c: Include <stdbool.h>.
64957         * nss/makedb.c: Likewise.
64958         * stdio-common/_i18n_number.h: Likewise.
64959         * argp/argp-help.c: Likewise.
64960         * posix/wordexp.c: Likewise.
64961         * sysdeps/posix/spawni.c: Likewise.
64962         * nss/nss_files/files-initgroups.c: Likewise.
64963         * stdio-common/reg-modifier.c: Include <stdlib.h>.
64964         * nss/nss_files/files-initgroups.c: Likewise.
64965         * nss/nss_db/db-netgrp.c: Likewise.
64966         * nss/nss_db/db-initgroups.c: Likewise.
64967         * io/fchmodat.c: Include <sys/stat.h>.
64969         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
64970         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
64972         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
64973         [HAVE_MMAP].
64975         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
64976         Add multiple inclusion protection.
64978 2012-07-27  David S. Miller  <davem@davemloft.net>
64980         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64982 2012-07-27  Gary Benson  <gbenson@redhat.com>
64984         [BZ #14298]
64985         * elf/rtld.c: Include <stap-probe.h>.
64986         (dl_main): Added static probes "init_start" and "init_complete".
64987         * elf/dl-load.c: Include <stap-probe.h>.
64988         (lose): Take new parameter "nsid".
64989         Added static probe "map_failed".
64990         (_dl_map_object_from_fd): Pass namespace id to lose.
64991         Added static probe "map_start".
64992         (open_verify): Pass namespace id to lose.
64993         * elf/dl-open.c: Include <stap-probe.h>.
64994         (dl_open_worker) Added static probes "map_complete", "reloc_start"
64995         and "reloc_complete".
64996         * elf/dl-close.c: Include <stap-probe.h>.
64997         (_dl_close_worker): Added static probes "unmap_start" and
64998         "unmap_complete".
64999         * elf/rtld-debugger-interface.txt: New file documenting the above.
65001 2012-07-26  Roland McGrath  <roland@hack.frob.com>
65003         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
65004         rather than a string variable.
65005         * sunrpc/rpc_main.c (h_output): Likewise.
65006         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
65008 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
65010         * inet/check_native.c: New file.
65012 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
65014         [BZ #13629]
65015         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
65016         if larger part has absolute value 1.0.
65017         * math/s_clog10.c (__clog10): Likewise.
65018         * math/s_clog10f.c (__clog10f): Likewise.
65019         * math/s_clog10l.c (__clog10l): Likewise.
65020         * math/s_clogf.c (__clogf): Likewise.
65021         * math/s_clogl.c (__clogl): Likewise.
65022         * math/libm-test.inc (clog_test): Add more tests.
65023         (clog10_test): Likewise.
65024         * sysdeps/i386/fpu/libm-test-ulps: Update.
65025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65027         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
65028         (pltexit): Likewise.
65029         (La_regs): Likewise.
65030         (La_retval): Likewise.
65031         (int_retval): Likewise.
65032         Update #error for removed macros to refer only to definitions in
65033         tst-audit.h.
65034         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
65035         macro.
65036         (pltexit): Likewise.
65037         (La_regs): Likewise.
65038         (La_retval): Likewise.
65039         (int_retval): Likewise.
65040         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
65041         macro.
65042         (pltexit): Likewise.
65043         (La_regs): Likewise.
65044         (La_retval): Likewise.
65045         (int_retval): Likewise.
65046         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
65047         macro.
65048         (pltexit): Likewise.
65049         (La_regs): Likewise.
65050         (La_retval): Likewise.
65051         (int_retval): Likewise.
65052         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
65053         macro.
65054         (pltexit): Likewise.
65055         (La_regs): Likewise.
65056         (La_retval): Likewise.
65057         (int_retval): Likewise.
65058         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
65059         macro.
65060         (pltexit): Likewise.
65061         (La_regs): Likewise.
65062         (La_retval): Likewise.
65063         (int_retval): Likewise.
65064         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
65065         macro.
65066         (pltexit): Likewise.
65067         (La_regs): Likewise.
65068         (La_retval): Likewise.
65069         (int_retval): Likewise.
65070         * sysdeps/generic/tst-audit.h: Update comment to refer only to
65071         macro definitions in tst-audit.h.
65072         * sysdeps/i386/tst-audit.h: New file.
65073         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
65074         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
65075         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
65076         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
65077         * sysdeps/sh/tst-audit.h: Likewise.
65078         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
65079         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
65080         * sysdeps/x86_64/tst-audit.h: Likewise.
65082 2012-07-26  Andreas Jaeger  <aj@suse.de>
65084         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
65085         ptrace.
65087         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
65088         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
65089         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
65090         PTRACE_O_MASK.
65091         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
65092         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
65093         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
65095         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
65096         value.
65098         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
65099         _sigsys.
65100         (si_call_addr, si_syscall, si_arch): Define new macro.
65101         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
65102         _sigsys.
65103         (si_call_addr, si_syscall, si_arch): Define new marcro.
65104         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
65105         _sigsys.
65106         (si_call_addr, si_syscall, si_arch): Define new macro.
65107         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
65108         _sigsys.
65109         (si_call_addr, si_syscall, si_arch): Define new macro.
65111 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
65113         [BZ #13717]
65114         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
65115         Change to 2.4.21 where previously 2.4.1.
65116         * sysdeps/unix/sysv/linux/configure: Regenerated.
65117         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
65118         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
65119         Linux kernel version.
65120         (__ASSUME_STD_AUXV): Remove.
65121         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
65122         kernel version.
65123         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
65124         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
65125         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
65126         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
65127         (__ASSUME_NETLINK_SUPPORT): Likewise.
65128         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
65129         (__no_netlink_support): Remove conditional definition.
65130         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
65131         Remove.
65132         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
65133         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
65134         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
65135         (if_nameindex_ioctl): Remove.
65136         (if_nameindex_netlink): Do not handle __no_netlink_support.
65137         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
65138         code.
65139         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
65140         Remove conditional code.
65141         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
65142         code.
65143         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
65144         unconditional.
65145         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
65146         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
65147         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
65148         Remove.
65149         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
65150         [!__ASSUME_STD_AUXV]: Remove conditional code.
65151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
65152         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
65153         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
65154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
65155         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
65156         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
65157         code.
65158         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
65159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
65160         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
65161         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
65162         conditional code.
65163         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
65164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
65165         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
65166         code.
65167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
65168         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
65169         conditional code.
65170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
65171         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
65172         code unconditional.
65173         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65174         conditional code.
65175         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
65176         unconditional.
65177         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65178         conditional code.
65179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
65180         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
65181         unconditional.
65182         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65183         conditional code.
65184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
65185         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
65186         code unconditional.
65187         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65188         conditional code.
65189         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
65190         unconditional.
65191         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65192         conditional code.
65193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
65194         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
65195         code unconditional.
65196         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65197         conditional code.
65198         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
65199         unconditional.
65200         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65201         conditional code.
65203 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
65205         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
65206         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
65207         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
65208         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
65209         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
65210         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
65211         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
65212         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
65213         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
65214         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
65215         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
65216         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
65217         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
65218         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
65219         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
65220         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
65221         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
65222         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
65223         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
65224         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
65225         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
65226         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
65227         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
65229 2012-07-25  Florian Weimer  <fweimer@redhat.com>
65231         * Versions.def: Add GLIBC_2.17.
65232         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
65233         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
65234         Introduce __libc_secure_getenv.
65235         * stdlib/Versions (2.17): Add secure_getenv
65236         (GLIBC_PRIVATE): Add __libc_secure_getenv.
65237         * stdlib/secure-getenv.c: Rename __secure_getenv to
65238         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
65239         symbol __secure_getenv for GLIBC_2.0.
65240         * stdlib/tst-secure-getenv.c: New.
65241         * stdlib/Makefile (tests): Add testcase.
65242         * manual/startup.texi (Environment Access): Document
65243         secure_getenv.
65244         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
65245         __libc_secure_getenv.
65246         * inet/ruserpass.c (ruserpass): Likewise.
65247         * malloc/mtrace.c (mtrace): Likewise.
65248         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
65249         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
65250         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
65251         * sysdeps/posix/tempname.c: Likewise.  Evaluate
65252         HAVE_SECURE_GETENV.
65253         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
65254         __secure_getenv to __libc_secure_getenv.
65255         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
65256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65257         Likewise.
65258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65259         Likewise.
65260         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
65261         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
65262         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
65263         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
65264         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
65265         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
65266         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
65268 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
65270         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
65271         (struct La_i86_retval): Likewise.
65272         (struct La_x86_64_regs): Likewise.
65273         (struct La_x86_64_retval): Likewise.
65274         (struct La_x32_regs): Likewise.
65275         (struct La_x32_retval): Likewise.
65276         (struct La_ppc32_regs): Likewise.
65277         (struct La_ppc32_retval): Likewise.
65278         (struct La_ppc64_regs): Likewise.
65279         (struct La_ppc64_retval): Likewise.
65280         (struct La_sh_regs): Likewise.
65281         (struct La_sh_retval): Likewise.
65282         (struct La_s390_32_regs): Likewise.
65283         (struct La_s390_32_retval): Likewise.
65284         (struct La_s390_64_regs): Likewise.
65285         (struct La_s390_64_retval): Likewise.
65286         (struct La_sparc32_regs): Likewise.
65287         (struct La_sparc32_retval): Likewise.
65288         (struct La_sparc64_regs): Likewise.
65289         (struct La_sparc64_retval): Likewise.
65290         (struct audit_ifaces): Remove architecture-specific pltenter and
65291         pltexit members.
65292         * sysdeps/i386/ldsodefs.h: New file.
65293         * sysdeps/powerpc/ldsodefs.h: Likewise.
65294         * sysdeps/s390/ldsodefs.h: Likewise.
65295         * sysdeps/sh/ldsodefs.h: Likewise.
65296         * sysdeps/sparc/ldsodefs.h: Likewise.
65297         * sysdeps/x86_64/ldsodefs.h: Likewise.
65299 2012-07-25  Marek Polacek  <polacek@redhat.com>
65301         [BZ #6808]
65302         * math/libm-test.inc (yn_test): Add another test.
65303         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
65304         to ERANGE when the result is +-Inf.
65305         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
65306         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
65307         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
65308         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
65310 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
65312         * conform/data/time.h-data (NULL): Use macro-constant.  Require
65313         equal to 0.
65314         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
65315         clock_t.
65316         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
65318 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
65320         * configure.in <sysdeps resolving>: Correct printing
65321         Implies_before.
65322         * configure: Regenerate.
65324 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
65326         * math/w_ilogb.c: Include <limits.h>.
65327         * math/w_ilogbl.c: Likewise.
65329 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
65331         * manual/lang.texi (__va_copy): Document primarily as ISO C99
65332         va_copy.  Document allowing for unavailable va_copy only as
65333         pre-C99 compatibility.
65334         * manual/string.texi (Copying and Concatenation): Use va_copy
65335         instead of __va_copy in concat example.
65337 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
65339         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
65340         (__sendto): Use create_address_port.  Initialize APORT and deallocate
65341         it if not null.
65343         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
65344         with O_NOLINK passed to __file_name_lookup.
65346         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
65347         with O_NOLINK passed to __file_name_lookup.
65349         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
65350         negative N or less than NGIDS.
65352         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
65353         type to string_t.  Set ERANGE as errno and return it if NAME is not big
65354         enough.  Use memcpy instead of strncpy.
65356 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
65358         * elf/Makefile (check-data): Remove.
65359         (localplt.data): New vpath directive.
65360         ($(objpfx)check-localplt.out): Use localplt.data from vpath
65361         instead of $(check-data).
65362         * scripts/data/localplt-generic.data: Move to ...
65363         * sysdeps/generic/localplt.data: ... here.
65364         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
65365         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
65366         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
65367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
65368         ... here.
65369         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
65370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
65371         ... here.
65372         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
65373         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
65374         ... here.
65375         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
65376         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
65377         ... here.
65378         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
65379         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
65380         ... here.
65381         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
65382         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
65383         ... here.
65385 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65387         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
65388         PPC32 and PPC64 files.
65389         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
65390         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
65392 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65394         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
65395         __makecontext_ret to ...
65396         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
65397         ... here and call exit if uc_link is NULL.  New file.
65398         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
65399         __makecontext_ret.S.
65400         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
65401         __makecontext_ret to ...
65402         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
65403         ... here and call exit if uc_link is NULL.  New file.
65404         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
65405         __makecontext_ret.S.
65407 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65409         * elf/elf.h (R_390_IRELATIVE): New definition.
65410         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
65411         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
65412         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
65413         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
65414         (elf_machine_lazy_rel): Likewise.
65415         * sysdeps/s390/dl-irel.h: New file.
65416         * sysdeps/s390/s390-64/memcpy.S: New asm code.
65417         * sysdeps/s390/s390-64/memset.S: New asm code.
65418         * sysdeps/s390/s390-64/memcmp.S: New asm code.
65419         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
65420         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
65421         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
65422         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
65423         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
65424         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
65425         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
65426         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
65427         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
65428         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
65429         * sysdeps/s390/s390-32/memcpy.S: New asm code.
65430         * sysdeps/s390/s390-32/memset.S: New asm code.
65431         * sysdeps/s390/s390-32/memcmp.S: New asm code.
65433 2012-07-17  Marek Polacek  <polacek@redhat.com>
65435         [BZ #14349]
65436         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
65437         * sysdeps/s390/s390-64/configure.in: Likewise.
65438         * sysdeps/sparc/configure.in: Likewise.
65439         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
65440         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
65441         * sysdeps/i386/configure.in: Likewise.
65442         * sysdeps/x86_64/configure.in: Likewise.
65443         * sysdeps/sh/configure.in: Likewise.
65444         * sysdeps/s390/s390-32/configure: Regenerated.
65445         * sysdeps/s390/s390-64/configure: Likewise.
65446         * sysdeps/x86_64/configure: Likewise.
65447         * sysdeps/sh/configure: Likewise.
65448         * sysdeps/powerpc/powerpc64/configure: Likewise.
65449         * sysdeps/powerpc/powerpc32/configure: Likewise.
65450         * sysdeps/sparc/configure: Likwise.
65451         * sysdeps/i386/configure: Likewise.
65453         * elf/dl-open.c: Comment fixes.
65455 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
65457         * Makefile [CXX] (check-data): Remove.
65458         [CXX] (c++-types.data): New vpath directive.
65459         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
65460         vpath.  Do not allow for C++ type data being missing.
65461         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
65462         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
65463         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
65464         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
65465         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
65466         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
65467         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
65468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
65469         ... here.
65470         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
65471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
65472         ... here.
65473         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
65474         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
65475         ... here.
65476         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
65477         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
65478         ... here.
65479         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
65480         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
65481         ... here.
65482         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
65483         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
65484         ... here.
65485         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
65486         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
65487         ... here.
65488         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
65489         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
65491         * elf/tls-macros.h (TLS_LE): Move architecture-specific
65492         definitions to architecture-specific files.
65493         (TLS_IE): Likewise.
65494         (TLS_LD): Likewise.
65495         (TLS_GD): Likewise.
65496         * sysdeps/i386/tls-macros.h: New file.
65497         * sysdeps/powerpc/tls-macros.h: Likewise.
65498         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
65499         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
65500         * sysdeps/sh/tls-macros.h: Likewise.
65501         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
65502         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
65503         * sysdeps/x86_64/tls-macros.h: Likewise.
65505 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
65507         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
65508         zero value for regular exit case.
65510         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
65511         (__start_context): Preserve zero value for regular exit case.
65513 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
65514             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65516         * manual/setjmp.texi (setcontext): Clarify normal process
65517         termination when uc_link is the null pointer.
65518         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
65519         exit call.
65521 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
65523         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
65524         preprocessor.  Test for each exception mask separately.
65526 2012-07-16  Andreas Jaeger  <aj@suse.de>
65528         * po/ru.po: Update from translation team.
65530 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
65532         * conform/data/string.h-data (NULL): Use macro-constant.  Require
65533         equal to 0.
65534         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
65535         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
65536         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
65537         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
65538         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65540 2012-07-13  Andreas Jaeger  <aj@suse.de>
65542         * po/fr.po: Update from translation team.
65544 2012-07-12  Marek Polacek  <polacek@redhat.com>
65546         [BZ #14173]
65547         * math/libm-test.inc (yn_test): Add test for BZ #14173.
65548         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
65549         loop condition.
65551 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
65553         [BZ #13717]
65554         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
65555         Change to 2.4.1 where previously 2.4.0.
65556         * sysdeps/unix/sysv/linux/configure: Regenerated.
65557         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
65558         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
65559         version.
65560         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
65561         (__ASSUME_AT_CLKTCK): Remove.
65562         (__ASSUME_AT_PAGESIZE): Likewise.
65563         (__ASSUME_AT_XID): Likewise.
65564         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
65565         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
65566         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
65567         unconditionally.
65568         (HAVE_AUX_PAGESIZE): Likewise.
65569         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
65570         [__ASSUME_AT_CLKTCK]: Make code unconditional.
65571         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
65573 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
65575         [BZ #14307]
65576         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
65577         the temporary buffer used to invoke __gethostbyname2_r,
65578         __gethostbyaddr_r and gethostbyname4_r to make room for struct
65579         host_data / struct gaih_addrtuple.
65580         * resolv/nss_dns/dns-host.c (global scope): Move definition of
65581         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
65582         header file nss/nsswitch.h.
65583         * nss/nsswitch.h (global scope): Add definition of implementation
65584         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
65585         resolv/nss_dns/dns-host.c).
65587 2012-07-11  Andreas Jaeger  <aj@suse.de>
65589         * po/fr.po: Update from translation team.
65591         * po/sv.po: Update from translation team
65592         * po/fr.po: Another update from translation team.
65594 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65596         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
65597         for subnormals or multiply small sinh result by itself.
65598         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
65599         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65601 2012-07-11  David S. Miller  <davem@davemloft.net>
65603         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65605 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
65607         [BZ #14347]
65608         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
65609         (INTERNAL_MARK): Shift it here.
65611 2012-07-10  Marek Polacek  <polacek@redhat.com>
65613         [BZ #14151]
65614         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
65615         libc_cv_asm_global_directive with .globl.
65616         * configure: Regenerated.
65617         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
65618         with .globl.
65619         * sysdeps/i386/configure: Regenerated.
65620         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
65621         with .globl.
65622         * sysdeps/x86_64/configure: Regenerated.
65623         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
65624         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
65625         * elf/tst-unique2mod2.c: Likewise.
65626         * elf/tst-unique2mod1.c: Likewise.
65627         * elf/tst-unique1mod2.c: Likewise.
65628         * elf/tst-unique1mod1.c: Likewise.
65629         * sysdeps/s390/s390-32/sysdep.h: Likewise.
65630         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
65631         * sysdeps/s390/s390-64/sysdep.h: Likewise.
65632         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
65633         * sysdeps/mach/sysdep.h: Likewise.
65634         * sysdeps/i386/sysdep.h: Likewise.
65635         * sysdeps/i386/i386-mcount.S: Likewise.
65636         * sysdeps/x86_64/_mcount.S: Likewise.
65637         * sysdeps/x86_64/sysdep.h: Likewise.
65638         * sysdeps/sh/_mcount.S: Likewise.
65639         * sysdeps/sh/sysdep.h: Likewise.
65640         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
65641         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
65642         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
65643         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
65644         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
65645         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
65646         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
65647         * locale/localeinfo.h: Likewise.
65648         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
65649         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
65651 2012-07-09  Roland McGrath  <roland@hack.frob.com>
65653         [BZ #14336]
65654         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
65655         system".
65656         * manual/message.texi (The Uniforum approach): Likewise.
65657         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
65658         (glibc iconv Implementation): Likewise.
65660 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
65662         [BZ #14337]
65663         * math/s_clog.c (__clog): Avoid scaling a value down where that
65664         could result in underflow.
65665         * math/s_clog10.c (__clog10): Likewise.
65666         * math/s_clog10f.c (__clog10f): Likewise.
65667         * math/s_clog10l.c (__clog10l): Likewise.
65668         * math/s_clogf.c (__clogf): Likewise.
65669         * math/s_clogl.c (__clogl): Likewise.
65670         * math/libm-test.inc (clog_test): Add more tests.
65671         (clog10_test): Likewise.
65672         * sysdeps/i386/fpu/libm-test-ulps: Update.
65673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65675 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
65677         [BZ #14283]
65678         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
65679         by 7 not 8 to examine high bit of fractional part.
65681         [BZ #14042]
65682         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
65683         for call to __mcount_internal.
65684         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
65685         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
65686         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
65688 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
65690         [BZ #14154]
65691         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
65692         approximation for values within 0x1p-13f of an odd multiple of
65693         pi/4.
65694         * math/libm-test.inc (tan_test): Do not allow spurious underflow
65695         exception.  Add more tests.
65696         * sysdeps/i386/fpu/libm-test-ulps: Update.
65698         [BZ #6778]
65699         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
65700         inputs and return -1 for them.  Do not check for +Inf in case not
65701         reachable for +Inf.
65702         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
65703         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
65704         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
65705         and return -1 for them.  Do not check for +Inf in case not
65706         reachable for +Inf.
65707         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
65708         define.
65709         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
65710         and return -1 for them.  Do not check for +Inf in case not
65711         reachable for +Inf.
65712         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
65713         spurious underflow.
65714         * sysdeps/i386/fpu/libm-test-ulps: Update.
65715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65717 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
65719         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
65721 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
65723         [BZ #14157]
65724         [BZ #14331]
65725         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
65726         could result in spurious underflow.  Scale down values above
65727         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
65728         * math/s_csqrtf.c (__csqrtf): Likewise.
65729         * math/s_csqrtl.c (__csqrtl): Likewise.
65730         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
65731         spurious underflow.
65732         * sysdeps/i386/fpu/libm-test-ulps: Update.
65733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65735 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
65737         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
65738         xopen-msg.sed.
65739         * catgets/xopen-msg.awk: New file.
65740         * catgets/xopen-msg.sed: Removed.
65742         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
65743         po2text.sed.
65744         * intl/po2test.awk: New file.
65745         * intl/po2test.sed: Removed.
65747 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
65749         [BZ #14328]
65750         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
65751         or multiply small sinh result by itself.
65752         * math/s_ctanf.c (__ctanf): Likewise.
65753         * math/s_ctanh.c (__ctanh): Likewise.
65754         * math/s_ctanhf.c (__ctanhf): Likewise.
65755         * math/s_ctanhl.c (__ctanhl): Likewise.
65756         * math/s_ctanl.c (__ctanl): Likewise.
65757         * math/libm-test.inc (ctan_test_tonearest): New function.
65758         (ctan_test_towardzero): Likewise.
65759         (ctan_test_downward): Likewise.
65760         (ctan_test_upward): Likewise.
65761         (ctanh_test_tonearest): Likewise.
65762         (ctanh_test_towardzero): Likewise.
65763         (ctanh_test_downward): Likewise.
65764         (ctanh_test_upward): Likewise.
65765         (main): Call these new functions.
65766         * sysdeps/i386/fpu/libm-test-ulps: Update.
65767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65769 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
65771         * .gitignore: Delete /ports entry.
65773 2012-07-03  Andreas Jaeger  <aj@suse.de>
65775         * po/bg.po: Update from translation team.
65776         * po/cs.po: Likewise.
65777         * po/de.po: Likewise.
65778         * po/hr.po: Likewise.
65779         * po/nl.pl: Likewise.
65780         * po/pl.po: Likewise.
65781         * po/vi.po: Likewise.
65783 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
65785         * Makeconfig [!+link] (+link-before-libc): New variable.
65786         [!+link] (+link-after-libc): Likewise.
65787         [!+link] (+link-tests): Likewise.
65788         [!+link] (+link): Define in terms of $(+link-before-libc) and
65789         $(+link-after-libc).
65790         [!+link-static] (+link-static-before-libc): New variable.
65791         [!+link-static] (+link-static-after-libc): Likewise.
65792         [!+link-static] (+link-static-tests): Likewise.
65793         [!+link-static] (+link-static): Define in terms of
65794         $(+link-static-before-libc) and $(+link-static-after-libc).
65795         [build-shared] (link-libc-before-gnulib): New variable.
65796         [build-shared] (link-libc-tests): Likewise.
65797         [build-shared] (link-libc): Define in terms of
65798         $(link-libc-before-gnulib).
65799         [!build-shared] (link-libc-tests): New variable.
65800         (link-libc-static-tests): New variable.
65801         [!gnulib] (gnulib-arch): New variable.
65802         [!gnulib] (gnulib-tests): Likewise.
65803         [!gnulib] (static-gnulib-arch): Likewise.
65804         [!gnulib] (static-gnulib-tests): Likewise.
65805         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
65806         Define with "=" instead of ":=".
65807         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
65808         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
65809         * Rules (binaries-all-notests): New variable.
65810         (binaries-all-tests): Likewise.
65811         (binaries-static-notests): Likewise.
65812         (binaries-static-tests): Likewise.
65813         (binaries-all): Define using $(binaries-all-notests) and
65814         $(binaries-all-tests).
65815         (binaries-static): Define using $(binaries-static-notests) and
65816         $(binaries-static-tests).
65817         (binaries-shared-tests): New variable.
65818         (binaries-shared-notests): Likewise.
65819         (binaries-shared): Remove variable.
65820         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
65821         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
65822         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
65823         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
65824         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
65825         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
65826         * elf/Makefile (sln-modules): New variable.
65827         (extra-objs): Add $(sln-modules:=.o).
65828         (ldconfig-modules): Add static-stubs.
65829         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
65830         * elf/static-stubs.c: New file.
65832         [BZ #14283]
65833         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
65834         by 7 not 8 to examine high bit of fractional part.  Use volatile
65835         variables when splitting into final array of floats if
65836         __FLT_EVAL_METHOD__ != 0.
65837         * math/libm-test.inc (cos_test): Add another test.
65838         (sin_test): Likewise.
65839         * sysdeps/i386/fpu/libm-test-ulps: Update.
65841         [BZ #14273]
65842         * math/libm-test.inc (cosh_test): Add more tests.
65844         * version.h (RELEASE): Set to "development".
65845         (VERSION): Set to "2.16.90".
65847 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
65849         * NEWS: Update copyright. Remove last-updated date.
65850         Mention math library bug fixes and timezone data changes.
65851         * README: Mention GNU/Hurd, x32, and HPPA support status.
65853 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
65855         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
65857 2012-06-27  Andreas Jaeger  <aj@suse.de>
65859         * manual/contrib.texi (Contributors): Add Samuel Thibault.
65861 2012-06-25  Andreas Jaeger  <aj@suse.de>
65863         * sysdeps/s390/fpu/libm-test-ulps: Update.
65865 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
65866             Thomas Schwinge  <thomas@codesourcery.com>
65868         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
65869         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
65870         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
65871         fanotify_mark.
65873 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
65875         * sysdeps/mach/start.c: Remove file.
65876         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
65877         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
65878         * sysdeps/sh/init-first.c: Likewise.
65880         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
65881         registers for frame unwinding purposes, add CFI directives.
65882         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
65883         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
65884         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
65885         Likewise.
65887         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
65888         __fortify_fail returning.
65889         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
65891         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
65892         sysdeps/sh/____longjmp_chk.S.
65893         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
65894         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
65895         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
65896         (gen-as-const-headers): Append sigaltstack-offsets.sym.
65898         * sysdeps/sh/abort-instr.h: New file.
65899         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
65900         process in case exit returns.
65902         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
65903         initialize the GOT register before use.
65905         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
65906         calculation of ARGC > 4.
65908         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
65909         meaningful names to some local labels.
65911 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65912             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
65914         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
65915         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
65916         (__arch_compare_and_exchange_val_16_acq): Likewise.
65917         (__arch_compare_and_exchange_val_32_acq): Likewise.
65918         (atomic_exchange_and_add): Fix gUSA sequence.
65919         (atomic_add): Likewise.
65920         (atomic_add_negative): Likewise.
65921         (atomic_add_zero): Likewise.
65922         (atomic_bit_test_set): Likewise.
65924 2012-06-22  Andreas Schwab  <schwab@redhat.com>
65926         [BZ #13579]
65927         * include/link.h (struct link_map): Add l_free_initfini.
65928         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
65929         l_initfini.
65930         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
65931         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
65932         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
65933         set.
65935 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
65937         * configure.in: Use AC_LANG_SOURCE.
65938         * configure: Regenerate.
65940 2012-06-22  Roland McGrath  <roland@hack.frob.com>
65942         * configure.in (libc_cv_localstatedir): New substituted variable.
65943         * configure: Regenerated.
65944         * config.make.in (localstatedir): New variable, substituted from
65945         libc_cv_localstatedir.
65946         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
65947         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
65948         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
65949         * sysdeps/gnu/configure: Regenerated.
65951 2012-06-21  Jeff Law  <law@redhat.com>
65953         [BZ #14277]
65954         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
65955         free.  Simplify list management for _LIBC case.
65957 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
65959         [BZ #14273]
65960         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
65961         Clear sign bit of 64-bit integer value before comparing against
65962         overflow value.
65964         * sysdeps/mach/configure: Regenerated.
65966 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
65968         [BZ #14278]
65969         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
65971 2012-06-21  Jeff Law  <law@redhat.com>
65973         [BZ #13882]
65974         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
65975         uint16_t for elements in the "seen" array to avoid char overflows.
65976         * elf/dl-fini.c (_dl_sort_fini): Likewise.
65977         * elf/dl-open.c (dl_open_worker): Likewise.
65979 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
65981         * scripts/list-sources.sh: Scan PORTS for translations.
65982         * po/libc.pot: Regenerated.
65984 2012-06-21  Andreas Jaeger  <aj@suse.de>
65986         [BZ #12194]
65987         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
65988         warning.
65989         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
65990         * bits/byteswap-16.h (__bswap_16): Likewise.
65991         * bits/byteswap.h (__bswap_constant_16): Likewise.
65993 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
65995         [BZ #14117]
65996         * sysdeps/i386/fpu_control.h: Removed.
65997         * sysdeps/x86_64/fpu_control.h: Moved to ...
65998         * sysdeps/x86/fpu_control.h: Here.
66000         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
66001         (_FPU_SETCW): Likewise.
66003 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
66005         [BZ #14117]
66006         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
66007         * sysdeps/x86/fpu/bits/mathinline.h: This.
66008         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
66010         [BZ #14050]
66011         [BZ #14117]
66012         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
66013         functions if __x86_64__ is defined.
66015 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
66017         * string/endian.h: Add !__ASSEMBLER__ condition for including
66018         conversion interfaces.
66020 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
66022         [BZ #14241]
66023         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
66024         of ABS(x) in calculating zero to negative powers other than odd
66025         integers.
66026         * math/libm-test.inc (pow_test): Add more tests.
66028 2012-06-15  Andreas Jaeger  <aj@suse.de>
66030         * manual/contrib.texi (Contributors): Update entry of Liubov
66031         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
66032         Machado Filho.
66034 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
66036         * string/string.h: Add __wur to GNU version of strerror_r.
66038 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
66040         [BZ #14229]
66041         * string/Makefile (tests): Add tst-strtok_r.
66042         * string/tst-strtok_r.c: New file.
66043         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
66044         RAX_LP/RDX_LP on SAVE_PTR.
66046 2012-06-14  Roland McGrath  <roland@hack.frob.com>
66048         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
66050 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
66052         * libm_test.inc (csqrt_test): Allow more spurious underflow
66053         exceptions.
66054         (j0_test): Likewise.
66055         (j1_test): Likewise.
66056         (y0_test): Likewise.
66057         (y1_test): Likewise.
66059 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
66061         * po/Makefile (libc.pot): Use UTF-8 charset.
66063 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
66065         [BZ #14210]
66066         Suppress sign-conversion warning from FD_SET.
66067         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
66068         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
66069         not unsigned long int.
66070         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
66072 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
66074         [BZ #14050]
66075         [BZ #14117]
66076         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
66077         __extern_always_inline instead of __extern_inline.
66078         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
66079         (__signbit): Likewise.
66080         (__signbitl): Support C++ namespace.
66081         (lrintf): New inline function.
66082         (lrint): Likewise.
66083         (llrintf): Likewise.
66084         (llrint): Likewise.
66085         (fmaxf): Likewise.
66086         (fmax): Likewise.
66087         (fminf): Likewise.
66088         (fmin): Likewise.
66089         (rint): Likewise.
66090         (rintf): Likewise.
66091         (ceil): Likewise.
66092         (ceilf): Likewise.
66093         (floor): Likewise.
66094         (floorf): Likewise.
66095         (nearbyint): Likewise.
66096         (nearbyintf): Likewise.
66098 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
66100         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
66101         non-default versions.
66103 2012-06-11  Roland McGrath  <roland@hack.frob.com>
66105         [BZ #14218]
66106         * manual/argp.texi (Argp): Reword argp_parse description slightly.
66108 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
66110         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
66111         (FE_UPWARD, FE_DOWNWARD): Don't define.
66112         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
66113         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
66115         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
66116         reading it.
66117         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
66118         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
66120 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
66122         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
66123         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
66124         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
66125         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
66127 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
66129         [BZ #14117]
66130         * sysdeps/i386/fpu/bits/fenv.h: Removed.
66131         * sysdeps/i386/fpu/Implies: New file.
66132         * sysdeps/x86_64/fpu/Implies: Likewise.
66133         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
66134         * sysdeps/x86/fpu/bits/fenv.h: This.
66136         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
66137         __SSE_MATH__.
66139 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
66141         [BZ #14134]
66142         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
66143         character 0xffff that matches the last element of the
66144         conversion table.
66146 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66148         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
66149         fmodl commit.
66151 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66153         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
66154         values higher than 25.6283.
66156 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66158         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
66159         subnormal exponent extraction and add some __builtin_expect.
66160         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
66161         Fix for subnormal mantissa calculation.
66163 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
66165         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
66166         cpu2 is -1 and errno is not ENOSYS.
66168 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
66170         [BZ #14117]
66171         * sysdeps/i386/i486/bits/string.h: Renamed to ...
66172         * sysdeps/x86/bits/string.h: This.
66173         * sysdeps/x86_64/bits/string.h: Removed.
66175         * sysdeps/i386/i486/bits/string.h: Define inline functions only
66176         if not compiling for x86-64, but compiling for >= i486.
66178         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
66179         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
66181         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
66182         New macro from Linux kernel 3.4.0.
66183         (FP_XSTATE_MAGIC2): Likewise.
66184         (FP_XSTATE_MAGIC2_SIZE): Likewise.
66185         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
66186         (struct _fpx_sw_bytes): New struct.
66187         (struct _xsave_hdr): Likewise.
66188         (struct _ymmh_state): Likewise.
66189         (struct _xstate): Likewise.
66191         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
66192         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
66193         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
66194         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
66195         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
66196         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
66198         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
66199         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
66200         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
66201         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
66202         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
66203         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
66205 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66207         [BZ #13743]
66208         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
66209         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
66210         (sysdep_headers): Include sys/platform/ppc.h.
66211         * sysdeps/powerpc/test-gettimebase.c: Test for
66212         __ppc_get_timebase() to catch future ISA opcode/insn changes.
66213         * manual/Makefile (appendices): Include platform.texi.
66214         * manual/contrib.texi (Contributors): Update @node pointers.
66215         * manual/maint.texi (Maintenance): Likewise.
66216         (Platform): New node.
66217         * manual/platform.texi: New file.  Document the new features.
66219 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
66220             Jakub Jelinek  <jakub@redhat.com>
66222         [BZ #14188]
66223         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
66224         where __builtin_expect is unavailable.
66226 2012-06-03  David S. Miller  <davem@davemloft.net>
66228         * stdlib/longlong.h: Updated from GCC.
66230 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
66232         [BZ #14042]
66233         * sysdeps/powerpc/powerpc32/mcount.c: New file.
66234         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
66235         __mcount_internal.
66236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
66237         (GLIBC_2.16): Likewise.
66239 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
66241         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
66243 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
66245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
66246         (default-abi): New variable.
66247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
66248         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
66249         variable.
66250         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
66251         Likewise.
66252         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
66253         Likewise.
66254         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
66255         Likewise.
66257         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
66258         definition.  Document in comment.
66260 2012-06-01  David S. Miller  <davem@davemloft.net>
66262         * stdlib/longlong.h: Updated from GCC.
66264 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
66266         [BZ #14117]
66267         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
66268         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
66269         sys/debugreg.h sys/io.h here.
66270         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
66271         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
66272         sys/io.h.
66273         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
66274         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
66275         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
66276         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
66277         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
66278         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
66280         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
66281         Define only if __x86_64__ is defined.
66283 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
66285         [BZ #14048]
66286         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
66287         Use int64_t for variable i.
66288         * math/libm-test.inc (fmod_test): Add more tests.
66290         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
66291         z computation is not scheduled after fetestexcept.
66292         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
66293         Use math_force_eval instead of asm to ensure calculation scheduled
66294         before exception test.
66295         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
66296         Ensure a1 + u.d computation is not scheduled after fetestexcept.
66298 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
66300         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
66301         computation is not scheduled after fetestexcept.
66303 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
66305         [BZ #14117]
66306         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
66307         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
66309 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66311         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
66312         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
66314 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
66316         [BZ #14117]
66317         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
66318         <bits/wordsize.h>.
66319         (__WCHAR_MIN): Support __WORDSIZE == 64.
66320         (__WCHAR_MAX): Likewise.
66322         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
66323         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
66325         [BZ #14183]
66326         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
66327         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
66329         [BZ #14117]
66330         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
66331         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
66333         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
66334         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
66336         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
66337         Defined to 1 if __x86_64__ isn't defined.
66338         (_STAT_VER_LINUX_OLD): New.
66339         (st_atime): Remove duplicate.
66340         (st_mtime): Likewise.
66341         (st_ctime): Likewise.
66343 2012-05-31  David S. Miller  <davem@davemloft.net>
66345         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
66346         entries.
66348 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
66350         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
66351         gen-libm-test.pl.
66353         [BZ #14132]
66354         * elf/dl-reloc.c: Include <_itoa.h>.
66355         (_dl_reloc_bad_type): Remove use of INTUSE.
66356         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
66357         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
66358         * stdio-common/psiginfo.c (psiginfo): Likewise.
66359         * stdio-common/psignal.c (psignal): Likewise.
66360         * string/strsignal.c (strsignal): Likewise.
66361         * include/signal.h (_sys_siglist): Declare hidden proto.
66362         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
66363         INTVARDEF with libc_hidden_data_def.
66364         * stdio-common/itoa-udigits.c: Likewise.
66365         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
66366         (_itoa_lower_digits_internal): Remove declaration.
66367         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
66368         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
66369         (_sys_sigabbrev_internal): Remove aliases.
66370         (_sys_siglist): Define hidden alias.
66372 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
66374         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66375         bits/sysctl.h.
66377 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
66379         [BZ #14117]
66380         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
66381         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
66383         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
66384         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
66385         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
66386         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
66387         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
66388         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
66390         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
66391         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
66392         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
66394         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
66395         with __addr.
66396         (insw): Likewise.
66397         (insl): Likewise.
66398         (outsb): Likewise.
66399         (outsw): Likewise.
66400         (outsl): Likewise.
66402         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
66403         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
66404         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
66406         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
66407         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
66408         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
66409         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
66410         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
66411         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
66413         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
66414         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
66416         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
66417         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
66419         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
66420         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
66421         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
66423         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
66424         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
66425         to ...
66426         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
66428         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
66429         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
66430         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
66432         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
66433         for x86-64.
66434         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
66436 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
66438         * math/math.h (M_El): Use two more decimal places.
66439         (M_LOG2El): Likewise.
66440         (M_LOG10El): Likewise.
66441         (M_LN2l): Likewise.
66442         (M_LN10l): Likewise.
66443         (M_PIl): Likewise.
66444         (M_PI_2l): Likewise.
66445         (M_PI_4l): Likewise.
66446         (M_1_PIl): Likewise.
66447         (M_2_PIl): Likewise.
66448         (M_2_SQRTPIl): Likewise.
66449         (M_SQRT2l): Likewise.
66450         (M_SQRT1_2l): Likewise.
66452 2012-05-31  David S. Miller  <davem@davemloft.net>
66454         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
66455         values between float registers.
66456         * sysdeps/sparc/sparc64/memset.S: Likewise.
66457         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
66459 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
66461         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
66462         -D_FORTIFY_SOURCE=1.
66463         (CPPFLAGS-tst-longjmp_chk.c): Define.
66464         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
66465         (CPPFLAGS-tst-longjmp_chk2.c): Define.
66466         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
66467         CFLAGS-tst-wchar-h.c.
66469 2012-05-31  Marek Polacek  <polacek@redhat.com>
66471         [BZ #14132]
66472         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
66473         __endmntent_internal): Remove declaration.
66474         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
66475         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
66476         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
66478 2012-05-30  David S. Miller  <davem@davemloft.net>
66480         * sysdeps/sparc/sparc32/soft-fp/q_util.c
66481         (___Q_simulate_exceptions): Use real FP ops rather than writing
66482         into the %fsr.
66483         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
66484         Likewise.
66486 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
66488         [BZ #14117]
66489         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
66490         * sysdeps/x86/bits/xtitypes.h: This.
66492         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
66493         * sysdeps/x86/bits/wordsize.h: This.
66495         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
66496         * sysdeps/x86/bits/huge_vall.h: This.
66498         * sysdeps/i386/bits/select.h: Removed.
66499         * sysdeps/x86_64/bits/select.h: Renamed to ...
66500         * sysdeps/x86/bits/select.h: This.
66502         * sysdeps/i386/bits/setjmp.h: Removed.
66503         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
66504         * sysdeps/x86/bits/setjmp.h: This.
66506         * sysdeps/i386/bits/mathdef.h: Removed.
66507         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
66508         * sysdeps/x86/bits/mathdef.h: This.
66510 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
66512         [BZ #14132]
66513         * include/sys/socket.h (__connect_internal)
66514         (__libc_sa_len_internal): Remove declaration.
66515         (__connect, __libc_sa_len): Declare hidden_proto.
66516         (SA_LEN): Remove use of INTUSE.
66517         * socket/connect.c: Add libc_hidden_def.
66518         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
66519         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
66520         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
66521         alias.
66522         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
66523         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
66524         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
66525         of adding _internal alias.
66527 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
66529         [BZ #14117]
66530         * sysdeps/i386/bits/link.h: Removed.
66531         * sysdeps/i386/bits/linkmap.h: Likewise.
66532         * sysdeps/x86_64/bits/link.h: Renamed to ...
66533         * sysdeps/x86/bits/link.h: This.
66534         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
66535         * sysdeps/x86/bits/linkmap.h: This.
66537         * sysdeps/i386/bits/endian.h: Removed.
66538         * sysdeps/x86_64/bits/endian.h: Renamed to ...
66539         * sysdeps/x86/bits/endian.h: This.
66541         * sysdeps/i386/bits/byteswap.h: Removed.
66542         * sysdeps/i386/bits/byteswap-16.h: Likewise.
66543         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
66544         * sysdeps/x86/bits/byteswap.h: This.
66545         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
66546         * sysdeps/x86/bits/byteswap-16.h: This.
66547         * sysdeps/i386/Implies: Add x86.
66548         * sysdeps/x86_64/Implies: Likewise.
66550 2012-05-30  David S. Miller  <davem@davemloft.net>
66552         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
66553         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
66554         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
66555         (FP_TRAPPING_EXCEPTIONS): Define.
66556         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
66557         (FP_TRAPPING_EXCEPTIONS): Define.
66558         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
66559         subnormals only when inexact has been signalled or underflow
66560         exceptions are enabled.
66561         (_FP_PACK_CANONICAL): Likewise.
66563 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
66565         [BZ #14183]
66566         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
66567         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
66569 2012-05-30  Richard Henderson  <rth@twiddle.net>
66571         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
66572         with #ifndef NOT_IN_libc.
66574         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
66575         marked to avoid plt entry.
66577 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
66579         [BZ #14112]
66580         * Makeconfig (default-abi): New macro.
66581         (abi-includes): Likewise.
66582         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
66583         $(abi-$(default-abi)-lib-soname) for soname if defined.
66584         ($(common-objpfx)gnu/lib-names.stmp): Generate from
66585         abi-variants.
66586         * Makefile (installed-stubs): Likewise.
66587         * include/stubs-biarch.h: Removed.
66588         * scripts/lib-names.awk: Only handle one library at a time.
66589         * scripts/soversions.awk: Remove WORDSIZE support.
66590         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
66591         entries.
66592         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
66593         Removed.
66594         (syscall-list-default-condition): Likewise.
66595         (syscall-list-default-condition): Likewise.
66596         (syscall-list-includes): Likewise.
66597         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
66598         syscall-list-* with abi-*.  Handle undefined abi-variants.
66599         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
66600         * sysdeps/unix/sysv/linux/i386/Implies: New file.
66601         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
66602         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
66603         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
66604         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
66605         Removed.
66606         (syscall-list-32-options): Likewise.
66607         (syscall-list-32-condition): Likewise.
66608         (syscall-list-64-options): Likewise.
66609         (syscall-list-64-condition): Likewise.
66610         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
66611         macro.
66612         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
66613         Renamed to ...
66614         (abi-*): This.
66615         (abi-64-ld-soname): New macro.
66616         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
66617         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
66618         Renamed to ...
66619         (abi-*): This.
66620         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
66621         * sysdeps/x86_64/x32/shlib-versions: Likewise.
66623 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
66625         * sysdeps/unix/sysv/linux/kernel-features.h
66626         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
66627         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
66628         include <kernel-features.h>.
66629         [!__NR_ftruncate64]: Remove conditional code.
66630         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66631         [__NR_ftruncate64]: Make code unconditional.
66632         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66633         * sysdeps/unix/sysv/linux/truncate64.c: Do not
66634         include <kernel-features.h>.
66635         [!__NR_ftruncate64]: Remove conditional code.
66636         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66637         [__NR_ftruncate64]: Make code unconditional.
66638         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
66640         include <kernel-features.h>.
66641         [!__NR_ftruncate64]: Remove conditional code.
66642         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66643         [__NR_ftruncate64]: Make code unconditional.
66644         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
66646         include <kernel-features.h>.
66647         [!__NR_ftruncate64]: Remove conditional code.
66648         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66649         [__NR_ftruncate64]: Make code unconditional.
66650         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66652         * configure.in (libc_cv_fpie): Weaken to a compile test using
66653         LIBC_TRY_CC_OPTION.
66654         * configure: Regenerated.
66656 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66658         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
66659         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
66660         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
66661         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
66662         Refreshed.
66663         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
66664         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
66665         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
66666         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
66667         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
66668         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
66669         Refreshed.
66671 2012-05-27  David S. Miller  <davem@davemloft.net>
66673         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
66674         (___Q_zero): New.
66675         (__Q_simulate_exceptions): Return void.  Change to simulate
66676         exceptions by writing into the %fsr.
66677         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
66678         (__Qp_handle_exceptions): Likewise.
66679         (numbers): Delete.
66680         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
66681         __Qp_handle_exceptions.
66682         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
66683         __Qp_handle_exceptions.
66684         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
66685         as unused and give dummy FP_RND_NEAREST initializer.
66686         (FP_INHIBIT_RESULTS): Define.
66687         (___Q_simulate_exceptions): Update declaration.
66688         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
66689         formatting.
66690         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
66691         as unused and give dummy FP_RND_NEAREST initializer.
66692         (__Qp_handle_exceptions): Update declaration.
66693         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
66694         formatting.
66696 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
66698         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
66699         the temporary FPU control word.
66700         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
66701         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
66702         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
66703         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
66704         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
66705         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
66706         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
66707         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
66708         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
66709         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
66710         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
66712 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
66714         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
66715         fields.
66717 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
66719         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
66720         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
66721         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
66722         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
66723         Likewise.
66724         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
66725         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
66726         Likewise.
66728 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
66730         * po/h.po: Update from translation team.
66732 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
66734         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
66736         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
66737         handling of denormals.
66738         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
66739         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
66740         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
66741         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
66742         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
66743         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
66744         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
66745         Likewise.
66747 2012-05-26  Marek Polacek  <polacek@redhat.com>
66749         [BZ #14152]
66750         * math/libm-test.inc (fma_test): Don't always expect underflow
66751         exception.
66753 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
66755         [BZ #12416]
66756         * elf/tst-execstack.c: Include stackinfo.h.
66757         (do_test): Adjust test case to ensure that pthread_getattr_np
66758         behaviour remains the same after marking stack executable.
66760 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
66762         * sysdeps/unix/sysv/linux/kernel-features.h
66763         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
66764         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
66765         kernel-features.h.
66766         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
66767         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
66768         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
66769         kernel-features.h.
66770         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
66771         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
66773 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
66775         * configure.in: Define the default includes to being none.
66776         * configure: Regenerated.
66778 2012-05-25  Roland McGrath  <roland@hack.frob.com>
66780         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
66781         * sysdeps/x86_64/setjmp.S: Likewise.
66782         * sysdeps/i386/bsd-setjmp.S: Likewise.
66783         * sysdeps/i386/bsd-_setjmp.S: Likewise.
66784         * sysdeps/i386/setjmp.S: Likewise.
66785         * sysdeps/i386/__longjmp.S: Likewise.
66786         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
66787         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
66789         * include/stap-probe.h: New file.
66790         * configure.in: Handle --enable-systemtap.
66791         * configure: Regenerated.
66792         * config.h.in (USE_STAP_PROBE): New #undef.
66793         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
66794         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
66795         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
66797 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
66799         [BZ #13717]
66800         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
66801         to 2.4.0 where earlier.
66802         * sysdeps/unix/sysv/linux/configure: Regenerated.
66803         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
66804         <kernel-features.h>.
66805         [__ASSUME_32BITUIDS]: Make code unconditional.
66806         [!__ASSUME_32BITUIDS]: Remove conditional code.
66807         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
66808         <kernel-features.h>.
66809         [__ASSUME_32BITUIDS]: Make code unconditional.
66810         [!__ASSUME_32BITUIDS]: Remove conditional code.
66811         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
66812         [__ASSUME_32BITUIDS]: Make code unconditional.
66813         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
66814         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
66815         <kernel-features.h>.
66816         [__ASSUME_32BITUIDS]: Make code unconditional.
66817         [!__ASSUME_32BITUIDS]: Remove conditional code.
66818         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
66819         <kernel-features.h>.
66820         [__ASSUME_32BITUIDS]: Make code unconditional.
66821         [!__ASSUME_32BITUIDS]: Remove conditional code.
66822         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
66823         <kernel-features.h>.
66824         [__ASSUME_32BITUIDS]: Make code unconditional.
66825         [!__ASSUME_32BITUIDS]: Remove conditional code.
66826         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
66827         <kernel-features.h>.
66828         [__ASSUME_32BITUIDS]: Make code unconditional.
66829         [!__ASSUME_32BITUIDS]: Remove conditional code.
66830         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
66831         <kernel-features.h>.
66832         [__ASSUME_32BITUIDS]: Make code unconditional.
66833         [!__ASSUME_32BITUIDS]: Remove conditional code.
66834         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
66835         <kernel-features.h>.
66836         [__ASSUME_32BITUIDS]: Make code unconditional.
66837         [!__ASSUME_32BITUIDS]: Remove conditional code.
66838         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
66839         <kernel-features.h>.
66840         [__ASSUME_32BITUIDS]: Make code unconditional.
66841         [!__ASSUME_32BITUIDS]: Remove conditional code.
66842         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
66843         <kernel-features.h>.
66844         [__ASSUME_32BITUIDS]: Make code unconditional.
66845         [!__ASSUME_32BITUIDS]: Remove conditional code.
66846         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
66847         <kernel-features.h>.
66848         [__ASSUME_32BITUIDS]: Make code unconditional.
66849         [!__ASSUME_32BITUIDS]: Remove conditional code.
66850         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
66851         <kernel-features.h>.
66852         [__ASSUME_32BITUIDS]: Make code unconditional.
66853         [!__ASSUME_32BITUIDS]: Remove conditional code.
66854         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
66855         <kernel-features.h>.
66856         [__NR_setresgid] (__setresgid): Do not declare.
66857         [__ASSUME_32BITUIDS]: Make code unconditional.
66858         [!__ASSUME_32BITUIDS]: Remove conditional code.
66859         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
66860         <kernel-features.h>.
66861         [__NR_setresuid] (__setresuid): Do not declare.
66862         [__ASSUME_32BITUIDS]: Make code unconditional.
66863         [!__ASSUME_32BITUIDS]: Remove conditional code.
66864         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
66865         <kernel-features.h>.
66866         [__ASSUME_32BITUIDS]: Make code unconditional.
66867         [!__ASSUME_32BITUIDS]: Remove conditional code.
66868         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
66869         <kernel-features.h>.
66870         [__ASSUME_32BITUIDS]: Make code unconditional.
66871         [!__ASSUME_32BITUIDS]: Remove conditional code.
66872         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
66873         <kernel-features.h>.
66874         [__ASSUME_32BITUIDS]: Make code unconditional.
66875         [!__ASSUME_32BITUIDS]: Remove conditional code.
66876         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
66877         <kernel-features.h>.
66878         [__ASSUME_32BITUIDS]: Make code unconditional.
66879         [!__ASSUME_32BITUIDS]: Remove conditional code.
66880         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
66881         <kernel-features.h>.
66882         [__ASSUME_32BITUIDS]: Make code unconditional.
66883         [!__ASSUME_32BITUIDS]: Remove conditional code.
66884         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
66885         <kernel-features.h>.
66886         [__ASSUME_32BITUIDS]: Make code unconditional.
66887         [!__ASSUME_32BITUIDS]: Remove conditional code.
66888         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
66889         <kernel-features.h>.
66890         [__ASSUME_32BITUIDS]: Make code unconditional.
66891         [!__ASSUME_32BITUIDS]: Remove conditional code.
66892         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
66893         <kernel-features.h>.
66894         [__ASSUME_32BITUIDS]: Make code unconditional.
66895         [!__ASSUME_32BITUIDS]: Remove conditional code.
66896         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
66897         <kernel-features.h>.
66898         [__ASSUME_32BITUIDS]: Make code unconditional.
66899         [!__ASSUME_32BITUIDS]: Remove conditional code.
66900         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
66901         <kernel-features.h>.
66902         [__ASSUME_32BITUIDS]: Make code unconditional.
66903         [!__ASSUME_32BITUIDS]: Remove conditional code.
66904         * sysdeps/unix/sysv/linux/kernel-features.h
66905         (__ASSUME_SETRESUID_SYSCALL): Remove.
66906         (__ASSUME_SETRESGID_SYSCALL): Likewise.
66907         (__ASSUME_32BITUIDS): Likewise.
66908         (__ASSUME_LDT_WORKS): Likewise.
66909         (__ASSUME_O_DIRECTORY): Likewise.
66910         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
66911         architecture but not kernel version.
66912         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
66913         (__ASSUME_MMAP2_SYSCALL): Likewise.
66914         (__ASSUME_STAT64_SYSCALL): Likewise.
66915         (__ASSUME_IPC64): Likewise.
66916         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
66917         <kernel-features.h>.
66918         [__ASSUME_32BITUIDS]: Make code unconditional.
66919         [!__ASSUME_32BITUIDS]: Remove conditional code.
66920         * sysdeps/unix/sysv/linux/opendir.c: Do not include
66921         <kernel-features.h>.
66922         [__ASSUME_O_DIRECTORY]: Make code unconditional.
66923         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
66924         132096]: Remove conditional code.
66925         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
66926         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
66927         <kernel-features.h>.
66928         [__ASSUME_32BITUIDS]: Make code unconditional.
66929         [!__ASSUME_32BITUIDS]: Remove conditional code.
66930         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
66931         <kernel-features.h>.
66932         [__ASSUME_32BITUIDS]: Make code unconditional.
66933         [!__ASSUME_32BITUIDS]: Remove conditional code.
66934         * sysdeps/unix/sysv/linux/setegid.c: Do not include
66935         <kernel-features.h>.
66936         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
66937         unconditional.
66938         (__setresgid): Do not declare.
66939         [__ASSUME_32BITUIDS]: Make code unconditional.
66940         [!__ASSUME_32BITUIDS]: Remove conditional code.
66941         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
66942         <kernel-features.h>.
66943         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
66944         unconditional.
66945         (__setresuid): Do not declare.
66946         [__ASSUME_32BITUIDS]: Make code unconditional.
66947         [!__ASSUME_32BITUIDS]: Remove conditional code.
66948         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
66949         <kernel-features.h>.
66950         [__ASSUME_32BITUIDS]: Make code unconditional.
66951         [!__ASSUME_32BITUIDS]: Remove conditional code.
66952         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
66953         <kernel-features.h>.
66954         [__ASSUME_32BITUIDS]: Make code unconditional.
66955         [!__ASSUME_32BITUIDS]: Remove conditional code.
66957 2012-05-25  Richard Henderson  <rth@twiddle.net>
66959         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
66960         dl_hwcap to ifunc resolver.
66961         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
66962         elf_ifunc_invoke.
66963         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
66964         dl_hwcap to ifunc resolver.
66965         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
66967 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
66969         [BZ #14153]
66970         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
66971         for |x| <= 2**-26, not 2**-57.
66972         * math/libm-test.inc (acos_test): Do not allow spurious underflow
66973         exception.
66975 2012-05-24  Jeff Law  <law@redhat.com>
66977         * stdio-common/Makefile (tests): Add bug25.
66978         * stdio-common/bug25.c: New test.
66980 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
66982         [BZ #13576]
66983         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
66984         multiple of MALLOC_ALIGNMENT in size.
66985         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
66987 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
66989         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
66990         Require >= 256.
66991         (FILENAME_MAX): Use macro-int-constant.
66992         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
66993         (_IOFBF): Use macro-int-constant.
66994         (_IOLBF): Likewise.
66995         (_IONBF): Likewise.
66996         (SEEK_CUR): Likewise.
66997         (SEEK_END): Likewise.
66998         (SEEK_SET): Likewise.
66999         (TMP_MAX): Likewise.
67000         (EOF): Use macro-int-constant.  Require < 0.
67001         (NULL): Use macro-constant.  Require == 0.
67002         (stdin): Require type to be FILE *.
67003         (stdout): Likewise.
67004         (stderr): Likewise.
67005         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
67006         macro-int-constant.
67007         (EXIT_SUCCESS): Likewise.
67008         (NULL): Use macro-constant.  Require == 0.
67009         (RAND_MAX): Use macro-int-constant.
67010         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
67011         [C99-based standards] (strtof): Require function.
67012         [C99-based standards] (strtold): Likewise.
67013         [C99-based standards] (strtoll): Likewise.
67014         [C99-based standards] (strtoull): Likewise.
67015         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
67016         [ISO || ISO99 || ISO11] (limits.h): Likewise.
67017         [ISO || ISO99 || ISO11] (math.h): Likewise.
67018         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
67019         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
67020         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67022 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
67024         [BZ #14132]
67025         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
67026         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
67027         * intl/dgettext.c (DCGETTEXT): Likewise.
67028         * intl/gettext.c (DCGETTEXT): Likewise.
67029         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
67030         * posix/regex_internal.h (gettext): Likewise.
67031         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
67032         Remove declaration.
67033         * include/argz.h (__argz_count_internal)
67034         (__argz_stringify_internal): Remove declaration.
67035         (__argz_count, __argz_stringify): Declare hidden proto.
67036         * intl/dcgettext.c: Remove use of INTDEF.
67037         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
67038         * string/argz-stringify.c: Likewise.
67039         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
67040         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
67041         Declare hidden proto.
67042         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
67043         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
67044         Declare hidden proto.
67045         * include/stdio.h (__asprintf_internal): Don't declare.
67046         (__asprintf): Don't define as macro.  Declare hidden proto.
67047         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
67048         (__fsetlocking): Declare hidden proto.
67049         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
67050         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
67051         hidden proto.
67052         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
67053         (_IO_setlinebuf): Remove use of INTUSE.
67054         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
67055         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
67056         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
67057         Remove declaration.
67058         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
67059         (_IO_do_flush): Remove use of INTUSE.
67060         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
67061         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
67062         (_IO_adjust_column, _IO_least_wmarker)
67063         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
67064         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
67065         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
67066         (_IO_default_doallocate, _IO_wdefault_doallocate)
67067         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
67068         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
67069         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
67070         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
67071         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
67072         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
67073         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
67074         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
67075         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
67076         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
67077         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
67078         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
67079         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
67080         proto.
67081         (_IO_flush_all_internal, _IO_adjust_column_internal)
67082         (_IO_default_uflow_internal, _IO_default_finish_internal)
67083         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
67084         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
67085         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
67086         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
67087         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
67088         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
67089         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
67090         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
67091         (_IO_file_close_internal, _IO_file_close_it_internal)
67092         (_IO_file_underflow_internal, _IO_file_overflow_internal)
67093         (_IO_file_init_internal, _IO_file_attach_internal)
67094         (_IO_file_fopen_internal, _IO_file_read_internal)
67095         (_IO_file_sync_internal, _IO_file_seek_internal)
67096         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
67097         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
67098         (_IO_str_underflow_internal, _IO_str_overflow_internal)
67099         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
67100         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
67101         (_IO_list_all_internal, _IO_link_in_internal)
67102         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
67103         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
67104         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
67105         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
67106         (_IO_do_write_internal, _IO_padn_internal)
67107         (_IO_getline_info_internal, _IO_getline_internal)
67108         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
67109         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
67110         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
67111         (_IO_vfscanf_internal, _IO_vfprintf_internal)
67112         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
67113         (_IO_init_internal, _IO_un_link_internal): Don't declare.
67114         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
67115         with libc_hidden_ver, remove use of INTUSE.
67116         * libio/genops.c: Likewise.
67117         * libio/freopen.c: Likewise.
67118         * libio/freopen64.c: Likewise.
67119         * libio/iofclose.c: Likewise.
67120         * libio/iofdopen.c: Likewise.
67121         * libio/iofflush.c: Likewise.
67122         * libio/iofflush_u.c: Likewise.
67123         * libio/iofgets.c: Likewise.
67124         * libio/iofgets_u.c: Likewise.
67125         * libio/iofopen.c: Likewise.
67126         * libio/iofopncook.c: Likewise.
67127         * libio/iofread.c: Likewise.
67128         * libio/iofread_u.c: Likewise.
67129         * libio/ioftell.c: Likewise.
67130         * libio/iofwrite.c: Likewise.
67131         * libio/iogetline.c: Likewise.
67132         * libio/iogets.c: Likewise.
67133         * libio/iogetwline.c: Likewise.
67134         * libio/iopadn.c: Likewise.
67135         * libio/iopopen.c: Likewise.
67136         * libio/ioseekoff.c: Likewise.
67137         * libio/ioseekpos.c: Likewise.
67138         * libio/iosetbuffer.c: Likewise.
67139         * libio/iosetvbuf.c: Likewise.
67140         * libio/ioungetc.c: Likewise.
67141         * libio/ioungetwc.c: Likewise.
67142         * libio/iovdprintf.c: Likewise.
67143         * libio/iovsprintf.c: Likewise.
67144         * libio/iovsscanf.c: Likewise.
67145         * libio/memstream.c: Likewise.
67146         * libio/obprintf.c: Likewise.
67147         * libio/oldfileops.c: Likewise.
67148         * libio/oldiofclose.c: Likewise.
67149         * libio/oldiofdopen.c: Likewise.
67150         * libio/oldiofopen.c: Likewise.
67151         * libio/oldiopopen.c: Likewise.
67152         * libio/oldstdfiles.c: Likewise.
67153         * libio/putc.c: Likewise.
67154         * libio/setbuf.c: Likewise.
67155         * libio/setlinebuf.c: Likewise.
67156         * libio/stdfiles.c: Likewise.
67157         * libio/strops.c: Likewise.
67158         * libio/vasprintf.c: Likewise.
67159         * libio/vscanf.c: Likewise.
67160         * libio/vsnprintf.c: Likewise.
67161         * libio/vswprintf.c: Likewise.
67162         * libio/wfiledoalloc.c: Likewise.
67163         * libio/wfileops.c: Likewise.
67164         * libio/wgenops.c: Likewise.
67165         * libio/wmemstream.c: Likewise.
67166         * libio/wstrops.c: Likewise.
67167         * libio/__fpurge.c: Likewise.
67168         * libio/__fsetlocking.c: Likewise.
67169         * assert/assert.c: Likewise.
67170         * debug/fgets_chk.c: Likewise.
67171         * debug/fgets_u_chk.c: Likewise.
67172         * debug/fread_chk.c: Likewise.
67173         * debug/fread_u_chk.c: Likewise.
67174         * debug/gets_chk.c: Likewise.
67175         * debug/obprintf_chk.c: Likewise.
67176         * debug/vasprintf_chk.c: Likewise.
67177         * debug/vdprintf_chk.c: Likewise.
67178         * debug/vsnprintf_chk.c: Likewise.
67179         * debug/vsprintf_chk.c: Likewise.
67180         * malloc/mtrace.c: Likewise.
67181         * misc/error.c: Likewise.
67182         * misc/syslog.c: Likewise.
67183         * stdio-common/asprintf.c: Likewise.
67184         * stdio-common/fxprintf.c: Likewise.
67185         * stdio-common/getw.c: Likewise.
67186         * stdio-common/isoc99_fscanf.c: Likewise.
67187         * stdio-common/isoc99_scanf.c: Likewise.
67188         * stdio-common/isoc99_vfscanf.c: Likewise.
67189         * stdio-common/isoc99_vscanf.c: Likewise.
67190         * stdio-common/isoc99_vsscanf.c: Likewise.
67191         * stdio-common/printf-prs.c: Likewise.
67192         * stdio-common/printf_fp.c: Likewise.
67193         * stdio-common/printf_fphex.c: Likewise.
67194         * stdio-common/printf_size.c: Likewise.
67195         * stdio-common/putw.c: Likewise.
67196         * stdio-common/scanf.c: Likewise.
67197         * stdio-common/sprintf.c: Likewise.
67198         * stdio-common/tmpfile.c: Likewise.
67199         * stdio-common/vfprintf.c: Likewise.
67200         * stdio-common/vfscanf.c: Likewise.
67201         * stdlib/strfmon_l.c: Likewise.
67202         * sunrpc/openchild.c: Likewise.
67203         * sunrpc/xdr_stdio.c: Likewise.
67204         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
67205         * sysdeps/mach/hurd/tmpfile.c: Likewise.
67207 2012-05-24  Roland McGrath  <roland@hack.frob.com>
67209         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
67211         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
67212         in the third column, to generate for the shared library an IFUNC
67213         that uses _dl_vdso_vsym.
67214         * Makerules (COMPILE.c, compile-stdin.c): New variables.
67215         * Makeconfig (object-suffixes-noshared): New variable.
67217         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
67218         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
67219         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
67220         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
67222         [BZ #14132]
67223         * include/sys/time.h (__gettimeofday): Remove macro.
67224         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
67225         * time/gettimeofday.c (__gettimeofday): Remove #undef.
67226         Remove INTDEF.
67227         (__gettimeofday): Add libc_hidden_def.
67228         (gettimeofday): Add libc_hidden_weak.
67229         * sysdeps/mach/gettimeofday.c: Likewise.
67230         * sysdeps/posix/gettimeofday.c: Likewise.
67231         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
67232         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
67233         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
67234         (__gettimeofday_internal): Remove strong_alias.
67235         (__gettimeofday): Add libc_hidden_def.
67236         (gettimeofday): Add libc_hidden_weak.
67237         * sysdeps/unix/syscalls.list (gettimeofday):
67238         Remove __gettimeofday_internal alias.
67240 2012-05-24  Daniel Jacobowitz  <drow@false.org>
67241             H.J. Lu  <hongjiu.lu@intel.com>
67243         [BZ #12495]
67244         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
67245         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
67246         (largebin_index_32_big): New.
67247         (largebin_index): Use it for 16-byte alignment.
67248         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
67249         correction with front_misalign.
67251 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
67253         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
67254         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
67255         Likewise.
67256         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
67257         Likewise.
67258         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
67259         Likewise.
67260         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
67261         Likewise.
67262         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
67263         Likewise.
67264         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
67265         Likewise.
67266         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
67267         Likewise.
67268         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
67269         Likewise.
67270         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
67271         Likewise.
67272         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
67273         Likewise.
67274         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
67275         Likewise.
67276         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
67277         Likewise.
67279         * scripts/data/c++-types-x32-linux-gnu.data: New file.
67280         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
67282 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
67284         [BZ #10846]
67285         [BZ #14036]
67286         * math/libm-test.inc (exp_test): Add test from bug 14036.
67287         (pow_test): Add test from bug 10846.
67289         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
67290         and other flags.
67291         (special_function): Do not include flags in test name.
67292         (parse_args): Likewise.
67293         * sysdeps/i386/fpu/libm-test-ulps: Update.
67294         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
67295         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
67296         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
67297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67299         * math/gen-libm-test.pl (%beautify): Add entries for underflow
67300         exceptions.
67301         * math/libm-test.inc ("Philosophy"): Update comment about
67302         exception testing.
67303         (UNDERFLOW_EXCEPTION): New macro.
67304         (UNDERFLOW_EXCEPTION_OK): Likewise.
67305         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
67306         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
67307         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
67308         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
67309         (INVALID_EXCEPTION_OK): Update value.
67310         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
67311         (OVERFLOW_EXCEPTION_OK): Likewise.
67312         (IGNORE_ZERO_INF_SIGN): Likewise.
67313         (test_exceptions): Handle underflow exceptions.
67314         (acos_test): Update for underflow exception expectations.
67315         (cexp_test): Likewise.
67316         (clog_test): Likewise.
67317         (clog10_test): Likewise.
67318         (csqrt_test): Likewise.
67319         (ctan_test): Likewise.
67320         (ctanh_test): Likewise.
67321         (exp_test): Likewise.
67322         (exp10_test): Likewise.
67323         (exp2_test): Likewise.
67324         (expm1_test): Likewise.
67325         (fma_test): Likewise.
67326         (j0_test): Likewise.
67327         (jn_test): Likewise.
67328         (nexttoward_test): Likewise.
67329         (pow_test): Likewise.
67330         (scalbn_test): Likewise.
67331         (scalbln_test): Likewise.
67332         (tan_test): Likewise.
67333         (y1_test): Likewise.
67334         * sysdeps/i386/fpu/libm-test-ulps: Update.
67335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67337 2012-05-23  David S. Miller  <davem@davemloft.net>
67339         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
67340         (__libc_sigaction): Remove unused local variables.
67342 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
67344         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
67346 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
67348         mktime: avoid signed integer overflow
67349         * time/mktime.c (__mktime_internal): Do not mishandle the case
67350         where diff == INT_MIN.
67352         mktime: simplify computation of average
67353         * time/mktime.c (ranged_convert): Use new time_t_avg function
67354         instead of rolling our own (probably-slower) code.
67356         mktime: do not assume signed right shift propagates sign bit
67357         * time/mktime.c (isdst_differ): New static function.
67358         (__mktime_internal): No need to normalize tm_isdst now.
67359         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
67360         tm_isdst values.
67362         mktime: merge another wrapv change from gnulib
67363         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
67364         from some compilers.
67366         mktime: remove incorrect attempt at unusual arithmetics
67367         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
67368         The code didn't really work on such machines anyway.
67369         (TYPE_MINIMUM): Assume two's complement.
67370         (twos_complement_arithmetic): Verify that long_int and time_t
67371         are two's complement (or unsigned, in the latter case).
67373         mktime: check signed shifts on long_int and time_t, too
67374         * time/mktime.c (SHR): Check that shifts work as desired
67375         on the types long_int and time_t too, as SHR is used on
67376         such types.
67378         mktime: do not assume 'long' is wide enough
67379         * time/mktime.c (verify): Move decl up.
67380         (long_int): New type.
67381         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
67382         to remove assumption in the code that 'long' is wide enough to
67383         store year values.  This assumption is not true on x32 and on
67384         some non-glibc platforms.
67386         mktime: merge wrapv change from gnulib
67387         * time/mktime.c (WRAPV): New macro.
67388         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
67389         (guess_time_tm, __mktime_internal): Do not assume that signed
67390         integer overflow wraps around; modern compilers generate code
67391         where this assumption is no longer valid.
67393 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
67395         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
67396         Replace "jmp L(pseudo_end)" with "ret".
67397         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
67398         Likewise.
67400 2012-05-23  Andreas Jaeger  <aj@suse.de>
67402         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
67403         * sysdeps/unix/sysv/linux/poll.c: Remove file.
67405 2012-05-23  Andreas Jaeger  <aj@suse.de>
67406             Maximilian Attems  <max@stro.at>
67408         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
67409         New macros.
67411 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
67413         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
67414         code so that pseudo_end is just ret and the stack pointer is
67415         correct also for static library in error case.
67417 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
67419         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
67420         move to syscalls.list.
67421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
67422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
67423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
67424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
67426         * manual/install.texi (Running make install): Do not mention Linux
67427         kernel version for which pt_chown is not needed.
67428         (Linux): Do not mention problems with nscd with 2.0 kernels.
67429         * INSTALL: Regenerated.
67431 2012-05-23  Andreas Jaeger  <aj@suse.de>
67433         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
67434         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
67435         macro.
67436         * sysdeps/unix/sysv/linux/s390/bits/mman.h
67437         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
67438         * sysdeps/unix/sysv/linux/sh/bits/mman.h
67439         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
67440         * sysdeps/unix/sysv/linux/i386/bits/mman.h
67441         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
67442         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
67443         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
67444         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
67445         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
67446         * sysdeps/unix/sysv/linux/bits/in.h
67447         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
67449 2012-05-22  Roland McGrath  <roland@hack.frob.com>
67451         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
67452         (PREPARE_VERSION): Just use assert instead, it will be elided
67453         under [NDEBUG] anyway.
67455 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
67457         * sysdeps/unix/sysv/linux/Makefile: Include
67458         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
67459         (sysdep_routines): Remove sysctl.
67460         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
67461         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
67462         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
67463         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
67464         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
67466 2012-05-22  Andreas Jaeger  <aj@suse.de>
67468         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
67469         that pseudo_end is just ret and the stack pointer is correct also
67470         for static library in error case.
67472 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
67474         [BZ #14122]
67475         * nss/nsswitch.c (defconfig_entries): New variable.
67476         (__nss_database_lookup): Don't leak defconfig entries.
67477         (nss_parse_service_list): Don't leak on error paths.
67478         (free_database_entries): New function.
67479         (free_defconfig): New function.
67480         (free_mem): Move common code to free_database_entries.
67482 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
67484         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
67485         Add arch_prctl.
67486         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
67488         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
67489         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
67490         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
67491         New macro.
67492         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
67493         (INTERNAL_SYSCALL_TYPES): Likewise.
67494         (LOAD_ARGS_TYPES_[1-6]): Likewise.
67495         (LOAD_REGS_TYPES_[1-6]): Likewise.
67496         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
67497         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
67499 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67501         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
67502         copysignl for GLIBC_2_0.
67503         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
67504         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
67505         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
67506         logbl for GLIBC_2_0.
67507         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
67508         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
67510 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
67512         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
67513         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
67515         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
67516         Use "neg %eax".
67518         * time/mktime.c: Update copyright years.
67520 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
67522         mktime: merge comment-quoting-style change from gnulib
67523         * time/mktime.c: Quote 'like this' in comments.
67524         The GNU coding standards suggest that we no longer quote `like this',
67525         as "`" and "'" are typically rendered asymmetrically nowadays.
67526         The typical gnulib style is to quote 'like this' when quoting
67527         code, and "like this" when quoting English.
67529         * time/mktime.c (compile-command): Add "-I.".
67531         mktime: merge mktime-internal.h change from gnulib
67532         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
67534         mktime: merge time_r change from gnulib
67535         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
67537         mktime: merge DEBUG change from gnulib
67538         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
67539         case system <time.h> has a #define.
67541         mktime: merge <sys/types.h> change from gnulib
67542         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
67543         since <time.t> is now guaranteed to define time_t.
67545         mktime: merge HAVE_CONFIG_H change from gnulib
67546         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
67548 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
67550         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
67551         Use "neg %eax".
67553         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
67554         __rlim_t cast.
67555         (struct rusage): Use anonymous union to pad each field to
67556         __syscall_slong_t.
67558 2012-05-21  David S. Miller  <davem@davemloft.net>
67560         * Makefules (o-iterator): Remove .s cases.
67561         (compile-command.s): Delete.
67562         (COMPILE.s): Delete.
67563         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
67565 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
67567         * configure.in (libc_cv_predef_stack_protector): Only consider
67568         "foobar" and "__stack_chk_fail" lines in libc_undefs.
67569         * configure: Regenerated.
67571 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
67573         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
67574         New macro.  Use R*LP on int and pointer.
67575         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
67576         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
67577         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
67578         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
67580         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
67581         [__WORDSIZE_TIME64_COMPAT32] instead of
67582         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
67583         (struct utmp): Likewise.
67584         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
67585         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
67586         Renamed to ...
67587         (__WORDSIZE_TIME64_COMPAT32): This.
67588         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
67589         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
67590         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
67591         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
67592         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
67593         (__WORDSIZE_TIME64_COMPAT32): New macro.
67595 2012-05-21  Andreas Jaeger  <aj@suse.de>
67597         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
67598         only if [SHARED]. Add prototype for __wcschr_ia32.
67600 2012-05-21  Roland McGrath  <roland@hack.frob.com>
67602         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
67603         of %rbp unmolested in the jmp_buf while mangling the low bits.
67604         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
67605         unmolested high bits of %rbp while demangling the low bits.
67606         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
67608 2012-05-21  Andreas Jaeger  <aj@suse.de>
67610         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
67611         * sunrpc/svc_simple.c: Use it for registerrpc.
67612         * sunrpc/xcrypt.c: Use it for passwd2des.
67614         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
67616 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
67618         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
67619         Don't define if [__SYSCALL_WORDSIZE != 32].
67620         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
67621         New macro.
67623 2012-05-21  Bruno Haible  <bruno@clisp.org>
67624             Andreas Jaeger  <aj@suse.de>
67626         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
67627         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
67628         inptr and inend for must_buffer_ch.
67629         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
67630         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
67631         * stdio-common/Makefile (tests): Remove bug15.
67632         (bug15-ENV): Remove macro.
67633         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
67634         anymore.
67636 2012-05-19  Andreas Jaeger  <aj@suse.de>
67637             Roland McGrath  <roland@hack.frob.com>
67639         * manual/contrib.texi: Completely rewritten. It contains now an
67640         alphabetical list of contributors and their contributions.
67642 2012-05-21  Richard Henderson  <rth@twiddle.net>
67644         * misc/getauxval.c (__getauxval): Use unsigned long int.
67645         * misc/sys/auxv.h: Include <sys/cdefs.h>.
67646         (getauxval): Use unsigned long int.
67648 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
67650         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
67652 2012-05-21  Roland McGrath  <roland@hack.frob.com>
67654         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
67655         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
67656         __alignof__ (long double).
67658 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67660         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67662 2012-05-20  Richard Henderson  <rth@twiddle.net>
67664         * misc/getauxval.c: New file.
67665         * misc/sys/auxv.h: New file.
67666         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
67667         (routines): Add getauxval.
67668         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
67669         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
67670         * elf/dl-sysdep.c (_dl_auxv): Remove.
67671         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
67672         * elf/dl-support.c (_dl_auxv): New variable.
67673         (_dl_aux_init): Initialize it.
67674         * manual/startup.texi (Auxiliary Vector): New node.
67675         * sysdeps/generic/bits/hwcap.h: New file.
67676         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
67677         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
67678         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
67679         * sysdeps/sparc/sysdep.h: ... here.  Include it.
67680         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
67681         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
67682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67683         Update.
67684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
67685         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
67686         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
67687         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
67688         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
67689         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
67690         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
67691         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
67693 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67695         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67697 2012-05-19  David S. Miller  <davem@davemloft.net>
67699         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67701 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
67703         [BZ #14123]
67704         * math/s_ccosh.c: Include <float.h>
67705         (__ccosh): Avoid internal overflow calculating sinh and cosh
67706         values before multiplying by sin and cos values.
67707         * math/s_ccoshf.c: Likewise.
67708         * math/s_ccoshl.c: Likewise.
67709         * math/s_csin.c: Likewise.
67710         * math/s_csinf.c: Likewise.
67711         * math/s_csinl.c: Likewise.
67712         * math/s_csinh.c: Likewise.
67713         * math/s_csinhf.c: Likewise.
67714         * math/s_csinhl.c: Likewise.
67715         * math/libm-test.inc (ccos_test): Add more tests.
67716         (ccosh_test): Likewise.
67717         (csin_test): Likewise.
67718         (csinh_test): Likewise.
67719         * sysdeps/i386/fpu/libm-test-ulps: Update.
67720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67722 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
67724         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
67725         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
67727         * sysdeps/x86_64/x32/_itoa.h: Add comment.
67729 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
67731         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
67732         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
67733         * sysdeps/powerpc/soft-fp/Versions: Likewise.
67734         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
67735         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
67736         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
67737         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
67738         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
67739         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
67740         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
67741         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
67742         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
67743         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
67744         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
67745         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
67746         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
67747         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
67748         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
67749         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
67750         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
67751         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
67752         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
67753         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
67754         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
67755         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
67756         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
67757         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
67758         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
67759         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
67760         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
67761         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
67763 2012-05-18  Andreas Jaeger  <aj@suse.de>
67765         * csu/.gitignore: Delete.
67767 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
67769         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
67770         (timex): Use __syscall_slong_t.
67772 2012-05-18  Andreas Jaeger  <aj@suse.de>
67773             Carlos O'Donell  <carlos_odonell@mentor.com>
67775         * manual/install.texi (Configuring and compiling): Update
67776         description about files modified in the source directory.
67777         * INSTALL: Regenerated.
67779 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
67781         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
67782         value.  Use "or" to set return value to -1.
67783         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
67784         negate return value.
67786 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67788         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
67789         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
67790         failure if the compiler has Graphite support disabled.
67791         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
67792         Likewise.
67793         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
67794         (CFLAGS-memmove.c): Likewise.
67795         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
67796         Likewise.
67798 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
67800         * sysdeps/x86_64/x32/_itoa.h: New file.
67802         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
67803         getdents system call only if kernel and user dirents have the
67804         same d_ino and d_off.
67806         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
67807         LLONG_MAX != LONG_MAX.
67808         (_itoa_word): Use _ITOA_WORD_TYPE on value.
67809         (_fitoa_word): Likewise.
67811         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
67812         years.
67813         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
67814         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
67815         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
67817         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
67818         include <bits/wordsize.h>.  Check __x86_64__ instead of
67819         __WORDSIZE.
67820         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
67821         if __x86_64__ is defined.  Use anonymous union on fpstate.
67823         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
67824         anonymous union.
67826 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
67828         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
67829         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
67830         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
67831         Refer to _rtld_local_ro instead of _rtld_global_ro.
67832         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
67833         Likewise.
67834         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
67835         Likewise.
67836         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
67837         Likewise.
67838         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
67839         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
67840         of _rtld_global, and rtld_progname instead of _dl_argv[0].
67842         [BZ #10882]
67843         * sysdeps/powerpc/powerpc32/dl-machine.c
67844         (__elf_machine_runtime_setup) [PROF]: Don't reference
67845         _dl_prof_resolve.
67847 2012-05-18  Andreas Jaeger  <aj@suse.de>
67849         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
67850         function only available for GCCs before 3.4 since GCC 3.4
67851         introduced a builtin.
67852         (lrint): Likewise.
67853         (llrintf): Likewise.
67854         (llrint): Likewise.
67855         (fmaxf): Likewise.
67856         (fmax): Likewise.
67857         (fminf): Likewise.
67858         (fmin): Likewise.
67859         (rint): Likewise.
67860         (rintf): Likewise.
67861         (nearbyint): Likewise.
67862         (nearbyintf): Likewise.
67863         (ceil): Likewise.
67864         (ceilf): Likewise.
67865         (floor): Likewise.
67866         (floorf): Likewise.
67868 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
67870         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
67871         on both fields and cast pointer to __syscall_ulong_t.
67873         * bits/types.h (__fsword_t): New type.
67874         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
67875         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
67876         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67877         (__FSWORD_T_TYPE): Likewise.
67878         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
67879         (__FSWORD_T_TYPE): Likewise.
67880         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67881         (__FSWORD_T_TYPE): Likewise.
67882         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
67883         (__FSWORD_T_TYPE): Likewise.
67884         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
67885         __SWORD_TYPE with __fsword_t.
67886         (statfs64): Likewise.
67888 2012-05-17  David S. Miller  <davem@davemloft.net>
67890         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
67892 2012-05-17  Andreas Jaeger  <aj@suse.de>
67894         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
67895         warning.
67897 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
67899         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
67901 2012-05-17  Andreas Jaeger  <aj@suse.de>
67903         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
67904         when it is used.
67906 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
67908         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
67910 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
67912         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
67913         * sysdeps/x86_64/tst-mallocalign1.c: New file.
67915 2012-05-17  Andreas Jaeger  <aj@suse.de>
67916             Carlos O'Donell  <carlos_odonell@mentor.com>
67918         [BZ #14059]
67919         * sysdeps/x86_64/multiarch/init-arch.h
67920         (bit_YMM_Usable): Rename to...
67921         (bit_AVX_Usable): ... this.
67922         (bit_FMA4_Usable): New macro.
67923         (bit_XMM_state): New macro.
67924         (bit_YMM_state): New macro.
67925         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
67926         [__ASSEMBLER__] (index_AVX_Usable): ... this.
67927         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
67928         (CPUID_OSXSAVE): New macro.
67929         (CPUID_AVX): New macro.
67930         (CPUID_FMA4): New macro.
67931         (index_YMM_Usable): Rename to...
67932         (index_AVX_Usable): ... this.
67933         (HAS_AVX): Use HAS_ARCH_FEATURE.
67934         (HAS_FMA4): Likewise.
67935         (HAS_YMM_USABLE): Remove.
67936         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67937         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
67938         are present.
67939         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
67940         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
67941         * sysdeps/x86_64/multiarch/Makefile: Likewise.
67942         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
67943         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
67945 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
67947         * math/libm-test.c: Support platforms without multiple rounding modes.
67948         * math/bug-nextafter.c: Support platforms without FP exceptions.
67949         * math/bug-nexttoward.c: Likewise.
67950         * math/test-fenv.c: Likewise.
67951         * math/test-misc.c: Likewise.
67952         * stdlib/bug-getcontext.c: Likewise.
67954 2012-05-17  Andreas Jaeger  <aj@suse.de>
67956         * manual/examples/search.c (critter_cmp): Change signature to
67957         avoid warnings.
67958         * manual/string.texi (Collation Functions): Likewise.
67960 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67962         * bits/types.h: Fold copyright years.
67963         * bits/typesizes.h: Likewise.
67964         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
67965         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
67966         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
67967         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
67968         * time/time.h: Likewise.
67970 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
67972         [BZ #208]
67973         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
67974         in instead of returning them.  Return void.
67975         (__libc_mallinfo): Accumulate over all arenas.
67976         (__malloc_stats): Adjust for change in int_mallinfo interface.
67978 2012-05-16  Roland McGrath  <roland@hack.frob.com>
67980         [BZ #10375]
67981         * configure.in (NM): Add AC_CHECK_TOOL for it.
67982         (libc_extra_cflags): New substituted variable.
67983         Check for -fstack-protector being used implicitly.
67984         * configure: Regenerated.
67985         * config.make.in (config-extra-cflags): New variable,
67986         gets @libc_extra_cflags@.
67987         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
67989         [BZ #10375]
67990         * configure.in: Check for _FORTIFY_SOURCE being predefined.
67991         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
67992         * configure: Regenerated.
67993         * config.make.in (CPPUNDEFS): New substituted variable.
67994         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
67995         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
67996         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
67998 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68000         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
68001         (mq_attr): Use __syscall_slong_t.
68003 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68005         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
68006         Check __x86_64__ instead of __WORDSIZE.
68007         (_STAT_VER_LINUX): Likewise.
68008         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
68009         __syscall_ulong_t and __syscall_slong_t.
68010         (stat64): Likewise.
68012 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68014         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
68016 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68018         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
68020 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68022         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
68023         __syscall_ulong_t.
68025         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
68026         include <bits/wordsize.h>.  Check __x86_64__ instead of
68027         __WORDSIZE.
68028         (greg_t): Use "__extension__ long long int" if __x86_64__ is
68029         defined.
68030         (mcontext_t): Replace "unsigned long" with "unsigned long long".
68032         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
68033         include <bits/wordsize.h>.  Check __x86_64__ instead of
68034         __WORDSIZE.
68035         (user_regs_struct): Use "__extension__ unsigned long long"
68036         instead of "unsigned long" if __x86_64__ is defined.
68037         (user): Likewise.  Pad after pointer field if __ILP32__ is
68038         defined.
68040 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
68042         * configure.in (makeinfo): Require version 4.5 or later.  Allow
68043         versions 5 to 9.
68044         * configure: Regenerated.
68045         * manual/install.texi (texinfo): Increase version requirement to
68046         4.5 or later.
68047         * INSTALL: Regenerated.
68049         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
68051 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68053         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
68055         * sysdeps/x86_64/x32/ffs.c: New file.
68057         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
68058         __syscall_ulong_t.
68059         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
68060         defined.  Use __syscall_ulong_t.
68061         (shminfo): Use __syscall_ulong_t.
68062         (shm_info): Likewise.
68064         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
68065         __syscall_ulong_t.
68067         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
68068         <bits/wordsize.h>.
68069         (msgqnum_t): Use __syscall_ulong_t.
68070         (msglen_t): Likewise.
68071         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
68072         __syscall_ulong_t.
68074         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
68075         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
68077         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
68079         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
68080         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
68082         * sysvipc/sys/msg.h (msgbuf): Replace long int with
68083         __syscall_slong_t.
68085         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
68086         include <bits/wordsize.h>.  Check __x86_64__ instead of
68087         __WORDSIZE.
68089         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
68090         "unsigned long long int" if __x86_64__ is defined.
68091         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
68093         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
68094         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
68095         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
68097         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
68098         <stdint.h>.
68099         (GET_PC): Cast to uintptr_t first.
68100         (GET_FRAME): Likewise.
68101         (GET_STACK): Likewise.
68103         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
68104         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
68105         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
68106         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
68107         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
68108         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
68109         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
68110         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
68111         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
68112         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
68113         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
68114         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
68115         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
68116         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
68117         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
68118         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
68119         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
68120         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
68121         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
68122         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
68123         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
68124         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
68125         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
68126         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
68127         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
68128         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
68129         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
68130         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
68131         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
68133 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
68135         * Makerules (+depfiles): Also collect depfiles from .oS in
68136         $(extra-objs).
68137         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
68138         .oS, $(libnldbl-routines)).
68140         * Makerules (native-compile-mkdep-flags): Define.
68141         * sunrpc/Makefile (extra-objs): Add $(addprefix
68142         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
68143         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
68144         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
68145         calling $(make-target-directory).
68147 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68149         * bits/types.h (__snseconds_t): Removed.
68150         * time/time.h (struct timespec): Replace __snseconds_t with
68151         __syscall_slong_t.
68152         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
68153         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
68154         Likewise.
68155         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68156         (__SNSECONDS_T_TYPE): Likewise.
68157         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68158         (__SNSECONDS_T_TYPE): Likewise.
68159         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68160         (__SNSECONDS_T_TYPE): Likewise.
68162 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68164         * sysdeps/mach/hurd/bits/typesizes.h
68165         (__SYSCALL_SLONG_TYPE): New macro.
68166         (__SYSCALL_ULONG_TYPE): Likewise.
68168 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68170         * bits/types.h (__syscall_slong_t): New type.
68171         (__syscall_ulong_t): Likewise.
68173         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
68174         (__SYSCALL_ULONG_TYPE): Likewise.
68175         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68176         (__SYSCALL_SLONG_TYPE): Likewise.
68177         (__SYSCALL_ULONG_TYPE): Likewise.
68178         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68179         (__SYSCALL_SLONG_TYPE): Likewise.
68180         (__SYSCALL_ULONG_TYPE): Likewise.
68181         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68182         (__SYSCALL_SLONG_TYPE): Likewise.
68183         (__SYSCALL_ULONG_TYPE): Likewise.
68185 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68187         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
68188         Add sigaltstack-offsets.sym.
68189         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
68190         <sigaltstack-offsets.h>.
68191         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
68192         longjmp_msg pointer.
68193         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
68194         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
68195         signal stack.
68196         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
68198 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
68200         * elf/stackguard-macros.h: Remove file.
68201         * sysdeps/generic/stackguard-macros.h: New file.
68202         * sysdeps/i386/stackguard-macros.h: Likewise.
68203         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
68204         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
68205         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
68206         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
68207         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
68208         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
68209         * sysdeps/x86_64/stackguard-macros.h: Likewise.
68210         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
68211         <elf/stackguard-macros.h>.
68213         [BZ #14109]
68214         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
68215         __aligned__ in attribute.
68216         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
68217         (gregset_t): Likewise.
68219 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68221         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
68222         * sysdeps/x86_64/64/Implies-after: Here.  New file.
68223         * sysdeps/x86_64/x32/Implies-after: New file.
68225 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68227         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
68228         and access return value for _dl_profile_fixup.  Use R10_LP to
68229         load frame size.
68231 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68233         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
68235 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68237         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
68238         * sysdeps/x86_64/x32/sysdep.h: New file.
68240 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68242         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
68243         * sysdeps/x86_64/setjmp.S: Likewise.
68245 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68247         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
68248         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
68249         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
68250         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
68251         remove unused global constant.
68253 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
68255         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
68256         include of <not-cancel.h>.
68258 2012-05-15  Roland McGrath  <roland@hack.frob.com>
68260         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
68262 2012-05-15  Jeff Law  <law@redhat.com>
68263             Andreas Jaeger  <aj@suse.de>
68265         [BZ #13594]
68266         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
68267         out from...
68268         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
68269         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
68270         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
68271         code changing __hst_map_handle.map.
68273 2012-05-15  Roland McGrath  <roland@hack.frob.com>
68275         * configure.in (sysnames): Look for Implies-before and Implies-after
68276         files.
68277         * configure: Regenerated.
68279 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68281         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
68282         8-byte data alignment with LP_SIZE alignment.
68284 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68286         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
68287         into R10_LP.
68289 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68291         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
68293 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68295         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
68296         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
68297         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
68298         Likewise.
68299         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
68301 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68303         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
68304         (stackinfo_sub_sp): Likewise.
68306 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68308         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
68309         RAX_LP.
68311 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68313         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
68314         into R*_LP.
68316 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68318         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
68319         sizes into R*_LP.
68321 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68323         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
68325 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68327         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
68328         into R11_LP and load __x86_64_shared_cache_size_half into
68329         R8_LP.
68331 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68333         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
68334         R8_LP.
68336 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68338         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
68339         logb for POWER7.
68340         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
68341         logbf for POWER7.
68342         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
68343         logbl for POWER7.
68344         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
68345         powerpc32/power7/fpu/s_logb.c via #include.
68346         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
68347         powerpc32/power7/fpu/s_logbf.c via #include.
68348         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
68349         powerpc32/power7/fpu/s_logbl.c via #include.
68351 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
68353         * README.libm: Remove file.
68355 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68357         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
68358         count for x32.  Use R*_LP and omit operand-size suffix.
68360 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68362         * shlib-versions: Move x86_64-.*-linux.* entries to ...
68363         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
68364         * sysdeps/x86_64/x32/shlib-versions: New file.
68366 2012-05-14  Roland McGrath  <roland@hack.frob.com>
68368         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
68369         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
68370         Use _dl_fatal_printf instead.
68372 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
68374         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
68375         set if not set by the user.  Do not allow for being unset.
68376         * sysdeps/unix/sysv/linux/configure: Regenerated.
68378 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68380         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
68381         the `q' suffix from lea and replace .quad with ASM_ADDR.
68383 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68385         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
68386         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
68387         instead of $17.
68388         (PTR_DEMANGLE): Likewise.
68390 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68392         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
68393         (LP_OP): Likewise.
68394         (ASM_ADDR): Likewise.
68395         (RAX_LP): Likewise.
68396         (RBP_LP): Likewise.
68397         (RBX_LP): Likewise.
68398         (RCX_LP): Likewise.
68399         (RDI_LP): Likewise.
68400         (RSI_LP): Likewise.
68401         (RSP_LP): Likewise.
68402         (R8_LP): Likewise.
68403         (R9_LP): Likewise.
68404         (R10_LP): Likewise.
68405         (R10_LP): Likewise.
68406         (R11_LP): Likewise.
68407         (R12_LP): Likewise.
68408         (R13_LP): Likewise.
68409         (R14_LP): Likewise.
68410         (R15_LP): Likewise.
68412 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68414         * sysdeps/x86_64/x32/dl-machine.h: New file.
68416 2012-05-14  Andreas Jaeger  <aj@suse.de>
68418         * manual/Makefile (subdir): Remove export of subdir.
68419         (all): Remove target.
68420         (.PHONY): Remove all from list.
68421         (mkinstalldirs): Remove.
68422         (.PHONY): Remove installdirs from list.
68423         ($(inst_infodir)/libc.info): Use make-target-directory.
68424         (installdirs): Remove.
68425         (subdir_%): Remove.
68426         (glibc-targets): Remove.
68427         (lib): Remove.
68428         (stubs): Remove.
68429         ($(objpfx)stubs ../po/manual.pot): Remove.
68430         ($(objpfx)stamp%): Remove.
68431         (make-target-directory): Remove.
68432         (subdir_install): Remove.
68433         (routines): Remove.
68434         (aux): Remove.
68435         (sources): Remove.
68436         (objects): Remove.
68437         (headers): Remove.
68439         [BZ #13750]
68440         * manual/.gitignore: Remove, it's not needed anymore.
68441         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
68442         all files in it.
68443         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
68444         directory.
68445         (texis): Renamed to $(objpfx)texis.
68446         (texis-path): New, contains path to generated files.
68447         (chapters.%): Use texis-path for complete path, add extra argument
68448         libc-texinfo.sh.
68449         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
68450         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
68451         (summary,texi, stamp-summary): Use complete path of
68452         files. Generate files in build dir.
68453         (dir-add.texi): Build in build dir.
68454         (libm-err.texi,stamp-libm-err): Likewise.
68455         (version.texi, stamp-version): Likewise.
68456         (.%c.texi): Likewise.
68457         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
68458         (mostlyclean): Remove target.
68459         (realclean): Remove target.
68460         (generated): Add new variable with contents from mostlyclean and
68461         realclean, remove entries duplicated in common-mostlyclean, add
68462         stamp-libm-err and stamp-version.
68463         (generated-dirs): Add libc directory.
68464         ($(inst_infodir)/libc.info): Install files from build dir.
68466         * manual/install.texi (Configuring and compiling): Adjust since
68467         the info files are not part of the tar ball anymore.
68469 2012-05-14  Andreas Jaeger  <aj@suse.de>
68471         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
68472         variable.
68474 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
68476         [BZ #13717]
68477         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
68478         to 2.2.0 where earlier.
68479         * sysdeps/unix/sysv/linux/configure: Regenerated.
68480         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
68481         Remove conditional code.
68482         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
68483         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
68484         Remove conditional code.
68485         [!__NR_lchown]: Likewise.
68486         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
68487         [__NR_lchown]: Likewise.
68488         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
68489         comment referencing __ASSUME_LCHOWN_SYSCALL.
68490         * sysdeps/unix/sysv/linux/i386/sigaction.c
68491         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
68492         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
68493         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
68494         Remove conditional code.
68495         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
68496         (__protocol_available): Remove #if 0 code.
68497         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
68498         conditional code.
68499         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
68500         * sysdeps/unix/sysv/linux/kernel-features.h
68501         (__ASSUME_GETCWD_SYSCALL): Don't define.
68502         (__ASSUME_REALTIME_SIGNALS): Likewise.
68503         (__ASSUME_PREAD_SYSCALL): Likewise.
68504         (__ASSUME_PWRITE_SYSCALL): Likewise.
68505         (__ASSUME_POLL_SYSCALL): Likewise.
68506         (__ASSUME_LCHOWN_SYSCALL): Likewise.
68507         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
68508         non-SPARC.
68509         (__ASSUME_SIOCGIFNAME): Don't define.
68510         (__ASSUME_MSG_NOSIGNAL): Likewise.
68511         (__ASSUME_SENDFILE): Define unconditionally.
68512         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
68513         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
68514         conditional code.
68515         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
68516         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
68517         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
68518         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
68519         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
68520         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
68521         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
68522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
68523         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
68524         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
68526         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
68527         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
68529         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
68530         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
68532         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
68533         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
68535         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
68536         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
68538         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
68539         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
68541         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
68542         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
68544         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
68545         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68546         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
68547         Remove conditional code.
68548         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68549         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
68550         Remove conditional code.
68551         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68552         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
68553         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
68554         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
68555         Remove conditional code.
68556         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68557         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
68558         Remove conditional code.
68559         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68560         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
68561         Remove conditional code.
68562         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68563         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
68564         Remove conditional code.
68565         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68566         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
68567         Remove conditional code.
68568         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68569         * sysdeps/unix/sysv/linux/sh/pwrite64.c
68570         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
68571         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68572         * sysdeps/unix/sysv/linux/sigaction.c
68573         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
68574         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
68575         * sysdeps/unix/sysv/linux/sigpending.c
68576         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
68577         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
68578         * sysdeps/unix/sysv/linux/sigprocmask.c
68579         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
68580         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
68581         * sysdeps/unix/sysv/linux/sigsuspend.c
68582         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
68583         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
68584         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
68585         (__libc_missing_rt_sigs): Remove.
68586         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
68587         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
68588         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
68589         Remove conditional code.
68590         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
68591         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
68592         return 1.
68593         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
68594         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
68595         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
68596         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
68598 2012-05-14  Andreas Jaeger  <aj@suse.de>
68600         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
68601         it's not used in glibc.
68602         (__coshm1): Likewise.
68603         (__acosh1p): Likewise.
68604         (__sgn): Likewise.
68606         * manual/string.texi (Copying and Concatenation): Add missing
68607         variable in concat example.
68608         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
68610 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68612         [BZ #14103]
68613         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
68614         __builtin_clzl with __builtin_clzll.
68616 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68618         [BZ #14104]
68619         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
68620         libc_freeres_ptr.
68622 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68624         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
68625         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
68626         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
68627         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
68629 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
68631         * NEWS: Update ia64 info.
68633 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
68635         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
68636         used as bcopy.
68638 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
68640         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
68641         * sysdeps/unix/syscalls.list (dup3): Likewise.
68642         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
68643         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
68645 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
68647         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
68648         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
68650 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
68652         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
68653         thread pointer.
68654         (TLS_IE): Use mov/add instead of movq/addq to load thread
68655         pointer.
68656         (TLS_GD_PREFIX): New.
68657         (TLS_GD): Use it.
68659 2012-05-11  David S. Miller  <davem@davemloft.net>
68661         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
68662         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
68663         (_FPU_SETCW): Likewise.
68665 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
68667         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
68668         is 32-byte aligned.
68670 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
68672         [BZ #11837]
68673         * iconvdata/gb18030.c: Update tables.
68674         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
68675         characters specially.
68676         (BODY for TO_LOOP): Add encoding of missing ranges.
68678 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
68680         [BZ #13673]
68681         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
68682         * sysdeps/mach/hurd/dup3.c: Likewise.
68683         * sysdeps/mach/hurd/readlinkat.c: Likewise.
68684         * sysdeps/powerpc/memmove.c:: Likewise.
68686 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
68688         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
68689         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
68691 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
68693         * elf/elf.h (R_X86_64_RELATIVE64): New.
68694         (R_X86_64_NUM): Updated.
68695         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
68696         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
68697         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
68698         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
68699         tst-quad1pie tst-quad2pie
68700         (modules-names): Add tst-quadmod1 tst-quadmod2.
68701         ($(objpfx)tst-quad1): New dependency.
68702         ($(objpfx)tst-quad2): Likewise.
68703         ($(objpfx)tst-quad1pie): Likewise.
68704         ($(objpfx)tst-quad2pie): Likewise.
68705         * sysdeps/x86_64/tst-quad1.c: New file.
68706         * sysdeps/x86_64/tst-quad1pie.c: New file.
68707         * sysdeps/x86_64/tst-quad2.c: Likewise.
68708         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
68709         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
68710         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
68711         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
68712         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
68714 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68716         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
68717         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
68718         * streams/stropts.h (t_scalar_t): Define type.
68720         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
68721         (_PATH_PRESERVE): Set to "/var/lib".
68722         (_PATH_RWHODIR): Set to "/var/spool/rwho".
68724         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
68725         instead of int.
68727         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
68728         if __dir_mkfile succeeded.
68730         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
68731         checking for _hurd_dtablesize.  Unlock it right after having
68732         finished _hurd_dtable allocation.
68734 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68736         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
68737         * sysdeps/mach/hurd/configure: Regenerated.
68738         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
68739         special-casing to...
68740         * sysdeps/gnu/configure.in: ... this new file.
68741         * sysdeps/unix/sysv/linux/configure: Regenerated.
68742         * sysdeps/gnu/configure: New generated file.
68744         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
68745         for Linux: use nsec instead of usec, as well as:
68746         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
68747         members of type struct timespec.
68748         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
68749         New macros.
68750         (struct stat64): Likewise.
68751         (_STATBUF_ST_NSEC): New macro.
68752         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
68754         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
68755         __strtoul_internal rather than strtoul.
68757 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
68759         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
68760         and reject them.
68762 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68764         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
68765         which preserves existing values.
68766         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
68768 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
68770         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
68771         TIMEOUT values.  Return EINVAL for NFDS values either negative or
68772         greater than FD_SETSIZE.
68774 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68776         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
68777         allocated, call __vm_protect to finish enabling the existing space, and
68778         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
68779         allocate the remainder.
68781 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
68783         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
68784         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
68786 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68788         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
68789         sysdeps/mach/hurd/readlink.c.
68791         * posix/tst-sysconf.c (posix_options): Only use
68792         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
68793         _POSIX_SYNCHRONIZED_IO when they are defined
68794         * sysdeps/mach/hurd/bits/posix_opt.h:
68795         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
68796         (_XOPEN_REALTIME): Undefine macro.
68797         (_XOPEN_REALTIME_THREADS): Undefine macro.
68798         (_XOPEN_SHM): Undefine macro.
68799         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
68800         macro to -1.
68801         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
68802         macro to -1.
68803         (_POSIX_ASYNC_IO): Undefine macro.
68804         (_POSIX_PRIORITIZED_IO): Undefine macro.
68805         (_POSIX_SPIN_LOCKS): Define macro to -1.
68807         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
68808         SA_NODEFER, SA_RESETHAND.
68809         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
68810         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
68811         F_DUPFD_CLOEXEC.
68813 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68815         * elf/Makefile (pldd-modules): Define unconditionally.
68817 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68819         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
68821 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68823         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
68824         Return ENOENT when name is empty.
68825         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
68827 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68829         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
68831         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
68833 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68835         Fix mlock in all cases except non-readable pages.
68836         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
68837         instead of VM_PROT_ALL as parameter to __vm_wire function.
68839         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
68840         (__mkdir): When path is `/', just fail with EEXIST.
68841         * sysdeps/mach/hurd/mkdirat.c: Likewise.
68843 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68845         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
68846         <sys/uio.h> (for writev).
68847         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
68848         and <sys/param.h> (for MIN).
68850 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
68852         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
68853         REQUESTED_TIME.  Properly set the remaining time and return EINTR
68854         if interrupted.
68856 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68858         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
68859         Depend on against $(link-rpcuserlibs).
68861 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68863         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
68864         (__libc_stack_end): Do not use attribute_relro.
68865         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
68866         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
68867         to libthread-provided value.
68868         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
68869         attribute_relro.
68871 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68873         [BZ #3748]
68874         * bits/libc-lock.h (__libc_once_get): New macro.
68875         * sysdeps/mach/bits/libc-lock.h: Likewise.
68876         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
68877         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
68878         instead of using implementation details.
68880         * libio/fileops.c: Unconditionally include <kernel-features.h>.
68881         * libio/freopen.c: Likewise.
68882         * libio/freopen64.c: Likewise.
68883         * misc/syslog.c: Likewise.
68884         * nscd/connections.c: Likewise.
68885         * nscd/netgroupcache.c: Likewise.
68886         * sysdeps/posix/getcwd.c: Likewise.
68888 2012-05-10  Roland McGrath  <roland@hack.frob.com>
68890         * math/w_ilogbf.c: Add #include <limits.h>.
68892 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68894         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
68895         path instead of returning without unlocking.
68897         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
68898         immediate-write ioctls.
68899         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
68901 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68903         * sysdeps/mach/hurd/i386/init-first.c (init): Use
68904         __builtin_frame_address instead of making assumptions about the
68905         location of the return address relative to DATA.  Force early load of
68906         the return address.
68907         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
68908         __builtin_frame_address.
68910         dup3 for GNU Hurd.
68911         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
68912         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
68913         implement dup3 and do some further code clean-ups.
68914         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
68915         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
68917 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68919         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
68921         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
68922         HURD_CRITICAL_END around holding _hurd_dtable_lock.
68923         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
68924         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
68925         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
68926         d->port.lock.
68928         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
68929         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
68930         when handler == SIG_ERR, not when handler != SIG_ERR.
68932 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68934         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
68935         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
68936         definitions.
68938         accept4 for GNU Hurd.
68939         * include/sys/socket.h (__libc_accept4): New prototype.
68940         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
68941         to implement __libc_accept4.
68942         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
68943         __libc_accept4.
68944         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
68946         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
68947         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
68948         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
68949         signal-defines.sym.
68951 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68953         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
68955 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68957         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
68958         assertion on O_CLOEXEC flag.
68959         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
68960         * hurd/intern-fd.c: Likewise.
68961         * hurd/port2fd.c: Likewise.
68963 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68965         [BZ #3906]
68966         * bits/in.h (IPV6_PKTINFO): Define new macro.
68967         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
68969 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68971         [BZ #13954]
68972         [BZ #13955]
68973         [BZ #13956]
68974         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
68975         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
68976         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
68977         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
68978         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
68979         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
68980         * math/libm-test.inc (logb_test) : Additional logb tests.
68982 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
68983             Andreas Jaeger  <aj@suse.de>
68985         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
68986         * configure: Regenerated.
68987         * config.h.in (LINK_OBSOLETE_RPC): New macro.
68988         * config.make.in (link-obsolete-rpc): New substituted variable.
68989         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
68990         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
68991         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
68992         (shared-only-routines): Don't set it under [link-obsolete-rpc],
68993         so that libc.a contains the symbols.
68994         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
68995         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
68996         * sunrpc/auth_none.c: Likewise.
68997         * sunrpc/auth_unix.c: Likewise.
68998         * sunrpc/authdes_prot.c: Likewise.
68999         * sunrpc/authuxprot.c: Likewise.
69000         * sunrpc/clnt_gen.c: Likewise.
69001         * sunrpc/clnt_perr.c: Likewise.
69002         * sunrpc/clnt_raw.c: Likewise.
69003         * sunrpc/clnt_simp.c: Likewise.
69004         * sunrpc/clnt_tcp.c: Likewise.
69005         * sunrpc/clnt_udp.c: Likewise.
69006         * sunrpc/clnt_unix.c: Likewise.
69007         * sunrpc/des_crypt.c: Likewise.
69008         * sunrpc/des_soft.c: Likewise.
69009         * sunrpc/get_myaddr.c: Likewise.
69010         * sunrpc/key_call.c: Likewise.
69011         * sunrpc/key_prot.c: Likewise.
69012         * sunrpc/netname.c: Likewise.
69013         * sunrpc/pm_getmaps.c: Likewise.
69014         * sunrpc/pm_getport.c: Likewise.
69015         * sunrpc/pmap_clnt.c: Likewise.
69016         * sunrpc/pmap_prot.c: Likewise.
69017         * sunrpc/pmap_prot2.c: Likewise.
69018         * sunrpc/pmap_rmt.c: Likewise.
69019         * sunrpc/publickey.c: Likewise.
69020         * sunrpc/rpc_cmsg.c: Likewise.
69021         * sunrpc/rpc_common.c: Likewise.
69022         * sunrpc/rpc_dtable.c: Likewise.
69023         * sunrpc/rpc_prot.c: Likewise.
69024         * sunrpc/rpc_thread.c: Likewise.
69025         * sunrpc/rtime.c: Likewise.
69026         * sunrpc/svc.c: Likewise.
69027         * sunrpc/svc_auth.c: Likewise.
69028         * sunrpc/svc_raw.c: Likewise.
69029         * sunrpc/svc_run.c: Likewise.
69030         * sunrpc/svc_tcp.c: Likewise.
69031         * sunrpc/svc_udp.c: Likewise.
69032         * sunrpc/svc_unix.c: Likewise.
69033         * sunrpc/svcauth_des.c: Likewise.
69034         * sunrpc/xcrypt.c: Likewise.
69035         * sunrpc/xdr.c: Likewise.
69036         * sunrpc/xdr_array.c: Likewise.
69037         * sunrpc/xdr_float.c: Likewise.
69038         * sunrpc/xdr_intXX_t.c: Likewise.
69039         * sunrpc/xdr_mem.c: Likewise.
69040         * sunrpc/xdr_rec.c: Likewise.
69041         * sunrpc/xdr_ref.c: Likewise.
69042         * sunrpc/xdr_sizeof.c: Likewise.
69043         * sunrpc/xdr_stdio.c: Likewise.
69045 2012-05-10  Roland McGrath  <roland@hack.frob.com>
69047         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
69048         change.  Update copyright years.
69050 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
69052         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
69054 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
69055             Joseph Myers  <joseph@codesourcery.com>
69056             Paul Pluzhnikov  <ppluzhnikov@google.com>
69058         [BZ #14012]
69059         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
69060         requiring rpcgen.
69061         [cross-compiling] (extra-libs): Likewise.
69062         [cross-compiling] (extra-libs-others): Likewise.
69063         [cross-compiling] (librpcsvc-routines): Likewise.
69064         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
69065         [cross-compiling] (omit-deps): Likewise.
69066         (sunrpc-CPPFLAGS): New variable.
69067         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
69068         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
69069         (cross-rpcgen-objs): New variable.
69070         (extra-objs): Append $(cross-rpcgen-objs).
69071         ($(cross-rpcgen-objs)): New rule.
69072         ($(objpfx)cross-rpcgen): Likewise.
69073         (rpcgen-cmd): Define to use $(built-program-file).  Expand
69074         comment.
69075         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
69076         ($(objpfx)x%.stmp): Likewise.
69077         * sunrpc/proto.h [IS_IN_build] (_): Define.
69078         [IS_IN_build] (_libc_intl_domainname): Likewise.
69080 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
69082         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
69083         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
69084         and R_X86_64_TPOFF64.
69086 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
69088         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
69089         sysdeps/unix/sysv/syscalls.list.
69090         (stime): Likewise.
69091         (utime): Likewise.
69092         * sysdeps/unix/sysv/syscalls.list: Remove file.
69094 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
69096         [BZ #3440]
69097         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
69098         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
69099         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
69100         (__LC_IDENTIFICATION): Make these macros useful in #if
69101         expressions, as required by C99.
69103 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
69105         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
69106         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
69107         after this.
69109 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
69111         * stdlib/longlong.h: Updated from GCC.
69113 2012-05-09  Andreas Jaeger  <aj@suse.de>
69115         * nscd/nscd.c (run_modes): Make named enum, reorder so that
69116         default is first entry.
69117         (run_mode): Set type.
69118         (main): Remove informal message about syslog.
69119         (options): Fix typo.
69121         [BZ #14053]
69122         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
69123         to asm.
69124         (lrint): Likewise.
69125         (llrintf): Likewise.
69126         (llrint): Likewise.
69127         (rint): Likewise.
69128         (rintf): Likewise.
69129         (nearbyint): Likewise.
69130         (nearbyintf): Likewise.
69132 2012-05-09  Andreas Jaeger  <aj@suse.de>
69133             Pedro Alves  <palves@redhat.com>
69135         * nscd/nscd.c (run_mode): Use enum.
69136         (main): Cleanup coding style issue.
69138 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
69139             Andreas Jaeger  <aj@suse.de>
69141         * nscd/nscd.c (go_background): Replaced with...
69142         (run_mode): ... this.
69143         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
69144         (options): Add -F --foreground.
69145         (main): Implement it.
69146         (parse_opt): Parse it.
69148 2012-05-09  Andreas Jaeger  <aj@suse.de>
69150         [BZ #14083]
69151         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
69152         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
69153         -Wconversion warning.
69154         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
69155         Likewise.
69157 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
69159         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
69160         == 0.
69161         (LC_ALL): Use macro-int-constant.
69162         (LC_COLLATE): Likewise.
69163         (LC_CTYPE): Likewise.
69164         (LC_MESSAGES): Likewise.
69165         (LC_MONETARY): Likewise.
69166         (LC_NUMERIC): Likewise.
69167         (LC_TIME): Likewise.
69168         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
69169         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
69170         [ISO || ISO99 || ISO11] (*_t): Do not allow.
69171         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
69172         Specify type.
69173         [C99-based standards] (float_t): Expect type.
69174         [C99-based standards] (double_t): Expect type.
69175         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
69176         type.
69177         [C99-based standards] (HUGE_VALL): Likewise.
69178         [C99-based standards] (INFINITY): Likewise.
69179         [C99-based standards] (NAN): Likewise.
69180         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
69181         [C99-based standards] (FP_NAN): Likewise.
69182         [C99-based standards] (FP_NORMAL): Likewise.
69183         [C99-based standards] (FP_SUBNORMAL): Likewise.
69184         [C99-based standards] (FP_ZERO): Likewise.
69185         [C99-based standards] (FP_FAST_FMA): Use
69186         optional-macro-int-constant.  Specify type.  Require == 1.
69187         [C99-based standards] (FP_FAST_FMAF): Likewise.
69188         [C99-based standards] (FP_FAST_FMAL): Likewise.
69189         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
69190         [C99-based standards] (FP_ILOGBNAN): Likewise.
69191         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
69192         Specify type.
69193         [C99-based standards] (MATH_ERREXCEPT): Likewise.
69194         [C99-based standards] (math_errhandling): Specify type.
69195         [ISO99 || ISO11] (signgam): Do not allow.
69196         [non-C99-based standards] (copysignf): Do not allow.
69197         [non-C99-based standards] (exp2f): Likewise.
69198         [non-C99-based standards] (log2f): Likewise.
69199         [non-C99-based standards] (modff): Allow.
69200         [non-C99-based standards] (erff): Do not allow.
69201         [non-C99-based standards] (erfcf): Likewise.
69202         [non-C99-based standards] (gammaf): Likewise.
69203         [non-C99-based standards] (hypotf): Likewise.
69204         [non-C99-based standards] (j0f): Likewise.
69205         [non-C99-based standards] (j1f): Likewise.
69206         [non-C99-based standards] (jnf): Likewise.
69207         [non-C99-based standards] (lgammaf): Likewise.
69208         [non-C99-based standards] (tgammaf): Likewise.
69209         [non-C99-based standards] (y0f): Likewise.
69210         [non-C99-based standards] (y1f): Likewise.
69211         [non-C99-based standards] (ynf): Likewise.
69212         [non-C99-based standards] (isnanf): Likewise.
69213         [non-C99-based standards] (acoshf): Likewise.
69214         [non-C99-based standards] (asinhf): Likewise.
69215         [non-C99-based standards] (atanhf): Likewise.
69216         [non-C99-based standards] (cbrtf): Likewise.
69217         [non-C99-based standards] (expm1f): Likewise.
69218         [non-C99-based standards] (ilogbf): Likewise.
69219         [non-C99-based standards] (log1pf): Likewise.
69220         [non-C99-based standards] (logbf): Likewise.
69221         [non-C99-based standards] (nextafterf): Likewise.
69222         [non-C99-based standards] (remainderf): Likewise.
69223         [non-C99-based standards] (rintf): Likewise.
69224         [non-C99-based standards] (scalbf): Likewise.
69225         [non-C99-based standards] (copysignl): Likewise.
69226         [non-C99-based standards] (exp2l): Likewise.
69227         [non-C99-based standards] (log2l): Likewise.
69228         [non-C99-based standards] (modfl): Allow.
69229         [non-C99-based standards] (erfl): Do not allow.
69230         [non-C99-based standards] (erfcl): Likewise.
69231         [non-C99-based standards] (gammal): Likewise.
69232         [non-C99-based standards] (hypotl): Likewise.
69233         [non-C99-based standards] (j0l): Likewise.
69234         [non-C99-based standards] (j1l): Likewise.
69235         [non-C99-based standards] (jnl): Likewise.
69236         [non-C99-based standards] (lgammal): Likewise.
69237         [non-C99-based standards] (tgammal): Likewise.
69238         [non-C99-based standards] (y0l): Likewise.
69239         [non-C99-based standards] (y1l): Likewise.
69240         [non-C99-based standards] (ynl): Likewise.
69241         [non-C99-based standards] (isnanl): Likewise.
69242         [non-C99-based standards] (acoshl): Likewise.
69243         [non-C99-based standards] (asinhl): Likewise.
69244         [non-C99-based standards] (atanhl): Likewise.
69245         [non-C99-based standards] (cbrtl): Likewise.
69246         [non-C99-based standards] (expm1l): Likewise.
69247         [non-C99-based standards] (ilogbl): Likewise.
69248         [non-C99-based standards] (log1pl): Likewise.
69249         [non-C99-based standards] (logbl): Likewise.
69250         [non-C99-based standards] (nextafterl): Likewise.
69251         [non-C99-based standards] (remainderl): Likewise.
69252         [non-C99-based standards] (rintl): Likewise.
69253         [non-C99-based standards] (scalbl): Likewise.
69254         [ISO || ISO99 || ISO11] (*_t): Do not allow.
69255         [non-C99-based standards] (FP_*): Do not allow.
69256         [C99-based standards] (FP_*): Change to
69257         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
69258         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
69259         allow.
69260         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
69261         (SIG_ERR): Likewise.
69262         [X/Open-based standards] (SIG_HOLD): Likewise.
69263         (SIG_IGN): Likewise.
69264         (SIGABRT): Use macro-int-constant.  Specify type.  Require
69265         positive value.
69266         (SIGFPE): Likewise.
69267         (SIGILL): Likewise.
69268         (SIGINT): Likewise.
69269         (SIGSEGV): Likewise.
69270         (SIGTER): Likewise.
69271         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
69272         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
69273         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
69274         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
69275         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
69276         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
69277         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
69278         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
69279         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
69280         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
69281         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
69282         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
69283         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
69284         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
69285         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
69286         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
69287         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
69288         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
69289         [X/Open-based standards] (SIGTRAP): Likewise.
69290         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
69291         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
69292         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
69293         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
69294         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
69295         allow.
69297 2012-05-08  Ian Wienand  <ianw@vmware.com>
69299         [BZ #14080]
69300         * time/tzset.c (__tzset_parse_tz): Update default rules for
69301         daylight time changes in the Energy Policy Act of 2005.
69303 2012-05-09  Andreas Jaeger  <aj@suse.de>
69305         [BZ #13983]
69306         * elf/ldconfig.c (parse_conf): Change string to make clear that
69307         ldconfig only issued a warning if ld.so.conf does not exist.
69309 2012-05-08  David S. Miller  <davem@davemloft.net>
69311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
69312         movxtod instead of popping the value on the stack.
69314         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69316 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
69318         * config.h.in: Add HAVE_ARM_PCS_VFP.
69320 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
69322         [BZ #13979]
69323         * include/features.h: Warn if user requests __FORTIFY_SOURCE
69324         checking but the checks are disabled for any reason.
69326 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
69328         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
69329         and ELF64_R_TYPE with ELFW(R_TYPE).
69331 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
69333         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
69334         (ulimit): Likewise.
69336         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
69337         (settimeofday): Likewise.
69339 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
69341         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
69342         a struct th_u2 inside the union, and move tu_block/tu_code into
69343         a new th_u3 union of tu_block/tu_code inside of that.  Move
69344         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
69345         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
69346         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
69347         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
69348         (th_stuff): Change to th_u1.tu_stuff.
69349         (th_data): Define.
69350         (th_msg): Change to th_u1.th_u2.tu_data.
69352 2012-05-07  David S. Miller  <davem@davemloft.net>
69354         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69356         [BZ #14074]
69357         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
69358         (SETUP_PIC_REG): Use it.
69359         (SETUP_PIC_REG_LEAF): Use it.
69361 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
69363         [BZ #13885]
69364         [BZ #13923]
69365         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
69366         USE_AS_EXPM1L.
69367         (EXPL_FINITE): Likewise.
69368         (FLDLOG): Likewise.
69369         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
69370         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
69371         e_expl.S.
69372         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
69373         USE_AS_EXPM1L.
69374         (EXPL_FINITE): Likewise.
69375         (FLDLOG): Likewise.
69376         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
69377         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
69378         e_expl.S.
69379         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
69380         test of -max_value argument for long double.
69381         * sysdeps/i386/fpu/libm-test-ulps: Update.
69382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69384 2012-05-06  David S. Miller  <davem@davemloft.net>
69386         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
69387         quad soft-float symbols whose references which are compiler
69388         generated.
69389         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
69391 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
69393         [BZ #13884]
69394         [BZ #13914]
69395         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
69396         USE_AS_EXP10L.
69397         (EXPL_FINITE): Likewise.
69398         (FLDLOG): Likewise.
69399         (c0): Likewise.
69400         (c1): Likewise.
69401         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
69402         Adjust comments for base varying.
69403         (__expl_finite): Change alias to EXPL_FINITE.
69404         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
69405         e_expl.S.
69406         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
69407         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
69408         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
69409         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
69410         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
69411         USE_AS_EXP10L.
69412         (EXPL_FINITE): Likewise.
69413         (FLDLOG): Likewise.
69414         (c0): Likewise.
69415         (c1): Likewise.
69416         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
69417         Adjust comments for base varying.
69418         (__expl_finite): Change alias to EXPL_FINITE.
69419         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
69420         tests for bugs.
69421         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69423         [BZ #14064]
69424         * math/libm-test.inc (check_float_internal): Correct ulp
69425         calculation for subnormal expected results.
69427 2012-05-06  Andreas Jaeger  <aj@suse.de>
69429         * Makeconfig (+math-flags): New, set to -frounding-math.
69430         (+cflags): Add +math-flags so that all of glibc gets compiled with
69431         it.
69433         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
69435 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
69437         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
69438         Disable one test.
69440         [BZ #13787]
69441         [BZ #13922]
69442         [BZ #14036]
69443         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
69444         (__ieee754_expl): Allow for and saturate large arguments.
69445         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
69446         (u_threshold): Likewise.
69447         (__exp): Call __ieee754_exp before checking for overflow and
69448         underflow.
69449         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
69450         (u_threshold): Likewise.
69451         (__expf): Call __ieee754_expf before checking for overflow and
69452         underflow.
69453         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
69454         (u_threshold): Likewise.
69455         (__expl): Call __ieee754_expl before checking for overflow and
69456         underflow.
69457         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
69458         (__ieee754_expl): Allow for and saturate large arguments.
69459         * math/libm-test.inc (exp_test): Add another test.  Do not allow
69460         missing overflow exception on overflow.
69461         (expm1_test): Do not allow missing overflow exception on overflow.
69463         * sysdeps/i386/fpu/e_expl.c: Move to ...
69464         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
69465         rather than using inline asm.
69466         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
69467         * sysdeps/x86_64/fpu/e_expl.S: Copy from
69468         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
69470         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
69471         (nice): Likewise.
69472         (poll): Likewise.
69473         (signal): Likewise.
69474         (time): Likewise.
69475         (times): Likewise.
69477 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
69479         * sysdeps/unix/syscalls.list (adjtime): Add entry from
69480         sysdeps/unix/common/syscalls.list.
69481         (fchmod): Likewise.
69482         (fchown): Likewise.
69483         (ftruncate): Likewise.
69484         (getrusage): Likewise.
69485         (gettimeofday): Likewise.
69486         (setpgid): Likewise.
69487         (setregid): Likewise.
69488         (setreuid): Likewise.
69489         (sigaction): Likewise.
69490         (truncate): Likewise.
69491         (vhangup): Likewise.
69492         * sysdeps/unix/common/syscalls.list: Remove file.
69493         * sysdeps/unix/bsd/Implies: Don't include unix/common.
69494         * sysdeps/unix/sysv/linux/Implies: Likewise.
69496 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
69498         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
69499         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
69500         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
69501         Moved to ...
69502         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
69503         Here.
69504         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
69505         to ...
69506         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
69507         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
69508         to ...
69509         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
69510         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
69511         to ...
69512         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
69513         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
69514         to ...
69515         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
69516         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
69517         to ...
69518         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
69519         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
69520         to ...
69521         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
69522         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
69523         to ...
69524         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
69525         Here.
69526         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
69527         to ...
69528         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
69529         Here.
69530         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
69531         to ...
69532         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
69533         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
69534         Moved to ...
69535         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
69536         Here.
69537         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
69538         to ...
69539         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
69541 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
69543         * sysdeps/unix/common/bits/dirent.h: Remove file.
69544         * sysdeps/unix/common/bits/fcntl.h: Likewise.
69546         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
69547         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
69548         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
69549         * sysdeps/unix/bsd/isatty.c: Likewise.
69550         * sysdeps/unix/bsd/tcdrain.c: Likewise.
69551         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
69552         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
69554 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69556         [BZ #13563]
69557         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
69558         long double comparison inaccuracies.
69559         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
69560         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69562 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
69564         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
69565         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
69567 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
69569         [BZ #14049]
69570         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
69571         nonzero digits before rounding a hex value.
69572         * stdlib/tst-strtod.c (tests): Add another test.
69574 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69576         * sysdeps/s390/fpu/libm-test-ulps: Update.
69578 2012-05-03  Andreas Jaeger  <aj@suse.de>
69580         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
69581         does not get optimized out.
69582         (malloc_opt_barrier): New.
69584 2012-05-03  Andreas Jaeger  <aj@suse.de>
69585             Roland McGrath  <roland@hack.frob.com>
69587         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
69588         intermediate file deletion.
69589         (generated): Add .symlist files.
69591 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
69593         [BZ #13775]
69594         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
69595         Redirect under this condition.
69596         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
69597         [__USE_GNU] (__dprintf_chk): Not under this condition.
69598         [__USE_GNU] (__vdprintf_chk): Likewise.
69599         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
69600         under this condition.
69601         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
69602         [__USE_XOPEN2K8] (dprintf): Define under this condition.
69603         [__USE_XOPEN2K8] (vdprintf): Likewise.
69604         [__USE_GNU] (__dprintf_chk): Not under this condition.
69605         [__USE_GNU] (__vdprintf_chk): Likewise.
69606         [__USE_GNU] (dprintf): Likewise.
69607         [__USE_GNU] (vdprintf): Likewise.
69609 2012-05-03  Roland McGrath  <roland@hack.frob.com>
69611         * elf/Makefile (common-generated): Set this instead of generated for
69612         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
69613         $(all-built-dso)-derived lists.
69615 2012-05-03  Andreas Jaeger  <aj@suse.de>
69617         * sysdeps/i386/fpu/libm-test-ulps: Update.
69619         * FAQ: Removed.
69620         * FAQ.in: Likewise.
69621         * scripts/gen-FAQ.pl: Likewise.
69622         * manual/install.texi (Installation): Point to online location of
69623         FAQ.
69624         * Makefile (files-for-dist): Remove FAQ.
69625         (FAQ): Remove.
69627 2012-05-02  Allan McRae  <allan@archlinux.org>
69629         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
69630         (LDFLAGS-reldepmod5.so): Likewise.
69631         (LDFLAGS-reldep6mod1.so): Likewise.
69632         (LDFLAGS-reldep6mod4.so): Likewise.
69633         (LDFLAGS-reldep8mod3.so): Likewise.
69634         (LDFLAGS-unload4mod1.so): Likewise.
69635         (LDFLAGS-unload4mod2.so): Likewise.
69636         (LDFLAGS-tst-initorder): Likewise.
69637         (LDFLAGS-tst-initordera2.so): Likewise.
69638         (LDFLAGS-tst-initordera3.so): Likewise.
69639         (LDFLAGS-tst-initordera4.so): Likewise.
69640         (LDFLAGS-tst-initorderb2.so): Likewise.
69641         (LDFLAGS-noload): Likewise.
69642         (LDFLAGS-next): Likewise.
69643         (LDFLAGS-order2mod1.so): Likewise.
69644         (LDFLAGS-order2mod2.so): Likewise.
69645         (LDFLAGS-tst-initorder2): Likewise.
69646         (LDFLAGS-tst-initorder2a.so): Likewise.
69647         (LDFLAGS-tst-initorder2b.so): Likewise.
69648         (LDFLAGS-tst-initorder2c.so): Likewise.
69649         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
69651 2012-05-02  David S. Miller  <davem@davemloft.net>
69653         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69655 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
69657         [BZ #14055]
69658         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
69660 2012-05-02  Andreas Jaeger  <aj@suse.de>
69662         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
69663         since we manipulate rounding mode.
69664         (CPPFLAGS-test-idouble.c): Likewise.
69665         (CPPFLAGS-test-ifloat.c): Likewise.
69666         (CFLAGS-test-ldouble.c): Likewise.
69667         (CFLAGS-test-double.c): Likewise.
69668         (CFLAGS-test-float.c): Likewise.
69669         (CFLAGS-test-misc.c): Likewise.
69670         (CFLAGS-test-test-fenv.c): Likewise.
69672 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69674         [BZ #2550]
69675         [BZ #2570]
69676         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
69677         comparisons to determine direction to adjust input.
69679 2012-05-01  Roland McGrath  <roland@hack.frob.com>
69681         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
69682         output to the target.
69684         * scripts/localplt.awk: New file.
69685         * elf/Makefile ($(objpfx)check-localplt): Target removed.
69686         (check-localplt-CFLAGS): Variable removed.
69687         ($(all-built-dso:=.jmprel)): New static pattern rule.
69688         (generated): Add those targets.
69689         (localplt-built-dso): New variable.
69690         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
69692         * elf/check-localplt.c: File removed.
69694         * scripts/check-execstack.awk: New file.
69695         * elf/Makefile ($(objpfx)check-execstack): Target removed.
69696         (check-execstack-CFLAGS): Variable removed.
69697         ($(objpfx)check-execstack.h): Target removed.
69698         ($(objpfx)execstack-default): New target.
69699         (generated): Add that instead of check-execstack.h.
69700         ($(all-built-dso:=.phdr)): New static pattern rule.
69701         (generated): Add those targets.
69702         * elf/check-execstack.c: File removed.
69704         * scripts/check-textrel.awk: New file.
69705         * elf/Makefile ($(objpfx)check-textrel): Target removed.
69706         (check-textrel-CFLAGS): Variable removed.
69707         (all-built-dso): Use := to define.o
69708         ($(all-built-dso:=.dyn)): New static pattern rule.
69709         (generated): Add those targets.
69710         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
69711         * config.make.in (READELF): New substituted variable.
69712         * elf/check-textrel.c: File removed.
69714 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
69716         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
69717         allow.
69718         * conform/data/ctype.h-data [C99-based standards] (isblank):
69719         Expect function.
69720         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
69721         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
69722         [ISO || ISO99 || ISO11] (*_t): Do not allow.
69723         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
69724         Specify type.  Require positive value.
69725         (EILSEQ): Likewise.
69726         (ERANGE): Likewise.
69727         [ISO || POSIX] (EILSEQ): Do not expect.
69728         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
69729         Specify type.  Require positive value.
69730         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
69731         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
69732         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
69733         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
69734         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
69735         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
69736         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
69737         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
69738         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
69739         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
69740         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
69741         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
69742         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
69743         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
69744         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
69745         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
69746         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
69747         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
69748         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
69749         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
69750         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
69751         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
69752         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
69753         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
69754         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
69755         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
69756         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
69757         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
69758         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
69759         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
69760         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
69761         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
69762         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
69763         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
69764         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
69765         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
69766         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
69767         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
69768         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
69769         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
69770         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
69771         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
69772         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
69773         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
69774         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
69775         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
69776         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
69777         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
69778         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
69779         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
69780         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
69781         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
69782         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
69783         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
69784         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
69785         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
69786         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
69787         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
69788         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
69789         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
69790         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
69791         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
69792         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
69793         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
69794         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
69795         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
69796         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
69797         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
69798         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
69799         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
69800         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
69801         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
69802         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
69803         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
69804         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
69805         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
69806         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
69807         Require >= 2.
69808         (FLT_ROUNDS): Expect as macro, not constant.
69809         (FLT_MANT_DIG): Use macro-int-constant.
69810         (DBL_MANT_DIG): Likewise.
69811         (LDBL_MANT_DIG): Likewise.
69812         (FLT_DIG): Likewise.
69813         (DBL_DIG): Likewise.
69814         (LDBL_DIG): Likewise.
69815         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
69816         (DBL_MIN_EXP): Likewise.
69817         (LDBL_MIN_EXP): Likewise.
69818         (FLT_MAX_EXP): Use macro-int-constant.
69819         (DBL_MAX_EXP): Likewise.
69820         (LDBL_MAX_EXP): Likewise.
69821         (FLT_MAX_10_EXP): Likewise.
69822         (DBL_MAX_10_EXP): Likewise.
69823         (LDBL_MAX_10_EXP): Likewise.
69824         (FLT_MAX): Use macro-constant.
69825         (DBL_MAX): Likewise.
69826         (LDBL_MAX): Likewise.
69827         (FLT_EPSILON): Use macro-constant.  Give upper bound.
69828         (DBL_EPSILON): Likewise.
69829         (LDBL_EPSILON): Likewise.
69830         (FLT_MIN): Likewise.
69831         (DBL_MIN): Likewise.
69832         (LDBL_MIN): Likewise.
69833         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
69834         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
69835         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
69836         [ISO11] (FLT_HAS_SUBNORM): Likewise.
69837         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
69838         [ISO11] (DBL_DECIMAL_DIG): Likewise.
69839         [ISO11] (FLT_DECIMAL_DIG): Likewise.
69840         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
69841         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
69842         [ISO11] (FLT_TRUE_MIN): Likewise.
69843         [ISO11] (LDBL_TRUE_MIN): Likewise.
69844         [ISO || ISO99 || ISO11] (*_t): Do not allow.
69845         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
69846         (SCHAR_MIN): Use macro-int-constant.  Specify type.
69847         (SCHAR_MAX): Likewise.
69848         (UCHAR_MAX): Likewise.
69849         (CHAR_MIN): Likewise.
69850         (CHAR_MAX): Likewise.
69851         (MB_LEN_MAX): Use macro-int-constant.
69852         (SHRT_MIN): Use macro-int-constant.  Specify type.
69853         (SHRT_MAX): Likewise.
69854         (USHRT_MAX): Likewise.
69855         (INT_MAX): Likewise.
69856         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
69857         bound negative.
69858         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
69859         bound with "U".
69860         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
69861         bound with "L".
69862         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
69863         bound negative.  Suffix upper bound with "L".
69864         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
69865         bound with "UL".
69866         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
69867         Specify type.
69868         [C99-based standards] (LLONG_MAX): Likewise.
69869         [C99-based standards] (ULLONG_MAX): Likewise.
69870         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
69871         == 0.
69872         [ISO11] (max_align_t): Require type.
69873         [ISO || ISO99 || ISO11] (*_t): Do not allow.
69875         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
69876         from $CFLAGS, without defining away __attribute__ calls.
69877         (checknamespace): Use $CFLAGS_namespace.
69879         * conform/conformtest.pl (@keywords): Only include C99 keywords
69880         for standards based on C99 or C11.
69882         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
69883         Disable tests.
69884         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
69885         UNIX98]: Likewise.
69887         * conform/conformtest.pl: Handle "macro-int-constant" and test for
69888         usability of symbols in #if.
69890         * conform/conformtest.pl: If macro or constant types start
69891         "promoted:", expect the symbol to be of the following type
69892         promoted by the integer promotions.
69894         * conform/conformtest.pl: Parse all "constant" and "macro" lines
69895         in one place.  Also handle "macro-constant".
69897         * conform/conformtest.pl: Only accept expected macro values with
69898         "==".  Parse all "macro" lines in one place.
69899         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
69901         * conform/conformtest.pl: Handle braced types on "constant" lines
69902         instead of handling "typed-constant".
69903         * conform/data/signal.h-data: Use "constant" instead of
69904         "typed-constant".
69906         * conform/conformtest.pl: Handle "optional-" at start of lines in
69907         one place rather than duplicating several cases.  Handle each
69908         format of "macro" line with initial "optional-".
69910         * conform/conformtest.pl: Only accept expected constant or
69911         optional-constant values with "==".  Parse all "constant" lines in
69912         one place.  Parse all "optional-constant" lines in one place.
69913         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
69914         * conform/data/fmtmsg.h-data: Likewise.
69915         * conform/data/netinet/in.h-data: Likewise.
69916         * conform/data/tar.h-data: Likewise.
69917         * conform/data/limits.h-data: Use "==" form on "constant" and
69918         "optional-constant" lines.
69920         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
69921         Use -std=c99 for XOPEN2K.
69922         (@knownproblems): Remove.
69923         (newtoken): Don't check %isknown.
69925         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
69926         Do not expect macro.
69927         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
69928         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
69929         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
69930         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
69931         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
69932         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
69933         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
69934         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
69935         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
69936         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
69937         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
69938         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
69939         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
69940         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
69941         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
69942         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
69943         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
69944         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
69945         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
69946         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
69947         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
69948         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
69949         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
69950         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
69951         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
69952         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
69953         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
69954         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
69955         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
69956         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
69957         [XPG3] (acosh): Likewise.
69958         [XPG3] (asinh): Likewise.
69959         [XPG3] (atanh): Likewise.
69960         [XPG3] (cbrt): Likewise.
69961         [XPG3] (expm1): Likewise.
69962         [XPG3] (ilogb): Likewise.
69963         [XPG3] (log1p): Likewise.
69964         [XPG3] (logb): Likewise.
69965         [XPG3] (nextafter): Likewise.
69966         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
69967         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
69968         [XPG3] (remainder): Likewise.
69969         [XPG3] (rint): Likewise.
69970         [XPG3 || XPG4 || UNIX98] (round): Likewise.
69971         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
69972         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
69973         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
69974         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
69975         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
69976         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
69977         [UNIX98 || XOPEN2K] (scalb): Expect.
69978         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
69979         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
69980         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
69981         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
69982         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
69983         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
69984         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
69985         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
69986         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
69987         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
69988         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
69989         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
69990         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
69991         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
69992         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
69993         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
69994         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
69995         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
69996         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
69997         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
69998         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
69999         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
70000         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
70001         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
70002         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
70003         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
70004         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
70005         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
70006         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
70007         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
70008         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
70009         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
70010         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
70011         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
70012         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
70013         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
70014         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
70015         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
70016         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
70017         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
70018         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
70019         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
70020         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
70021         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
70022         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
70023         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
70024         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
70025         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
70026         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
70027         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
70028         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
70029         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
70030         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
70031         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
70032         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
70033         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
70034         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
70035         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
70036         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
70037         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
70038         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
70039         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
70040         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
70041         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
70042         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
70043         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
70044         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
70045         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
70046         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
70047         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
70048         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
70049         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
70050         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
70051         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
70052         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
70053         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
70054         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
70055         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
70056         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
70057         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
70058         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
70059         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
70060         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
70061         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
70062         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
70063         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
70064         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
70065         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
70066         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
70067         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
70068         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
70069         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
70070         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
70071         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
70072         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
70073         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
70074         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
70075         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
70076         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
70077         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
70078         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
70079         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
70080         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
70081         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
70082         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
70083         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
70084         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
70085         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
70086         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
70087         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
70088         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
70089         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
70090         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
70091         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
70092         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
70093         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
70094         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
70095         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
70096         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
70097         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
70098         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
70099         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
70100         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
70101         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
70102         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
70103         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
70104         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
70105         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
70106         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
70107         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
70108         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
70109         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
70110         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
70111         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
70112         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
70113         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
70114         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
70116         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
70117         _XOPEN_SOURCE_EXTENDED for XPG4.
70119         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
70121         * Makeconfig (localtime): Remove variable.
70122         (inst_localtime-file): Likewise.
70124 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
70126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
70127         Update.
70128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70129         Update.
70130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
70131         Update.
70132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
70133         Update.
70134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
70135         Update.
70136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
70137         Update.
70138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70139         Update.
70140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
70141         Update.
70142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
70143         Update.
70145 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
70147         [BZ #2550]
70148         [BZ #2570]
70149         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
70150         comparisons to determine direction to adjust input.
70151         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
70152         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
70153         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
70154         Likewise.
70155         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
70156         Likewise.
70157         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
70158         Likewise.
70159         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
70160         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
70161         Likewise.
70162         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
70163         Likewise.
70164         * math/libm-test.inc (nexttoward_test): Add more tests.
70166 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
70168         [BZ #14040]
70169         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
70170         in version GLIBC_2.1, not GLIBC_2.0.
70171         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
70172         Likewise.
70174 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
70176         [BZ #13942]
70177         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
70178         (1 - x) * (1 + x).
70179         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
70180         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
70181         * math/libm-test.inc (acos_test): Add more tests.
70182         (asin_test): Likewise.
70183         * sysdeps/i386/fpu/libm-test-ulps: Update.
70184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70186         [BZ #14034]
70187         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
70188         of square root.
70189         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
70190         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
70191         * math/libm-test.inc (acos_test_tonearest): New function.
70192         (acos_test_towardzero): Likewise.
70193         (acos_test_downward): Likewise.
70194         (acos_test_upward): Likewise.
70195         (asin_test_tonearest): Likewise.
70196         (asin_test_towardzero): Likewise.
70197         (asin_test_downward): Likewise.
70198         (asin_test_upward): Likewise.
70199         (main): Call the new functions.
70200         * sysdeps/i386/fpu/libm-test-ulps: Update.
70201         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70203         [BZ #13884]
70204         [BZ #13924]
70205         * math/e_exp10.c: Include <float.h>.
70206         (__ieee754_exp10): Handle underflow here rather than multiplying
70207         large negative argument by M_LN10.
70208         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
70209         of __ieee754_expf.
70210         * math/e_exp10l.c: Include <float.h>.
70211         (__ieee754_exp10l): Handle underflow here rather than multiplying
70212         large negative argument by M_LN10l.
70213         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
70214         spurious overflow exception on underflow.
70216 2012-04-29  Marek Polacek  <polacek@redhat.com>
70218         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
70219         (__fortify_function): New macro.
70220         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
70221         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
70222         __extern_always_inline.
70223         * libio/bits/stdio2.h: Likewise.
70224         * libio/bits/stdio.h: Likewise.
70225         * string/string.h: Likewise.
70226         * string/bits/string3.h: Likewise.
70227         * include/stdio.h: Likewise.
70228         * stdlib/bits/stdlib.h: Likewise.
70229         * stdlib/stdlib.h: Likewise.
70230         * rt/bits/mqueue2.h: Likewise.
70231         * rt/mqueue.h: Likewise.
70232         * posix/bits/unistd.h: Likewise.
70233         * posix/unistd.h: Likewise.
70234         * io/bits/poll2.h: Likewise.
70235         * io/bits/fcntl2.h: Likewise.
70236         * io/fcntl.h: Likewise.
70237         * io/sys/poll.h: Likewise.
70238         * misc/bits/syslog.h: Likewise.
70239         * misc/bits/syslog-ldbl.h: Likewise.
70240         * misc/sys/syslog.h: Likewise.
70241         * socket/bits/socket2.h: Likewise.
70242         * socket/sys/socket.h: Likewise.
70243         * debug/tst-chk1.c: Likewise.
70244         * wcsmbs/bits/wchar2.h: Likewise.
70245         * wcsmbs/bits/wchar-ldbl.h: Likewise.
70246         * wcsmbs/wchar.h: Likewise.
70248 2012-04-29  Andreas Jaeger  <aj@suse.de>
70250         * Makerules (tests): Remove enable-check-abi protection.
70251         (check-abi-warn): Remove.
70252         (check-abi-%): Remove check-abi-warn usage.
70254         * configure.in: Remove check-abi configure option.
70255         * configure: Regenerated.
70256         * config.make.in (enable-check-abi): Remove.
70258 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
70260         [BZ #14033]
70261         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
70262         double functions to double *_finite functions.
70264         [BZ #13941]
70265         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
70266         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
70267         LDBL_MIN_EXP.
70268         * stdio-common/Makefile (tests): Add tst-sprintf3.
70269         * stdio-common/tst-sprintf3.c: New file.
70271         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
70272         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
70274 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
70276         * conform/conformtest.pl: Remove duplicate typed-constant
70277         handling.
70279 2012-04-28  David S. Miller  <davem@davemloft.net>
70281         * Makerules (%.abilist): Add vpath on sysdep_dirs.
70282         (check-abi-%): Remove AWK script prerequisite and explicit
70283         abilist directory.
70284         (check-abi): Rewrite to just diff the symlist with the abilist.
70285         (config-tls, config-abi-config): Delete, no longer used.
70286         (update-abi-%): Remove AWK script and explicit abilist directory.
70287         (update-abi): Rewrite to simply compare and conditionally copy the
70288         symlist and the sysdep abilist file.  Remove update-abi-config
70289         checks.
70290         * abilist/ld.abilist: Remove.
70291         * abilist/libBrokenLocale.abilist: Remove.
70292         * abilist/libanl.abilist: Remove.
70293         * abilist/libcrypt.abilist: Remove.
70294         * abilist/libdl.abilist: Remove.
70295         * abilist/librt.abilist: Remove.
70296         * abilist/libthread_db.abilist: Remove.
70297         * abilist/libutil.abilist: Remove.
70298         * scripts/extract-abilist.awk: Remove.
70299         * scripts/merge-abilist.awk: Remove.
70300         * sysdeps/generic/libcidn.abilist: New file.
70301         * sysdeps/generic/libnss_compat.abilist: New file.
70302         * sysdeps/generic/libnss_db.abilist: New file.
70303         * sysdeps/generic/libnss_dns.abilist: New file.
70304         * sysdeps/generic/libnss_files.abilist: New file.
70305         * sysdeps/generic/libnss_hesiod.abilist: New file.
70306         * sysdeps/generic/libnss_nis.abilist: New file.
70307         * sysdeps/generic/libnss_nisplus.abilist: New file.
70308         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
70309         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
70310         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
70311         file.
70312         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
70313         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
70314         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
70315         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
70316         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
70317         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
70318         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
70319         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
70320         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
70321         file.
70322         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
70323         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
70324         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
70325         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
70326         file.
70327         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
70328         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
70329         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
70330         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
70331         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
70332         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
70333         file.
70334         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
70335         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
70336         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
70337         file.
70338         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
70339         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
70340         New file.
70341         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
70342         New file.
70343         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
70344         New file.
70345         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
70346         New file.
70347         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
70348         New file.
70349         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
70350         New file.
70351         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
70352         New file.
70353         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
70354         New file.
70355         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
70356         New file.
70357         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
70358         New file.
70359         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
70360         New file.
70361         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
70362         New file.
70363         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
70364         New file.
70365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
70366         file.
70367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
70368         New file.
70369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
70370         New file.
70371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
70372         file.
70373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
70374         New file.
70375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
70376         New file.
70377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
70378         file.
70379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
70380         New file.
70381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
70382         New file.
70383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
70384         New file.
70385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
70386         New file.
70387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
70388         New file.
70389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
70390         New file.
70391         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
70392         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
70393         file.
70394         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
70395         New file.
70396         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
70397         file.
70398         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
70399         file.
70400         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
70401         file.
70402         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
70403         file.
70404         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
70405         file.
70406         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
70407         New file.
70408         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
70409         file.
70410         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
70411         file.
70412         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
70413         New file.
70414         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
70415         file.
70416         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
70417         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
70418         file.
70419         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
70420         New file.
70421         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
70422         file.
70423         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
70424         file.
70425         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
70426         file.
70427         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
70428         file.
70429         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
70430         file.
70431         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
70432         New file.
70433         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
70434         file.
70435         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
70436         file.
70437         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
70438         New file.
70439         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
70440         file.
70441         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
70442         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
70443         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
70444         file.
70445         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
70446         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
70447         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
70448         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
70449         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
70450         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
70451         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
70452         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
70453         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
70454         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
70455         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
70456         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
70457         file.
70458         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
70459         New file.
70460         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
70461         file.
70462         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
70463         file.
70464         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
70465         file.
70466         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
70467         file.
70468         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
70469         file.
70470         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
70471         New file.
70472         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
70473         New file.
70474         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
70475         file.
70476         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
70477         New file.
70478         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
70479         file.
70480         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
70481         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
70482         file.
70483         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
70484         New file.
70485         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
70486         file.
70487         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
70488         file.
70489         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
70490         file.
70491         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
70492         file.
70493         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
70494         file.
70495         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
70496         New file.
70497         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
70498         New file.
70499         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
70500         file.
70501         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
70502         New file.
70503         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
70504         file.
70506 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
70508         * conform/conformtest.pl: Fix typo in handling typed-constant from
70509         allow-header.
70511 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
70513         * README: Cut down references to pre-2.6 Linux kernels and
70514         Linuxthreads.  Update lists of configurations in libc and ports
70515         and sort alphabetically.  Say "or newer" with Linux kernel version
70516         requirements.
70518         * config.h.in [IS_IN_build]: Allow compiling without optimization.
70520 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
70522         [BZ #887]
70523         * math/libm-test.inc (logb_test_downward): New test to expose
70524         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
70525         rounding mode.
70527 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
70529         [BZ #14027]
70530         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
70531         to be done.
70532         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
70533         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
70535 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
70537         * sysdeps/unix/i386/brk.S: Remove file.
70538         * sysdeps/unix/i386/dl-brk.S: Likewise.
70539         * sysdeps/unix/i386/pipe.S: Likewise.
70540         * sysdeps/unix/i386/sigreturn.S: Likewise.
70541         * sysdeps/unix/i386/syscall.S: Likewise.
70542         * sysdeps/unix/i386/vfork.S: Likewise.
70543         * sysdeps/unix/i386/wait.S: Likewise.
70545         * sysdeps/unix/common/tcsendbrk.c: Move to ...
70546         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
70548         * configure.in (arm*-none*): Do not allow without
70549         --enable-hacker-mode.
70550         (netbsd*): Remove case setting base_os.
70551         (386bsd*): Likewise.
70552         (freebsd*): Likewise.
70553         (bsdi*): Likewise.
70554         (osf*): Likewise.
70555         (sunos*): Likewise.
70556         (ultrix*): Likewise.
70557         (newsos*): Likewise.
70558         (dynix*): Likewise.
70559         (*bsd*): Likewise.
70560         (sysv*): Likewise.
70561         (isc*): Likewise.
70562         (esix*): Likewise.
70563         (sco*): Likewise.
70564         (minix*): Likewise.
70565         (irix4*): Likewise.
70566         (irix6*): Likewise.
70567         (solaris[2-9]*): Likewise.
70568         (none): Likewise.
70569         * configure: Regenerated.
70571 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70573         [BZ #11521]
70574         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
70575         overflow or cancellation in calculating denominator.
70576         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
70577         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
70578         down expression to avoid unexpected rounding in newer GCCs.
70579         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
70581 2012-04-26  David S. Miller  <davem@davemloft.net>
70583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
70584         long-double compat symbols.
70585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
70586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
70587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
70588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
70589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
70590         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
70591         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
70592         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
70593         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
70594         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
70595         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
70596         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
70597         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
70599 2012-04-25  David S. Miller  <davem@davemloft.net>
70601         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
70602         HWCAP_* values only after the memory barriers have been defined.
70603         (atomic_full_barrier): Define.
70604         (atomic_read_barrier): Define.
70605         (atomic_write_barrier): Define.
70607 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
70609         * shlib-versions: Add libgcc_s version information.
70610         * sysdeps/generic/libgcc_s.h: Remove.
70611         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
70612         libgcc_s.h.
70613         * sysdeps/gnu/unwind-resume.c: Likewise.
70614         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
70616 2012-04-25  David S. Miller  <davem@davemloft.net>
70618         * sysdeps/unix/sparc/brk.S: Delete.
70619         * sysdeps/unix/sparc/dl-brk.S: Delete.
70620         * sysdeps/unix/sparc/pipe.S: Delete.
70621         * sysdeps/unix/sparc/sysdep.S: Delete.
70622         * sysdeps/unix/sparc/sysdep.h: Delete.
70623         * sysdeps/unix/sparc/vfork.S: Delete.
70624         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
70625         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
70626         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
70627         (ret_ERRVAL, r0, r1, MOVE): Define.
70628         (JUMPTARGET): Remove.
70629         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
70630         sysdeps/unix/sparc/sysdep.h
70631         (ENTRY, END): Remove.
70632         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
70634 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
70636         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
70637         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
70638         -DIS_IN_build.
70640         * timezone/README: Update upstream location and email address for
70641         tzcode and tzdata.
70642         * timezone/zdump.c: Update from tzcode 2012b.
70643         * timezone/zic.c: Likewise.
70645         * configure.in (libc_cv_as_needed): Remove test.
70646         * configure: Regenerated.
70647         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
70648         conditional definition.
70649         [$(have-as-needed) != yes] (no-as-needed): Likewise.
70650         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
70651         * config.make.in (have-as-needed): Remove variable.
70653 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
70654             Paul Pluzhnikov  <ppluzhnikov@google.com>
70656         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
70657         strings correctly.
70659 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
70661         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
70662         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
70663         * sysdeps/sh/strlen.S: Likewise.
70665 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
70667         * sysdeps/unix/fork.S: Remove file.
70668         * sysdeps/unix/i386/fork.S: Likewise.
70669         * sysdeps/unix/sparc/fork.S: Likewise.
70671         * sysdeps/unix/system.c: Remove file.
70672         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
70674         * sysdeps/unix/getegid.S: Remove file.
70675         * sysdeps/unix/geteuid.S: Likewise.
70677 2012-04-24  Roland McGrath  <roland@hack.frob.com>
70679         * scripts/check-localplt.awk: New file.
70680         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
70681         of diff.
70682         * scripts/data/localplt-generic.data: Add a comment.
70684         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
70685         NODE when __dir_mkfile failed.
70686         * sysdeps/mach/hurd/symlinkat.c: Likewise.
70687         Reported by Ludovic Courtès <ludo@gnu.org>.
70689 2012-04-24  Andreas Jaeger  <aj@suse.de>
70691         * Makerules (common-clean): Also remove gen-as-const-headers
70692         files.
70694 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
70696         * Makerules (native-compile): Do not change working directory for
70697         build.  Use $(OUTPUT_OPTION) in command.
70698         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
70700 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70702         [BZ #13886]
70703         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
70704         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
70705         * math/libm-test.inc (floor_test): Add more tests.
70706         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
70708 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
70710         * sysdeps/unix/getdents.c: Remove file.
70711         * sysdeps/unix/sysv/getdents.c: Likewise.
70712         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
70714         * sysdeps/unix/syscalls.list (madvise): Add syscall from
70715         sysdeps/unix/mman/syscalls.list.
70716         (mmap): Likewise.
70717         (mprotect): Likewise.
70718         (msync): Likewise.
70719         (munmap): Likewise.
70720         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
70721         * sysdeps/unix/mman/syscalls.list: Remove.
70722         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
70724         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
70725         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
70726         * configure: Regenerated.
70727         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
70728         $(libgcc_s_suffix).
70729         * config.make.in (libgcc_s_suffix): Remove variable.
70731 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
70733         * sysdeps/unix/sysv/gethostname.c: Move to ...
70734         * sysdeps/posix/gethostname.c: ... here.
70736         * sysdeps/unix/execve.S: Remove file.
70738         * sysdeps/unix/_exit.S: Remove file.
70740 2012-04-23  Andreas Jaeger  <aj@suse.de>
70742         [BZ #13739]
70743         * manual/Makefile: Remove make dist support, there's no
70744         need for a stand-alone documentation tar ball.
70745         (TEXI2DVI): Define always, it's not in Makeconfig.
70746         (dist): Removed.
70747         (tar-it): Removed.
70748         (edition): Removed.
70749         (glibc-doc-$(edition).tar): Removed
70750         (%.Z): Removed.
70751         (%.gz): Removed.
70752         (%.uu): Removed.
70753         (ETAGS): Remove, it's in Makeconfig.
70754         (move-if-change): Remove, it's in Makeconfig.
70756 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
70758         [BZ #13970]
70759         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
70760         (strtod, strtof, strtold, strtol, strtoul, strtoq)
70761         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
70762         (strtod_l, strtof_l, strtold_l): Remove __wur.
70763         It is not necessarily an error to ignore strtol's return value.
70764         One can reliably look at the stored endptr to decide whether
70765         the number had valid syntax.
70767 2012-04-21  Andreas Jaeger  <aj@suse.de>
70769         [BZ #13739]
70770         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
70772 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
70774         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
70775         * sysdeps/unix/sysv/Versions: Remove file.
70777 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
70779         [BZ #13927]
70780         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70782 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
70784         [BZ #7064]
70785         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
70786         version from __vm86.
70788 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
70790         * sysdeps/unix/common/lxstat.c: Remove file.
70791         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
70793         * sysdeps/unix/sysv/Makefile: Remove file.
70795         * sysdeps/unix/sysv/direct.h: Remove file.
70797         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
70798         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
70799         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
70800         * sysdeps/unix/sysv/bits/signum.h: Likewise.
70801         * sysdeps/unix/sysv/bits/stat.h: Likewise.
70802         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
70803         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
70805         * sysdeps/unix/sysv/setrlimit.c: Remove file.
70807         * sysdeps/unix/xmknod.c: Remove file.
70808         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
70810         * sysdeps/unix/sysv/settimeofday.c: Remove file.
70812         * sysdeps/unix/sysv/i386/time.S: Remove file.
70814         * sysdeps/unix/fxstat.c: Remove file.
70815         * sysdeps/unix/xstat.c: Likewise.
70816         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
70818         * sysdeps/unix/sysv/sigaction.c: Remove file.
70820         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
70821         (sysdep_headers): Remove variable.
70822         [termio.h not in sysdep_headers] (generated): Likewise.
70823         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
70824         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
70825         * sysdeps/unix/sysv/tcdrain.c: Likewise.
70826         * sysdeps/unix/sysv/tcflow.c: Likewise.
70827         * sysdeps/unix/sysv/tcflush.c: Likewise.
70828         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
70829         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
70830         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
70831         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
70832         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
70834         * sysdeps/unix/siglist.c: Remove file.
70836         * sysdeps/unix/getppid.S: Remove file.
70838         * sysdeps/unix/mkdir.c: Remove file.
70839         * sysdeps/unix/rmdir.c: Likewise.
70841 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
70843         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
70844         ERR_MAX value.
70845         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
70846         errlist-compat value.
70848 2012-04-18  David S. Miller  <davem@davemloft.net>
70850         * sysdeps/generic/memcopy.h (reg_char): Delete.
70851         * debug/strcat_chk.c: Use char, not reg_char.
70852         * debug/strcpy_chk.c: Likewise.
70853         * debug/strncat_chk.c: Likewise.
70854         * debug/strncpy_chk.c: Likewise.
70855         * string/memchr.c: Likewise.
70856         * string/memrchr.c: Likewise.
70857         * string/rawmemchr.c: Likewise.
70858         * string/strcat.c: Likewise.
70859         * string/strchr.c: Likewise.
70860         * string/strchrnul.c: Likewise.
70861         * string/strcmp.c: Likewise.
70862         * string/strcpy.c: Likewise.
70863         * string/strncat.c: Likewise.
70864         * string/strncmp.c: Likewise.
70865         * string/strncpy.c: Likewise.
70867 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
70869         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
70870         __builtin_memcopy is called when src and dest ranges are known to not
70871         overlap.
70873 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
70875         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
70876         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
70877         fwd_align_merge macro call.
70878         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
70879         bwd_align_merge macro call.
70880         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
70882 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
70884         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
70885         bwd_align_merge macros.
70886         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
70887         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
70888         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
70890 2012-04-18  David S. Miller  <davem@davemloft.net>
70892         * sysdeps/sparc/sparc64/memcopy.h: Delete.
70894 2012-04-18  Andreas Jaeger  <aj@suse.de>
70896         [BZ# 6794]
70897         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
70898         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
70899         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
70901         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
70902         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
70903         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
70905         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
70906         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
70907         Adjust for changed ldbl-128 files.
70909         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
70910         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
70911         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
70913 2012-04-17  David S. Miller  <davem@davemloft.net>
70915         * sysdeps/sparc/sparc32/memcopy.h: Delete.
70917 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
70919         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
70920         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
70921         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
70922         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
70923         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
70924         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
70926 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70928         [BZ #6794]
70929         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
70930         * math/libm-test.inc: Add ilogb errno and exception tests.
70931         * math/w_ilogb.c: New file: ilogb wrapper.
70932         * math/w_ilogbf.c: New file: ilogbf wrapper.
70933         * math/w_ilogbl.c: New file: ilogbl wrapper.
70934         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
70935         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
70936         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
70937         exception being thrown with 0.0 as argument.
70938         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
70939         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
70940         exception being thrown with 0.0 as argument.
70941         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
70942         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
70943         exception being thrown with 0.0 as argument.
70944         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
70945         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
70946         exception being thrown with 0.0 as argument.
70947         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
70948         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
70949         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
70950         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
70951         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
70952         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
70953         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
70954         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
70955         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
70957 2012-04-17  Petr Baudis  <pasky@ucw.cz>
70959         * include/sys/uio.h: Change __vector to __iovec to avoid clash
70960         with altivec.
70962 2012-04-16  Marek Polacek  <polacek@redhat.com>
70964         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
70966 2012-04-16  Marek Polacek  <polacek@redhat.com>
70968         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
70969         operands of fdivp instruction.
70971 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
70973         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
70974         * elf/tst-auditmod3b.c: Likewise.
70975         * elf/tst-auditmod4b.c: Likewise.
70976         * elf/tst-auditmod5b.c: Likewise.
70977         * elf/tst-auditmod6b.c: Likewise.
70978         * elf/tst-auditmod6c.c: Likewise.
70979         * elf/tst-auditmod7b.c: Likewise.
70980         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
70981         * sysdeps/x86_64/preconfigure.in: Likewise.
70982         * sysdeps/x86_64/preconfigure: Regenerated.
70984 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
70986         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
70987         __ILP32__.
70989 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
70991         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
70992         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
70994 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
70996         [BZ #13973]
70997         * locale/iso-639.def: Fix gl language name. Spotted by
70998         Yaron Shahrabani.
71000 2012-04-12  Roland McGrath  <roland@hack.frob.com>
71002         [BZ #2074]
71003         * libio/libio.h (__io_write_fn): Update comment.
71005 2012-04-12  Petr Baudis  <pasky@ucw.cz>
71007         [BZ #2074]
71008         * stdio.texi (Hook Functions): The user provided writer function
71009         is not allowed to return -1.
71011 2012-04-11  David S. Miller  <davem@davemloft.net>
71013         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71015 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
71017         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
71018         Add a leading slash to rtkaio.
71020 2012-04-11  Jim Meyering  <meyering@redhat.com>
71022         [BZ #11959]
71023         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
71024         It is not necessarily an error to ignore fwrite's return
71025         value.  One can reliably use ferror to test for errors after
71026         the fact.
71028 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
71030         * bits/types.h (__snseconds_t): New type.
71031         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
71033         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
71034         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71035         (__SNSECONDS_T_TYPE): Likewise.
71036         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71037         (__SNSECONDS_T_TYPE): Likewise.
71038         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71039         (__SNSECONDS_T_TYPE): Likewise.
71041 2012-04-10  Andreas Jaeger  <aj@suse.de>
71043         [BZ #2636]
71044         * manual/time.texi (Processor Time): Return type of times is
71045         elapsed real time since an arbitrary point in the past.
71046         (CPU Time): Move CLK_TCK from here...
71047         (Processor Time): ...to here.  Correct description.
71048         * manual/conf.texi (Constants for Sysconf): Correct description of
71049         _SC_CLK_TCK.
71051 2012-04-10  David S. Miller  <davem@davemloft.net>
71053         [BZ #13967]
71054         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
71055         where the is a gap between DT_REL(A) and DT_JMPREL.
71057 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
71059         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
71060         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
71061         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
71063 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
71065         * elf/dl-support.c (_dl_inhibit_cache): New variable.
71066         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
71067         (dl_main): Handle --inhibit-cache.
71068         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
71069         _dl_inhibit_cache.
71070         * elf/dl-load.c (_dl_map_object): Use it.
71071         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
71073 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
71075         [BZ #13872]
71076         * sysdeps/i386/fpu/e_powl.S (p78): New object.
71077         (__ieee754_powl): Saturate large exponents rather than testing for
71078         overflow of y*log2(x).
71079         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
71080         * math/libm-test.inc (pow_test): Do not permit spurious overflow
71081         exceptions.
71083         [BZ #11521]
71084         * math/s_ctan.c: Include <float.h>.
71085         (__ctan): Avoid internal overflow or cancellation in calculating
71086         denominator.
71087         * math/s_ctanf.c: Likewise.
71088         * math/s_ctanl.c: Likewise.
71089         * math/s_ctanh.c: Likewise.
71090         * math/s_ctanhf.c: Likewise.
71091         * math/s_ctanhl.c: Likewise.
71092         * math/libm-test.inc (ctan_test): Add more tests.
71093         (ctanh_test): Likewise.
71094         * sysdeps/i386/fpu/libm-test-ulps: Update.
71095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71097 2012-04-09  Andreas Jaeger  <aj@suse.de>
71099         [BZ #6894]
71100         * manual/filesys.texi (Directory Entries): Mention that d_namlen
71101         is an optional BSD extension.
71103         [BZ #10254]
71104         * manual/stdio.texi (Opening Streams): Document additional fopen
71105         parameters.
71107 2012-04-09  Roland McGrath  <roland@hack.frob.com>
71109         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
71110         %eax without telling the compiler.
71112 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
71114         [BZ # 13963]
71115         * manual/install.texi: Use sourceware.org.
71117 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
71119         [BZ #13873]
71120         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
71121         (__ieee754_pow): Generate overflow and underflow using huge*huge
71122         and tiny*tiny rather than just returning constant infinity or zero
71123         for large exponents.
71124         * math/libm-test.inc (pow_test): Require overflow exceptions for
71125         applicable cases of large exponents.
71127         [BZ #706]
71128         * sysdeps/i386/fpu/e_pow.S (p10): New object.
71129         (__ieee754_pow): Use iterative multiplication algorithm only for
71130         integer exponents with absolute value below 1024.  Check for odd
71131         integer exponents when using algorithm for real exponents.
71132         * math/libm-test.inc (pow_test): Add more tests.
71133         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71135 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
71137         [BZ #13705]
71138         * math/libm-test.inc (exp_test): Do not allow overflow exception
71139         on underflow test.
71141 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
71143         [BZ #13705]
71144         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
71145         instead of __kernel_standard_f.
71147 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
71149         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
71150         * sysdeps/x86_64/memset_chk.S: Likewise.
71152 2012-04-08  Andreas Jaeger  <aj@suse.de>
71154         [BZ #10153]
71155         * manual/startup.texi (Environment Access): Describe return value
71156         for putenv and setenv.
71158         [BZ #6895]
71159         * manual/filesys.texi (Directory Entries): Add description for
71160         DT_LNK.
71162         [BZ #6890]
71163         * manual/filesys.texi (Directory Entries): Clarify that it's file
71164         system not operating system in the description of DT_UNKNOWN.
71166         [BZ #6578]
71167         * manual/syslog.texi (closelog): Fix reference, it's openlog.
71169 2012-04-08  Stephen Compall  <s11@member.fsf.org>
71171         [BZ #6649]
71172         * manual/llio.texi (Opening and Closing Files): Add cross
71173         reference to explain mode argument.
71175 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
71177         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
71178         * sysdeps/x86_64/memset_chk.S: Likewise.
71180 2012-04-07  David S. Miller  <davem@davemloft.net>
71182         * elf/elf.h (R_SPARC_WDISP10): Define.
71183         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
71184         R_SPARC_SIZE32.
71185         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
71186         R_SPARC_SIZE64 and R_SPARC_H34.
71188 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
71190         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
71191         conditions and remove no longer applicable assertion.
71193 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
71195         * bits/byteswap.h: Include <features.h>.
71196         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
71197         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
71199 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
71201         * bits/byteswap.h (__bswap_16): Removed.
71202         Include <bits/byteswap-16.h> to get __bswap_16.
71203         * sysdeps/i386/bits/byteswap.h: Likewise.
71204         * sysdeps/s390/bits/byteswap.h: Likewise.
71205         * sysdeps/x86_64/bits/byteswap.h: Likewise.
71206         * bits/byteswap-16.h: New file.
71207         * sysdeps/i386/bits/byteswap-16.h: Likewise.
71208         * sysdeps/s390/bits/byteswap-16.h: Likewise.
71209         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
71210         * string/Makefile (headers): Add bits/byteswap-16.h.
71212 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
71214         [BZ #13895]
71215         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
71216         extra indirection.
71217         * nss/Makefile (tests-static, tests): Add tst-nss-static.
71218         * nss/tst-nss-static.c: New.
71220 2012-04-06  Robert Millan  <rmh@gnu.org>
71222         [BZ #6486]
71223         * manual/llio.texi (File Position Primitive): lseek
71224         refers to WHENCE when it really means OFFSET.
71226 2012-04-06  Andreas Jaeger  <aj@suse.de>
71228         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
71229         strncmp declarations.
71231         * abilist/libc.abilist: Add __poll and __ppoll.
71233 2012-04-05  David S. Miller  <davem@davemloft.net>
71235         * scripts/check-local-headers.sh: Accept a host triplet in the
71236         path matched by the exclude regexp.
71238         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
71239         definition.
71240         * sysdeps/powerpc/powerpc32/dl-machine.h
71241         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
71242         * sysdeps/s390/s390-32/dl-machine.h
71243         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
71244         * sysdeps/sparc/sparc32/dl-machine.h
71245         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
71246         * sysdeps/sparc/sparc64/dl-machine.h
71247         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
71249         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
71250         lazy binding.
71251         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
71252         undefined symbol errors.
71254         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
71255         DT_NEEDED entries.
71257 2012-04-05  Michael Matz  <matz@suse.de>
71259         [BZ #13592]
71260         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
71262 2012-04-05  Andreas Jaeger  <aj@suse.de>
71264         [BZ #13908]
71265         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
71266         comment.
71268 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
71270         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
71271         which ROUND is no valid rounding mode.
71273 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
71275         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
71276         read again.
71277         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
71279 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
71281         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
71282         an exception using FPU order intentionally.
71284 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
71286         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
71287         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
71288         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
71289         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
71291 2012-04-05  Simon Josefsson  <simon@josefsson.org>
71293         [BZ #12340]
71294         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
71295         EINVAL when BUFLEN is too smal.
71297 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
71299         [BZ #13553]
71300         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
71301         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
71303 2012-04-03  Andreas Jaeger  <aj@suse.de>
71305         [BZ #13938]
71306         * manual/setjmp.texi (System V contexts): Fix sentence.
71308         [BZ #13926]
71309         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
71310         New macro for this case.
71311         [!__GNUC__] (__bswap_64): New inline function for this case.
71312         * sysdeps/x86_64/bits/byteswap.h: Likewise.
71313         * bits/byteswap.h: Likewise.
71314         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
71315         ull, guard with __GLIBC_HAVE_LONG_LONG.
71317         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
71318         __GLIBC_HAVE_LONG_LONG.
71320         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
71321         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
71323 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
71325         [BZ #13691]
71326         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
71327         inptr and inend, rather than using last_ch.
71329 2012-04-02  David S. Miller  <davem@davemloft.net>
71331         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
71332         * stdio-common/printf-parse.h (read_int): Change return type to
71333         'int', return -1 on INT_MAX overflow.
71334         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
71335         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
71336         overflows INT_MAX.  Check for overflow of in-format-string precision
71337         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
71338         SIZE_MAX not INT_MAX for integer overflow test.
71339         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
71340         skip the construct in the format string but do not record anything.
71341         * stdio-common/bug22.c: Adjust to test both width/prevision
71342         INT_MAX overflow as well as total length INT_MAX overflow.  Check
71343         explicitly for proper errno values.
71345 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
71347         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
71348         CHAR_MAX.
71349         * string/test-strcmp.c [! WIDE]: Likewise.
71350         * time/tst-mktime2.c: Likewise for INT_MAX.
71351         * string/test-string.h: #include <sys/param.h> for MIN.
71353         * csu/init-first.c (__libc_init_first): Call __ctype_init.
71354         * sysdeps/i386/init-first.c (init): Likewise.
71355         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
71356         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
71357         * sysdeps/sh/init-first.c (init): Likewise.
71359 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
71361         * po/ru.po: Update from translation team.
71362         * po/vi.po: Likewise.
71364 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
71366         * resolv/nss_dns/dns-host.c: Merge copyright years.
71368 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71370         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
71371         Optimize memcpy with prefetch if
71372         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
71373         src, dst pointers have unequal 16 byte alignments.
71375 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
71377         [BZ #13928]
71378         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
71379         from a CNAME entry and return the minimum ttl for the query.
71380         (gaih_getanswer_slice): Likewise.
71382 2012-03-30  Jeff Law  <law@redhat.com>
71384         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
71385         due to long keys.
71386         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
71387         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
71389         * resolv/nss_dns/dns-host.c: Update copyright year.
71391 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
71393         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
71394         requests to save a system call.  Fix check that all bytes are sent.
71396         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
71397         comments for sendmmsg.
71399 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
71401         [BZ #13691]
71402         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
71403         with only 1 character between 0x0041 and 0x01b0.
71404         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
71405         * wcsmbs/tst-mbsnrtowcs.c: New file.
71407 2012-03-29  David S. Miller  <davem@davemloft.net>
71409         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
71410         small copies by hand.
71412 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
71414         [BZ #13761]
71415         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
71416         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
71417         group memberships.
71419 2012-03-28  David S. Miller  <davem@davemloft.net>
71421         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
71422         that branches into memcpy.
71423         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
71424         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
71425         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
71426         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
71427         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
71428         bits.
71429         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
71430         implementation too.
71431         * sysdeps/sparc/mempcpy.S: New file.
71433         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
71434         the IFUNC routine in the libc case.
71435         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
71437         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
71438         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
71439         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
71440         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
71441         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
71442         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
71443         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
71444         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
71446         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
71447         loop to 256 bytes instead of 64 bytes and fix test signedness.
71449         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
71450         * sysdeps/sparc/sparc32/Makefile: rather than here...
71451         * sysdeps/sparc/sparc64/Makefile: and here.
71453 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
71455         * malloc/mallocbug.c: Avoid warnings about unused variables.
71457 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
71459         [BZ #13760]
71460         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
71461         in the right place. Discard and retry query if response is
71462         larger than input buffer size.
71464 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
71466         [BZ #369]
71467         [BZ #2678]
71468         [BZ #3866]
71469         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
71470         x for large integer exponent.
71471         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
71472         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
71473         sign of result as needed afterwards.
71474         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
71475         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
71476         result for underflowing pow the same as for overflow.
71477         (__kernel_standard_l): Handle powl overflow and underflow here
71478         rather than calling __kernel_standard.
71479         * math/libm-test.inc (pow_test): Add more tests.
71481         [BZ #3868]
71482         [BZ #13879]
71483         [BZ #13910]
71484         [BZ #13911]
71485         [BZ #13912]
71486         [BZ #13913]
71487         [BZ #13915]
71488         [BZ #13916]
71489         [BZ #13917]
71490         [BZ #13918]
71491         [BZ #13919]
71492         [BZ #13920]
71493         [BZ #13921]
71494         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
71495         * sysdeps/ieee754/k_standard.c: Include <float.h>.
71496         (__kernel_standard_l): New function.
71497         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
71498         __kernel_standard.
71499         * math/w_acosl.c (__acosl): Likewise.
71500         * math/w_asinl.c (__asinl): Likewise.
71501         * math/w_atan2l.c (__atan2l): Likewise.
71502         * math/w_atanhl.c (__atanhl): Likewise.
71503         * math/w_coshl.c (__coshl): Likewise.
71504         * math/w_exp10l.c (__exp10l): Likewise.
71505         * math/w_exp2l.c (__exp2l): Likewise.
71506         * math/w_fmodl.c (__fmodl): Likewise.
71507         * math/w_hypotl.c (__hypotl): Likewise.
71508         * math/w_j0l.c (__j0l, __y0l): Likewise.
71509         * math/w_j1l.c (__j1l, __y1l): Likewise.
71510         * math/w_jnl.c (__jnl, __ynl): Likewise.
71511         * math/w_lgammal.c (__lgammal): Likewise.
71512         * math/w_log10l.c (__log10l): Likewise.
71513         * math/w_log2l.c (__log2l): Likewise.
71514         * math/w_logl.c (__logl): Likewise.
71515         * math/w_powl.c (__powl): Likewise.
71516         * math/w_remainderl.c (__remainderl): Likewise.
71517         * math/w_scalbl.c (sysv_scalbl): Likewise.
71518         * math/w_sinhl.c (__sinhl): Likewise.
71519         * math/w_sqrtl.c (__sqrtl): Likewise.
71520         * math/w_tgammal.c (__tgammal): Likewise.
71521         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
71522         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
71523         * math/libm-test.inc (acos_test): Add more tests.
71524         (acosh_test): Likewise.
71525         (asin_test): Likewise.
71526         (atanh_test): Likewise.
71527         (exp_test): Likewise.
71528         (exp10_test): Likewise.
71529         (exp2_test): Likewise.
71530         (expm1_test): Likewise.
71531         (lgamma_test): Likewise.
71532         (log_test): Likewise.
71533         (log10_test): Likewise.
71534         (log1p_test): Likewise.
71535         (log2_test): Likewise.
71536         (pow_test): Do not allow some spurious overflow exceptions.
71537         (sqrt_test): Add more tests.
71538         (tgamma_test): Likewise.
71539         (y0_test): Likewise.
71540         (y1_test): Likewise.
71541         (yn_test): Likewise.
71543 2012-03-27  Anton Blanchard  <anton@samba.org>
71545         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
71546         MAP_HUGETLB.
71547         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
71548         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
71549         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
71551 2012-03-27  David S. Miller  <davem@davemloft.net>
71553         * conform/Makefile: Run run-conformtest.sh using $(BASH).
71555         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
71556         have-as-vis3 check.
71558 2012-03-27  Andreas Jaeger  <aj@suse.de>
71560         * sysdeps/x86_64/elf/configure.in: Moved to ...
71561         * sysdeps/x86_64/configure.in: ... here.
71562         * sysdeps/x86_64/elf/start.S: Moved to ...
71563         * sysdeps/x86_64/start.S: ... here.
71564         * sysdeps/x86_64/elf/configure: Delete.
71566         * sysdeps/x86_64/configure.in: Merge contents from
71567         sysdeps/i386/configure.in (without i686 check).
71569         * sysdeps/i386/elf/Versions: Merge into ...
71570         * sysdeps/i386/Versions: ... this.
71571         * sysdeps/i386/elf/Versions: Delete file.
71572         * sysdeps/i386/elf/start.S: Moved to ...
71573         * sysdeps/i386/start.S: ...here.
71574         * sysdeps/i386/elf/configure.in: Merge into...
71575         * sysdeps/i386/configure.in: ...here.
71576         * sysdeps/i386/elf/configure.in: Delete file.
71577         * sysdeps/i386/elf/configure: Delete file.
71579         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
71580         * debug/backtracesyms.c: ... here.
71581         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
71582         * debug/backtracesymsfd.c: ... here.
71583         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
71584         * sysdeps/generic/ifunc-sel.h: ... here.
71586         * sysdeps/unix/i386/start.c: Delete file.
71587         * sysdeps/unix/sparc/start.c: Delete file.
71588         * sysdeps/unix/start.c: Delete file.
71590         * sysdeps/sh/elf/configure.in: Moved to ...
71591         * sysdeps/sh/configure.in: ... here.
71592         * sysdeps/sh/elf/start.S: Moved to ...
71593         * sysdeps/sh/start.S: ... here.
71594         * sysdeps/sh/elf/configure: Delete file.
71596         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
71597         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
71598         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
71599         * sysdeps/powerpc/powerpc64/entry.h: ... here.
71600         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
71601         * sysdeps/powerpc/powerpc64/start.S: here.
71602         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
71603         * sysdeps/powerpc/powerpc64/Makefile: ... this.
71604         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
71605         * sysdeps/powerpc/powerpc64/configure.in: ... this.
71606         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
71608         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
71609         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
71610         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
71611         * sysdeps/powerpc/powerpc32/start.S: ... here.
71612         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
71613         * sysdeps/powerpc/powerpc32/configure.in: ... this.
71614         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
71616         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
71617         * sysdeps/powerpc/ifunc-sel.h: ... here.
71618         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
71619         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
71621         * sysdeps/sparc/elf/configure.in: Moved to ...
71622         * sysdeps/sparc/configure.in: ... here.
71623         * sysdeps/sparc/elf/configure: Delete file.
71624         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
71625         * sysdeps/sparc/sparc32/start.S: ... here.
71626         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
71627         * sysdeps/sparc/sparc64/start.S: ... here.
71628         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
71629         * sysdeps/sparc/sparc32/Makefile: ... this.
71630         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
71631         * sysdeps/sparc/sparc64/Makefile: ... this.
71633         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
71634         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
71635         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
71636         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
71637         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
71638         * sysdeps/s390/s390-32/setjmp.S: ... here.
71639         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
71640         * sysdeps/s390/s390-32/configure.in: ... here.
71641         * sysdeps/s390/s390-32/elf/configure: Delete file.
71642         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
71643         * sysdeps/s390/s390-32/start.S: ... here.
71645         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
71646         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
71647         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
71648         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
71649         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
71650         * sysdeps/s390/s390-64/setjmp.S: ... here.
71651         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
71652         * sysdeps/s390/s390-64/configure.in: ... here
71653         * sysdeps/s390/s390-64/elf/configure: Delete file.
71654         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
71655         * sysdeps/s390/s390-64/start.S: ... here.
71656         * sysdeps/s390/s390-64/elf/configure: Delete.
71658         * configure.in: Remove support for elf directories in sysdeps.
71660         * configure: Regenerated.
71661         * sysdeps/i386/configure: Regenerated.
71662         * sysdeps/powerpc/powerpc32/configure: Regenerated.
71663         * sysdeps/powerpc/powerpc64/configure: Regenerated.
71664         * sysdeps/s390/s390-32/configure: Regenerated.
71665         * sysdeps/s390/s390-64/configure: Regenerated.
71666         * sysdeps/sh/configure: Regenerated.
71667         * sysdeps/sparc/configure: Regenerated.
71668         * sysdeps/x86_64/configure: Regenerated.
71670 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
71672         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71674         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
71675         denormal result into account.
71677 2012-03-25  Roland McGrath  <roland@hack.frob.com>
71679         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
71680         Reported by Allan McRae <allan@archlinux.org>.
71682 2012-03-23  Jeff Law  <law@redhat.com>
71684         * nss/getnssent.c (__nss_getent): Fix typo.
71686 2012-03-23  David S. Miller  <davem@davemloft.net>
71688         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71690 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
71692         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
71693         to pad to uint64_t for each field.
71694         (dl_tls_index): Replace unsigned long with uint64_t.
71696 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
71697         Paul Pluzhnikov  <ppluzhnikov@google.com>
71699         [BZ #6528]
71700         * grp/Makefile (otherlibs): Don't set it.
71701         * inet/Makefile (otherlibs): Likewise.
71702         * login/Makefile (otherlibs): Likewise.
71703         * nscd/Makefile (otherlibs): Likewise.
71704         * posix/Makefile (otherlibs): Likewise.
71705         * pwd/Makefile (otherlibs): Likewise.
71706         * rt/Makefile (otherlibs): Likewise.
71707         * sunrpc/Makefile (otherlibs): Likewise.
71708         * nss/Makefile (otherlibs): Likewise.
71709         Add libnss_files to routines and static-only-routines.
71710         ($(objpfx)getent): Remove rule.
71711         * resolv/Makefile: Add libnss_dns and libresolv to routines and
71712         static-only-routines.
71714 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
71716         [BZ #13892]
71717         * math/s_cexp.c: Include <float.h>.
71718         (__cexp): Handle exp result overflowing not necessarily
71719         overflowing both real and imaginary parts of result.
71720         * math/s_cexpf.c: Likewise.
71721         * math/s_cexpl.c: Likewise.
71722         * math/libm-test.inc (cexp_test): Add more tests.
71723         * sysdeps/i386/fpu/libm-test-ulps: Update.
71724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71726 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
71728         * include/link.h (ELFW): New macro.
71729         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
71730         Replace ELF64_R_TYPE with ELFW(R_TYPE).
71732 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
71734         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
71735         with uint64_t.
71737 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
71739         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
71740         declaration.
71741         (struct La_x32_retval): Likewise.
71743 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
71745         * sysdeps/x86_64/preconfigure.in: New file.
71746         * sysdeps/x86_64/preconfigure: New generated file.
71748 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
71750         [BZ #13824]
71751         * math/e_exp2l.c: Include <float.h>.
71752         (__ieee754_exp2l): Handle overflow and underflow cases
71753         separately.  Only pass fractional part of argument to
71754         __ieee754_expl.
71755         * math/libm-test.inc (exp2_test): Add more tests.
71757         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
71758         negating x to take absolute value.
71759         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
71760         Likewise.
71761         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
71762         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
71763         Likewise.
71764         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
71765         computing low part if x was negated.
71766         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
71768 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
71770         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
71771         la_x32_gnu_pltexit.
71772         (pltexit): Cast int_retval to ptrdiff_t.
71773         * elf/tst-auditmod3b.c: Likewise.
71774         * elf/tst-auditmod4b.c: Likewise.
71775         * elf/tst-auditmod5b.c: Likewise.
71776         * elf/tst-auditmod6b.c: Likewise.
71777         * elf/tst-auditmod6c.c: Likewise.
71778         * elf/tst-auditmod7b.c: Likewise.
71780         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
71781         and x32_gnu_pltexit.
71783         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
71784         __ELF_NATIVE_CLASS.
71785         (La_x32_regs): New macro.
71786         (La_x32_retval): Likewise.
71787         (la_x32_gnu_pltenter): New function prototype.
71788         (la_x32_gnu_pltexit): Likewise.
71790 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
71792         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
71793         exponent.
71795         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71797         * configure.in (libc_cv_cc_nofma): Check for option to disable
71798         generation of FMA instructions.
71799         * configure: Regenerate.
71800         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
71801         * sysdeps/ieee754/dbl-64/Makefile: New file.
71802         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
71803         Remove brandred-fma4.
71804         (CFLAGS-brandred-fma4.c): Remove.
71805         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
71806         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
71807         define.
71808         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
71809         define.
71811 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
71813         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
71814         LLONG_MAX != LONG_MAX.
71815         (_itoa_word): Use _ITOA_WORD_TYPE on value.
71816         (_fitoa_word): Likewise.
71817         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
71818         LLONG_MAX != LONG_MAX.
71819         * stdio-common/_itowa.h: Include <_itoa.h>.
71820         (_itowa_word): Use _ITOA_WORD_TYPE on value.
71821         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
71822         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
71823         only if not defined.
71824         (_ITOA_WORD_TYPE): Likewise.
71825         (_itoa_word): Use _ITOA_WORD_TYPE on value.
71826         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
71828 2012-03-21  David S. Miller  <davem@davemloft.net>
71830         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71832 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
71834         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
71835         of x86_64 when setting libc_cv_slibdir, libdir and
71836         libc_cv_localedir.
71837         * sysdeps/unix/sysv/linux/configure: Regenerated.
71839 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
71841         * manual/lang.texi (Old Varargs): Remove section.
71842         (How Variadic): Update menu.
71843         (va_start): Do not mention varargs.h.
71845 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
71846             Joseph Myers  <joseph@codesourcery.com>
71848         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
71849         link test.
71850         * configure: Regenerated.
71852 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
71854         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
71855         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
71856         conformtest.pl
71858 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
71860         * NOTES: Remove.
71861         * Makefile (files-for-dist): Remove NOTES.
71862         (NOTES): Remove rule.
71863         * README: Don't refer to NOTES.
71864         * manual/creature.texi: Don't include macros.texi.
71865         * manual/intro.texi (creature.texi): Remove comment referring to
71866         NOTES.
71868         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
71869         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
71870         * configure: Regenerated.
71871         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
71872         LIBC_TRY_CC_OPTION.
71873         (libc_cv_as_i686): Likewise.
71874         (libc_cv_cc_avx): Likewise.
71875         (libc_cv_cc_sse2avx): Likewise.
71876         (libc_cv_cc_fma4): Likewise.
71877         (libc_cv_cc_novzeroupper): Likewise.
71878         * sysdeps/i386/configure: Regenerated.
71880         [BZ #13883]
71881         * sysdeps/i386/fpu/s_cexp.S: Remove.
71882         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
71883         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
71884         * math/libm-test.inc (cexp_test): Add more tests.
71885         * sysdeps/i386/fpu/libm-test-ulps: Update.
71886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71888 2012-03-21  Allan McRae  <allan@archlinux.org>
71890         * timezone/Makefile: Do not install iso3166.tab and zone.tab
71892 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
71894         [BZ #13871]
71895         * math/w_exp2.c: Do not include <float.h>.
71896         (o_threshold, u_threshold): Remove.
71897         (__exp2): Calculate result before checking finiteness and calling
71898         __kernel_standard.
71899         * math/w_exp2f.c: Likewise.
71900         * math/w_exp2l.c: Likewise.
71901         * math/libm-test.inc (exp2_test): Require overflow exception for
71902         1e6 input.
71904         [BZ #3866]
71905         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
71906         range of signed 64-bit integers before using fistpll.  Remove
71907         checks for whether integers fit in mantissa bits.
71908         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
71909         the range of signed 32-bit integers before using fistpl.  Remove
71910         checks for whether integers fit in mantissa bits.
71911         * sysdeps/i386/fpu/e_powl.S (p64): New object.
71912         (__ieee754_powl): Test for y outside the range of signed 64-bit
71913         integers before using fistpll.  Reduce 64-bit values to 63-bit
71914         ones as needed.
71915         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
71916         divide-by-zero is raised for zero to large negative powers.
71917         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
71918         (__ieee754_powl): Test for y outside the range of signed 64-bit
71919         integers before using fistpll.  Reduce 64-bit values to 63-bit
71920         ones as needed.
71921         * math/libm-test.inc (pow_test): Add more tests.
71923 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
71925         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
71926         <stdio-common/_itoa.h>.
71927         * debug/segfault.c: Likewise.
71928         * elf/dl-cache.c: Likewise.
71929         * elf/dl-minimal.c: Likewise.
71930         * elf/dl-misc.c: Likewise.
71931         * elf/dl-sysdep.c: Likewise.
71932         * elf/dl-version.c: Likewise.
71933         * elf/rtld.c: Likewise.
71934         * hurd/hurdsock.c: Likewise.
71935         * hurd/lookup-retry.c: Likewise.
71936         * malloc/malloc.c: Likewise.
71937         * malloc/mtrace.c: Likewise.
71938         * nscd/nscd_getgr_r.c: Likewise.
71939         * nscd/nscd_getpw_r.c: Likewise.
71940         * nscd/nscd_getserv_r.c: Likewise.
71941         * posix/getopt_init.c: Likewise.
71942         * posix/wordexp.c: Likewise.
71943         * stdio-common/_itoa.c: Likewise.
71944         * stdio-common/printf_fphex.c: Likewise.
71945         * stdio-common/vfprintf.c: Likewise.
71946         * string/_strerror.c: Likewise.
71947         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
71948         * sysdeps/i386/i686/hp-timing.h: Likewise.
71949         * sysdeps/mach/_strerror.c: Likewise.
71950         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
71951         * sysdeps/mach/hurd/sethostid.c: Likewise.
71952         * sysdeps/mach/hurd/xmknodat.c: Likewise.
71953         * sysdeps/mach/xpg-strerror.c: Likewise.
71954         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
71955         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
71956         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
71957         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
71958         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
71959         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
71960         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
71961         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
71962         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
71963         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
71964         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
71965         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
71966         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
71967         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
71968         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
71969         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
71970         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
71971         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
71972         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
71973         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
71974         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
71976         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
71978         * stdio-common/_itoa.h: Moved to ...
71979         * sysdeps/generic/_itoa.h: Here.
71981         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
71983         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
71984         instead of "_itoa.h" and "_itowa.h".
71985         * stdio-common/vfprintf.: Likewise.
71987 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
71989         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
71990         <bits/wordsize.h>.
71991         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
71992         (__signbit): Likwise.
71993         (llrintf): Likwise.
71994         (llrint): Likwise.
71996 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
71998         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
71999         __WORDSIZE != 64.
72001 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
72003         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
72004         OVERFLOW_EXCEPTION_OK.
72005         * math/libm-test.inc ("Philosophy"): Update comment about
72006         exception testing.
72007         (OVERFLOW_EXCEPTION): Define.
72008         (OVERFLOW_EXCEPTION_OK): Likewise.
72009         (INVALID_EXCEPTION_OK): Renumber.
72010         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
72011         (IGNORE_ZERO_INF_SIGN): Likewise.
72012         (test_exceptions): Handle FE_OVERFLOW.
72013         (exp10_test): Expect overflow exceptions.
72014         (exp2_test): Likewise.
72015         (expm1_test): Likewise.
72016         (nextafter_test): Likewise.
72017         (pow_test): Likewise.
72018         (scalbn_test): Likewise.
72019         (scalbln_test): Likewise.
72021 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72023         * sysdeps/x86_64/bits/atomic.h
72024         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
72025         64bit integer.
72026         (atomic_exchange_acq): Likewise.
72027         (__arch_exchange_and_add_body): Likewise.
72028         (__arch_add_body): Likewise.
72029         (atomic_add_negative): Likewise.
72030         (atomic_add_zero): Likewise.
72032 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72034         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
72035         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
72037 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72039         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
72040         Check __x86_64__ instead of __WORDSIZE.
72042 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72044         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
72046 2012-03-19  David S. Miller  <davem@davemloft.net>
72048         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72050         * sysdeps/sparc/fpu/fenv_private.h: New file.
72051         * sysdeps/sparc/fpu/math_private.h: Use it.
72052         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
72053         Remove.
72054         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
72055         (libc_feholdexcept_setroundl): Remove.
72056         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
72057         Remove.
72058         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
72059         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
72061 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72063         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
72064         int64_t instead of long int.
72065         (INSERT_WORDS64): Likwise.
72067 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72069         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
72070         _Unwind_GetCFA return to _Unwind_Ptr first.
72072 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
72074         [BZ #13629]
72075         * math/s_clog.c: Include <float.h>.
72076         (__clog): Scale large or subnormal inputs.
72077         * math/s_clogf.c: Likewise.
72078         * math/s_clogl.c: Likewise.
72079         * math/s_clog10.c: Include <float.h>.
72080         (M_LOG10_2): Define.
72081         (__clog10): Scale large or subnormal inputs.
72082         * math/s_clog10f.c: Likewise.
72083         * math/s_clog10l.c: Likewise.
72084         * math/libm-test.inc (clog_test): Add more tests.
72085         (clog10_test): Likewise.
72086         * sysdeps/i386/fpu/libm-test-ulps: Update.
72087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72089         [BZ #11451]
72090         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
72091         x and y.
72092         * math/libm-test.inc (atan2_test): Add another test.
72094         * Makerules (common-objdir-compile): Remove.
72095         * sysdeps/unix/Makefile (config-generated): Do not add
72096         $(unix-generated) to variable.
72097         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
72098         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
72099         Remove rule.
72100         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
72101         Likewise.
72102         [generic bits/local_lim.h] (before-compile): Do not append to
72103         variable.
72104         [generic bits/local_lim.h] (common-generated): Likewise.
72105         [generic sys/param.h] (before-compile): Do not append to variable.
72106         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
72107         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
72108         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
72109         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
72110         include.
72111         [generic sys/param.h] (sys/param.h-includes): Remove variable.
72112         [generic sys/param.h] (sys/param.h-includes): Remove rule.
72113         [generic sys/param.h] ($(addprefix
72114         $(common-objpfx),$(sys/param.h-includes))): Likewise.
72115         [generic sys/param.h] (common-generated): Do not append to
72116         variable.
72117         [generic sys/param.h] (sysdep_headers): Likewise.
72118         [generic bits/errno.h] (before-compile): Do not append to
72119         variable.
72120         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
72121         rule.
72122         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
72123         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
72124         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
72125         [generic bits/errno.h] (common-generated): Do not append to
72126         variable.
72127         [generic bits/ioctls.h] (before-compile): Do not append to
72128         variable.
72129         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
72130         rule.
72131         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
72132         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
72133         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
72134         rule.
72135         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
72136         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
72137         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
72138         [generic bits/ioctls.h] (common-generated): Do not append to
72139         variable.
72140         [generic sys/syscall.h] (syscall.h): Remove variable.
72141         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
72142         rule.
72143         [generic sys/syscall.h] (before-compile): Do not append to
72144         variable.
72145         [generic sys/syscall.h] (common-generated): Likewise.
72146         * sysdeps/unix/errnos-tmpl.c: Remove file.
72147         * sysdeps/unix/errnos.awk: Likewise.
72148         * sysdeps/unix/ioctls-tmpl.c: Likewise.
72149         * sysdeps/unix/ioctls.awk: Likewise.
72150         * sysdeps/unix/mk-local_lim.c: Likewise.
72151         * sysdeps/unix/snarf-ioctls: Likewise.
72153 2012-03-19  Richard Henderson  <rth@twiddle.net>
72155         * sysdeps/i386/fpu/fenv_private.h: New file.
72156         * sysdeps/i386/fpu/math_private.h: Use it.
72157         (math_opt_barrier, math_force_eval): Remove.
72158         (libc_feholdexcept_setround_53bit): Remove.
72159         (libc_feupdateenv_53bit): Remove.
72160         * sysdeps/x86_64/fpu/math_private.h: Likewise.
72161         (math_opt_barrier, math_force_eval): Remove.
72162         (libc_feholdexcept): Remove.
72163         (libc_feholdexcept_setround): Remove.
72164         (libc_fetestexcept, libc_fesetenv): Remove.
72165         (libc_feupdateenv_test): Remove.
72166         (libc_feupdateenv, libc_feholdsetround): Remove.
72167         (libc_feresetround): Remove.
72169         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
72170         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
72172         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
72173         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
72174         (libc_feupdateenv_testl): New.
72175         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
72176         (libc_feupdateenv_testf): New.
72177         (libc_feupdateenv): Use libc_feupdateenv_test.
72178         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
72179         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
72181         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
72182         (libc_feholdsetroundf, libc_feholdsetroundl): New.
72183         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
72184         (libc_feresetround_noex): New.
72185         (libc_feresetround_noexf): New.
72186         (libc_feresetround_noexl): New.
72187         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
72188         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
72189         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
72190         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
72191         SET_RESTORE_ROUND.
72192         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
72193         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
72194         (__cos): Likewise.
72195         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
72196         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
72197         SET_RESTORE_ROUND_NOEX.
72198         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
72199         SET_RESTORE_ROUND_NOEXF.
72200         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
72201         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
72202         (libc_feholdsetroundf): New.
72203         (libc_feresetround, libc_feresetroundf): New.
72205         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
72206         (libc_feholdexcept_setround_53bit): Convert from macro to function.
72207         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
72209         * sysdeps/generic/math_private.h: Include <fenv.h>.
72210         (default_libc_feholdexcept): New.
72211         (default_libc_feholdexcept_setround): New.
72212         (default_libc_fesetenv, default_libc_feupdateenv): New.
72213         (libc_feholdexcept): Only define if undefined.
72214         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
72215         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
72216         (libc_feholdexcept_setroundl): Likewise.
72217         (libc_feholdexcept_setround_53bit): Likewise.
72218         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
72219         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
72220         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
72221         (libc_feupdateenv_53bit): Likewise.
72222         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
72223         (libc_feholdexcept): Convert from macro to inline function.
72224         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
72225         (libc_fesetenv, libc_feupdateenv): Likewise.
72227         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
72228         not previously defined.
72229         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
72230         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
72231         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
72232         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
72233         * sysdeps/ieee754/flt-32/math_private.h: New file.
72234         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
72235         math_private.h below SET_FLOAT_WORD.
72236         (__isnan, __isinf_ns, __finite): Remove.
72237         (__isnanf, __isinf_nsf, __finitef): Remove.
72239 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
72241         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72243 2012-03-17  David S. Miller  <davem@davemloft.net>
72245         [BZ #6471]
72246         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
72247         for 2.16.
72249 2012-03-16  David S. Miller  <davem@davemloft.net>
72251         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
72252         warnings.
72254         [BZ #6471]
72255         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
72256         properly.
72257         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
72258         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
72259         sysdep_routines when subdir is sysvipc.
72260         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
72261         __getshmlba helper.
72263         * sysdeps/sparc/fpu/libm-test/ulps: Update.
72265 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
72267         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
72268         [__LP64__].
72270 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
72272         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
72273         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
72274         (__lround): Renamed to ...
72275         (__llround): This.  Replace long int with long long int.
72276         Define lround functions as aliases of llround functions.
72277         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
72279 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
72281         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
72282         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
72283         adresses to uintptr_t.  Replace "long int" and "unsigned long
72284         int" with "greg_t" on va_arg.
72286 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
72288         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
72289         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
72291         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
72292         Move e_machine check before EI_CLASS check.  Handle x32
72293         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
72294         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
72295         SKIP_EM_IA_64 and include
72296         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
72298         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
72299         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
72300         (add_system_dir): New macro.
72302         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
72303         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
72305 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
72307         [BZ #2551]
72308         [BZ #2552]
72309         [BZ #2553]
72310         [BZ #2554]
72311         [BZ #2562]
72312         [BZ #2563]
72313         [BZ #2565]
72314         [BZ #2566]
72315         [BZ #2576]
72316         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
72317         (y0): Likewise.
72318         * math/w_j0f.c (j0f): Likewise.
72319         (y0f): Likewise.
72320         * math/w_j0l.c (__j0l): Likewise.
72321         (__y0l): Likewise.
72322         * math/w_j1.c (j1): Likewise.
72323         (y1): Likewise.
72324         * math/w_j1f.c (j1f): Likewise.
72325         (y1f): Likewise.
72326         * math/w_j1l.c (__j1l): Likewise.
72327         (__y1l): Likewise.
72328         * math/w_jn.c (jn): Likewise.
72329         (yn): Likewise.
72330         * math/w_jnf.c (jnf): Likewise.
72331         (ynf): Likewise.
72332         * math/w_jnl.c (__jnl): Likewise.
72333         (__ynl): Likewise.
72334         * math/libm-test.inc (j0_test): Add more tests.
72335         (j1_test): Likewise.
72336         (jn_test): Likewise.  Add trailing semicolon to existing test.
72337         (y0_test): Likewise.
72338         (y1_test): Likewise.
72339         * sysdeps/i386/fpu/libm-test-ulps: Update.
72340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72342         [BZ #13851]
72343         [BZ #13854]
72344         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
72345         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
72346         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
72347         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
72348         (__tanl): Set errno for infinite argument.
72349         * sysdeps/i386/fpu/mptan.c: Remove.
72350         * sysdeps/i386/fpu/s_tan.S: Likewise.
72351         * sysdeps/i386/fpu/s_tanl.S: Likewise.
72352         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
72353         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
72354         * math/libm-test.inc (tan_test): Add more tests and enable more
72355         tests for double and long double.
72356         * sysdeps/i386/fpu/libm-test-ulps: Update.
72357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72359 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
72361         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
72362         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
72364 2012-03-16  Roland McGrath  <roland@hack.frob.com>
72366         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
72367         * configure.in: Use it for both main tree and add-ons.
72368         * configure: Regenerated.
72370 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
72372         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
72374 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
72376         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
72377         in comment.
72379         [BZ #13851]
72380         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
72381         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
72382         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
72383         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
72384         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
72385         infinite argument.
72386         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
72387         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
72388         != 0 for prec == 2.
72389         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
72390         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
72391         * sysdeps/i386/fpu/s_cosl.S: Likewise.
72392         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
72393         * sysdeps/i386/fpu/s_sinl.S: Likewise.
72394         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
72395         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
72396         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
72397         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
72398         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
72399         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
72400         * math/libm-test.inc (cos_test): Add more tests and enable more
72401         tests for long double.
72402         (sin_test): Likewise.
72403         (sincos_test): Likewise.
72404         * sysdeps/i386/fpu/libm-test-ulps: Update.
72405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72407 2012-03-16  David S. Miller  <davem@davemloft.net>
72409         * sysdeps/sparc/fpu/math_private.h: New file.
72411 2012-03-15  David S. Miller  <davem@davemloft.net>
72413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
72414         file.
72415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
72416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
72417         file.
72418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
72419         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
72420         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
72421         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
72422         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
72423         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
72424         sysdep routines.
72425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
72427         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
72428         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
72430         * sysdeps/sparc/sparc-ifunc.h: New file.
72431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
72432         sparc-ifunc.h
72433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
72434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
72435         Likewise.
72436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
72437         Likewise.
72438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
72439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
72440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
72441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
72442         Likewise.
72443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
72444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
72445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
72446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
72447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
72448         Likewise.
72449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
72450         Likewise.
72451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
72452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
72453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
72454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
72455         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
72456         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
72457         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
72458         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
72459         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
72460         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
72461         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
72462         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
72463         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
72464         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
72465         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
72466         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
72467         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
72468         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
72469         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
72470         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
72471         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
72472         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
72473         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
72474         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
72476 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
72478         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
72479         scaling.
72480         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72482 2012-03-15  Andreas Jaeger  <aj@suse.de>
72484         [BZ #13852]
72485         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
72486         ieee754/flt-32 implementation for sin, cos and sincos.
72487         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
72488         * sysdeps/i386/fpu/s_cosf.S: Likewise.
72489         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
72490         * sysdeps/i386/fpu/s_sinf.S: Likewise.
72491         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
72492         ieee754/flt-32 implementation for tan.
72494         * math/libm-test.inc (cos_test): Enable some large input tests for
72495         float as well
72496         (sin_test): Likewise.
72497         (sincos_test): Likewise.
72498         (tan_test): Add tests for large input.
72500         * sysdeps/i386/fpu/libm-test-ulps: Update.
72502 2012-03-15  Andreas Jaeger  <aj@suse.de>
72504         [BZ #13658]
72505         * math/libm-test.inc (cos_test): Add more test cases.
72506         (sin_test): Likewise.
72507         (sincos_test): Likewise.
72509 2012-03-15  Andreas Jaeger  <aj@suse.de>
72511         [BZ #13837]
72512         * math/libm-test.inc (cos_test): Add a test case for large input
72513         value.
72514         (sin_test): Likewise.
72515         (sincos_test): Likewise.
72517 2012-03-15  Andreas Jaeger  <aj@suse.de>
72518             Joseph Myers  <joseph@codesourcery.com>
72520         [BZ #13658]
72521         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
72522         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
72523         * sysdeps/i386/fpu/branred.c: Likewise.
72524         * sysdeps/i386/fpu/dosincos.c: Likewise.
72525         * sysdeps/i386/fpu/mpa.c: Likewise.
72526         * sysdeps/i386/fpu/s_cos.S: Likewise.
72527         * sysdeps/i386/fpu/s_sin.S: Likewise.
72528         * sysdeps/i386/fpu/s_sincos.S: Likewise.
72529         * sysdeps/i386/fpu/sincos32.c: Likewise.
72531         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
72532         Define.
72533         (libc_feupdateenv_53bit): Define.
72534         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
72535         Define.
72536         (libc_feupdateenv_53bit): Define.
72538         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
72539         53 bit (without extend i386 double precision).
72541         * math/libm-test.inc (sincos_test): Add tests for large input.
72542         (sin): Likewise.
72543         (cos): Likewise.
72545         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
72547 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
72549         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72551 2012-03-15  David S. Miller  <davem@davemloft.net>
72553         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
72554         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
72555         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
72556         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
72557         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
72558         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
72559         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
72560         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
72561         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
72562         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
72563         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
72564         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
72565         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
72566         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
72567         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
72568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
72569         file.
72570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
72571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
72572         file.
72573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
72574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
72575         file.
72576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
72577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
72578         file.
72579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
72580         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
72581         fmin/fmax sysdep routines.
72582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
72584 2012-03-14  David S. Miller  <davem@davemloft.net>
72586         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
72587         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
72588         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
72589         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
72590         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
72591         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
72592         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
72593         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
72594         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
72595         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
72596         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
72597         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
72598         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
72599         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
72600         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
72601         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
72602         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
72603         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
72604         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
72605         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
72606         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
72607         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
72608         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
72609         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
72610         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
72611         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
72612         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
72613         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
72614         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
72615         routines.
72616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
72617         file.
72618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
72619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
72620         file.
72621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
72622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
72623         file.
72624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
72625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
72626         file.
72627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
72628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
72629         file.
72630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
72631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
72632         file.
72633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
72634         file.
72635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
72636         file.
72637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
72638         file.
72639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
72640         New file.
72641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
72642         file.
72643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
72644         file.
72645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
72646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
72647         file.
72648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
72649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
72650         file.
72651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
72652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
72653         file.
72654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
72655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
72656         VIS3 routines.
72658         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
72659         New file.
72661         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72663         * sysdeps/sparc/configure.in: New file.
72664         * sysdeps/sparc/configure: Generate.
72665         * configure.in (libc_cv_sparc_as_vis3): Substitute.
72666         * configure: Regenerate.
72667         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
72668         * config.make.in (have-as-vis3): New.
72669         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
72670         available use -Av9d instead of -Av9a.
72671         * sysdeps/sparc/sparc64/Makefile: Likewise.
72672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
72673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
72674         New file.
72675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
72676         file.
72677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
72678         New file.
72679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
72680         file.
72681         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
72682         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
72683         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
72684         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
72685         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
72687         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
72688         fzeros/fnegs to load 0x80000000 into a float register instead of
72689         using the stack.
72690         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
72692 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
72694         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72695         bits/syscall.h.
72696         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
72697         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
72698         ($(inst_includedir)/bits/syscall.h): Remove rule.
72699         ($(objpfx)bits/syscall.d): Include instead of
72700         $(objpfx)syscall-list.d.
72701         (generated): Change syscall-list.h and syscall-list.d to
72702         bits/syscall.h and bits/syscall.d.
72704 2012-03-14  Roland McGrath  <roland@hack.frob.com>
72706         [BZ #13846]
72707         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
72709 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
72711         [BZ #13841]
72712         * math/s_csqrt.c: Include <float.h>.
72713         (__csqrt): Scale large or subnormal inputs.
72714         * math/s_csqrtf.c: Likewise.
72715         * math/s_csqrtl.c: Likewise.
72716         * math/libm-test.inc (csqrt_test): Add more tests.
72717         * sysdeps/i386/fpu/libm-test-ulps: Update.
72718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72720         [BZ #13840]
72721         * math/libm-test.inc (hypot_test): Add more tests.
72723 2012-03-13  David S. Miller  <davem@davemloft.net>
72725         [BZ #13840]
72726         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
72727         double-precision for the calculation instead of scaling.
72729 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
72731         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
72732         manipulate bits before adding and subtracting TWO52[sx].
72733         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
72734         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
72735         Likewise.
72736         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
72738 2012-03-13  David S. Miller  <davem@davemloft.net>
72740         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
72741         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
72742         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
72743         rtld-global-offsets.h
72744         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
72746         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
72747         large parameters.
72749         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
72751         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
72752         'err' in the ifdef scope in which it is actually used.
72754         * nss/nss_db/db-init.c: Include string.h
72756 2012-03-12  David S. Miller  <davem@davemloft.net>
72758         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
72759         masking out of the most significant byte of random value used.
72760         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
72761         Fix coding style in previous change.
72763         * sysdeps/unix/sysv/linux/kernel-features.h
72764         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
72765         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
72766         expression.
72767         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
72768         later.
72770 2012-03-11  David S. Miller  <davem@davemloft.net>
72772         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
72773         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
72774         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
72775         for 'resultvar' otherwise things get truncated on 64-bit.
72777         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
72778         Fix masking out of the most significant byte of random value used.
72780         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72782 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
72784         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72786 2012-03-09  David S. Miller  <davem@davemloft.net>
72788         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
72789         variables with appropriate CPP guards.
72790         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
72791         from the frame pointer, not the stack pointer.  Correct layout
72792         comments.  Fix test on resulting framesize and the management of
72793         the outregs buffer for pltexit.  Preserve floating point return
72794         values across _dl_call_pltexit call.
72795         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
72796         framesize and the management of the outregs buffer for pltexit.
72797         Preserve floating point return values across _dl_call_pltexit
72798         call.
72799         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
72800         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
72801         (la_sparc64_gnu_pltexit): New functions.
72802         (print_exit): Fix format string for return register value.
72804 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
72806         * sunrpc/Makefile (others): Add rpcgen.
72807         ($(objpfx)rpcgen): Remove special build rule and dependency on
72808         libc.
72809         * sunrpc/rpcgen.c: New file.
72811 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
72813         [BZ #13673]
72814         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
72815         * stdio-common/bug-vfprintf-nargs.c: Likewise.
72816         * sysdeps/i386/crti.S: Likewise.
72817         * sysdeps/i386/crtn.S: Likewise.
72818         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
72819         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
72820         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
72821         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
72822         * sysdeps/sh/crti.S: Likewise.
72823         * sysdeps/sh/crtn.S: Likewise.
72824         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
72826         [BZ #13673]
72827         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
72828         with URL.
72829         * locale/programs/locfile-kw.gperf: Likewise.
72830         * locale/programs/charmap-kw.h: Regenerated.
72831         * locale/programs/locfile-kw.h: Likewise.
72833         [BZ #13673]
72834         * intl/plural.y: Replace FSF snail mail address with URL.
72835         * intl/plural.c: Regenerated.
72837 2012-03-09  Richard Henderson  <rth@twiddle.net>
72839         * include/math_private.h: Remove file.
72840         * math/math_private.h: Move file ...
72841         * sysdeps/generic/math_private.h: ... here.
72843         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
72844         * sysdeps/powerpc/fpu/math_private.h: Likewise.
72845         * sysdeps/x86_64/fpu/math_private.h: Likewise.
72847         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
72848         and <math_private.h>.
72849         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
72850         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
72851         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
72852         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
72853         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
72854         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
72855         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
72856         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72857         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
72858         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72859         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72860         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
72861         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
72862         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72863         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
72864         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
72865         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
72866         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
72867         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
72868         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
72869         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72870         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
72871         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
72872         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72873         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
72874         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
72875         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
72876         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72877         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72878         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
72879         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
72880         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72881         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
72882         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
72883         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
72884         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
72885         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
72886         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
72887         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
72888         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72889         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
72890         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
72891         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
72892         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
72893         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
72894         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
72895         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
72896         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
72897         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
72898         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
72899         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
72900         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
72901         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
72902         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
72903         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
72904         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
72905         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
72906         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
72907         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
72908         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
72909         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
72910         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
72911         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72912         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
72913         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
72914         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
72915         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
72916         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
72917         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
72918         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
72919         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
72920         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
72921         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
72922         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
72923         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
72924         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
72925         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
72926         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
72927         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
72928         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
72929         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
72930         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
72931         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
72932         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
72933         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
72934         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
72935         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
72936         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
72937         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
72938         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
72939         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
72940         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
72941         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72942         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
72943         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
72944         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
72945         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
72946         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
72947         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
72948         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
72949         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
72950         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
72951         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
72952         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
72953         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
72954         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
72955         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
72956         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
72957         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
72958         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
72959         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
72960         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
72961         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
72962         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
72963         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
72964         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
72965         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
72966         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
72967         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
72968         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
72969         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
72970         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
72971         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
72972         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
72973         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
72974         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
72975         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
72976         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
72977         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
72978         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
72979         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
72980         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
72981         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
72982         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
72983         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
72984         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
72985         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
72986         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
72987         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
72988         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
72989         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
72990         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
72991         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
72992         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
72993         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
72994         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
72995         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
72996         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
72997         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
72998         * sysdeps/ieee754/k_standard.c: Likewise.
72999         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
73000         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
73001         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
73002         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
73003         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
73004         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
73005         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
73006         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
73007         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
73008         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
73009         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
73010         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
73011         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
73012         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
73013         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
73014         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
73015         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
73016         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
73017         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
73018         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
73019         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
73020         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
73021         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
73022         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
73023         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
73024         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
73025         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
73026         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
73027         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
73028         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
73029         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
73030         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
73031         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
73032         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
73033         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
73034         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
73035         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
73036         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
73037         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
73038         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
73039         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
73040         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
73041         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
73042         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
73043         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
73044         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
73045         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
73046         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
73047         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
73048         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
73049         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
73050         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
73051         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
73052         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
73053         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
73054         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
73055         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
73056         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
73057         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
73058         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
73059         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
73060         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
73061         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
73062         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
73063         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
73064         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
73065         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
73066         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
73067         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
73068         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
73069         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
73070         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
73071         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
73072         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
73073         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
73074         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
73075         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
73076         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
73077         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
73078         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
73079         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
73080         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
73081         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
73082         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
73083         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
73084         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
73085         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
73086         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
73087         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
73088         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
73089         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
73090         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
73091         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
73092         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
73093         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
73094         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
73095         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
73096         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
73097         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
73098         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
73099         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
73100         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
73101         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
73102         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
73103         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
73104         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
73105         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
73106         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
73107         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
73108         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
73109         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
73110         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
73111         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
73112         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
73113         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
73114         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
73115         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
73116         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
73117         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
73118         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
73119         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
73120         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
73121         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
73122         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
73123         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
73124         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
73125         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
73126         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
73127         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
73128         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
73129         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
73130         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
73131         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
73132         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
73133         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
73134         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
73135         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
73136         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
73137         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
73138         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
73139         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
73140         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
73141         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
73142         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
73143         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
73144         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
73145         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
73146         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
73147         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
73148         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
73149         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
73150         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
73151         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
73152         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
73153         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
73154         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
73155         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
73156         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
73157         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
73158         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
73159         * sysdeps/ieee754/s_lib_version.c: Likewise.
73160         * sysdeps/ieee754/s_matherr.c: Likewise.
73161         * sysdeps/ieee754/s_signgam.c: Likewise.
73162         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
73163         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
73164         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
73165         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
73166         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
73167         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
73168         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
73169         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
73170         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
73171         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
73172         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
73173         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
73174         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
73175         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
73176         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
73177         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
73178         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
73179         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
73180         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
73181         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
73182         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
73184 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
73186         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
73187         * sunrpc/rpc_main.c: Likewise.
73188         * sunrpc/rpc_svcout.c: Likewise.
73190 2012-03-09  David S. Miller  <davem@davemloft.net>
73192         * include/math_private.h: New file.
73194 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
73196         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
73197         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
73198         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
73199         from <bits/socket_type.h>.
73200         (enum __socket_type): Don't define here.
73201         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
73202         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73203         bits/socket_type.h.
73205         [BZ #13566]
73206         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
73207         checking __USE_GNU.
73209         * Makerules ($(inst_includedir)/%.h): New rule.
73210         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
73211         (install-others): Remove variable setting.
73212         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
73214 2012-03-08  Richard Henderson  <rth@twiddle.net>
73216         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
73217         from macro to inline function; merge with the
73218         !__LIBC_INTERNAL_MATH_INLINES version.
73219         (__ieee754_sqrtf): Likewise.
73221         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
73222         to inline function.
73223         (__rintf, __floor, __floorf): Likewise.
73225         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
73226         macro to inline function.
73227         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
73229         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
73230         not <math/math_private.h>.
73232 2012-03-08  David S. Miller  <davem@davemloft.net>
73234         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
73235         copyright year.
73236         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
73238 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
73240         * resolv/gai_misc.c (handle_requests): Fix struct timespec
73241         normalization.
73242         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
73243         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
73245 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
73247         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
73248         be defined individually, they must be defined as a block.  Define
73249         S for printing a string instead of hidint the different by using a
73250         macro for adding the 'l'.
73251         * stdio-common/tst-fphex-wide.c: Adjust.
73253 2012-03-07  Marek Polacek  <polacek@redhat.com>
73255         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
73257 2012-03-08  Marek Polacek  <polacek@redhat.com>
73259         [BZ #13806]
73260         * stdio-common/Makefile (tests): Add tst-fphex-wide.
73261         * stdio-common/tst-fphex.c: Define a few macros to make the
73262         test reusable.  Use them.
73263         * stdio-common/tst-fphex-wide.c: New file.
73265 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
73267         [BZ #6911]
73268         * manual/macros.texi (gnusystems): New macro.
73269         (nongnusystems): Likewise.
73270         (gnulinuxhurdsystems): Likewise.
73271         (gnuhurdsystems): Likewise..
73272         (gnulinuxsystems): Likewise.
73273         * manual/charset.texi: Use new macros or @theglibc{} to refer to
73274         variants of the GNU system, not "GNU system".
73275         * manual/conf.texi: Likewise.
73276         * manual/errno.texi: Likewise.  Update example of errno macro
73277         expansion.
73278         * manual/filesys.texi: Likewise.
73279         (getumask): Document as specific to GNU/Hurd.
73280         * manual/install.texi: Likewise.  Reword some references to
73281         GNU/Linux.
73282         * manual/intro.texi: Likewise.
73283         * manual/io.texi: Likewise.
73284         (File Name Portability): Detail which constraints are inapplicable
73285         to all GNU systems and which are only inapplicable to GNU/Hurd.
73286         * manual/job.texi: Likewise.
73287         * manual/llio.texi: Likewise.
73288         (O_NOCTTY): Document as present on GNU/Linux.
73289         * manual/maint.texi: Likewise.
73290         * manual/memory.texi: Likewise.
73291         * manual/pattern.texi: Likewise.
73292         * manual/pipe.texi: Likewise.
73293         * manual/process.texi: Likewise.
73294         * manual/resource.texi: Likewise.
73295         (RUSAGE_CHILDREN): Remove statement about specifying a particular
73296         child on GNU/Hurd.
73297         * manual/setjmp.texi: Likewise.
73298         * manual/signal.texi: Likewise.
73299         * manual/startup.texi: Likewise.
73300         * manual/stdio.texi: Likewise.
73301         * manual/terminal.texi: Likewise.
73302         (ONLCR): Document as POSIX.
73303         (OXTABS): Document availability on GNU/Linux as XTABS.
73304         (ONOEOT): Document availability separately from other bits.
73305         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
73306         * manual/time.texi: Likewise.
73307         * manual/users.texi: Likewise.
73308         * INSTALL: Regenerated.
73309         * sysdeps/gnu/errlist.c: Regenerated.
73311         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
73312         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
73313         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
73314         puts.
73315         * configure: Regenerated.
73317 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
73319         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
73320         default includes instead of AC_HEADER_CHECK.
73321         * sysdeps/i386/configure: Regenerated.
73323         [BZ #10716]
73324         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
73325         * math/s_cacoshf.c (__cacoshf): Likewise.
73326         * math/s_cacoshl.c (__cacoshl): Likewise.
73327         * math/s_casinh.c (__casinh): Set signs of result from argument.
73328         * math/s_casinhf.c (__casinhf): Likewise.
73329         * math/s_casinhl.c (__casinhl): Likewise.
73330         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
73331         (casinh_test): Add more tests.
73332         * sysdeps/i386/fpu/libm-test-ulps: Update.
73333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73335 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
73337         * po/zh_TW.po: Update from translation team.
73339         * login/Makefile (distribute): Remove variable.
73340         * catgets/Makefile: Likewise.
73341         * mach/Makefile: Likewise.
73342         * malloc/Makefile: Likewise.
73343         * misc/Makefile: Likewise.
73344         * iconv/Makefile: Likewise.
73345         * nscd/Makefile: Likewise.
73346         * hurd/Makefile: Likewise.
73347         * manual/Makefile: Likewise.
73348         * locale/Makefile: Likewise.
73349         * intl/Makefile: Likewise.
73350         * conform/Makefile: Likewise.
73351         * nss/Makefile: Likewise.
73352         * time/Makefile: Likewise.
73353         * soft-fp/Makefile: Likewise.
73354         * dirent/Makefile: Likewise.
73355         * gmon/Makefile: Likewise.
73356         * po/Makefile: Likewise.
73357         * rt/Makefile: Likewise.
73358         * socket/Makefile: Likewise.
73359         * math/Makefile: Likewise.
73360         * signal/Makefile: Likewise.
73361         * debug/Makefile: Likewise.
73362         * elf/Makefile: Likewise.
73363         * timezone/Makefile: Likewise.
73364         * stdlib/Makefile: Likewise.
73365         * iconvdata/Makefile: Likewise.
73366         * sunrpc/Makefile: Likewise.
73367         * io/Makefile: Likewise.
73368         * argp/Makefile: Likewise.
73369         * inet/Makefile: Likewise.
73370         * hesiod/Makefile: Likewise.
73371         * grp/Makefile: Likewise.
73372         * csu/Makefile: Likewise.
73373         * wctype/Makefile: Likewise.
73374         * crypt/Makefile: Likewise.
73375         * libio/Makefile: Likewise.
73376         * string/Makefile: Likewise.
73377         * nis/Makefile: Likewise.
73378         * resolv/Makefile: Likewise.
73379         * stdio-common/Makefile: Likewise.
73380         * wcsmbs/Makefile: Likewise.
73381         * dlfcn/Makefile: Likewise.
73382         * posix/Makefile: Likewise.
73384         [BZ #6959]
73385         * timezone/Makefile: Don't install timezone files, just the programs
73386         and scripts.
73388 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
73390         * nss/databases.def: Add missing gshadow entry.
73392         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
73394 2012-03-06  Marek Polacek  <polacek@redhat.com>
73396         [BZ #13726]
73397         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
73398         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
73399         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
73400         * stdio-common/tst-long-dbl-fphex.c: New file.
73402 2012-03-06  David S. Miller  <davem@davemloft.net>
73404         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
73405         (set_obp_int): New function.
73406         (get_obp_int): New function.
73407         (__get_clockfreq_via_dev_openprom): Likewise.
73408         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
73409         Avoid unused variable warnings on 'val' and use builtin_expect.
73410         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
73411         __builtin_expect.
73412         (INLINE_CLONE_SYSCALL): Likewise.
73414 2012-03-05  David S. Miller  <davem@davemloft.net>
73416         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73418 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
73420         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73422         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
73423         only for |x| >= 40.
73424         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
73426 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
73428         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
73429         Replace gettimeofday with __vdso_gettimeofday.
73431         * sysdeps/unix/sysv/linux/x86_64/init-first.c
73432         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
73433         __vdso_clock_gettime and __vdso_getcpu.
73435         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
73436         time with __vdso_time.
73438 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
73440         * manual/lang.texi (size_t): Note types to which size_t may be
73441         equivalent with the GNU C Library, but do not describe when
73442         differences between them are significant.
73444 2012-03-05  Andreas Jaeger  <aj@suse.de>
73446         * sysdeps/i386/fpu/libm-test-ulps: Update.
73448 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
73450         [BZ #3976]
73451         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
73452         (__ieee754_pow): Save and restore rounding mode and use
73453         round-to-nearest for main computations.
73454         * math/libm-test.inc (pow_test_tonearest): New function.
73455         (pow_test_towardzero): Likewise.
73456         (pow_test_downward): Likewise.
73457         (pow_test_upward): Likewise.
73458         (main): Call the new functions.
73459         * sysdeps/i386/fpu/libm-test-ulps: Update.
73460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73462         [BZ #3976]
73463         * math/libm-test.inc (cosh_test_tonearest): New function.
73464         (cosh_test_towardzero): Likewise.
73465         (cosh_test_downward): Likewise.
73466         (cosh_test_upward): Likewise.
73467         (sinh_test_tonearest): Likewise.
73468         (sinh_test_towardzero): Likewise.
73469         (sinh_test_downward): Likewise.
73470         (sinh_test_upward): Likewise.
73471         (main): Call the new functions.
73472         * sysdeps/i386/fpu/libm-test-ulps: Update.
73473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73475 2012-03-05  Tom de Vries  <tom@codesourcery.com>
73477         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
73478         default stack guard is set in last bytes.
73479         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
73481 2012-03-05  Kees Cook  <keescook@chromium.org>
73483         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
73485         [BZ #13656]
73486         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
73487         possibly allocate from heap instead of stack.
73488         * stdio-common/bug-vfprintf-nargs.c: New file.
73489         * stdio-common/Makefile (tests): Add nargs overflow test.
73491 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
73493         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73495 2012-03-03  Marek Polacek  <polacek@redhat.com>
73497         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
73498         * math/math_private.h: Likewise.
73499         * stdlib/tst-strtod.c: Likewise.
73500         * sysdeps/i386/i486/bits/atomic.h: Likewise.
73501         * sysdeps/x86_64/bits/atomic.h: Likewise.
73503 2012-03-02  David S. Miller  <davem@davemloft.net>
73505         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
73506         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
73507         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
73508         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
73509         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
73510         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
73511         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
73512         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
73514 2012-03-02  Roland McGrath  <roland@hack.frob.com>
73516         [BZ #13792]
73517         * manual/examples/README: New file, says the example source files
73518         can be used under GPL>=2.
73519         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
73520         line containing just "*/".
73521         * manual/examples/add.c: Add copyright header (GPL>=2).
73522         * manual/examples/argp-ex1.c: Likewise.
73523         * manual/examples/argp-ex2.c: Likewise.
73524         * manual/examples/argp-ex3.c: Likewise.
73525         * manual/examples/argp-ex4.c: Likewise.
73526         * manual/examples/atexit.c: Likewise.
73527         * manual/examples/db.c: Likewise.
73528         * manual/examples/dir.c: Likewise.
73529         * manual/examples/dir2.c: Likewise.
73530         * manual/examples/execinfo.c: Likewise.
73531         * manual/examples/filecli.c: Likewise.
73532         * manual/examples/filesrv.c: Likewise.
73533         * manual/examples/fmtmsgexpl.c: Likewise.
73534         * manual/examples/genpass.c: Likewise.
73535         * manual/examples/inetcli.c: Likewise.
73536         * manual/examples/inetsrv.c: Likewise.
73537         * manual/examples/isockad.c: Likewise.
73538         * manual/examples/longopt.c: Likewise.
73539         * manual/examples/memopen.c: Likewise.
73540         * manual/examples/memstrm.c: Likewise.
73541         * manual/examples/mkfsock.c: Likewise.
73542         * manual/examples/mkisock.c: Likewise.
73543         * manual/examples/mygetpass.c: Likewise.
73544         * manual/examples/pipe.c: Likewise.
73545         * manual/examples/popen.c: Likewise.
73546         * manual/examples/rprintf.c: Likewise.
73547         * manual/examples/search.c: Likewise.
73548         * manual/examples/select.c: Likewise.
73549         * manual/examples/setjmp.c: Likewise.
73550         * manual/examples/sigh1.c: Likewise.
73551         * manual/examples/sigusr.c: Likewise.
73552         * manual/examples/stpcpy.c: Likewise.
73553         * manual/examples/strdupa.c: Likewise.
73554         * manual/examples/strftim.c: Likewise.
73555         * manual/examples/strncat.c: Likewise.
73556         * manual/examples/subopt.c: Likewise.
73557         * manual/examples/swapcontext.c: Likewise.
73558         * manual/examples/termios.c: Likewise.
73559         * manual/examples/testopt.c: Likewise.
73560         * manual/examples/testpass.c: Likewise.
73561         * manual/examples/timeval_subtract.c: Likewise.
73563         [BZ #13792]
73564         * manual/time.texi (Elapsed Time): Move timeval_subtract example
73565         function to ...
73566         * manual/timeval_subtract.c.texi: ... here, new file.
73568 2012-03-02  David S. Miller  <davem@davemloft.net>
73570         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
73572 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
73574         [BZ #3976]
73575         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
73576         (__sin): Save and restore rounding mode and use round-to-nearest
73577         for all computations.
73578         (__cos): Save and restore rounding mode and use round-to-nearest
73579         for all computations.
73580         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
73581         <fenv.h>.
73582         (tan): Save and restore rounding mode and use round-to-nearest for
73583         all computations.
73584         * math/libm-test.inc (cos_test_tonearest): New function.
73585         (cos_test_towardzero): Likewise.
73586         (cos_test_downward): Likewise.
73587         (cos_test_upward): Likewise.
73588         (sin_test_tonearest): Likewise.
73589         (sin_test_towardzero): Likewise.
73590         (sin_test_downward): Likewise.
73591         (sin_test_upward): Likewise.
73592         (tan_test_tonearest): Likewise.
73593         (tan_test_towardzero): Likewise.
73594         (tan_test_downward): Likewise.
73595         (tan_test_upward): Likewise.
73596         (main): Call the new functions.
73597         * sysdeps/i386/fpu/libm-test-ulps: Update.
73598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73600         [BZ #10135]
73601         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
73602         small n, then large n, before computing and testing k+n.
73603         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
73604         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
73605         Likewise.
73606         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
73607         Likewise.
73608         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
73609         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
73610         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
73611         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
73612         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
73613         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
73614         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
73615         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
73616         * math/libm-test.inc (scalbn_test): Add more tests.
73617         (scalbln_test): Likewise.
73619         * manual/filesys.texi (mode_t): Describe constraints on size and
73620         signedness, not exact equivalence to a particular type.
73621         (ino_t): Likewise.
73622         (ino64_t): Likewise.
73623         (dev_t): Likewise.
73624         (nlink_t): Likewise.
73625         (blkcnt_t): Likewise.
73626         (blkcnt64_t): Likewise.
73627         * manual/llio.texi (off_t): Likewise.
73629         [BZ #3976]
73630         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
73631         (__ieee754_exp): Save and restore rounding mode and use
73632         round-to-nearest for all computations.
73633         * math/libm-test.inc (exp_test_tonearest): New function.
73634         (exp_test_towardzero): Likewise.
73635         (exp_test_downward): Likewise.
73636         (exp_test_upward): Likewise.
73637         (main): Call the new functions.
73638         * sysdeps/i386/fpu/libm-test-ulps: Update.
73639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73641 2012-03-01  Chris Demetriou  <cgd@google.com>
73643         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
73644         have predictable order.
73646 2012-03-01  David S. Miller  <davem@davemloft.net>
73648         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
73650         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
73651         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
73652         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
73653         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
73655         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
73656         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
73657         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
73658         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
73659         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
73660         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
73661         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
73662         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
73663         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
73665         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73667         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
73668         * sysdeps/sparc/fpu/libm-test-ulps: to here.
73669         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
73671         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
73672         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
73673         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
73674         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
73675         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
73676         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
73677         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
73678         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
73679         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
73680         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
73681         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
73682         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
73683         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
73684         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
73685         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
73686         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
73687         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
73688         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
73689         * sysdeps/sparc/elf/configure: Regenerated.
73691 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
73693         * configure.in (AS, LD): Require binutils 2.20 or later.
73694         * configure: Regenerated.
73695         * manual/install.texi (Tools for Compilation): Give binutils 2.20
73696         as required minimum version.
73697         * INSTALL: Regenerated.
73699         [BZ #2541]
73700         [BZ #4108]
73701         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
73702         before squaring exponent.
73703         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
73704         bottom long double and 27 bits of top long double before squaring
73705         exponent.
73706         * math/libm-test.inc (erfc_test): Add more tests.
73707         * sysdeps/i386/fpu/libm-test-ulps: Update.
73708         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
73709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73711 2012-03-01  Kai Tietz  <ktietz@redhat.com>
73713         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
73714         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
73715         containing bit-fields.
73716         * soft-fp/extended.h (_FP_UNION_E): Likewise.
73717         * soft-fp/single.h (_FP_UNION_S): Likewise.
73718         * soft-fp/double.h (_FP_UNION_D): Likewise.
73720 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
73722         [BZ #13786]
73723         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
73724         not include ../strcmp.S.
73725         [USE_AS_STRNCASECMP_L]: Likewise.
73726         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
73727         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
73728         * sysdeps/i386/i686/multiarch/strncase_l-c.c
73729         (__strncasecmp_l_ia32): Define as alias to
73730         __strncasecmp_l_nonascii.
73732         [BZ #5794]
73733         * math/libm-test.inc (expm1_test): Add test for bug 5794.
73734         * sysdeps/i386/fpu/libm-test-ulps: Update.
73735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73737         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
73738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73740 2012-02-29  Jeff Law  <law@redhat.com>
73742         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
73743         out of bounds read.
73745 2012-02-29  Marek Polacek  <polacek@redhat.com>
73747         [BZ #13706]
73748         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
73749         * elf/Makefile: Add rules to run tst-unused-dep.out.
73751 2012-02-28  David S. Miller  <davem@davemloft.net>
73753         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
73754         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
73755         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
73756         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
73757         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
73758         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
73760 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
73762         * math/libm-test.inc (llround_test): Move one test from
73763         lround_test.  Use TEST_f_L in moved test.
73764         (lround_test): Move misplaced test to llround_test.  Add testcase
73765         from bug 2561.
73767 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
73769         * sysdeps/x86_64/fpu/e_expf.S: New file.
73770         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
73772 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
73774         [BZ #13637]
73775         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
73776         of remain_len that may cause incomplete multi-byte character and
73777         false match.
73778         * posix/bug-regex33.c: New file.
73779         * posix/Makefile (tests): Add bug-regex33.
73781 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
73783         * manual/macros.texi: New file.
73784         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
73785         * manual/libc.texinfo: Include macros.texi.
73786         * manual/creatute.texi: Likewise.
73787         * manual/install.texi: Likewise.
73788         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
73789         @glibcadj{} in references to the GNU C Library.
73790         * manual/charset.texi: Likewise.
73791         * manual/conf.texi: Likewise.
73792         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
73793         when not using those macros.
73794         * manual/creature.texi: Likewise.
73795         * manual/crypt.texi: Likewise.
73796         * manual/errno.texi: Likewise.
73797         * manual/filesys.texi: Likewise.
73798         * manual/header.texi: Likewise.
73799         * manual/install.texi: Likewise.
73800         * manual/intro.texi: Likewise.
73801         * manual/io.texi: Likewise.
73802         * manual/job.texi: Likewise.
73803         * manual/lang.texi: Likewise.
73804         * manual/libc.texiinfo: Likewise.
73805         * manual/llio.texi: Likewise.
73806         * manual/locale.texi: Likewise.
73807         * manual/maint.texi: Likewise.
73808         * manual/math.texi: Likewise.
73809         * manual/memory.texi: Likewise.
73810         * manual/message.texi: Likewise.
73811         * manual/nss.texi: Likewise.
73812         * manual/pattern.texi: Likewise.
73813         * manual/process.texi: Likewise.
73814         * manual/resource.texi: Likewise.
73815         * manual/search.texi: Likewise.
73816         * manual/setjmp.texi: Likewise.
73817         * manual/signal.texi: Likewise.
73818         * manual/socket.texi: Likewise.
73819         * manual/startup.texi: Likewise.
73820         * manual/stdio.texi: Likewise.
73821         * manual/string.texi: Likewise.
73822         * manual/sysinfo.texi: Likewise.
73823         * manual/syslog.texi: Likewise.
73824         * manual/terminal.texi: Likewise.
73825         * manual/time.texi: Likewise.
73826         * manual/users.texi: Likewise.
73827         * INSTALL: Regenerated.
73828         * NOTES: Regenerated.
73829         * sysdeps/gnu/errlist.c: Regenerated.
73831 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
73833         * include/dirent.h: Include <dirstream.h> before
73834         <dirent/dirent.h>.
73836 2012-02-28  David S. Miller  <davem@davemloft.net>
73838         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
73839         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
73840         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
73841         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
73843 2012-02-27  David S. Miller  <davem@davemloft.net>
73845         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
73846         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
73847         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
73848         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
73850         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
73851         frame pointer instead of stack pointer relative arg slot.
73852         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
73853         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
73854         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
73856 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
73858         [BZ #3992]
73859         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
73861 2012-02-27  David S. Miller  <davem@davemloft.net>
73863         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
73864         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
73865         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
73866         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
73867         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
73868         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
73869         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
73870         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
73872 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
73874         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
73875         later.  Allow versions 5-9.
73876         * configure: Regenerated.
73877         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
73878         required minimum version and 4.6 as recommended version.  Do not
73879         mention bugs in GCC 2.7 and 2.8.
73880         * INSTALL: Regenerated.
73882 2012-02-27  David S. Miller  <davem@davemloft.net>
73884         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
73885         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
73886         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
73887         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
73888         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
73889         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
73890         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
73891         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
73893         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
73894         manipulate bits before adding and subtracting TWO112[sx].
73895         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
73897 2012-02-27  Roland McGrath  <roland@hack.frob.com>
73899         [BZ #13775]
73900         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
73901         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
73902         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
73903         being in POSIX, because they are in 1003.1-2008.
73905         * rt/tst-aio.c: Include <fcntl.h>.
73906         * rt/tst-aio7.c: Likewise.
73907         * rt/tst-aio64.c: Likewise.
73909         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
73911 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
73913         * manual/install.texi (--with-headers): Describe headers as
73914         interface headers, not private headers.
73915         (Specific advice for GNU/Linux systems): Describe use of headers
73916         from "make headers_install", not private headers from older
73917         kernels.
73918         * INSTALL: Regenerated.
73919         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
73920         Change to 2.6.19.
73921         * sysdeps/unix/sysv/linux/configure: Regenerated.
73923         * manual/llio.texi (fclean): Remove documentation.
73925         * manual/Makefile (libc-texi-generated): New variable.  Include
73926         version.texi.
73927         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
73928         $(libc-texi-generated), not duplicated list of files.
73929         (version.texi, stamp-version): New rules.
73930         (realclean): Remove $(libc-texi-generated), not individual files
73931         from that list.  Do not remove dir-add.texinfo.
73932         * manual/libc.texinfo: Comment out uses of edition numbers and
73933         references to printed manual.  Remove last-updated dates.
73934         (EDITION): Comment out.
73935         (ISBN): Likewise.
73936         (VERSION, UPDATED): Remove.
73937         (version.texi): Include.
73939 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
73941         * sysdeps/posix/spawni.c: Include <signal.h>.
73942         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
73943         * sysdeps/pthread/aio_fsync.c: Likewise.
73945 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
73947         * conform/Makefile (tests): Run only when not cross-compiling and
73948         when fast-check is not defined.
73950         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
73951         * conform/data/limits.h-data: Fixes for POSIX2008.
73952         * conform/run-conformtest.sh: Run all tests.
73953         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
73954         headers.
73955         * include/bits/dlfcn.h: Likewise.
73956         * include/langinfo.h: Likewise.
73957         * include/monetary.h: Likewise.
73958         * include/sys/poll.h: Likewise.
73960         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
73961         for __USE_GNU.
73962         * posix/spawn.h: Define __need_sigset_t.
73963         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
73964         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
73965         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
73966         to get sigevent_t only.
73967         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
73968         only for __USE_GNU.
73969         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73970         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
73971         process_vm_writev only for __USE_GNU.
73972         * termios/termios.h: Declare tcgetsid also for POSIX2008.
73974         * conform/Makefile: For now ignore errors from run-conformtest.
73975         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
73976         POSIX to avoid namespace pollution.  Don't prepend headers.
73977         * conform/data/aio.h-data: Fixes for POSIX testing.
73978         * conform/data/fcntl.h-data: Likewise.
73979         * conform/data/glob.h-data: Likewise.
73980         * conform/data/grp.h-data: Likewise.
73981         * conform/data/pthread.h-data: Likewise.
73982         * conform/data/pwd.h-data: Likewise.
73983         * conform/data/signal.h-data: Likewise.
73984         * conform/data/spawn.h-data: Likewise.
73985         * conform/data/stdio.h-data: Likewise.
73986         * conform/data/stdlib.h-data: Likewise.
73987         * conform/data/stropts.h-data: Likewise.
73988         * conform/data/sys/mman.h-data: Likewise.
73989         * conform/data/sys/stat.h-data: Likewise.
73990         * conform/data/sys/types.h-data: Likewise.
73991         * conform/data/sys/wait.h-data: Likewise.
73992         * conform/data/time.h-data: Likewise.
73993         * conform/data/unistd.h-data: Likewise.
73994         * conform/data/utime.h-data: Likewise.
73996         * io/sys/stat.h: fchmod was always in POSIX.
73997         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
73998         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
73999         * rt/aio.h: Define __need_timespec before including <time.h>.
74000         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
74001         struct.  Add forward declaration of pthread_attr_t and use it in
74002         sigevent.
74003         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
74004         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
74005         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
74006         always remove CLK_TCK definition.
74008 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
74010         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
74012 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
74014         * conform/run-conformtest.sh: New file.
74015         * conform/Makefile: Run run-conformtest for tests.
74016         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
74017         support.
74019         * conform/data/uchar.h-data: New file.
74020         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
74021         * conform/data/arpa/inet.h-data: Likewise.
74022         * conform/data/assert.h-data: Likewise.
74023         * conform/data/complex.h-data: Likewise.
74024         * conform/data/cpio.h-data: Likewise.
74025         * conform/data/ctype.h-data: Likewise.
74026         * conform/data/dirent.h-data: Likewise.
74027         * conform/data/dlfcn.h-data: Likewise.
74028         * conform/data/errno.h-data: Likewise.
74029         * conform/data/fcntl.h-data: Likewise.
74030         * conform/data/float.h-data: Likewise.
74031         * conform/data/fmtmsg.h-data: Likewise.
74032         * conform/data/fnmatch.h-data: Likewise.
74033         * conform/data/ftw.h-data: Likewise.
74034         * conform/data/glob.h-data: Likewise.
74035         * conform/data/grp.h-data: Likewise.
74036         * conform/data/iconv.h-data: Likewise.
74037         * conform/data/inttypes.h-data: Likewise.
74038         * conform/data/langinfo.h-data: Likewise.
74039         * conform/data/libgen.h-data: Likewise.
74040         * conform/data/limits.h-data: Likewise.
74041         * conform/data/locale.h-data: Likewise.
74042         * conform/data/math.h-data: Likewise.
74043         * conform/data/monetary.h-data: Likewise.
74044         * conform/data/mqueue.h-data: Likewise.
74045         * conform/data/ndbm.h-data: Likewise.
74046         * conform/data/net/if.h-data: Likewise.
74047         * conform/data/netdb.h-data: Likewise.
74048         * conform/data/netinet/in.h-data: Likewise.
74049         * conform/data/nl_types.h-data: Likewise.
74050         * conform/data/poll.h-data: Likewise.
74051         * conform/data/pthread.h-data: Likewise.
74052         * conform/data/pwd.h-data: Likewise.
74053         * conform/data/regex.h-data: Likewise.
74054         * conform/data/sched.h-data: Likewise.
74055         * conform/data/search.h-data: Likewise.
74056         * conform/data/semaphore.h-data: Likewise.
74057         * conform/data/setjmp.h-data: Likewise.
74058         * conform/data/signal.h-data: Likewise.
74059         * conform/data/spawn.h-data: Likewise.
74060         * conform/data/stdarg.h-data: Likewise.
74061         * conform/data/stdio.h-data: Likewise.
74062         * conform/data/stdlib.h-data: Likewise.
74063         * conform/data/string.h-data: Likewise.
74064         * conform/data/strings.h-data: Likewise.
74065         * conform/data/stropts.h-data: Likewise.
74066         * conform/data/sys/ipc.h-data: Likewise.
74067         * conform/data/sys/mman.h-data: Likewise.
74068         * conform/data/sys/msg.h-data: Likewise.
74069         * conform/data/sys/resource.h-data: Likewise.
74070         * conform/data/sys/select.h-data: Likewise.
74071         * conform/data/sys/sem.h-data: Likewise.
74072         * conform/data/sys/shm.h-data: Likewise.
74073         * conform/data/sys/socket.h-data: Likewise.
74074         * conform/data/sys/stat.h-data: Likewise.
74075         * conform/data/sys/statvfs.h-data: Likewise.
74076         * conform/data/sys/time.h-data: Likewise.
74077         * conform/data/sys/timeb.h-data: Likewise.
74078         * conform/data/sys/times.h-data: Likewise.
74079         * conform/data/sys/types.h-data: Likewise.
74080         * conform/data/sys/uio.h-data: Likewise.
74081         * conform/data/sys/un.h-data: Likewise.
74082         * conform/data/sys/utsname.h-data: Likewise.
74083         * conform/data/sys/wait.h-data: Likewise.
74084         * conform/data/syslog.h-data: Likewise.
74085         * conform/data/tar.h-data: Likewise.
74086         * conform/data/termios.h-data: Likewise.
74087         * conform/data/utime.h-data: Likewise.
74088         * conform/data/utmpx.h-data: Likewise.
74089         * conform/data/varargs.h-data: Likewise.
74090         * conform/data/wchar.h-data: Likewise.
74091         * conform/data/wctype.h-data: Likewise.
74092         * conform/data/wordexp.h-data: Likewise.
74094         * include/stropts.h: New file.
74095         * include/uchar.h: New file.
74096         * include/aio.h: Changes to allow conformtest.pl to use the headers.
74097         * include/assert.h: Likewise.
74098         * include/ctype.h: Likewise.
74099         * include/dirent.h: Likewise.
74100         * include/dlfcn.h: Likewise.
74101         * include/fcntl.h: Likewise.
74102         * include/fnmatch.h: Likewise.
74103         * include/glob.h: Likewise.
74104         * include/grp.h: Likewise.
74105         * include/libio.h: Likewise.
74106         * include/locale.h: Likewise.
74107         * include/math.h: Likewise.
74108         * include/net/if.h: Likewise.
74109         * include/netdb.h: Likewise.
74110         * include/netinet/in.h: Likewise.
74111         * include/pthread.h: Likewise.
74112         * include/pwd.h: Likewise.
74113         * include/regex.h: Likewise.
74114         * include/sched.h: Likewise.
74115         * include/search.h: Likewise.
74116         * include/setjmp.h: Likewise.
74117         * include/signal.h: Likewise.
74118         * include/stdio.h: Likewise.
74119         * include/stdlib.h: Likewise.
74120         * include/string.h: Likewise.
74121         * include/sys/cdefs.h: Likewise.
74122         * include/sys/mman.h: Likewise.
74123         * include/sys/msg.h: Likewise.
74124         * include/sys/resource.h: Likewise.
74125         * include/sys/select.h: Likewise.
74126         * include/sys/socket.h: Likewise.
74127         * include/sys/stat.h: Likewise.
74128         * include/sys/statvfs.h: Likewise.
74129         * include/sys/time.h: Likewise.
74130         * include/sys/times.h: Likewise.
74131         * include/sys/uio.h: Likewise.
74132         * include/sys/utsname.h: Likewise.
74133         * include/sys/wait.h: Likewise.
74134         * include/termios.h: Likewise.
74135         * include/time.h: Likewise.
74136         * include/ulimit.h: Likewise.
74137         * include/unistd.h: Likewise.
74138         * include/utime.h: Likewise.
74139         * include/wchar.h: Likewise.
74140         * include/wctype.h: Likewise.
74141         * include/wordexp.h: Likewise.
74143         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
74145         * time/time.h: TIME_UTC must be a macro.
74146         Make timespec_get available for ISO C11 only as well.
74148 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
74150         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
74151         Reported by Peng Haitao <penght@cn.fujitsu.com>.
74153 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
74155         * configure.in: Use -o not -a in test for unsupported multi-arch.
74157 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
74159         * manual/texinfo.tex: Update to version 2012-01-19.16.
74161 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
74163         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
74165 2012-02-24  Roland McGrath  <roland@hack.frob.com>
74167         [BZ #13738]
74168         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
74169         * manual/fdl-1.3.texi: New file.
74170         * manual/fdl-1.1.texi: File removed.
74172         [BZ #13738]
74173         * manual/libc.texinfo (FDL_VERSION): New @set.
74174         Use it for mention of FDL in cover text.
74175         (Documentation License): Use it in @include file name.
74177 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
74178             Roland McGrath  <roland@hack.frob.com>
74180         [BZ #5461]
74181         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
74182         (not LONG_LONG_MAX and LONG_LONG_MIN.
74183         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
74184         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
74185         name.
74186         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
74188 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
74190         [BZ #2547]
74191         [BZ #11365]
74192         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
74193         manipulate bits before adding and subtracting TWO23[sx].
74194         * math/libm-test.inc (nearbyint_test): Add more tests.
74196 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
74198         [BZ #2548]
74199         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
74200         bits before adding and subtracting TWO23[sx].
74201         * math/libm-test.inc (rint_test): Add more tests.
74202         (rint_test_tonearest): Likewise.
74203         (rint_test_towardzero): Likewise.
74204         (rint_test_downward): Likewise.
74205         (rint_test_upward: Likewise.
74207 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
74209         [BZ #10110]
74210         * include/stdc-predef.h: New file.  Extracted from features.h.
74211         * include/features.h: Include stdc-predef.h.
74212         * Makefile (headers): Add stdc-predef.h.
74213         * CONFORMANCE (Compiler limitations): Update.
74215 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
74217         * manual/libc.texinfo (VERSION, UPDATED): Revert.
74219 2012-02-21  David S. Miller  <davem@davemloft.net>
74221         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
74222         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
74224 2012-02-20  David S. Miller  <davem@davemloft.net>
74226         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
74227         using a normal save/restore sequence, rather than allocating a
74228         dummy stack frame just to store a frame pointer and restore.
74229         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
74231 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
74233         * manual/install.texi: Fix stray word in line-wrapped comment.
74235 2012-02-20  David S. Miller  <davem@davemloft.net>
74237         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
74238         both binutils and gcc support GOTDATA.
74240         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
74241         "rd %pc" in the PIC register setup sequences.
74243         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
74244         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
74245         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
74246         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
74247         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
74248         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
74249         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
74250         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
74251         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
74252         (SYSCALL_ERROR_HANDLER): Likewise.
74253         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
74254         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
74255         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
74256         (SYSCALL_ERROR_HANDLER): Likewise.
74258         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
74259         (HAVE_GCC_GOTDATA): New.
74260         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
74261         relocation support in both binutils and gcc.
74262         * sysdeps/sparc/elf/configure: Regenerate.
74264         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
74265         * sysdeps/sparc/sparc32/elf/configure: Delete.
74266         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
74267         * sysdeps/sparc/sparc64/elf/configure: Delete.
74268         * sysdeps/sparc/elf/configure.in: New file.
74269         * sysdeps/sparc/elf/configure: Generate.
74271         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
74272         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
74273         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
74274         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
74275         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
74277 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
74279         * manual/install.texi: Do not mention specific glibc version
74280         numbers.
74281         * manual/libc.texinfo (VERSION, UPDATED): Update.
74282         (@copying): Use @copyright{} and range of years.
74284 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
74286         [BZ #13695]
74287         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
74288         [crti.S not in sysdirs] (generated): Do not append.
74289         [crti.S not in sysdirs] (omit-deps): Likewise.
74290         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
74291         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
74292         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
74293         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
74294         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
74295         Likewise.
74296         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
74297         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
74298         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
74299         * csu/defs.awk: Remove file.
74300         * sysdeps/generic/initfini.c: Likewise.
74301         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
74302         variable.
74303         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
74304         Likewise.
74306 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
74308         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
74309         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
74310         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
74311         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
74312         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
74313         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
74314         <bits/epoll.h>.
74315         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
74316         (__EPOLL_PACKED): Define to empty if not defined by
74317         <bits/epoll.h>.
74318         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
74319         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74320         bits/epoll.h.
74322 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
74324         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
74325         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
74326         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
74327         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
74328         <bits/timerfd.h>.
74329         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
74330         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74331         bits/timerfd.h.
74333 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
74335         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
74336         in C locale.
74337         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
74338         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
74339         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
74340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74342 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
74344         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74345         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
74347 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
74349         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
74350         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
74351         defined.
74352         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
74353         Likewise.
74354         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
74355         entry for 2.16.
74357 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
74359         * math/w_acos.c: Use non-signaling floating-point comparisons.
74360         * math/w_acosf.c: Likewise.
74361         * math/w_acosh.c: Likewise.
74362         * math/w_acoshf.c: Likewise.
74363         * math/w_acoshl.c: Likewise.
74364         * math/w_acosl.c: Likewise.
74365         * math/w_asin.c: Likewise.
74366         * math/w_asinf.c: Likewise.
74367         * math/w_asinl.c: Likewise.
74368         * math/w_atanh.c: Likewise.
74369         * math/w_atanhf.c: Likewise.
74370         * math/w_atanhl.c: Likewise.
74371         * math/w_exp2.c: Likewise.
74372         * math/w_exp2f.c: Likewise.
74373         * math/w_exp2l.c: Likewise.
74374         * math/w_j0.c: Likewise.
74375         * math/w_j0f.c: Likewise.
74376         * math/w_j0l.c: Likewise.
74377         * math/w_j1.c: Likewise.
74378         * math/w_j1f.c: Likewise.
74379         * math/w_j1l.c: Likewise.
74380         * math/w_jn.c: Likewise.
74381         * math/w_jnf.c: Likewise.
74382         * math/w_log.c: Likewise.
74383         * math/w_log10.c: Likewise.
74384         * math/w_log10f.c: Likewise.
74385         * math/w_log10l.c: Likewise.
74386         * math/w_log2.c: Likewise.
74387         * math/w_log2f.c: Likewise.
74388         * math/w_log2l.c: Likewise.
74389         * math/w_logf.c: Likewise.
74390         * math/w_logl.c: Likewise.
74391         * math/w_sqrt.c: Likewise.
74392         * math/w_sqrtf.c: Likewise.
74393         * math/w_sqrtl.c: Likewise.
74394         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
74395         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
74396         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
74397         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
74398         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
74400 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
74402         [BZ #9739]
74403         * manual/string.texi (strnlen): Use correct parameter name in
74404         equivalent expression.
74406 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
74408         [BZ #11174]
74409         * manual/users.texi (seteuid): Consistently use neweuid for
74410         argument name.
74412 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
74414         [BZ #13704]
74415         * manual/nss.texi (Services in the NSS configuration): Correct
74416         list of services in example configuration file.
74418 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
74420         [BZ #11322]
74421         * manual/arith.texi: Remove statements about negative zero
74422         behaving identically to zero.
74424 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
74426         [BZ #5993]
74427         * manual/install.texi: Do not document upgrading from libc5.
74429 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
74431         [BZ #4596]
74432         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
74434 2012-02-18  David S. Miller  <davem@davemloft.net>
74436         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
74437         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
74438         %o7 across the call.
74439         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
74440         instead.
74441         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
74442         SETUP_PIC_REG_LEAF.
74443         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
74444         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
74445         * sysdeps/sparc/crtn.S: Likewise.
74447 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
74449         * aout/Makefile: Remove.
74451 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
74453         [BZ #13058]
74454         * manual/examples/argp-ex1.c (main): Format definition in GNU
74455         style.
74456         * manual/examples/argp-ex2.c (main): Likewise.
74457         * manual/examples/argp-ex3.c (main): Likewise.
74458         * manual/examples/argp-ex4.c (main): Likewise.
74459         * manual/examples/longopt.c (main): Use new-style prototype
74460         definition.
74461         * manual/examples/strncat.c (main): Specify return type and use
74462         (void) for arguments.
74463         * manual/examples/subopt.c (main): Use char **argv argument.
74465 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
74467         [BZ #5077]
74468         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
74469         rounding modes.
74471 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
74473         [BZ #6907]
74474         * manual/string.texi (strchr): Change when strchrnul is
74475         recommended.
74477 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
74479         [BZ #174]
74480         * manual/locale.texi (setlocale): Document LOCPATH.
74482 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
74484         [BZ #10210]
74485         * manual/process.texi (execle): Move @dots{} before last argument.
74487 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
74489         [BZ #12047]
74490         * manual/charset.texi (Generic Charset Conversion): Fix typo
74491         (LC_TYPE -> LC_CTYPE).
74493 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
74495         [BZ #5805]
74496         * manual/arith.texi (scalbn): Use @var{} on parameter names.
74497         (scalbnf): Likewise.
74498         (scalbnl): Likewise.
74499         (scalbln): Likewise.
74500         (scalblnf): Likewise.
74501         (scalblnl): Likewise.
74502         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
74503         (vwarnx): Likewise.
74504         (verr): Likewise.
74505         (verrx): Likewise.
74506         * manual/filesys.texi (telldir): Use braces around return type.
74507         * manual/llio.texi (mmap): Add space after comma.
74508         (mmap64): Likewise.
74509         * manual/math.texi (jn): Use @var{} on parameter names.
74510         (jnf): Likewise.
74511         (jnl): Likewise.
74512         (yn): Likewise.
74513         (ynf): Likewise.
74514         (ynl): Likewise.
74515         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
74516         line.
74517         * manual/resource.texi (ulimit): Use @dots{} instead of literal
74518         "...".
74519         (sched_get_priority_min): Remove semicolon on @deftypefun line.
74520         (sched_get_priority_max): Likewise.
74521         * manual/signal.texi (sigvec): Add space after comma.
74522         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
74523         names.
74524         (if_indextoname): Likewise.
74525         (if_freenameindex): Likewise.
74526         (sendto): Use ',' instead of '.' in prototype.
74527         * manual/startup.texi (syscall): Use @dots{} instead of literal
74528         "...".
74529         * manual/stdio.texi (__fpending): Separate initial words of
74530         paragraph from @deftypefun line.
74531         * manual/syslog.texi (syslog): Use @dots{} instead of literal
74532         "...".
74533         (vsyslog): Use @var{} on parameter names.
74534         * manual/terminal.texi (stty): Use @var{} on parameter names.
74535         * manual/users.texi (getutmp): Use @var{} on parameter names.
74536         (getutmpx): Likewise.
74538 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
74540         [BZ #6884]
74541         * manual/stdio.texi (fopen): Fix typos in description of
74542         ",ccs=STRING".
74544 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
74546         [BZ #4026]
74547         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
74548         get clock_id definition.
74550 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
74552         [BZ #4822]
74553         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
74554         (madvise): Cast every argument to void on its own.
74556 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
74558         [BZ #9902]
74559         * manual/startup.texi (Exit Status): Fix typo.
74561 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
74563         [BZ #10140]
74564         * manual/examples/argp-ex1.c: Include <stdlib.h>.
74565         * manual/examples/argp-ex2.c: Likewise.
74566         * manual/examples/argp-ex3.c: Likewise.
74568 2012-02-16  Richard Henderson  <rth@redhat.com>
74570         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
74571         * sysdeps/s390/s390-32/initfini.c: Remove.
74572         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
74573         * sysdeps/s390/s390-64/initfini.c: Remove.
74575 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
74577         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
74578         compiler output for sysdeps/generic/initfini.c.
74579         * sysdeps/sh/elf/initfini.c: Remove file.
74581 2012-02-16  David S. Miller  <davem@davemloft.net>
74583         [BZ #11494]
74584         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
74586         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
74587         * sysdeps/sparc/crti.S: New file.
74588         * sysdeps/sparc/crtn.S: New file.
74589         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
74590         * sysdeps/sparc/sparc64/Makefile: Likewise.
74592 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
74594         [BZ #3335]
74595         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
74597 2012-02-15  Roland McGrath  <roland@hack.frob.com>
74599         [BZ #4822]
74600         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
74602         * mach/devstream.c (cookie_io_functions_t): Macro removed.
74603         (write, read, close): Likewise.
74604         Patch by Aurelien Jarno <aurelien@aurel32.net>.
74606 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
74608         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
74609         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
74610         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
74611         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
74612         <bits/signalfd.h>.
74613         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
74614         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74615         bits/signalfd.h.
74617 2012-02-14  Marek Polacek  <polacek@redhat.com>
74619         * sysdeps/x86_64/crti.S: New file.
74620         * sysdeps/x86_64/crtn.S: New file.
74621         * sysdeps/x86_64/elf/initfini.c: Remove file.
74623 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
74625         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
74626         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
74627         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
74628         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
74629         <bits/inotify.h>.
74630         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
74631         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74632         bits/inotify.h.
74634 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
74636         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
74637         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
74638         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
74639         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
74640         <bits/eventfd.h>.
74641         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
74642         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74643         bits/eventfd.h.
74645 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
74647         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
74648         __feraiseexcept instead of feraiseexcept.
74650         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
74651         nanosleep invocations.
74652         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
74653         strings, and add error checking for a nanosleep invocations.
74655 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
74657         Replace FSF snail mail address with URLs, as per GNU coding standards.
74658         Most of the snail mail addresses were wrong anyway, and omitting
74659         them makes the source code easier to maintain.  Almost all of the
74660         changes are to license notices and to locale LC_IDENTIFICATION
74661         addresses, except for this one:
74662         * manual/libc.texinfo: In "Published by", give the FSF's URL,
74663         not its snail mail address.
74665 2012-02-09  Richard Henderson  <rth@twiddle.net>
74667         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
74668         of kernel-features.h.
74670         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
74672 2012-02-08  Marek Polacek  <polacek@redhat.com>
74674         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
74675         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
74676         * sysdeps/gnu/_G_config.h: Likewise.
74677         * sysdeps/generic/_G_config.h: Likewise.
74679 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
74681         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
74682         tests.
74683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74685         * sysdeps/powerpc/powerpc32/crti.S: New file.
74686         * sysdeps/powerpc/powerpc32/crtn.S: New file.
74687         * sysdeps/powerpc/powerpc64/crti.S: New file.
74688         * sysdeps/powerpc/powerpc64/crtn.S: New file.
74690         * Makeconfig (have-initfini): Don't set.
74691         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
74692         * configure.in (nopic_initfini): Don't substitute.
74693         * config.h.in (HAVE_INITFINI): Don't #undef.
74694         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
74695         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
74697 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
74699         Support crti.S and crtn.S provided directly by architectures.
74700         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
74701         [crti.S in sysdirs] (omit-deps): Likewise.
74702         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
74703         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
74704         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
74705         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
74706         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
74707         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
74708         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
74709         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
74710         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
74711         compiler output for sysdeps/generic/initfini.c.
74712         * sysdeps/i386/elf/Makefile: Remove file.
74713         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
74715 2012-02-07  Marek Polacek  <polacek@redhat.com>
74717         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
74718         * sysdeps/gnu/_G_config.h: Likewise.
74719         * sysdeps/mach/hurd/_G_config.h: Likewise.
74721 2012-02-07  Marek Polacek  <polacek@redhat.com>
74723         * math/Makefile (tests): Add tst-CMPLX2.
74724         * math/tst-CMPLX2.c: New file.
74726 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
74728         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74730         * math/libm-test.inc (jn_test): Add missing L suffix.
74732 2012-02-06  Marek Polacek  <polacek@redhat.com>
74734         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
74735         * sysdeps/i386/fpu/e_powf.S: Likewise.
74736         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
74737         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
74738         * sysdeps/i386/fpu/e_acosh.S: Likewise.
74739         * sysdeps/i386/fpu/e_pow.S: Likewise.
74740         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
74741         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
74742         * sysdeps/i386/fpu/s_expm1.S: Likewise.
74743         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
74744         * sysdeps/i386/fpu/e_log2.S: Likewise.
74745         * sysdeps/i386/fpu/e_log2l.S: Likewise.
74746         * sysdeps/i386/fpu/e_scalb.S: Likewise.
74747         * sysdeps/i386/fpu/e_powl.S: Likewise.
74748         * sysdeps/i386/fpu/s_log1p.S: Likewise.
74749         * sysdeps/i386/fpu/e_log10f.S: Likewise.
74750         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
74751         * sysdeps/i386/fpu/e_logl.S: Likewise.
74752         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
74753         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
74754         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
74755         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
74756         * sysdeps/i386/fpu/e_log2f.S: Likewise.
74757         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
74758         * sysdeps/i386/fpu/e_log.S: Likewise.
74759         * sysdeps/i386/fpu/s_cexp.S: Likewise.
74760         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
74761         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
74762         * sysdeps/i386/fpu/e_logf.S: Likewise.
74763         * sysdeps/i386/fpu/e_log10l.S: Likewise.
74764         * sysdeps/i386/fpu/e_atanh.S: Likewise.
74765         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
74766         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
74767         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
74768         * sysdeps/i386/fpu/e_log10.S: Likewise.
74769         * sysdeps/i386/fpu/s_frexp.S: Likewise.
74770         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
74771         * sysdeps/i386/fpu/s_asinh.S: Likewise.
74772         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
74773         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
74774         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
74775         * sysdeps/i386/asm-syntax.h: Likewise.
74776         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
74777         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
74778         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
74779         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
74780         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
74781         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
74782         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
74783         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
74784         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
74785         * sysdeps/powerpc/sysdep.h: Likewise.
74786         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
74787         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
74789 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
74791         [BZ #411]
74792         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
74794 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
74796         * sysdeps/i386/sysdep.h: Include <features.h>.
74797         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
74798         version.
74800 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
74802         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
74803         Define.
74804         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
74805         LOAD_PIC_REG_STR.
74807 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
74809         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
74810         (SETUP_PIC_REG): Use GET_PC_THUNK.
74811         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
74812         macro.
74814 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
74816         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
74817         for non-PIC compilation.
74818         (SETUP_PIC_REG): Add .p2align directive.
74819         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
74820         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
74821         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
74822         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
74823         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
74824         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
74825         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
74826         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
74827         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
74828         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
74829         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
74830         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
74831         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
74832         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
74833         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
74834         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
74835         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
74836         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
74837         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
74838         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
74839         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
74840         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
74841         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
74842         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
74843         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
74844         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
74845         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
74846         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
74847         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
74848         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
74849         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
74850         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
74851         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
74852         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
74853         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
74854         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
74855         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
74856         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
74857         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
74858         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
74859         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
74861 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
74863         * math/tst-CMPLX.c: Include <stdio.h>.
74865 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
74867         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
74868         float.
74869         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
74870         * sysdeps/sparc/bits/mathdef.h: Likewise.
74872 2012-01-31  Marek Polacek  <polacek@redhat.com>
74874         * libio/libio.h: Don't define _PARAMS.
74875         * locale/programs/config.h: Don't define PARAMS.
74876         * stdlib/strtol_l.c: Likewise.
74877         (__strtol_l): Remove PARAMS from the prototype.
74879 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
74881         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
74882         names.  Just use the correct names.  Remove unnecessary wrapper
74883         functions.
74884         * malloc/arena.c: Likewise.
74885         * malloc/hooks.c: Likewise.
74887         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
74888         ARENA_TEST says not to.  Simplify test for creation of a new arena.
74889         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
74891 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
74893         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
74894         into tail calls.
74895         (update_get_addr): New function.
74896         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
74897         GET_ADDR_MODULE parameter.
74899 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
74901         * crypt/cert.c: Remove __STDC__ conditionals.
74902         * crypt/crypt-entry.c: Likewise.
74903         * crypt/crypt_util.c: Likewise.
74904         * libio/filedoalloc.c: Likewise.
74905         * libio/fileops.c: Likewise.
74906         * libio/genops.c: Likewise.
74907         * libio/iofclose.c: Likewise.
74908         * libio/iofdopen.c: Likewise.
74909         * libio/iofopen.c: Likewise.
74910         * libio/iofopen64.c: Likewise.
74911         * libio/iogetdelim.c: Likewise.
74912         * libio/iopopen.c: Likewise.
74913         * libio/obprintf.c: Likewise.
74914         * libio/oldfileops.c: Likewise.
74915         * libio/oldiofclose.c: Likewise.
74916         * libio/oldiofdopen.c: Likewise.
74917         * libio/oldiofopen.c: Likewise.
74918         * libio/oldiopopen.c: Likewise.
74919         * libio/wfiledoalloc.c: Likewise.
74920         * libio/wgenops.c: Likewise.
74921         * locale/programs/xmalloc.c: Likewise.
74922         * misc/syslog.c: Likewise.
74923         * stdio-common/xbug.c: Likewise.
74924         * string/memchr.c: Likewise.
74925         * string/memcmp.c: Likewise.
74926         * string/memrchr.c: Likewise.
74927         * string/rawmemchr.c: Likewise.
74928         * sysdeps/posix/getcwd.c: Likewise.
74929         * time/strftime_l.c: Likewise.
74931 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
74933         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
74934         * config.make.in (config-cflags-sse2avx): Define.
74935         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
74936         Fix typo.
74938 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
74940         * scripts/config.guess: Update from upstream config git repository.
74941         * scripts/config.sub: Likewise.
74943 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
74945         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
74946         (EM_NUM): Update.
74947         (R_TILEPRO_*, R_TILEGX_*): New macros.
74949         * scripts/firstversions.awk: Fix bug in version range handling.
74951         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
74953         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
74955         * include/sys/epoll.h: New file.
74956         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
74957         libc_hidden_def.
74959 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
74961         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
74962         Avoid unnecessary __WORDSIZE == 64 test.
74963         (fmaxf): Use VEX format if possible.
74964         (fmax): Likewise.
74965         (fminf): Likewise.
74966         (fmin): Likewise.
74968         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
74969         * math/math_private.h: Remove libc_fegetround* and
74970         libc_fesetround*.
74971         * sysdeps/i386/configure.in: Check for -msse2avx.
74972         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
74973         also if SSE2AVX is defined.
74974         Remove libc_fegetround* and libc_fesetround*.
74975         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
74976         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
74977         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
74978         of HAS_YMM_USABLE.
74979         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
74980         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
74981         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
74982         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
74983         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
74985         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
74987 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74989         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
74990         size is not set.
74991         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
74993 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
74995         [BZ #13618]
74996         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
74997         relocation.
74998         * Makeconfig (libm): Define.
74999         * elf/Makefile: Add rules to build and run tst-relsort1.
75000         * elf/tst-relsort1.c: New file.
75001         * elf/tst-relsort1mod1.c: New file.
75002         * elf/tst-relsort1mod2.c: New file.
75004 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
75006         * math/s_ldexp.c: Remove __STDC__ conditionals.
75007         * math/s_ldexpf.c: Likewise.
75008         * math/s_ldexpl.c: Likewise.
75009         * math/s_nextafter.c: Likewise.
75010         * math/s_nexttowardf.c: Likewise.
75011         * math/s_significand.c: Likewise.
75012         * math/s_significandf.c: Likewise.
75013         * math/s_significandl.c: Likewise.
75014         * math/w_jnl.c: Likewise.
75015         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
75016         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
75017         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
75018         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
75019         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
75020         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
75021         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
75022         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
75023         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
75024         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
75025         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
75026         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75027         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
75028         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
75029         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
75030         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
75031         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
75032         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
75033         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
75034         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
75035         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
75036         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
75037         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
75038         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
75039         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
75040         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
75041         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
75042         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
75043         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
75044         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
75045         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
75046         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
75047         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
75048         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
75049         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
75050         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
75051         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
75052         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
75053         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
75054         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
75055         * sysdeps/ieee754/k_standard.c: Likewise.
75056         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
75057         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
75058         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
75059         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
75060         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
75061         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
75062         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
75063         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
75064         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
75065         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
75066         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
75067         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
75068         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
75069         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
75070         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
75071         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
75072         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
75073         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
75074         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
75075         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
75076         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
75077         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
75078         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
75079         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
75080         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
75081         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
75082         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
75083         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
75084         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
75085         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
75086         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
75087         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
75088         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
75089         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
75090         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
75091         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
75092         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
75093         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
75094         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
75095         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
75096         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
75097         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
75098         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
75099         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
75100         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
75101         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
75102         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
75103         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
75104         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
75105         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
75106         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
75107         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
75108         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
75109         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
75110         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
75111         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
75112         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
75113         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
75114         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
75115         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
75116         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
75117         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
75118         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
75119         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
75120         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
75121         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
75122         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
75123         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
75124         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
75125         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
75126         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
75127         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
75128         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
75129         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
75130         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
75131         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
75132         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
75133         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
75134         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
75135         * sysdeps/ieee754/s_matherr.c: Likewise.
75136         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
75137         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
75138         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
75139         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
75141 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
75143         * crypt/md5.h: Remove __STDC__ conditionals.
75144         * libio/libioP.h: Likewise.
75145         * locale/programs/config.h: Likewise.
75146         * sysdeps/generic/sysdep.h: Likewise.
75147         * sysdeps/i386/asm-syntax.h: Likewise.
75148         * sysdeps/s390/asm-syntax.h: Likewise.
75149         * sysdeps/unix/sysdep.h: Likewise.
75150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
75151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
75153 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
75155         * libio/libio.h: Remove __STDC__ conditionals.
75156         * malloc/obstack.h: Likewise.
75157         * math/complex.h: Likewise.
75158         * math/math.h: Likewise.
75159         * sysdeps/generic/_G_config.h: Likewise.
75160         * sysdeps/gnu/_G_config.h: Likewise.
75161         * sysdeps/mach/hurd/_G_config.h: Likewise.
75162         * sysdeps/powerpc/bits/mathdef.h: Likewise.
75163         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
75164         * sysdeps/sparc/bits/mathdef.h: Likewise.
75166 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
75168         [BZ #13583]
75169         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
75170         Clean up HAS_* macros.
75171         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
75172         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
75173         possible.
75174         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
75175         HAS_AVX.
75176         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
75177         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
75178         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
75179         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
75180         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
75182 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
75184         * elf/tst-unique3.cc (gets): Remove declaration.
75185         * elf/tst-unique3lib.cc (gets): Likewise.
75186         * elf/tst-unique3lib2.cc (gets): Likewise.
75187         * elf/tst-unique4.cc (gets): Likewise.
75189 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
75191         * include/stdio.h: Add C++ protection.  Add gets declarations and
75192         definitions.
75193         * debug/tst-chk1.c: Don't declare gets here.
75194         * stdio-common/tst-gets.c: Likewise.
75196 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
75198         * posix/glob: Remove directory.
75200 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
75202         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
75204 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
75206         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
75207         of the non-standard EPFNOSUPPORT.
75209 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75211         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
75212         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
75213         ANYWHERE set to 1 only on KERN_NO_SPACE error.
75215 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
75217         * wcsmbs/uchar.h: Test __STDC_VERSION__.
75219 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
75221         * nscd/aicache.c (addhstaiX): Do not cache negative results of
75222         transient errors.
75223         * nscd/grpcache.c (cache_addgr): Likewise.
75224         * nscd/hstcache.c (cache_addhst): Likewise.
75225         * nscd/initgrcache.c (addinitgroupsX): Likewise.
75226         * nscd/pwdcache.c (cache_addpw): Likewise.
75227         * nscd/servicescache.c (cache_addserv): Likewise.
75229 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
75231         * malloc/malloc.c: Various cleanups.
75232         * malloc/hooks.c: Likewise.
75234         * stdlib/Makefile (tests): Add bug-fmtmsg1.
75235         * stdlib/bug-fmtmsg1.c: New file.
75237         * stdlib/fmtmsg.c (init): Add missing unlock.
75238         Patch by Peng Haitao <penght@cn.fujitsu.com>.
75240 2012-01-12  Marek Polacek  <polacek@redhat.com>
75242         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
75243         and _GNU_SOURCE.
75245 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
75247         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
75248         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
75249         macro to ensure uniqueness of label name.
75250         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
75251         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
75253 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
75255         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
75257         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
75258         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
75259         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
75260         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
75262 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
75264         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
75266         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
75267         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
75268         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
75270         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
75272         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
75273         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
75274         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
75275         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
75277         * math/bits/math-finite.h: Add ldexp support.
75279 2012-01-10  Marek Polacek  <polacek@redhat.com>
75281         * locale/programs/localedef.h (show_archive_content): Add noreturn
75282         attribute.
75284 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
75286         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
75288 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
75290         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
75292         * io/Makefile (headers): Add bits/poll2.h.
75294 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
75296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
75297         typo #include statement.
75299 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
75301         * include/sys/cdefs.h: Define __attribute_alloc_size.
75302         * catgets/gencat.c: Add alloc_size attribute and apply consistently
75303         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
75304         * elf/pldd.c: Likewise.
75305         * iconv/iconv_charmap.c: Likewise.
75306         * iconv/iconvconfig.c: Likewise.
75307         * iconv/strtab.c: Likewise.
75308         * locale/programs/locale.c: Likewise.
75309         * locale/programs/localedef.h: Likewise.
75310         * locale/programs/simple-hash.c: Likewise.
75311         * nscd/nscd.h: Likewise.
75312         * nss/makedb.c: Likewise.
75313         * sysdeps/generic/ldconfig.h: Likewise.
75314         * locale/programs/localedef.c: Remove xmalloc prototype.
75315         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
75317 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
75319         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
75320         appropriate.
75322 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
75324         * math/Makefile (tests): Add tst-CMPLX.
75325         * math/tst-CMPLX.c: New file.
75327         * math/complex.h (CMPLXL): Fix typo.
75329         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
75330         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
75331         GLIBC_2.16.
75332         * debug/tst-chk1.c: Add poll and ppoll tests.
75333         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
75334         * include/sys/poll.h: Add hidden proto for ppoll.
75335         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
75336         * sysdeps/mach/hurd/ppoll.c: Likewise.
75337         * io/ppoll.c: Likewise.
75338         * debug/poll_chk.c: New file.
75339         * debug/ppoll_chk.c: New file.
75340         * include/bits/poll2.h: New file.
75341         * io/bits/poll2.h: New file.
75343         [BZ #1350]
75344         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
75346         * configure.in: static is always set to yes.  Remove.
75347         * config.make.in: Don't set build-static.
75348         * Makeconfig: Remove use of build-static.
75349         * dlfcn/Makefile: Likewise.
75350         * elf/Makefile: Likewise.
75351         * math/Makefile: Likewise.
75352         * misc/Makefile: Likewise.
75353         * nptl/Makefile: Likewise.
75354         * sysdeps/mach/hurd/Makefile: Likewise.
75356         * configure.in: PWD_P is not used anymore.
75357         * config.make.in: Remove PWD_P entry.
75359         * configure.in: Remove last remnants of RANLIB.
75360         No need to check for signed size_t anymore.
75361         Don't set libc_commonpagesize and libc_relro_required here for Alpha
75362         and IA-64.
75363         Remove __builtin_expect test because we require at least gcc 3.4.
75364         * aclocal.m4: Likewise.
75366         * wcsmbs/mbrtoc16.c: Implement using towc function.
75367         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
75368         * wcsmbs/wcsmbsload.c: Likewise.
75369         * iconv/gconv_simple.c: Likewise.
75370         * iconv/gconv_int.h: Likewise.
75371         * iconv/gconv_builtin.h: Likewise.
75372         * iconv/iconv_prog.c: Remove CHAR16 handling.
75374         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
75376         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
75378         * configure.in: Remove --with-elf and --enable-bounded options.
75379         Dont set base_machine for ia64.  More non-ELF conditions removed.
75380         Remove testing and setting of leading underscore information.
75381         * config.make.in (build-bounded): Set to no.
75382         * config.h.in: Remove NO_UNDERSCORES entry.
75383         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
75384         them.
75385         * csu/start.c: Remove !NO_UNDERSCORE code.
75386         * locale/localeinfo.h: Likewise.
75387         * sysdeps/generic/machine-gmon.h: Likewise.
75388         * sysdeps/generic/sysdep.h: Likewise.
75389         * sysdeps/i386/sysdep.h: Likewise.
75390         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
75391         * sysdeps/mach/sysdep.h: Likewise.
75392         * sysdeps/s390/s390-32/sysdep.h: Likewise.
75393         * sysdeps/s390/s390-64/sysdep.h: Likewise.
75394         * sysdeps/sh/sysdep.h: Likewise.
75395         * sysdeps/sparc/sparc32/alloca.S: Likewise.
75396         * sysdeps/unix/i386/sysdep.S: Likewise.
75397         * sysdeps/unix/sparc/start.c: Likewise.
75398         * sysdeps/unix/sparc/sysdep.S: Likewise.
75399         * sysdeps/unix/sparc/sysdep.h: Likewise.
75400         * sysdeps/unix/start.c: Likewise.
75401         * sysdeps/unix/x86_64/sysdep.S: Likewise.
75402         * sysdeps/x86_64/sysdep.h: Likewise.
75404 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
75406         [BZ #13553]
75407         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
75408         for non-gcc.
75409         * argp/argp-fmtstream.h: Use const instead __const.
75410         * argp/argp.h: Likewise.
75411         * assert/assert.h: Likewise.
75412         * bits/fenv.h: Likewise.
75413         * bits/sched.h: Likewise.
75414         * bits/sigset.h: Likewise.
75415         * bits/sigthread.h: Likewise.
75416         * catgets/nl_types.h: Likewise.
75417         * conform/data/pthread.h-data: Likewise.
75418         * crypt/crypt-private.h: Likewise.
75419         * crypt/crypt.h: Likewise.
75420         * crypt/crypt_util.c: Likewise.
75421         * ctype/ctype.h: Likewise.
75422         * debug/execinfo.h: Likewise.
75423         * debug/mbsnrtowcs_chk.c: Likewise.
75424         * debug/mbsrtowcs_chk.c: Likewise.
75425         * debug/wcsnrtombs_chk.c: Likewise.
75426         * debug/wcsrtombs_chk.c: Likewise.
75427         * debug/wcstombs_chk.c: Likewise.
75428         * dirent/dirent.h: Likewise.
75429         * dlfcn/dlfcn.h: Likewise.
75430         * elf/neededtest4.c: Likewise.
75431         * grp/grp.h: Likewise.
75432         * gshadow/gshadow.h: Likewise.
75433         * iconv/gconv.h: Likewise.
75434         * iconv/gconv_int.h: Likewise.
75435         * iconv/gconv_simple.c: Likewise.
75436         * iconv/iconv.h: Likewise.
75437         * iconv/loop.c: Likewise.
75438         * iconv/skeleton.c: Likewise.
75439         * include/aio.h: Likewise.
75440         * include/aliases.h: Likewise.
75441         * include/argz.h: Likewise.
75442         * include/arpa/inet.h: Likewise.
75443         * include/assert.h: Likewise.
75444         * include/dirent.h: Likewise.
75445         * include/dlfcn.h: Likewise.
75446         * include/execinfo.h: Likewise.
75447         * include/fcntl.h: Likewise.
75448         * include/fenv.h: Likewise.
75449         * include/glob.h: Likewise.
75450         * include/grp.h: Likewise.
75451         * include/libintl.h: Likewise.
75452         * include/mntent.h: Likewise.
75453         * include/netdb.h: Likewise.
75454         * include/pwd.h: Likewise.
75455         * include/rpc/netdb.h: Likewise.
75456         * include/sched.h: Likewise.
75457         * include/search.h: Likewise.
75458         * include/shadow.h: Likewise.
75459         * include/signal.h: Likewise.
75460         * include/stdio.h: Likewise.
75461         * include/stdlib.h: Likewise.
75462         * include/string.h: Likewise.
75463         * include/sys/socket.h: Likewise.
75464         * include/sys/stat.h: Likewise.
75465         * include/sys/statfs.h: Likewise.
75466         * include/sys/statvfs.h: Likewise.
75467         * include/sys/syslog.h: Likewise.
75468         * include/sys/time.h: Likewise.
75469         * include/sys/uio.h: Likewise.
75470         * include/time.h: Likewise.
75471         * include/unistd.h: Likewise.
75472         * include/utmp.h: Likewise.
75473         * include/wchar.h: Likewise.
75474         * include/wctype.h: Likewise.
75475         * inet/aliases.h: Likewise.
75476         * inet/arpa/inet.h: Likewise.
75477         * inet/netinet/ether.h: Likewise.
75478         * inet/netinet/in.h: Likewise.
75479         * intl/libintl.h: Likewise.
75480         * io/bits/fcntl2.h: Likewise.
75481         * io/fcntl.h: Likewise.
75482         * io/ftw.h: Likewise.
75483         * io/sys/poll.h: Likewise.
75484         * io/sys/stat.h: Likewise.
75485         * io/sys/statfs.h: Likewise.
75486         * io/sys/statvfs.h: Likewise.
75487         * io/utime.h: Likewise.
75488         * libio/bits/stdio.h: Likewise.
75489         * libio/bits/stdio2.h: Likewise.
75490         * libio/libio.h: Likewise.
75491         * libio/libioP.h: Likewise.
75492         * libio/stdio.h: Likewise.
75493         * locale/lc-ctype.c: Likewise.
75494         * locale/locale.h: Likewise.
75495         * login/utmp.h: Likewise.
75496         * malloc/arena.c: Likewise.
75497         * malloc/malloc.c: Likewise.
75498         * malloc/malloc.h: Likewise.
75499         * malloc/mcheck.c: Likewise.
75500         * malloc/mtrace.c: Likewise.
75501         * math/bits/mathcalls.h: Likewise.
75502         * math/fenv.h: Likewise.
75503         * math/math_private.h: Likewise.
75504         * misc/bits/error.h: Likewise.
75505         * misc/bits/syslog.h: Likewise.
75506         * misc/err.h: Likewise.
75507         * misc/error.h: Likewise.
75508         * misc/fstab.h: Likewise.
75509         * misc/mntent.h: Likewise.
75510         * misc/regexp.h: Likewise.
75511         * misc/search.h: Likewise.
75512         * misc/sgtty.h: Likewise.
75513         * misc/sys/mman.h: Likewise.
75514         * misc/sys/syslog.h: Likewise.
75515         * misc/sys/uio.h: Likewise.
75516         * misc/sys/xattr.h: Likewise.
75517         * misc/ttyent.h: Likewise.
75518         * nis/rpcsvc/ypclnt.h: Likewise.
75519         * nss/nss.h: Likewise.
75520         * posix/bits/unistd.h: Likewise.
75521         * posix/fnmatch.h: Likewise.
75522         * posix/glob.h: Likewise.
75523         * posix/sched.h: Likewise.
75524         * posix/spawn.h: Likewise.
75525         * posix/sys/wait.h: Likewise.
75526         * posix/unistd.h: Likewise.
75527         * posix/wordexp.h: Likewise.
75528         * pwd/pwd.h: Likewise.
75529         * resolv/netdb.h: Likewise.
75530         * resource/sys/resource.h: Likewise.
75531         * rt/aio.h: Likewise.
75532         * rt/bits/mqueue2.h: Likewise.
75533         * rt/mqueue.h: Likewise.
75534         * shadow/shadow.h: Likewise.
75535         * signal/signal.h: Likewise.
75536         * socket/send.c: Likewise.
75537         * socket/sendto.c: Likewise.
75538         * socket/sys/socket.h: Likewise.
75539         * stdio-common/printf.h: Likewise.
75540         * stdlib/bits/stdlib.h: Likewise.
75541         * stdlib/fmtmsg.h: Likewise.
75542         * stdlib/monetary.h: Likewise.
75543         * stdlib/stdlib.h: Likewise.
75544         * stdlib/ucontext.h: Likewise.
75545         * streams/stropts.h: Likewise.
75546         * string/argz.h: Likewise.
75547         * string/bits/string2.h: Likewise.
75548         * string/string.h: Likewise.
75549         * string/strings.h: Likewise.
75550         * sunrpc/rpc/auth.h: Likewise.
75551         * sunrpc/rpc/auth_des.h: Likewise.
75552         * sunrpc/rpc/clnt.h: Likewise.
75553         * sunrpc/rpc/netdb.h: Likewise.
75554         * sunrpc/rpc/pmap_clnt.h: Likewise.
75555         * sunrpc/rpc/xdr.h: Likewise.
75556         * sysdeps/generic/inttypes.h: Likewise.
75557         * sysdeps/generic/net/if.h: Likewise.
75558         * sysdeps/generic/sys/swap.h: Likewise.
75559         * sysdeps/gnu/net/if.h: Likewise.
75560         * sysdeps/gnu/utmpx.h: Likewise.
75561         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
75562         * sysdeps/i386/i486/bits/string.h: Likewise.
75563         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
75564         * sysdeps/s390/bits/string.h: Likewise.
75565         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
75566         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
75567         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
75568         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
75569         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
75570         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
75571         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
75572         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
75573         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
75574         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
75575         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
75576         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
75577         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
75578         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
75579         * sysdeps/unix/sysv/linux/readv.c: Likewise.
75580         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
75581         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
75582         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
75583         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
75584         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
75585         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
75586         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
75587         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
75588         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
75589         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
75590         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
75591         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
75592         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
75593         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
75594         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
75595         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
75596         * sysvipc/sys/ipc.h: Likewise.
75597         * sysvipc/sys/msg.h: Likewise.
75598         * sysvipc/sys/sem.h: Likewise.
75599         * sysvipc/sys/shm.h: Likewise.
75600         * termios/termios.h: Likewise.
75601         * time/sys/time.h: Likewise.
75602         * time/time.h: Likewise.
75603         * wcsmbs/bits/wchar2.h: Likewise.
75604         * wcsmbs/uchar.h: Likewise.
75605         * wcsmbs/wchar.h: Likewise.
75606         * wctype/wctype.h: Likewise.
75608         [BZ #13551]
75609         * Makeconfig: Remove all but ELF support including AIX support.
75610         * Makerules: Likewise.
75611         * config.h.in: Likewise.
75612         * config.make.in: Likewise.
75613         * configure: Likewise.
75614         * configure.in: Likewise.
75615         * csu/Makefile: Likewise.
75616         * csu/version.c: Likewise.
75617         * debug/Makefile: Likewise.
75618         * dlfcn/Makefile: Likewise.
75619         * elf/Makefile: Likewise.
75620         * extra-lib.mk: Likewise.
75621         * iconv/Makefile: Likewise.
75622         * include/libc-symbols.h: Likewise.
75623         * include/shlib-compat.h: Likewise.
75624         * resolv/Makefile: Likewise.
75625         * resolv/res_libc.c: Likewise.
75626         * rt/Makefile: Likewise.
75627         * sysdeps/i386/asm-syntax.h: Likewise.
75628         * sysdeps/i386/sysdep.h: Likewise.
75629         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
75630         * sysdeps/mach/sysdep.h: Likewise.
75631         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
75632         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
75633         * sysdeps/s390/asm-syntax.h: Likewise.
75634         * sysdeps/s390/s390-32/sysdep.h: Likewise.
75635         * sysdeps/s390/s390-64/sysdep.h: Likewise.
75636         * sysdeps/sh/sysdep.h: Likewise.
75637         * sysdeps/unix/sparc/sysdep.h: Likewise.
75638         * sysdeps/wordsize-32/divdi3.c: Likewise.
75639         * sysdeps/x86_64/sysdep.h: Likewise.
75641         * argp/Versions: Remove _argp_unlock_xxx.
75643         [BZ #13559]
75644         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
75645         * abilist/libBrokenLocale.abilist: Likewise.
75646         * abilist/libanl.abilist: Likewise.
75647         * abilist/libc.abilist: Likewise.
75648         * abilist/libcrypt.abilist: Likewise.
75649         * abilist/libdl.abilist: Likewise.
75650         * abilist/libm.abilist: Likewise.
75651         * abilist/libnsl.abilist: Likewise.
75652         * abilist/libpthread.abilist: Likewise.
75653         * abilist/libresolv.abilist: Likewise.
75654         * abilist/librt.abilist: Likewise.
75655         * abilist/libthread_db.abilist: Likewise.
75656         * abilist/libutil.abilist: Likewise.
75657         * abilist/libnss_db.abilist: New file.
75659         * scripts/abilist.awk: Add support for indirect functions.
75661         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
75663         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
75665         * shlib-versions: Remove entries for ports architectures.
75667         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
75668         files in ports.
75669         * elf/stackguard-macros.h: Remove support for IA-64.
75670         * elf/tst-auditmod1.c: Likewise.
75671         * sysdeps/generic/ldsodefs.h: Likewise.
75673         * sysdeps/unix/sysv/linux/configure.in: Ports should define
75674         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
75675         configure files.
75677         [BZ #13552]
75678         * configure.in: Remove --enable-omitfp support.
75679         * FAQ.in: Adjust.
75680         * config.make.in: Likewise.
75681         * Makeconfig: Likewise.
75682         * manual/install.texi: Likewise.
75684         In case anyone cares, the IA-64 architecture could move to ports.
75685         * sysdeps/ia64/*: Removed.
75686         * sysdeps/unix/sysv/linux/ia64/*: Removed.
75687         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
75689         [BZ #13555]
75690         * configure.in: Remove entries for unsupported architectures.
75692         [BZ #13533]
75693         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
75694         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
75695         routines.
75696         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
75697         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
75698         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
75699         fall back to using wcrtomb.
75700         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
75701         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
75702         renaming.
75703         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
75704         * wcsmbs/tst-c16c32-1.c: New file.
75706         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
75707         local variable.
75709         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
75711         * elf/tst-unique3.cc: Add explicit declaration of gets.
75712         * elf/tst-unique3lib.cc: Likewise.
75713         * elf/tst-unique3lib2.cc: Likewise.
75714         * elf/tst-unique4.cc: Likewise.
75716         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
75718 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
75720         [BZ #13566]
75721         * assert/assert.h (static_assert): Don't define for C++.
75722         * libio/stdio.h (gets): Do declare for C++ <= C++11.
75723         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
75725 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
75727         * iconv/loop.c (single loop): Fix assertion in storing of
75728         remaining bytes.
75730         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
75732 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
75734         * posix/getconf.c: Update copyright year.
75735         * nss/getent.c: Likewise.
75736         * nss/makedb.c: Likewise.
75737         * iconv/iconvconfig.c: Likewise.
75738         * iconv/iconv_prog.c: Likewise.
75739         * elf/ldconfig.c: Likewise.
75740         * elf/pldd.c: Likewise.
75741         * elf/sotruss.ksh: Likewise.
75742         * catgets/gencat.c: Likewise.
75743         * csu/version.c: Likewise.
75744         * elf/ldd.bash.in: Likewise.
75745         * elf/sprof.c (print_version): Likewise.
75746         * locale/programs/locale.c: Likewise.
75747         * locale/programs/localedef.c: Likewise.
75748         * login/programs/pt_chown.c: Likewise.
75749         * nscd/nscd.c (print_version): Likewise.
75750         * debug/xtrace.sh: Likewise.
75751         * malloc/memusage.sh: Likewise.
75752         * malloc/mtrace.pl: Likewise.
75753         * debug/catchsegv.sh: Likewise.
75755 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
75757         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
75758         pure attribute.
75760 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
75762         [BZ #13533]
75763         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
75764         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
75765         transformations.
75766         * iconv/gconv_int.h: Likewise.
75767         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
75768         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
75769         from libc for GLIBC_2.16.
75770         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
75771         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
75772         * wcsmbs/uchar.h: Really define mbstate_t.
75773         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
75774         * wcsmbs/c16rtomb.c: New file.
75775         * wcsmbs/mbrtoc16.c: New file.
75776         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
75777         for C/POSIX locale.
75778         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
75779         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
75781         * wcsmbs/wchar.h: Add missing __restrict.
75783 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
75785         [BZ #13532]
75786         * time/Makefile (routines): Add timespec_get.
75787         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
75788         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
75789         timespec for ISO C11.
75790         * time/timespec_get.c: New file.
75791         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
75792         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
75794         [BZ #13531]
75795         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
75796         * stdlib/stdlib.h: Declare aligned_alloc.
75797         * Versions.def: Add GLIBC_2.16 for libc.
75798         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
75800         [BZ 13527]
75801         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
75802         ISO C11.
75804         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
75805         code.
75807         [BZ #13528]
75808         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
75810         [BZ #13529]
75811         * assert/assert.h (static_assert): Define.
75813         * version.h: Update for 2.16 development version.
75815         [BZ #13526]
75816         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
75817         _ISOC11_SOURCE.
75819         * version.h (RELEASE): Bump for 2.15 release.
75820         * include/features.h (__GLIBC_MINOR__): Bump to 15.
75822         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
75823         Patch by Marek Polacek <mpolacek@redhat.com>.
75825         * bits/byteswap.h: Protect long long constants with __extension__.
75826         * sysdeps/i386/bits/byteswap.h: Likewise.
75827         * sysdeps/ia64/bits/byteswap.h: Likewise.
75828         * sysdeps/s390/bits/byteswap.h: Likewise.
75829         * sysdeps/x86_64/bits/byteswap.h: Likewise.
75831 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75833         [BZ #13540]
75834         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
75835         destination buffer.
75836         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
75838 2011-12-23  Marek Polacek  <polacek@redhat.com>
75840         * elf/dl-addr.c (determine_info): Add inline keyword.
75841         * elf/tst-auditmod4b.c (check_avx): Likewise.
75842         * elf/tst-auditmod6b.c (check_avx): Likewise.
75843         * elf/tst-auditmod6c.c (check_avx): Likewise.
75844         * elf/tst-auditmod7b.c (check_avx): Likewise.
75846 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
75848         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
75849         !__SSE_MATH__.
75851 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75853         [BZ #13540]
75854         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
75855         processing for last bytes.
75857 2011-08-06  Bruno Haible  <bruno@clisp.org>
75859         [BZ #13061]
75860         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
75861         U+0385, not to U+1FEE.
75863         [BZ #13062]
75864         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
75865         entry for U+00A5 U+0301.
75867 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
75869         [BZ #13166]
75870         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
75871         buffer for the output is too small.
75873         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
75874         optimization.
75876         [BZ #13185]
75877         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
75878         SSE flags if possible.
75880 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75882         [BZ #13540]
75883         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
75884         processing for last bytes.
75886 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
75888         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
75889         (syscall-list-default-options, syscall-list-default-condition)
75890         (syscall-list-includes): Define.
75891         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
75892         list of ABIs and options and #if conditions for each ABI.  Do not
75893         handle common syscalls between ABIs specially.
75894         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
75895         Remove.
75896         (syscall-list-variants, syscall-list-32bit-options)
75897         (syscall-list-32bit-condition, syscall-list-64bit-options)
75898         (syscall-list-64bit-condition): Define.
75899         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
75900         (syscall-list-variants, syscall-list-32bit-options)
75901         (syscall-list-32bit-condition, syscall-list-64bit-options)
75902         (syscall-list-64bit-condition): Define.
75903         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
75904         Remove.
75905         (syscall-list-variants, syscall-list-32bit-options)
75906         (syscall-list-32bit-condition, syscall-list-64bit-options)
75907         (syscall-list-64bit-condition): Define.
75908         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
75909         Remove.
75910         (syscall-list-variants, syscall-list-32bit-options)
75911         (syscall-list-32bit-condition, syscall-list-64bit-options)
75912         (syscall-list-64bit-condition): Define.
75914 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
75916         * locale/iso-639.def: Add brx entry.
75918         [BZ #13328]
75919         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
75920         Proposed by Mariusz_Cukr <marcukr@op.pl>.
75922         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
75923         __feraiseexcept_renamed.
75925 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
75927         [BZ #13538]
75928         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
75929         EPOLLET with unsigned values.
75930         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
75931         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
75933         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
75934         to large cancellation.
75935         * math/s_cacoshf.c: Likewise.
75936         * math/s_cacoshl.c: Likewise.
75938 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
75940         [BZ #13305]
75941         [BZ #12786]
75942         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
75943         * math/s_cacoshf.c: Likewise.
75944         * math/s_cacoshl.c: Likewise.
75946 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
75948         [BZ #13439]
75949         * iconv/gconv.h: Define __GCONV_SWAP.
75950         * iconvdata/unicode.c: The swap bit must be stored in __flags.
75951         * iconvdata/utf-16.c: Likewise.
75952         * iconvdata/utf-32.c: Likewise.
75954 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
75956         [BZ #13524]
75957         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
75958         numerator after shifting it by one limb.
75960 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
75962         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
75963         under [__USE_EXTERN_INLINES].
75965 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
75967         [BZ #13446]
75968         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
75970 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75972         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
75973         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
75974         optimized code.
75975         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
75976         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
75977         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
75978         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
75979         for strncasecmp/strncasecmp_l compilation.
75980         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
75981         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
75983 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
75985         [BZ #13484]
75986         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
75987         of __asm__.
75989 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
75991         [BZ #13506]
75992         * time/tzfile.c (__tzfile_read): Check values from file header.
75994 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
75996         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
75997         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
75998         * powerpc/powerpc32/dl-start.S: Likewise.
75999         * powerpc/powerpc32/elf/start.S: Likewise.
76000         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
76001         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
76002         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
76003         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
76004         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
76005         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
76006         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
76007         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
76008         * powerpc/powerpc32/fpu/s_round.S: Likewise.
76009         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
76010         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
76011         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
76012         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
76013         * powerpc/powerpc32/memset.S: Likewise.
76014         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
76015         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
76016         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
76017         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
76018         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
76019         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
76020         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
76021         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
76022         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
76023         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
76024         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
76025         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
76026         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
76028 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76030         * math/libm-test.inc: Added more nearbyint tests.
76031         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
76032         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
76033         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
76034         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
76036 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
76038         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
76039         FD_CLOEXEC.
76041 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76043         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
76044         Add wcscpy-ssse3 wcscpy-c.
76045         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
76046         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
76047         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
76048         * sysdeps/x86_64/wcschr.S: New file.
76049         * sysdeps/x86_64/wcsrchr.S: New file.
76050         * string/test-strcmp.c: Remove checking of wcscmp function for
76051         wrong alignments.
76052         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
76053         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
76054         wcsrchr-sse2 wcsrchr-c.
76055         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
76056         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
76057         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
76058         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
76059         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
76060         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
76061         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
76062         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
76063         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
76064         * wcsmbc/wcschr.c (WCSCHR): New macro.
76066 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76068         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
76069         * wcsmbs/test-wcsrchr.c: New file.
76070         * string/test-strrchr.c: Add wcsrchr support.
76071         (WIDE): New macro.
76072         * wcsmbs/test-wcscpy.c: New file.
76073         * string/test-strcpy.c: Add wcscpy support.
76074         (WIDE): New macro.
76076 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
76078         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
76079         the inner loop.
76081 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
76083         [BZ #13472]
76084         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
76086 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
76088         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
76089         Minor optimizations.
76091         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
76092         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
76093         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
76095 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
76097         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
76098         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
76099         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
76100         for gcc to avoid warnings.
76101         * inet/Makefile (tests): Add tst-checks.
76102         * inet/tst-checks.c: New file.
76104         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
76105         warning.
76107         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
76108         __wmemcmp_sse2.
76110         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
76111         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
76113         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
76115 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
76117         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
76118         problem.
76120         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
76122 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
76124         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
76125         conditional on GCC version.
76126         (__arch_compare_and_exchange_val_8_acq)
76127         (__arch_compare_and_exchange_val_16_acq)
76128         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
76129         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
76130         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
76132 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
76134         * sysdeps/sh/backtrace.c: New file.
76136 2011-12-02  Andreas Schwab  <schwab@redhat.com>
76138         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
76139         parenthesis.
76141 2011-12-01  Andreas Schwab  <schwab@redhat.com>
76143         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
76144         falling back to utime.
76146 2011-11-30  Andreas Schwab  <schwab@redhat.com>
76148         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
76149         expectations for float.
76151 2011-11-29  Andreas Schwab  <schwab@redhat.com>
76153         * locale/weight.h (findidx): Add parameter len.
76154         * locale/weightwc.h (findidx): Likewise.
76155         * posix/fnmatch_loop.c (FCT): Adjust caller.
76156         * posix/regcomp.c (build_equiv_class): Likewise.
76157         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
76158         * posix/regexec.c (check_node_accept_bytes): Likewise.
76159         * string/strcoll_l.c (STRCOLL): Likewise.
76160         * string/strxfrm_l.c (STRXFRM): Likewise.
76162 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
76164         * Makefile.in: Remove CVSOPT handling.
76165         * configure.in: Remove use of AC_REVISION.
76166         * iconvdata/Makefile (distribute): No need to filter out CVS.
76167         * scripts/list-sources.sh: Remove CVS, subversion and monotone
76168         handling.
76170 2011-11-16  Andreas Schwab  <schwab@redhat.com>
76172         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
76173         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
76174         [USE_AS_STRNCASECMP_L]: Likewise.
76175         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
76176         NO_TLS_DIRECT_SEG_REFS.
76177         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
76178         Fix argument offsets for non-PIC.
76179         [USE_AS_STRNCASECMP_L]: Likewise.
76180         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
76181         NO_TLS_DIRECT_SEG_REFS.
76183 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
76185         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
76186         O_CLOEXEC.
76187         * locale/loadlocale.c (_nl_load_locale): Likewise.
76189 2011-11-15  Andreas Schwab  <schwab@redhat.com>
76191         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
76192         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
76193         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
76194         (SYSCALL_GETTIME): Set errno on error.
76196         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
76197         count references to noai6ai_cached.
76199 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
76201         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
76203         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
76204         FD_CLOEXEC for /proc/self/maps.
76206         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
76207         FD_CLOEXEC for /proc/meminfo.
76209         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
76210         gai.conf.
76212         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
76213         FD_CLOEXEC for given file.
76215         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
76217         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
76218         FD_CLOEXEC for /etc/hosts.
76219         (_gethtent): Likewise.
76221         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
76223         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
76224         cancellation and set FD_CLOEXEC for /etc/netgroup.
76226         * nss/nss_files/files-key.c (search): Don't allow cancellation when
76227         reading /etc/publickey.
76229         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
76230         allow cancellation when reading /etc/group.
76232         * nss/nss_files/files-alias.c (internal_setent): Don't allow
76233         cancellation.
76234         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
76236         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
76237         when using data file.
76239         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
76241         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
76242         (write_nis_obj): Use "c" and "e" in fopen.
76244         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
76246         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
76248         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
76250         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
76252         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
76253         locale.alias.
76255         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
76257         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
76259         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
76261         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
76262         file parsing and set FD_CLOEXEC.
76264 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
76266         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
76268 2011-11-14  Andreas Schwab  <schwab@redhat.com>
76270         * malloc/arena.c (arena_get2): Don't call reused_arena when
76271         _int_new_arena failed.
76273 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
76275         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
76276         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
76277         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
76278         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
76279         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
76280         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
76281         to compile strcasecmp and strncasecmp.
76282         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
76283         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
76285         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
76287 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
76289         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
76290         locale-defines.sym to gen-as-const-headers.
76291         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
76292         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
76293         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
76294         to compile strcasecmp and strncasecmp.
76295         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
76296         strcasecmp_l and strncasecmp_l.
76297         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
76298         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
76299         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
76300         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
76301         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
76302         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
76303         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
76304         * sysdeps/i386/i686/multiarch/strncase.S: New file.
76305         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
76306         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
76307         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
76309 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
76311         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
76312         result of SYSDEP_GETTIME_CPU to retval.
76313         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
76314         parameter list to macro.  Remove trailing semicolon.  Adjust users.
76316         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
76317         variable.
76319         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
76320         mantissa words.
76321         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
76323         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
76324         from unused variable.
76326         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
76327         DWARF definitions.
76328         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
76329         for assembling.
76331         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
76332         over namespaces.
76334         * sunrpc/rpc_prot.c (rejected): Fix case value.
76336         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
76337         unsigned long long int to avoid warnings in shift.
76339         * posix/regex_internal.c (re_string_reconstruct): Actually use result
76340         of use of trans.
76341         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
76342         variable tmp.
76344         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
76345         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
76346         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
76348         * nis/nis_table.c (nis_list): Use variable of correct type for
76349         result of __follow_path call.
76351 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76353         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
76354         of math functions ceil, trunc, floor, round, and sqrt, when
76355         avaliable on the platform.
76356         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
76357         name clash.
76358         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
76359         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
76360         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
76362 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
76364         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
76365         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
76367 2011-11-11  Roland McGrath  <roland@hack.frob.com>
76369         * include/unistd.h: Fix __readlink return type.
76370         Reported by Chris Metcalf <cmetcalf@tilera.com>.
76372 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
76374         * stdlib/ucontext.h: Undo last change for makecontext.
76376 2011-11-11  Andreas Schwab  <schwab@redhat.com>
76378         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
76380         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
76381         * setjmp/setjmp.h: Mark functions as non-leaf.
76382         * setjmp/bits/setjmp2.h: Likewise.
76383         * stdlib/ucontext.h: Likewise.
76385 2011-11-10  Andreas Schwab  <schwab@redhat.com>
76387         * malloc/arena.c (_int_new_arena): Don't increment narenas.
76388         (reused_arena): Don't check arena limit.
76389         (arena_get2): Atomically check arena limit.
76391 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
76393         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
76394         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
76396         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
76397         instructions.
76399 2011-11-07  Andreas Schwab  <schwab@redhat.com>
76401         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
76402         handler when locking.
76404         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
76405         Fix size of allocated buffer.
76407 2011-11-04  Andreas Schwab  <schwab@redhat.com>
76409         [BZ #10103]
76410         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
76411         declarations for long double functions.
76412         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
76414         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
76416 2011-11-03  Andreas Schwab  <schwab@redhat.com>
76418         * nscd/nscd.c (main): Don't start AVC thread until credentials are
76419         installed.
76421         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
76422         is disabled.
76424 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76426         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
76428 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
76430         * include/alloca.h (stackinfo_alloca_round): Define.
76431         (extend_alloca): Use it.
76432         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
76433         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
76434         here.
76436         * scripts/check-local-headers.sh: Ignore libaudit.h.
76438         * nscd/Makefile (extra-objs): Make recursively expanded.
76440 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
76442         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
76443         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
76445         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
76446         * posix/tst-rfc3484-2.c: Likewise.
76447         * posix/tst-rfc3484-3.c: Likewise.
76449         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
76450         process_vm_writev.
76451         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
76452         process_vm_writev.
76453         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
76454         process_vm_writev from libc using GLIBC_2.15 version.
76456         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
76458 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
76460         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
76461         stack usage.
76463 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
76465         [BZ #13367]
76466         * nss/getent.c (initgroups_keys): Show error message in case no group
76467         names are given.
76469         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
76470         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
76471         __bump_nl_timestamp.
76472         * nscd/connections (nscd_init): When host database is served open
76473         netlink socket and request notification about configuration changes.
76474         (main_loop_poll): Track netlink file descriptor and bump timestamp
76475         in case data becomes available.
76476         (main_loop_epoll): Likewise.
76477         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
76478         (database_pers_head): Add extra_data fileds.
76479         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
76480         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
76481         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
76482         Adjust caller.
76483         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
76484         in6ai data, call __free_in6ai.
76485         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
76486         Add -DHAVE_NETLINK.
76487         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
76488         interface information.  Reuse previous data if netlink timestamp
76489         is not changed.
76490         (__bump_nl_timestamp): New function.
76491         (__free_in6ai): New function.
76493 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
76495         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
76496         close_not_cancel_no_status here.
76497         (__check_pf): Reorganize code a bit to not call close twice if OOM.
76499 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
76501         [BZ #13276]
76502         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
76503         return value.
76505         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
76506         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
76507         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
76509 2011-07-03  Andreas Jaeger  <aj@suse.de>
76511         [BZ #10709]
76512         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
76513         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
76514         * math/libm-test.inc (sin_test): Add test case.
76516 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
76518         [BZ #13337]
76519         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
76520         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
76522         * elf/chroot_canon.c (chroot_canon): Cleanups.
76524         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
76526         [BZ #13335]
76527         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
76528         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
76530         * string/test-strchr.c: Make usable for strchrnul testing.
76531         * string/test-strchrnul.c: New file.
76532         * string/Makefile (strop-tests): Add strchrnul.
76534         * po/it.po: Update from translation team.
76535         * po/es.po: Likewise.
76537 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
76539         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
76540         the three constants needed as parameters.  Drop the others.
76541         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
76542         __m128i_strloadu_tolower.
76543         Create and initialize variable zero and use it in all the places
76544         where _mm_setzero_si128 was used.
76546         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
76547         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
76548         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
76549         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
76550         anymore.
76551         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
76552         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
76553         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
76554         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
76555         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
76556         __mpranred, __mptan.
76557         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
76558         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
76559         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
76560         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
76561         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
76562         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
76563         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
76564         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
76565         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
76567 2011-10-28  Andreas Schwab  <schwab@redhat.com>
76569         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
76570         redefine if SHARED.
76571         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
76573         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
76574         wide char related routines to wcsmbs subdir.
76576 2011-10-27  Andreas Schwab  <schwab@redhat.com>
76578         [BZ #13344]
76579         * misc/sys/cdefs.h (__THROWNL): Define.
76580         * posix/unistd.h: Use __THREADNL instead of __THREAD
76581         for memory synchronization functions.
76583 2011-10-26  Roland McGrath  <roland@hack.frob.com>
76585         [BZ #13349]
76586         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
76587         doesn't exist.
76588         * manual/stdio.texi (Obstack Streams): Node removed.
76590 2011-10-26  Andreas Schwab  <schwab@redhat.com>
76592         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
76593         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
76594         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
76596         * math/math_private.h (math_force_eval): Allow non-addressable
76597         arguments.
76598         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
76600 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
76602         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
76603         file is not needed.
76605         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
76606         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
76607         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
76608         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
76609         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
76610         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
76611         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
76612         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
76613         Add AVX variants.
76614         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
76615         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
76616         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
76617         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
76618         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
76619         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
76620         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
76621         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
76622         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
76623         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
76624         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
76625         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
76626         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
76627         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
76628         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
76629         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
76630         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
76631         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
76632         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
76634         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
76635         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
76637         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
76638         place.  Use VEX encoding when compiling for AVX.
76640 2011-10-25  Andreas Schwab  <schwab@redhat.com>
76642         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
76643         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
76645         * string/test-strchr.c (do_test): Don't generate NUL bytes.
76647 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
76649         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
76650         useless if() expression.
76651         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
76652         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
76653         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
76654         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
76655         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
76656         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
76657         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
76658         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
76659         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
76660         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
76661         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
76662         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
76663         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
76664         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
76665         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
76666         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
76667         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
76668         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
76669         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
76671         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
76673 2011-10-25  Andreas Schwab  <schwab@redhat.com>
76675         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
76676         condition.
76677         * elf/dl-fini.c (_dl_sort_fini): Likewise.
76679 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
76681         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
76682         .text section.  Avoid duplicate constants.
76683         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
76684         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76685         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
76686         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76687         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
76688         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76689         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76690         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76691         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
76692         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
76693         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
76694         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
76695         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
76696         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
76697         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
76698         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
76699         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
76700         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
76701         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
76702         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76703         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
76704         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
76705         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
76706         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
76707         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
76708         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
76709         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
76710         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
76711         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
76712         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
76713         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
76714         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
76715         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
76716         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
76717         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
76718         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
76719         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
76720         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
76721         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
76722         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
76723         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
76724         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
76725         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
76726         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
76727         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
76729 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
76731         * sysdeps/x86_64/dla.h: Move to ...
76732         * sysdeps/x86_64/fpu/dla.h: ...here.
76733         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
76734         situations.  Use __builtin_fma only for gcc 4.6 and up.
76736         * config.make.in: Add have-mfma4 entry.
76737         * configure.in: Substitute libc_cv_cc_fma4.
76738         * math/Makefile (dbl-only-routines): Add sincostab.
76739         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
76740         Use __sincostab not sincos.
76741         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
76742         name is a macro.
76743         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
76744         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76745         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76746         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
76747         using __copysign.
76748         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
76749         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
76750         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
76751         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
76752         and __inv.
76753         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
76754         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
76755         __copysign.
76756         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
76757         define aliases when function name is a macro.
76758         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
76759         sysdeps/ieee754/dbl-64/sincos.tbl.
76760         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
76761         fma4-enabled routines.
76762         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
76763         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
76764         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
76765         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
76766         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
76767         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
76768         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
76769         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
76770         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
76771         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
76772         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
76773         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
76774         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
76775         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
76776         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
76777         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
76778         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
76779         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
76780         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
76781         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
76782         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
76783         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
76784         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
76785         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
76786         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
76787         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
76788         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
76789         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
76790         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
76791         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
76793         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
76794         rename.
76795         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76796         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76797         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76798         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76799         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76800         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76801         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
76802         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76804 2011-10-24  Andreas Schwab  <schwab@redhat.com>
76806         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
76808 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
76810         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
76812         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
76813         prediction.
76814         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
76816         * string/strnlen.c: Don't define STRNLEN, reverse logic.
76817         Remove unused variable magic_bits.
76818         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
76820         * string/strnlen.c: Define and use STRNLEN macro.
76821         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
76822         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
76823         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
76824         * wcsmbs/wcslen.c: Define and use WCSLEN.
76825         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
76826         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
76827         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
76828         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
76829         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
76830         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
76831         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
76833 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76835         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76836         strnlen-sse2-no-bsf.
76837         Rename strlen-no-bsf to strlen-sse2-no-bsf.
76838         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
76839         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
76840         Add strnlen support.
76841         (USE_AS_STRNLEN): New macro.
76842         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
76843         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
76844         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
76845         * sysdeps/x86_64/wcslen.S: New file.
76847 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
76849         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
76850         XMM-moves are used for copying on small sizes.
76852 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76854         * wcsmbs/Makefile (strop-tests): Add wcschr.
76855         * wcsmbs/test-wcschr.c: New file.
76856         * string/test-strchr.c: Update.
76857         Add wcschr support.
76858         (WIDE): New macro.
76860 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76862         * wcsmbs/Makefile (strop-tests): Add wcslen.
76863         * wcsmbs/test-wcslen.c: New file.
76864         * string/test-strlen.c: Update.
76865         Add wcslen support.
76866         (WIDE): New macro.
76868 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
76870         * po/it.po: Update from translation team.
76872 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76874         * sysdeps/x86_64/wcscmp.S: Update.
76875         Fix wrong comparison semantics.
76876         wcscmp shall use signed comparison not unsigned.
76877         Don't use substraction to avoid overflow bug.
76878         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
76879         * wcsmbc/wcscmp.c: Likewise.
76880         * string/test-strcmp.c: Likewise.
76881         Add new tests to check cases with negative values.
76883 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
76885         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
76886         * sysdeps/x86_64/dla.h: ...here.  New file.
76887         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
76888         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76889         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76890         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76891         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76892         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
76893         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76894         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
76895         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76897 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
76899         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
76900         __ynl_finite aliases.
76902 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
76904         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76906         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
76907         define DLA_FMA.
76908         [DLA_FMA] (EMULV): Use DLA_FMA.
76909         [DLA_FMA] (MUL12): Use EMULV.
76910         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
76911         that are not needed.
76912         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76913         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76914         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76915         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76916         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76917         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
76918         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76920 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
76922         * math/s_nan.c: Undef __nan.
76923         * math/s_nanf.c: Undef __nanf.
76924         * math/s_nanl.c: Undef __nanl.
76925         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
76926         "math_private.h".
76928 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
76930         * math/s_catan.c: Add branch predictions.
76931         * math/s_catanf.c: Likewise.
76932         * math/s_catanh.c: Likewise.
76933         * math/s_catanhf.c: Likewise.
76934         * math/s_catanhl.c: Likewise.
76935         * math/s_catanl.c: Likewise.
76936         * math/s_cexp.c: Likewise.
76937         * math/s_cexpf.c: Likewise.
76938         * math/s_cexpl.c: Likewise.
76939         * math/s_clog.c: Likewise.
76940         * math/s_clog10.c: Likewise.
76941         * math/s_clog10f.c: Likewise.
76942         * math/s_clog10l.c: Likewise.
76943         * math/s_clogf.c: Likewise.
76944         * math/s_clogl.c: Likewise.
76945         * math/s_csqrt.c: Likewise.
76946         * math/s_csqrtf.c: Likewise.
76947         * math/s_csqrtl.c: Likewise.
76948         * math/s_ctanf.c: Likewise.
76949         * math/s_ctanh.c: Likewise.
76950         * math/s_ctanhf.c: Likewise.
76951         * math/s_ctanhl.c: Likewise.
76952         * math/s_ctanl.c: Likewise.
76954         * math/math_private.h: Define __nan, __nanf, __nanl.
76955         * math/s_cacosh.c: Include <math_private.h>.
76956         * math/s_cacoshl.c: Likewise.
76957         * math/s_casinh.c: Likewise.
76958         * math/s_casinhf.c: Likewise.
76959         * math/s_casinhl.c: Likewise.
76960         * math/s_ccos.c: Rely entire on ccosh.
76961         * math/s_ccosf.c: Rely entire on ccoshf.
76962         * math/s_ccosl.c: Rely entirely on ccoshl.
76963         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
76964         Remove tests for FE_INVALID.
76965         * math/s_ccoshf.c: Likewise.
76966         * math/s_ccoshl.c: Likewise.
76967         * math/s_csin.c: Likewise.
76968         * math/s_csinf.c: Likewise.
76969         * math/s_csinh.c Likewise.
76970         * math/s_csinhf.c: Likewise.
76971         * math/s_csinhl.c: Likewise.
76972         * math/s_csinl.c: Likewise.
76973         * math/s_ctan.c: Likewise.
76974         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
76975         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
76976         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
76978 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
76980         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
76981         compilation problems.
76983         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
76984         __builtin_expect.
76986 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
76988         * sysdeps/i386/configure.in: Test for -mfma4 option.
76989         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
76990         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
76991         COMMON_CPUID_INDEX_80000001.
76992         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
76993         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
76994         use it if FMA3 is not supported.
76995         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
76997         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
76998         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
77000 2011-10-20  Andreas Schwab  <schwab@redhat.com>
77002         [BZ #12892]
77003         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
77004         it would create a cycle with a link time dependency.
77006 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
77008         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
77009         instruction.
77010         * string/Makefile (strop-tests): Add rawmemchr.
77011         * string/test-rawmemchr.c: New file.
77013         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
77014         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
77015         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
77016         when compiling str{,n}casecmp and when AVX is available.  Hook up
77017         new optimized code in initializers.
77019 2011-10-19  Andreas Schwab  <schwab@redhat.com>
77021         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
77022         __feraiseexcept instead of feraiseexcept.
77024 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
77026         * math/math_private.h: Define defaults for libc_fetestexcept and
77027         libc_feupdateenv.
77028         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
77029         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
77030         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
77031         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
77032         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
77033         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
77034         libc_fetestexcept and libc_feupdateenv.
77036         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
77037         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
77038         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
77039         * sysdeps/x86_64/fpu/math_private.h: Define special version of
77040         libc_feholdexcept_setround.
77042         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
77043         Add s_nearbyint-c and s_nearbyintf-c.
77044         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
77045         nearbyintf inlines.
77046         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
77047         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
77048         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
77049         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
77051         * math/math_private.h: Define defaults for libc_fegetround,
77052         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
77053         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
77054         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
77055         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
77056         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
77057         standard functions.
77058         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
77059         Remove comments and hacks for old compiler versions.
77060         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
77061         libc_fegetround, libc_fesetround, libc_feholdexcept, and
77062         libc_feholdexceptl.
77064 2011-10-18  Andreas Schwab  <schwab@redhat.com>
77066         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
77067         (__feraiseexcept_renamed): Add __NTH.
77068         (feraiseexcept): Add __NTH.  Rename local variables to fix
77069         namespace violations.
77071 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
77073         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
77075         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
77077         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
77078         recently added interfaces.
77079         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
77081         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
77082         about macro parameter expansion.
77084         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
77085         __NO_MATH_INLINES is defined.  Cleanups.
77087         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
77088         and __floorf is target has SSE4.1.
77089         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
77090         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
77091         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
77092         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
77094         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
77095         name.
77096         (floorf): Likewise.
77098         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
77100 2011-10-17  Andreas Schwab  <schwab@redhat.com>
77102         * misc/sys/cdefs.h: Fix last change.
77104         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
77105         database lookup.
77107 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
77109         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
77111         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
77112         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
77113         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
77114         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
77115         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
77116         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
77117         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
77118         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
77119         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
77120         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
77121         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
77122         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
77123         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
77124         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
77125         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
77126         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
77127         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
77128         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
77129         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
77130         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
77131         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
77132         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
77134         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
77135         ceil, ceilf, floor, floorf.
77137         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
77138         Perform IRELATIVE relocations last.
77140         * elf/do-rel.h: Add another parameter nrelative, replacing the
77141         local variable with the same name.  Change name of the function
77142         to end in Rel or Rela (uppercase).
77143         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
77144         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
77145         elf_dynamic_do_##reloc function.
77147 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
77149         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
77150         is sufficient, at least on modern CPUs.
77152         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
77154         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
77155         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
77157         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
77158         __expl_finite.
77159         * math/bits/math-finite.h: Add entries for exp.
77160         * math/e_expl.c: Add __*_finite alias.
77161         * sysdeps/i386/fpu/e_exp.S: Likewise.
77162         * sysdeps/i386/fpu/e_expf.S: Likewise.
77163         * sysdeps/i386/fpu/e_expl.c: Likewise.
77164         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
77165         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
77166         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
77167         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
77168         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
77169         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
77170         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
77172         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
77173         is sufficient, at least on modern CPUs.
77175         * ctype/ctype-info.c (__ctype_init): Define.
77176         * include/ctype.h (__ctype_init): Declare.
77177         (__ctype_b_loc): The variable is always initialized.
77178         (__ctype_toupper_loc): Likewise.
77179         (__ctype_tolower_loc): Likewise.
77180         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
77181         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
77183 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
77185         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
77187         * configure.in: Also look in $cxxmachine/include for C++ system
77188         headers.
77190 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77192         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
77193         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
77194         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
77195         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
77196         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
77197         (USE_AS_WMEMCMP): New macro.
77198         Fixing indents.
77199         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
77200         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
77201         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
77202         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
77203         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77204         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
77205         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
77206         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
77207         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
77208         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
77209         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
77210         (USE_AS_WMEMCMP): New macro.
77211         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
77212         * sysdeps/string/test-memcmp.c: Update.
77213         Fix simple_wmemcmp.
77214         Add new tests.
77215         * wcsmbs/wmemcmp.c: Update.
77216         (WMEMCMP): New macro.
77217         Fix overflow bug.
77219 2011-10-12  Andreas Jaeger  <aj@suse.de>
77221         [BZ #13268]
77222         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
77224 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
77226         * libio/iofwide.c (do_length): Avoid warning.
77228         * ctype/ctype.h (__isctype_f): Add missing __THROW.
77230 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
77232         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
77234         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
77235         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
77236         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
77237         * sysdeps/i386/i686/fpu/e_log.S: New file.
77238         * sysdeps/i386/i686/fpu/e_logf.S: New file.
77239         * sysdeps/i386/i686/fpu/e_logl.S: New file.
77241         * ctype/ctype.h: Add support for inlined isXXX functions when
77242         compiling C++ code.
77244 2011-10-14  Andreas Schwab  <schwab@redhat.com>
77246         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77248         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
77250 2011-10-13  Roland McGrath  <roland@hack.frob.com>
77252         [BZ #13291]
77253         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
77255 2011-10-13  Andreas Schwab  <schwab@redhat.com>
77257         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
77258         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
77259         feraiseexcept.
77261         * sysdeps/x86_64/memrchr.S: Check for zero size.
77263         * string/stratcliff.c: Add memrchr tests.
77265 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77267         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77268         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
77269         rawmemchr-sse2 rawmemchr-sse2-bsf.
77270         * sysdeps/i386/i686/multiarch/memchr.S: New file.
77271         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
77272         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
77273         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
77274         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
77275         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
77276         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
77277         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
77278         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
77279         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
77280         * string/memrchr.c (MEMRCHR): New macro.
77282 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
77284         Add integration with gcc's -ffinite-math-only and optimize wrapper
77285         functions in libm.
77286         * Versions.def: Define GLIBC_2.15 version for libm.
77287         * math/Makefile (headers): Add bits/math-finite.h.
77288         * math/bits/math-finite.h: New file.
77289         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
77290         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
77291         * math/e_acoshl.c: Add __*_finite alias.
77292         * math/e_acosl.c: Likewise.
77293         * math/e_asinl.c: Likewise.
77294         * math/e_atan2l.c: Likewise.
77295         * math/e_atanhl.c: Likewise.
77296         * math/e_coshl.c: Likewise.
77297         * math/e_exp10.c: Likewise.
77298         * math/e_exp10f.c: Likewise.
77299         * math/e_exp10l.c: Likewise.
77300         * math/e_exp2l.c: Likewise.
77301         * math/e_fmodl.c: Likewise.
77302         * math/e_gammal_r.c: Likewise.
77303         * math/e_hypotl.c: Likewise.
77304         * math/e_j0l.c: Likewise.
77305         * math/e_j1l.c: Likewise.
77306         * math/e_jnl.c: Likewise.
77307         * math/e_lgammal_r.c: Likewise.
77308         * math/e_log10l.c: Likewise.
77309         * math/e_log2l.c: Likewise.
77310         * math/e_logl.c: Likewise.
77311         * math/e_powl.c: Likewise.
77312         * math/e_sinhl.c: Likewise.
77313         * math/e_sqrtl.c: Likewise.
77314         * math/e_scalb.c: Completely rewritten and optimized.
77315         * math/e_scalbf.c: Likewise.
77316         * math/e_scalbl.c: Likewise.
77317         * math/w_acos.c: Likewise.
77318         * math/w_acosf.c: Likewise.
77319         * math/w_acosl.c: Likewise.
77320         * math/w_acosh.c: Likewise.
77321         * math/w_acoshf.c: Likewise.
77322         * math/w_acoshl.c: Likewise.
77323         * math/w_asin.c: Likewise.
77324         * math/w_asinf.c: Likewise.
77325         * math/w_asinl.c: Likewise.
77326         * math/w_atan2.c: Likewise.
77327         * math/w_atan2f.c: Likewise.
77328         * math/w_atan2l.c: Likewise.
77329         * math/w_atanh.c: Likewise.
77330         * math/w_atanhf.c: Likewise.
77331         * math/w_atanhl.c: Likewise.
77332         * math/w_exp10.c: Likewise.
77333         * math/w_exp10f.c: Likewise.
77334         * math/w_exp10l.c: Likewise.
77335         * math/w_fmod.c: Likewise.
77336         * math/w_fmodf.c: Likewise.
77337         * math/w_fmodl.c: Likewise.
77338         * math/w_j0.c: Likewise.
77339         * math/w_j0f.c: Likewise.
77340         * math/w_j0l.c: Likewise.
77341         * math/w_j1.c: Likewise.
77342         * math/w_j1f.c: Likewise.
77343         * math/w_j1l.c: Likewise.
77344         * math/w_jn.c: Likewise.
77345         * math/w_jnf.c: Likewise.
77346         * math/w_log.c: Likewise.
77347         * math/w_logf.c: Likewise.
77348         * math/w_logl.c: Likewise.
77349         * math/w_log10.c: Likewise.
77350         * math/w_log10f.c: Likewise.
77351         * math/w_log10l.c: Likewise.
77352         * math/w_log2.c: Likewise.
77353         * math/w_log2f.c: Likewise.
77354         * math/w_log2l.c: Likewise.
77355         * math/w_pow.c: Likewise.
77356         * math/w_powf.c: Likewise.
77357         * math/w_powl.c: Likewise.
77358         * math/w_remainder.c: Likewise.
77359         * math/w_remainderf.c: Likewise.
77360         * math/w_remainderl.c: Likewise.
77361         * math/w_scalb.c: Likewise.
77362         * math/w_scalbf.c: Likewise.
77363         * math/w_scalbl.c: Likewise.
77364         * math/w_sqrt.c: Likewise.
77365         * math/w_sqrtf.c: Likewise.
77366         * math/w_sqrtl.c: Likewise.
77367         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
77368         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
77369         used.
77370         * math/math_private.h: Declare __kernel_standard_f.
77371         * math/w_cosh.c: Remove cruft and optimize a bit.
77372         * math/w_coshf.c: Likewise.
77373         * math/w_coshl.c: Likewise.
77374         * math/w_exp2.c: Likewise.
77375         * math/w_exp2f.c: Likewise.
77376         * math/w_exp2l.c: Likewise.
77377         * math/w_hypot.c: Likewise.
77378         * math/w_hypotf.c: Likewise.
77379         * math/w_hypotl.c: Likewise.
77380         * math/w_lgamma.c: Likewise.
77381         * math/w_lgamma_r.c: Likewise.
77382         * math/w_lgammaf.c: Likewise.
77383         * math/w_lgammaf_r.c: Likewise.
77384         * math/w_lgammal.c: Likewise.
77385         * math/w_lgammal_r.c: Likewise.
77386         * math/w_sinh.c: Likewise.
77387         * math/w_sinhf.c: Likewise.
77388         * math/w_sinhl.c: Likewise.
77389         * math/w_tgamma.c: Likewise.
77390         * math/w_tgammaf.c: Likewise.
77391         * math/w_tgammal.c: Likewise.
77392         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
77393         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
77394         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
77395         Minor optimizations.  Pretty printing.  Remove cruft.
77396         * sysdeps/i386/fpu/e_acosf.S: Likewise.
77397         * sysdeps/i386/fpu/e_acosh.S: Likewise.
77398         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
77399         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
77400         * sysdeps/i386/fpu/e_acosl.c: Likewise.
77401         * sysdeps/i386/fpu/e_asin.S: Likewise.
77402         * sysdeps/i386/fpu/e_asinf.S: Likewise.
77403         * sysdeps/i386/fpu/e_atan2.S: Likewise.
77404         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
77405         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
77406         * sysdeps/i386/fpu/e_atanh.S: Likewise.
77407         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
77408         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
77409         * sysdeps/i386/fpu/e_exp10.S: Likewise.
77410         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
77411         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
77412         * sysdeps/i386/fpu/e_exp2.S: Likewise.
77413         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
77414         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
77415         * sysdeps/i386/fpu/e_fmod.S: Likewise.
77416         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
77417         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
77418         * sysdeps/i386/fpu/e_hypot.S: Likewise.
77419         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
77420         * sysdeps/i386/fpu/e_log.S: Likewise.
77421         * sysdeps/i386/fpu/e_log10.S: Likewise.
77422         * sysdeps/i386/fpu/e_log10f.S: Likewise.
77423         * sysdeps/i386/fpu/e_log10l.S: Likewise.
77424         * sysdeps/i386/fpu/e_log2.S: Likewise.
77425         * sysdeps/i386/fpu/e_log2f.S: Likewise.
77426         * sysdeps/i386/fpu/e_log2l.S: Likewise.
77427         * sysdeps/i386/fpu/e_logf.S: Likewise.
77428         * sysdeps/i386/fpu/e_logl.S: Likewise.
77429         * sysdeps/i386/fpu/e_pow.S: Likewise.
77430         * sysdeps/i386/fpu/e_powf.S: Likewise.
77431         * sysdeps/i386/fpu/e_powl.S: Likewise.
77432         * sysdeps/i386/fpu/e_remainder.S: Likewise.
77433         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
77434         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
77435         * sysdeps/i386/fpu/e_scalb.S: Likewise.
77436         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
77437         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
77438         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
77439         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
77440         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
77441         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
77442         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
77443         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77444         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
77445         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
77446         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
77447         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
77448         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
77449         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
77450         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
77451         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
77452         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
77453         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77454         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
77455         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
77456         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77457         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
77458         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
77459         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
77460         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77461         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
77462         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
77463         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
77464         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
77465         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
77466         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
77467         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
77468         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
77469         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
77470         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
77471         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
77472         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
77473         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
77474         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
77475         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
77476         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
77477         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
77478         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
77479         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
77480         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
77481         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
77482         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
77483         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
77484         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
77485         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
77486         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
77487         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
77488         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
77489         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
77490         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
77491         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
77492         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
77493         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
77494         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
77495         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
77496         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
77497         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
77498         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
77499         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
77500         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
77501         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
77502         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
77503         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
77504         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
77505         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
77506         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
77507         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
77508         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
77509         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
77510         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
77511         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
77512         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
77513         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
77514         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
77515         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
77516         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
77517         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
77518         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
77519         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
77520         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
77521         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
77522         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
77523         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
77524         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
77525         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
77526         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
77527         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
77528         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
77529         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
77530         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
77531         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
77532         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
77533         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
77534         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
77535         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
77536         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
77537         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
77538         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
77539         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
77540         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
77541         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
77542         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
77543         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
77544         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
77545         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
77546         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
77547         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
77548         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
77549         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
77550         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
77551         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
77552         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
77553         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
77554         (__isnanf): Likewise.
77555         (__isinf_ns): Likewise.
77556         (__isinf_nsf): Likewise.
77557         (__finite): Likewise.
77558         (__finitef): Likewise.
77559         (__ieee754_sqrt): Define as macro.
77560         (__ieee754_sqrtf): Define as macro.
77561         (__ieee754_sqrtl): Define as macro.
77562         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
77563         inlined copy.
77564         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
77565         __FINITE_MATH_ONLY__ consistent.
77566         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
77568 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
77570         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
77571         of rawmemchr.
77573         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
77575 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
77577         * po/ja.po: Update from translation team.
77579 2011-10-08  Roland McGrath  <roland@hack.frob.com>
77581         * locale/programs/locarchive.c (prepare_address_space): New function.
77582         (create_archive, enlarge_archive, open_archive): Use it.
77584         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
77585         inside [SHARED], where it is used.
77587         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
77589         * nss/getent.c (netgroup_keys): Remove unused variable.
77590         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
77592 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
77594         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
77595         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
77596         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
77597         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
77598         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
77599         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
77600         * math/Makefile (libm-calls): Add s_isinf_ns.
77601         * math/divtc3.c: Use __isinf_nsl instead of isinf.
77602         * math/multc3.c: Likewise.
77603         * math/s_casin.c: Likewise.
77604         * math/s_casinf.c: Likewise.
77605         * math/s_casinl.c: Likewise.
77606         * math/s_ccos.c: Likewise.
77607         * math/s_ccosf.c: Likewise.
77608         * math/s_ccosl.c: Likewise.
77609         * math/s_ctan.c: Likewise.
77610         * math/s_ctanf.c: Likewise.
77611         * math/s_ctanh.c: Likewise.
77612         * math/s_ctanhf.c: Likewise.
77613         * math/s_ctanhl.c: Likewise.
77614         * math/s_ctanl.c: Likewise.
77615         * math/w_fmod.c: Likewise.
77616         * math/w_fmodf.c: Likewise.
77617         * math/w_fmodl.c: Likewise.
77618         * math/w_remainder.c: Likewise.
77619         * math/w_remainderf.c: Likewise.
77620         * math/w_remainderl.c: Likewise.
77621         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
77622         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
77623         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
77624         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
77625         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
77626         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
77627         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
77628         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
77630         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
77631         of the number.
77632         * stdio-common/printf_fphex.c: Likewise.
77633         * stdio-common/printf_size.c: Likewise.
77635         * math/e_exp10.c: Include math_private.h using <...> not "...".
77636         * math/e_exp10f.c: Likewise.
77637         * math/e_exp10l.c: Likewise.
77638         * math/e_exp2l.c: Likewise.
77639         * math/e_j0l.c: Likewise.
77640         * math/e_j1l.c: Likewise.
77641         * math/e_jnl.c: Likewise.
77642         * math/e_lgammal_r.c: Likewise.
77643         * math/e_rem_pio2l.c: Likewise.
77644         * math/e_scalb.c: Likewise.
77645         * math/e_scalbf.c: Likewise.
77646         * math/e_scalbl.c: Likewise.
77647         * math/k_cosl.c: Likewise.
77648         * math/k_sinl.c: Likewise.
77649         * math/k_tanl.c: Likewise.
77650         * math/s_cacoshf.c: Likewise.
77651         * math/s_catan.c: Likewise.
77652         * math/s_catanf.c: Likewise.
77653         * math/s_catanh.c: Likewise.
77654         * math/s_catanhf.c: Likewise.
77655         * math/s_catanhl.c: Likewise.
77656         * math/s_catanl.c: Likewise.
77657         * math/s_ccosh.c: Likewise.
77658         * math/s_ccoshf.c: Likewise.
77659         * math/s_ccoshl.c: Likewise.
77660         * math/s_cexp.c: Likewise.
77661         * math/s_cexpf.c: Likewise.
77662         * math/s_cexpl.c: Likewise.
77663         * math/s_clog.c: Likewise.
77664         * math/s_clog10.c: Likewise.
77665         * math/s_clog10f.c: Likewise.
77666         * math/s_clog10l.c: Likewise.
77667         * math/s_clogf.c: Likewise.
77668         * math/s_clogl.c: Likewise.
77669         * math/s_csin.c: Likewise.
77670         * math/s_csinf.c: Likewise.
77671         * math/s_csinh.c: Likewise.
77672         * math/s_csinhf.c: Likewise.
77673         * math/s_csinhl.c: Likewise.
77674         * math/s_csinl.c: Likewise.
77675         * math/s_csqrt.c: Likewise.
77676         * math/s_csqrtf.c: Likewise.
77677         * math/s_csqrtl.c: Likewise.
77678         * math/s_ctan.c: Likewise.
77679         * math/s_ctanf.c: Likewise.
77680         * math/s_ctanh.c: Likewise.
77681         * math/s_ctanhf.c: Likewise.
77682         * math/s_ctanhl.c: Likewise.
77683         * math/s_ctanl.c: Likewise.
77684         * math/s_ldexp.c: Likewise.
77685         * math/s_ldexpf.c: Likewise.
77686         * math/s_ldexpl.c: Likewise.
77687         * math/s_significand.c: Likewise.
77688         * math/s_significandf.c: Likewise.
77689         * math/s_significandl.c: Likewise.
77690         * math/w_acos.c: Likewise.
77691         * math/w_acosf.c: Likewise.
77692         * math/w_acosh.c: Likewise.
77693         * math/w_acoshf.c: Likewise.
77694         * math/w_acoshl.c: Likewise.
77695         * math/w_acosl.c: Likewise.
77696         * math/w_asin.c: Likewise.
77697         * math/w_asinf.c: Likewise.
77698         * math/w_asinl.c: Likewise.
77699         * math/w_atan2.c: Likewise.
77700         * math/w_atan2f.c: Likewise.
77701         * math/w_atan2l.c: Likewise.
77702         * math/w_atanh.c: Likewise.
77703         * math/w_atanhf.c: Likewise.
77704         * math/w_atanhl.c: Likewise.
77705         * math/w_cosh.c: Likewise.
77706         * math/w_coshf.c: Likewise.
77707         * math/w_coshl.c: Likewise.
77708         * math/w_dremf.c: Likewise.
77709         * math/w_exp10.c: Likewise.
77710         * math/w_exp10f.c: Likewise.
77711         * math/w_exp10l.c: Likewise.
77712         * math/w_exp2.c: Likewise.
77713         * math/w_exp2f.c: Likewise.
77714         * math/w_fmod.c: Likewise.
77715         * math/w_fmodf.c: Likewise.
77716         * math/w_fmodl.c: Likewise.
77717         * math/w_hypot.c: Likewise.
77718         * math/w_hypotf.c: Likewise.
77719         * math/w_hypotl.c: Likewise.
77720         * math/w_j0.c: Likewise.
77721         * math/w_j0f.c: Likewise.
77722         * math/w_j0l.c: Likewise.
77723         * math/w_j1.c: Likewise.
77724         * math/w_j1f.c: Likewise.
77725         * math/w_j1l.c: Likewise.
77726         * math/w_jn.c: Likewise.
77727         * math/w_jnf.c: Likewise.
77728         * math/w_jnl.c: Likewise.
77729         * math/w_lgamma.c: Likewise.
77730         * math/w_lgamma_r.c: Likewise.
77731         * math/w_lgammaf.c: Likewise.
77732         * math/w_lgammaf_r.c: Likewise.
77733         * math/w_lgammal.c: Likewise.
77734         * math/w_lgammal_r.c: Likewise.
77735         * math/w_log.c: Likewise.
77736         * math/w_log10.c: Likewise.
77737         * math/w_log10f.c: Likewise.
77738         * math/w_log10l.c: Likewise.
77739         * math/w_log2.c: Likewise.
77740         * math/w_log2f.c: Likewise.
77741         * math/w_log2l.c: Likewise.
77742         * math/w_logf.c: Likewise.
77743         * math/w_logl.c: Likewise.
77744         * math/w_pow.c: Likewise.
77745         * math/w_powf.c: Likewise.
77746         * math/w_powl.c: Likewise.
77747         * math/w_remainder.c: Likewise.
77748         * math/w_remainderf.c: Likewise.
77749         * math/w_remainderl.c: Likewise.
77750         * math/w_scalb.c: Likewise.
77751         * math/w_scalbf.c: Likewise.
77752         * math/w_scalbl.c: Likewise.
77753         * math/w_sinh.c: Likewise.
77754         * math/w_sinhf.c: Likewise.
77755         * math/w_sinhl.c: Likewise.
77756         * math/w_sqrt.c: Likewise.
77757         * math/w_sqrtf.c: Likewise.
77758         * math/w_sqrtl.c: Likewise.
77759         * math/w_tgamma.c: Likewise.
77760         * math/w_tgammaf.c: Likewise.
77761         * math/w_tgammal.c: Likewise.
77763         * po/ja.po: Update from translation team.
77765 2011-09-29  Andreas Jaeger  <aj@suse.de>
77767         [BZ #13179]
77768         * sunrpc/netname.c (netname2host): Fix logic.
77770         [BZ #6779]
77771         [BZ #6783]
77772         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
77773         correctly.
77774         * math/w_remainder.c (__remainder): Likewise.
77775         * math/w_remainderf.c (__remainderf): Likewise.
77776         * math/libm-test.inc (remainder_test): Add test cases.
77778 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77780         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
77781         sdiv_qrnnd.
77783 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
77785         * string/test-memcmp.c: Avoid unncessary #defines.
77786         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
77788 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77790         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
77791         Use new sse2 version for core i3 - i7 as it's faster
77792         than sse42 version.
77793         (bit_Prefer_PMINUB_for_stringop): New.
77794         * sysdeps/x86_64/rawmemchr.S: Update.
77795         Replace with faster SSE2 version.
77796         * sysdeps/x86_64/memrchr.S: New file.
77797         * sysdeps/x86_64/memchr.S: Update.
77798         Replace with faster SSE2 version.
77800 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
77802         * elf/dl-load.c (lose): Add cast to avoid warning.
77804 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
77806         * po/ca.po: Update from translation team.
77808         * inet/getnetgrent_r.c: Hook up nscd.
77809         * nscd/Makefile (routines): Add nscd_netgroup.
77810         (nscd-modules): Add netgroupcache.
77811         (CFLAGS-netgroupcache.c): Define.
77812         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
77813         (cache_search): Add const to second parameter.
77814         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
77815         INNETGR.
77816         (dbs): Add netgrdb entry.
77817         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
77818         (verify_persistent_db): Handle netgrdb.
77819         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
77820         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
77821         GETFDNETGR.
77822         (netgroup_response_header): Define.
77823         (innetgroup_response_header): Define.
77824         (datahead): Add netgroup_response_header and innetgroup_response_header
77825         elements.
77826         * nscd/nscd.conf: Add entries for netgroup cache.
77827         * nscd/nscd.h (dbtype): Add netgrdb.
77828         (_PATH_NSCD_NETGROUP_DB): Define.
77829         (netgroup_iov_disabled): Declare.
77830         (xmalloc, xcalloc, xrealloc): Move declarations here.
77831         (cache_search): Adjust prototype.
77832         Add netgroup-related prototypes.
77833         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
77834         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
77835         (__nscd_innetgr): Declare.
77836         * nscd/selinux.c (perms): Use access_vector_t as element type and
77837         add netgroup-related initializers.
77838         * nscd/netgroupcache.c: New file.
77839         * nscd/nscd_netgroup.c: New file.
77840         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
77841         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
77842         For four parameters use innetgr.
77843         * nss/nss_files/files-init.c: Add definition and callback for netgr.
77844         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
77845         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
77846         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
77848         * nscd/connections.c (register_traced_file): Don't register file
77849         for disabled databases.
77851 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
77853         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
77855         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
77856         from tree and freeing node.
77858 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
77860         * nss/nsswitch.c (__nss_database_lookup): Handle
77861         nss_parse_service_list out of memory case.
77863 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
77865         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
77866         out of memory case.
77868 2011-10-04  Andreas Schwab  <schwab@redhat.com>
77870         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
77871         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
77872         pass it down.
77873         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
77874         elf_machine_rela, elf_machine_lazy_rel.
77875         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
77876         (ELF_DYNAMIC_DO_REL): Likewise.
77877         (ELF_DYNAMIC_DO_RELA): Likewise.
77878         (ELF_DYNAMIC_RELOCATE): Likewise.
77879         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
77880         to ELF_DYNAMIC_DO_REL.
77881         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
77882         (dl_main): In trace mode always set __RTLD_NOIFUNC.
77883         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
77884         elf_machine_rela.
77885         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
77886         skip_ifunc, don't call ifunc function if non-zero.
77887         (elf_machine_rela): Likewise.
77888         (elf_machine_lazy_rel): Likewise.
77889         (elf_machine_lazy_rela): Likewise.
77890         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
77891         (elf_machine_lazy_rel): Likewise.
77892         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
77893         Likewise.
77894         (elf_machine_lazy_rel): Likewise.
77895         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
77896         Likewise.
77897         (elf_machine_lazy_rel): Likewise.
77898         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
77899         (elf_machine_lazy_rel): Likewise.
77900         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
77901         (elf_machine_lazy_rel): Likewise.
77902         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
77903         (elf_machine_lazy_rel): Likewise.
77904         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
77905         (elf_machine_lazy_rel): Likewise.
77906         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
77907         (elf_machine_lazy_rel): Likewise.
77908         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
77909         (elf_machine_lazy_rel): Likewise.
77911 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
77913         * nss/nss_files/files-init.c (_nss_files_init): Use static
77914         initialization for all the *_traced_file variables.
77916 2011-09-28  Andreas Schwab  <schwab@redhat.com>
77918         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77920 2011-09-27  Roland McGrath  <roland@hack.frob.com>
77922         [BZ #13226]
77923         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
77925 2011-09-27  Andreas Schwab  <schwab@redhat.com>
77927         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
77928         Reread the line before reparsing it.
77930 2011-09-26  Andreas Schwab  <schwab@redhat.com>
77932         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
77934 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
77935             Maxim Kuvyrkov  <maxim@codesourcery.com>
77936             Joseph Myers  <joseph@codesourcery.com>
77938         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
77939         if needed for __stack_chk_guard.
77941 2011-09-19  Roland McGrath  <roland@hack.frob.com>
77943         * sysdeps/posix/spawni.c (script_execute): Always define it.
77944         It will be optimized away if unused.
77945         (maybe_script_execute): New function.
77946         (__spawni): Call it.
77948         * Makerules: Don't include tls.make.
77949         (config-tls): Always set to thread.
77950         * tls.make.c: File removed.
77952 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
77954         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
77955         * config.make.in (CPPFLAGS-config): New substituted variable.
77957 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
77959         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
77961         [BZ #13192]
77962         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
77963         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
77965 2011-09-15  Roland McGrath  <roland@hack.frob.com>
77967         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
77968         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
77969         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
77970         (CALL_FAIL): Likewise.
77971         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
77972         (CALL_FAIL): Macro removed.
77973         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
77975 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
77977         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
77978         for __FINITE_MATH_ONLY__ == 1.
77980 2011-09-15  Andreas Schwab  <schwab@redhat.com>
77982         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
77983         __ieee754_sqrt instead of sqrt.
77984         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
77985         __ieee754_sqrtf instead of sqrtf.
77986         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
77987         __floorf instead of floorf.
77988         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
77989         __floorf, __truncf instead of floorf, truncf.
77991 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
77993         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
77995         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
77996         __extern_always_inline.
77997         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
77998         32-bit.
78000 2011-09-14  Andreas Schwab  <schwab@redhat.com>
78002         * elf/rtld.c (dl_main): Also relocate in dependency order when
78003         doing symbol dependency testing.
78005 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
78007         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
78008         Always define `refsym'.
78010 2011-09-13  Andreas Schwab  <schwab@redhat.com>
78012         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
78013         (__FD_ELT): Renamed from __FDELT.
78014         * misc/bits/select2.h (__FD_ELT): Likewise.
78015         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
78016         __FD_MASK instead of __FDELT, __FDMASK.
78017         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
78018         Likewise.
78019         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
78020         Likewise.
78022         * elf/Makefile (gen-ldd): Fix pattern.
78024         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
78025         (init_tls): Likewise.
78027 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
78029         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
78031 2011-09-12  Andreas Schwab  <schwab@redhat.com>
78033         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
78034         `struct cmsghdr *' instead of `void *'.
78035         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
78036         Likewise.
78038 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
78040         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
78041         if non-absolute.
78042         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
78043         ldd_rewrite_script.
78045 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
78047         * configure.in: Remove --with-tls option.
78048         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
78049         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
78050         out in case it is missing.
78051         * sysdeps/ia64/elf/configure.in: Likewise.
78052         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
78053         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
78054         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
78055         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
78056         * sysdeps/sh/elf/configure.in: Likewise.
78057         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
78058         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
78059         * sysdeps/x86_64/elf/configure.in: Likewise.
78060         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
78061         * sysdeps/mach/hurd/tls.h: Likewise.
78063         [BZ #13067]
78064         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
78066         [BZ #13090]
78067         * configure.in: Fix use of AC_INIT.
78069         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
78071 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
78073         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
78074         __set_errno.
78075         * malloc/hooks.c: Likewise.
78077         [BZ #11929]
78078         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
78079         variables statically.
78080         (narenas): Initialize.
78081         (list_lock): Initialize.
78082         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
78083         initializtion of main_arena and list_lock.  Small cleanups.
78084         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
78085         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
78086         Add initializers to main_arena and mp_.
78087         (malloc_state): Remove pagesize member.  Change all users to use
78088         GLRO(dl_pagesize).
78090         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
78091         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
78092         is always initialized.
78094         * malloc/malloc.c: Removed unused configurations and dead code.
78095         * malloc/arena.c: Likewise.
78096         * malloc/hooks.c: Likewise.
78097         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
78099         * include/tls.h: Removed.  USE___THREAD must always be defined.
78100         * bits/libc-tsd.h: Don't handle !USE___THREAD.
78101         * elf/dl-libc.c: Likewise.
78102         * elf/dl-tsd.c: Likewise.
78103         * include/errno.h: Likewise.
78104         * include/netdb.h: Likewise.
78105         * include/resolv.h: Likewise.
78106         * inet/herrno-loc.c: Likewise.
78107         * inet/herrno.c: Likewise.
78108         * malloc/arena.c: Likewise.
78109         * malloc/hooks.c: Likewise.
78110         * malloc/malloc.c: Likewise.
78111         * resolv/res-state.c: Likewise.
78112         * resolv/res_libc.c: Likewise.
78113         * sysdeps/i386/dl-machine.h: Likewise.
78114         * sysdeps/ia64/dl-machine.h: Likewise.
78115         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
78116         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
78117         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
78118         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
78119         * sysdeps/sh/dl-machine.h: Likewise.
78120         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
78121         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
78122         * sysdeps/unix/i386/sysdep.S: Likewise.
78123         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
78124         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
78125         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
78126         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
78127         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
78128         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
78129         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
78130         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
78131         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
78132         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
78133         * sysdeps/unix/x86_64/sysdep.S: Likewise.
78134         * sysdeps/x86_64/dl-machine.h: Likewise.
78135         * tls.make.c: Likewise.
78137         * configure.in: Remove --with-__thread option.  Make tests for
78138         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
78139         tls_model attribute fail if no support is available.  Remove
78140         USE_IN_LIBIO.
78141         * Makeconfig: Adjust for dropped configure option.  All features are
78142         now mandatory.
78143         * Makerules: Likewise.
78144         * Versions.def: Likewise.
78145         * argp/argp-fmtstream.c: Likewise.
78146         * argp/argp-fmtstream.h: Likewise.
78147         * argp/argp-help.c: Likewise.
78148         * assert/assert.c: Likewise.
78149         * config.h.in: Likewise.
78150         * config.make.in: Likewise.
78151         * configure: Likewise.
78152         * configure.in: Likewise.
78153         * csu/Versions: Likewise.
78154         * csu/init.c: Likewise.
78155         * elf/tst-audit2.c: Likewise.
78156         * elf/tst-tls10.c: Likewise.
78157         * elf/tst-tls10.h: Likewise.
78158         * elf/tst-tls11.c: Likewise.
78159         * elf/tst-tls12.c: Likewise.
78160         * elf/tst-tls14.c: Likewise.
78161         * elf/tst-tlsmod11.c: Likewise.
78162         * elf/tst-tlsmod12.c: Likewise.
78163         * elf/tst-tlsmod13.c: Likewise.
78164         * elf/tst-tlsmod13a.c: Likewise.
78165         * elf/tst-tlsmod14a.c: Likewise.
78166         * elf/tst-tlsmod15b.c: Likewise.
78167         * elf/tst-tlsmod16a.c: Likewise.
78168         * elf/tst-tlsmod16b.c: Likewise.
78169         * elf/tst-tlsmod7.c: Likewise.
78170         * elf/tst-tlsmod8.c: Likewise.
78171         * elf/tst-tlsmod9.c: Likewise.
78172         * gmon/gmon.c: Likewise.
78173         * grp/fgetgrent_r.c: Likewise.
78174         * grp/putgrent.c: Likewise.
78175         * hurd/fopenport.c: Likewise.
78176         * include/libc-symbols.h: Likewise.
78177         * include/tls.h: Likewise.
78178         * intl/gettextP.h: Likewise.
78179         * intl/loadinfo.h: Likewise.
78180         * locale/global-locale.c: Likewise.
78181         * locale/localeinfo.h: Likewise.
78182         * mach/devstream.c: Likewise.
78183         * malloc/arena.c: Likewise.
78184         * malloc/set-freeres.c: Likewise.
78185         * misc/err.c: Likewise.
78186         * misc/getttyent.c: Likewise.
78187         * misc/mntent_r.c: Likewise.
78188         * posix/getopt.c: Likewise.
78189         * posix/wordexp.c: Likewise.
78190         * pwd/fgetpwent_r.c: Likewise.
78191         * resolv/Versions: Likewise.
78192         * resolv/res_hconf.c: Likewise.
78193         * shadow/fgetspent_r.c: Likewise.
78194         * shadow/putspent.c: Likewise.
78195         * stdio-common/printf_fphex.c: Likewise.
78196         * stdio-common/tmpfile.c: Likewise.
78197         * stdlib/abort.c: Likewise.
78198         * stdlib/fmtmsg.c: Likewise.
78199         * sunrpc/auth_unix.c: Likewise.
78200         * sunrpc/clnt_perr.c: Likewise.
78201         * sunrpc/clnt_tcp.c: Likewise.
78202         * sunrpc/clnt_udp.c: Likewise.
78203         * sunrpc/clnt_unix.c: Likewise.
78204         * sunrpc/openchild.c: Likewise.
78205         * sunrpc/svc_simple.c: Likewise.
78206         * sunrpc/svc_tcp.c: Likewise.
78207         * sunrpc/svc_udp.c: Likewise.
78208         * sunrpc/svc_unix.c: Likewise.
78209         * sunrpc/xdr.c: Likewise.
78210         * sunrpc/xdr_array.c: Likewise.
78211         * sunrpc/xdr_rec.c: Likewise.
78212         * sunrpc/xdr_ref.c: Likewise.
78213         * sunrpc/xdr_stdio.c: Likewise.
78215 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
78217         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
78219 2011-07-03  Andreas Jaeger  <aj@suse.de>
78221         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
78222         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
78223         regenerate with gen-libm-tests.pl.
78225 2010-05-12  Petr Baudis  <pasky@suse.cz>
78227         [BZ #11589]
78228         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
78229         around j0() zero points by switching to j1().
78230         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
78231         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
78232         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
78233         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
78235 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
78237         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
78238         instead of 0.
78239         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
78240         instead of 0.
78241         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
78242         Patch in part by Pavel Roskin <proski@gnu.org>.
78244         [BZ #13138]
78245         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
78246         realloc.
78247         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
78248         Free memory block if necessary.
78250         [BZ #12847]
78251         * libio/genops.c (INTDEF): For string streams the _lock pointer can
78252         be NULL.  Don't lock in this case.
78254 2011-09-09  Roland McGrath  <roland@hack.frob.com>
78256         * elf/elf.h (ELFOSABI_GNU): New macro.
78257         (ELFOSABI_LINUX): Define to that.
78259 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
78261         * string/strncat.c (strncat): Undef the symbol in case it has been
78262         defined in bits/string.h.
78264 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
78266         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
78268         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
78269         link map.
78271 2011-08-17  Andreas Jaeger  <aj@suse.de>
78273         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
78275 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
78276             Ian Lance Taylor  <iant@google.com>
78278         * math/libm-test.inc (lround_test): New testcase.
78279         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
78281 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
78283         * Makefile: Remove support for automatic cvs check-ins.
78284         * Makerules: Likewise.
78285         * config.make.in: Likewise.
78286         * configure.in: Likewise.
78287         * intl/Makefile: Likewise.
78288         * locale/Makefile: Likewise.
78289         * po/Makefile: Likewise.
78290         * posix/Makefile: Likewise.
78291         * sysdeps/gnu/Makefile: Likewise.
78292         * sysdeps/mach/hurd/Makefile: Likewise.
78293         * sysdeps/sparc/sparc32/Makefile: Likewise.
78295         [BZ #13118]
78296         * posix/Makefile (bug-regex32-ENV): Define.
78297         Patch by John Stanley <jpsinthemix@verizon.net>.
78299         * misc/Makefile (headers): Add bits/select2.h.
78300         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
78301         * misc/bits/select2.h: New file.
78302         * include/bits/select2.h: New file.
78303         * debug/Makefile (routines): Add fdelt_chk.
78304         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
78305         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
78306         FD_ISSET.
78307         * debug/fdelt_chk.c: New file.
78309         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
78310         * wcsmbs/test-wmemcmp.c: Likewise.
78311         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
78312         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
78314 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78316         * string/Makefile (strop-tests): Add memcmp.
78317         * string/test-wmemcmp.c: New file.
78318         * string/test-memcmp.c: Add wmemcmp support.
78320 2011-09-08  Roland McGrath  <roland@hack.frob.com>
78322         [BZ #13153]
78323         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
78324         2011-07-19 change.
78326         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
78327         garbage value in a __mach_port_mod_refs call in the cases of the
78328         task-self and thread-self ports.
78330 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78332         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
78334 2011-09-08  Andreas Schwab  <schwab@redhat.com>
78336         * elf/dl-load.c (lose): Check for non-null L.
78338 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
78340         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
78342         * elf/dl-libc.c (dlerror_run): Pass back error code from
78343         dl_catch_error.
78345         [BZ #13123]
78346         * elf/dl-load.c (lose): Free l_origin if it is valid.
78348         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
78349         names.
78350         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
78351         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
78352         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
78353         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
78354         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
78355         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
78357 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78359         * sysdeps/powerpc/fpu/e_hypot.c: New file.
78360         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
78361         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
78362         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
78363         * sysdeps/powerpc/fpu/k_cosf.c: New file.
78364         * sysdeps/powerpc/fpu/k_sinf.c: New file.
78365         * sysdeps/powerpc/fpu/s_cosf.c: New file.
78366         * sysdeps/powerpc/fpu/s_sinf.c: New file.
78367         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
78368         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
78370 2011-08-15  Alan Modra  <amodra@gmail.com>
78372         [BZ #13092]
78373         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
78374         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
78375         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
78376         ppc_mcount to static-only-routines.
78377         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
78378         __mcount_internal.
78379         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
78380         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
78382 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
78384         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
78385         for finite and infinity parameters.
78387 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
78389         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
78390         and add nop instructions for throughput optimization.
78391         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
78393 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
78395         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
78396         aligned copy for power7 with vector-scalar instructions.
78397         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
78399 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
78401         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
78402         AVX check.
78404 2011-09-07  Andreas Schwab  <schwab@redhat.com>
78406         [BZ #13144]
78407         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
78408         last change.
78410 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
78412         * sysdeps/unix/sysv/linux/x86_64/init-first.c
78413         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
78414         syscall wrapper around clock_gettime in __vdso_clock_gettime.
78415         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
78416         clock_gettime.
78418 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
78420         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
78421         Forgot to demangle the pointer.
78423         * sysdeps/i386/sysdep.h: Define atom_text_section.
78424         * sysdeps/x86_64/sysdep.h: Likewise.
78425         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
78426         section with atom_text_section.
78427         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
78428         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
78429         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
78430         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
78431         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
78433         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
78434         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
78435         already be defined.  Change to take two parameters and don't assign
78436         result to variable.  Adjust all users.
78437         Define INTERNAL_GETTIME if not already defined.
78438         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
78439         call.
78440         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
78441         HAVE_CLOCK_GETTIME_VSYSCALL.
78442         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
78444         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
78445         gettimeofday vsyscall, just use time.
78447 2011-09-06  Andreas Schwab  <schwab@redhat.com>
78449         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
78450         <errno.h>.
78452 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
78454         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
78455         syscall on x86-64.
78456         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
78457         syscall.
78458         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
78459         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
78460         syscall if possible.
78462 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
78464         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
78465         e_ident.  Don't pass to find_mapsXX.
78466         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
78468 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
78470         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78471         strchr-sse2-no-bsf strrchr-sse2-no-bsf
78472         * sysdeps/x86_64/multiarch/strchr.S: Update.
78473         Check bit_slow_BSF bit.
78474         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
78475         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
78476         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
78478 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
78480         [BZ #13134]
78481         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
78482         before glibc 2.15.
78483         (tryshell): Define.
78484         (__spawni): Change last parameter to be flag.  Test
78485         SPAWN_XFLAGS_USE_PATH flag to use path or not.
78486         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
78487         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
78488         * posix/spawni.c: Likewise.
78489         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
78490         * posix/spawnp.c: Likewise.  Change normal version to use
78491         SPAWN_XFLAGS_USE_PATH.
78492         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
78493         SPAWN_XFLAGS_TRY_SHELL.
78495         [BZ #13150]
78496         * posix/glob.h: Remove gcc 1.x support.
78498         [BZ #13068]
78499         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
78501 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
78503         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78504         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
78505         strrchr-sse2-bsf
78506         * sysdeps/i386/i686/multiarch/strchr.S: New file.
78507         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
78508         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
78509         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
78510         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
78511         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
78513 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78515         * sysdeps/x86_64/wcscmp.S: New file.
78517         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
78518         wcscmp-c wcscmp-sse2
78519         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
78520         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
78521         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
78522         * wcsmbs/wcscmp.c: Allow renaming.
78524 2011-09-05  David S. Miller  <davem@davemloft.net>
78526         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
78527         stack slot, rather than the struct return pointer slot.
78528         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
78529         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
78530         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
78531         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
78533 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
78535         * po/ja.po: Update from translation team.
78537         [BZ #13144]
78538         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
78539         kernel in 64-bit binaries.
78541 2011-09-01  David S. Miller  <davem@davemloft.net>
78543         * elf/elf.h (HWCAP_SPARC_*): Move to..
78544         * sysdeps/sparc/sysdep.h: this new file and add new values.
78545         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
78546         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
78547         _DL_HWCAP_COUNT to 24.
78548         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
78549         entries.
78550         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
78551         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
78552         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
78553         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
78554         instead of magic constants.
78555         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
78557 2011-08-31  David S. Miller  <davem@davemloft.net>
78559         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
78560         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
78561         Reimplement to do errno handling inline.
78562         (SYSCALL_ERROR_HANDLER): New macro.
78563         (__SYSCALL_STRING): Do not do errno handling in asm.
78564         (__CLONE_SYSCALL_STRING): Delete.
78565         (__INTERNAL_SYSCALL_STRING): Delete.
78566         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
78567         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
78568         (PSEUDO): Reimplement to do errno handling inline.
78569         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
78570         (SYSCALL_ERROR_HANDLER): New macro.
78571         (__SYSCALL_STRING): Do not do errno handling in asm.
78572         (__CLONE_SYSCALL_STRING): Delete.
78573         (__INTERNAL_SYSCALL_STRING): Delete.
78574         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
78575         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
78576         i386.
78577         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
78578         (inline_syscall*): Add 'err' argument.
78579         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
78580         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
78581         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
78582         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
78584         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
78585         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
78587 2011-08-30  Andreas Schwab  <schwab@redhat.com>
78589         * elf/rtld.c (dl_main): Relocate objects in dependency order.
78591 2011-08-29  Jiri Olsa <jolsa@redhat.com>
78593         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
78594         directive.
78596 2011-08-24  David S. Miller  <davem@davemloft.net>
78598         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
78600 2011-08-24  Andreas Schwab  <schwab@redhat.com>
78602         * elf/Makefile: Add rules to build and run unload8 test.
78603         * elf/unload8.c: New file.
78604         * elf/unload8mod1.c: New file.
78605         * elf/unload8mod1x.c: New file.
78606         * elf/unload8mod2.c: New file.
78607         * elf/unload8mod3.c: New file.
78609         * elf/dl-close.c (_dl_close_worker): Reset private search list if
78610         it wasn't used.
78612 2011-08-23  David S. Miller  <davem@davemloft.net>
78614         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
78615         subtract stack bias.
78616         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
78617         %sp not %fp in calculations.
78618         (_JMPBUF_UNWINDS_ADJ): Likewise.
78620         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
78621         (aio_suspend): Call it to force an exception region around the
78622         AIO_MISC_WAIT() invocation.
78624 2011-08-23  Andreas Schwab  <schwab@redhat.com>
78626         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
78627         backslash.
78629 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
78631         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
78632         protection macro.
78633         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
78634         and <dl-machine.h>.
78635         (Elf64_FuncDesc): Remove.
78637 2011-08-22  David S. Miller  <davem@davemloft.net>
78639         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
78640         sigaltstack check, add missing cfi directives.
78641         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
78642         missing cfi directives, and sigaltstack handling.
78644 2011-08-16  Andreas Schwab  <schwab@redhat.com>
78646         [BZ #11724]
78647         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
78648         object is seen twice.
78649         * elf/dl-fini.c (_dl_sort_fini): Likewise.
78651         * elf/Makefile (distribute): Add tst-initorder2.c.
78652         (tests): Add tst-initorder2.
78653         (modules-names): Add tst-initorder2a tst-initorder2b
78654         tst-initorder2c tst-initorder2d.  Add rules to build them.
78655         ($(objpfx)tst-initorder2.out): New rule.
78656         * elf/tst-initorder2.c: New file.
78657         * elf/tst-initorder2.exp: New file.
78659 2011-08-22  Andreas Schwab  <schwab@redhat.com>
78661         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
78663         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
78664         dependencies back to end of function.
78666         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
78667         $(elfobjdir)/ld.so.
78669 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
78671         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
78672         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
78673         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
78674         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
78675         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
78676         of __vdso_gettimeofday.
78677         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
78678         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
78679         attribute_hidden.
78680         (_libc_vdso_platform_setup): Remove initialization of
78681         __vdso_gettimeofday and __vdso_time.
78683 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
78685         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
78686         and fgetc_unlocked.
78687         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
78688         getc_unlocked.
78690         * elf/dl-open.c (add_to_global): Report additions to the global scope
78691         for LD_DEBUG=scopes.
78692         (dl_open_worker): Also print scope of newly loaded dependencies.
78693         (_dl_show_scope): Indicate if there is no scope.
78695         [BZ #13114]
78696         * stdio-common/Makefile (tests): Add bug24.
78697         * stdio-common/bug24.c: New file.
78699 2011-08-19  Andreas Jaeger  <aj@suse.de>
78701         [BZ #13114]
78702         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
78703         non-existant file when using close-on-exec mode.
78705 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
78707         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
78708         the very first instruction.
78710         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
78711         the CFI state in the end.
78712         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
78713         inclusion of dl-trampoline.h.
78714         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
78716 2011-08-19  Andreas Schwab  <schwab@redhat.com>
78718         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
78719         expectations for long double.
78721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
78722         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
78724 2011-08-14  David S. Miller  <davem@davemloft.net>
78726         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
78727         artificual limit depends upon the system page size.
78729 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
78731         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
78732         * resolv/Makefile: Define CFLAGS-libresolv.
78734 2011-08-17  Andreas Schwab  <schwab@redhat.com>
78736         * nss/makedb.c (compute_tables): Make variables used in nested
78737         function static.
78739 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
78741         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
78742         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
78743         if buffer was too small.
78745         * elf/pldd.c (main): Attach to all threads in the process.
78746         Rewrite /proc handling to use *at functions.
78748 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
78750         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
78751         specifies first scope to show.
78752         (dl_open_worker): Update callers.  Move printing scope of new
78753         object to before the relocation.
78754         * elf/rtld.c (dl_main): Update _dl_show_scope call.
78755         * sysdeps/generic/ldsodefs.h: Update declaration.
78757         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
78758         string for the scope number.
78760 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
78762         * nscd/servicescache.c (cache_addserv): Make sure written is always
78763         initialized.
78765 2011-08-14  Roland McGrath  <roland@hack.frob.com>
78767         * sysdeps/i386/i486/bits/atomic.h
78768         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
78769         statement expression, so as to suppress "set but not used" warning.
78770         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
78772         * string/strncat.c (STRNCAT): Use prototype definition.
78774         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
78775         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
78776         -Iprograms here.
78777         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
78778         (localedef-modules): Add localedef.
78779         (locale-modules): Add locale.
78781         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
78782         * elf/rtld.c (dl_main): Invert order of assignment in last change,
78783         to avoid a warning.
78785 2011-08-14  David S. Miller  <davem@davemloft.net>
78787         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
78788         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
78790 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
78792         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
78793         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
78794         * elf/rtld.c (dl_main): Set l_name of vDSO.
78795         Call _dl_show_scope when DL_DEBUG_SCOPES.
78796         (process_dl_debug): Recognize scopes flag and also set it for all.
78797         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
78798         Declare _dl_show_scope.
78800         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
78801         (do_dlopen): Pass caller_dlopen to dl_open.
78802         (__libc_dlopen_mode): Initialize caller_dlopen.
78804         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
78805         of libc.  Make tolower call locale-independent.  Optimize a bit by
78806         using isdigit instead of isalnum.
78807         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
78809 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
78811         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
78812         was a dependency or dynamically loaded.
78814 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
78816         * intl/l10nflist.c: Allow architecture-specific pop function.
78817         * sysdeps/x86_64/l10nflist.c: New file.
78819         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
78820         classification.
78822 2011-08-10  Andreas Schwab  <schwab@redhat.com>
78824         * include/dirent.h: Add libc_hidden_proto for scandirat and
78825         scandirat64.  Don't declare __scandirat64.
78826         * dirent/scandirat.c: Add libc_hidden_def.
78827         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
78828         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
78830 2011-08-10  David S. Miller  <davem@davemloft.net>
78832         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
78833         enum.
78834         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
78835         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
78836         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
78838 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
78840         * Versions.def [libc]: Add GLIBC_2.15.
78841         * dirent/Makefile (routines): Add scandirat and scandirat64.
78842         * dirent/Versions [libc]: Export scandirat and scandirat64 for
78843         GLIBC_2.15.
78844         * dirent/dirent.h: Declare scandirat and scandirat64.
78845         * dirent/scandirat.c: New file.
78846         * dirent/scandirat64.c: New file.
78847         * sysdeps/wordsize-64/scandirat.c: New file.
78848         * sysdeps/wordsize-64/scandirat64.c: New file.
78849         * dirent/opendir.c: Define opendirat.
78850         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
78851         using scandirat.
78852         * dirent/scandir64.c: Adjust for scandir.c change.
78853         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
78854         __scandirat64, and __scandir_cancel_handler.
78855         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
78856         additional parameter and use openat instead of open (outside of ld.so).
78857         Add new __opendir as wrapper around __opendirat.
78858         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
78859         here without requiring old scandirat implementation.
78861 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
78863         * dirent/scandir.c (cancel_handler): Renamed to
78864         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
78865         defined.  Adjust users.
78866         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
78867         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
78869 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
78871         * string/test-string.h (IMPL): Use __STRING to expand name and then
78872         stringify it.
78874         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
78875         of cleanups.
78877 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78879         * string/Makefile: Update.
78880         (strop-tests): Append strncat.
78881         * string/test-wcscmp.c: New file.
78882         New comprehensive test for wcscmp.
78883         * string/test-strcmp.c: Update.
78884         (WIDE): New define.
78886 2011-07-22  Andreas Schwab  <schwab@redhat.com>
78888         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
78889         line.
78891 2011-07-26  Andreas Schwab  <schwab@redhat.com>
78893         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
78894         encoding to ACE if AI_IDN.
78896 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
78898         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
78899         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
78901 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
78903         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
78904         Fix overflow bug in strncat.
78905         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
78907         * string/test-strncat.c: Update.
78908         Add new tests for checking overflow bugs.
78910 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
78912         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78913         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
78914         * sysdeps/i386/i686/multiarch/strcat.S: New file.
78915         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
78916         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
78917         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
78918         * sysdeps/i386/i686/multiarch/strncat.S: New file.
78919         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
78920         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
78922         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
78923         (USE_AS_STRCAT): Define.
78924         Add strcat and strncat support.
78925         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
78927 2011-07-25  Andreas Schwab  <schwab@redhat.com>
78929         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
78930         __n bigger than INT_MAX+1.
78931         (__strncmp_g): Likewise.
78933 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
78935         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
78936         * libio/stido.h: Likewise.
78938         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
78939         (AF_NFC): Define.
78940         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
78941         (AF_NFC): Define.
78943         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
78944         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
78945         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
78946         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
78947         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
78949         [BZ #13021]
78950         * scripts/test-installation.pl: Don't expect libnss_test1 to be
78951         installed.
78953         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
78954         typo.
78955         (_dl_x86_64_save_sse): Likewise.
78957 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
78959         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
78960         OSXSAVE.
78961         (_dl_x86_64_save_sse): Likewise.
78963         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
78965         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
78967 2011-07-21  Andreas Schwab  <schwab@redhat.com>
78969         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
78970         change.
78971         (_dl_x86_64_save_sse): Use correct AVX check.
78973 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78975         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
78976         bug in strncpy/strncat.
78977         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
78979 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
78981         * string/tester.c (test_strcat): Add tests for different alignments
78982         of source and destination.
78983         (test_strncat): Likewise.
78985 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
78987         [BZ #12852]
78988         * posix/glob.c (glob): Check passed in values before using them in
78989         expressions to avoid some overflows.
78990         (glob_in_dir): Likewise.
78992         [BZ #13007]
78993         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
78994         check for AVX enablement so that we don't crash with old kernels and
78995         new hardware.
78996         * elf/tst-audit4.c: Add same checks here.
78997         * elf/tst-audit6.c: Likewise.
78999         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
79001 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
79003         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
79005 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
79007         * po/cs.po: Update from translation team.
79008         * po/bg.po: Likewise.
79010 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
79012         * misc/sys/cdefs.h: Add support for const attribute.
79013         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
79014         to gnu_dev_{major,minor,makedev} functions.
79016 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
79018         * intl/dcigettext.c (get_output_charset): Add missing bracket.
79020 2011-07-20  Andreas Schwab  <schwab@redhat.com>
79022         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
79023         strlen results.
79025 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79027         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
79028         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
79029         register in order to avoid conflicts with the soft frame pointer
79030         being held in r11 when necessary.
79031         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
79032         (INTERNAL_VSYSCALL_NCS): Likewise.
79034 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
79036         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
79037         * elf/dl-fini.c (_dl_fini): Adjust caller.
79038         * elf/dl-close.c (_dl_close_worker): Likewise.
79039         * sysdeps/generic/ldsodefs.h: Adjust declaration.
79041 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
79043         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
79044         "aux_cache->nlibs < 0".
79046         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
79047         in the reload-count case.
79049 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79051         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79052         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
79053         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
79054         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
79055         * sysdeps/x86_64/multiarch/strcat.S: New file.
79056         * sysdeps/x86_64/multiarch/strncat.S: New file.
79057         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
79058         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
79059         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
79060         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
79061         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
79062         (USE_AS_STRCAT): Define.
79063         Add strcat and strncat support.
79064         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
79065         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
79066         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
79067         * string/strncat.c: Update.
79068         (USE_AS_STRNCAT): Define.
79069         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79070         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
79071         and i7.
79072         * sysdeps/x86_64/multiarch/init-arch.h
79073         (bit_Prefer_PMINUB_for_stringop): New.
79074         (index_Prefer_PMINUB_for_stringop): Likewise.
79075         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
79076         bit_Prefer_PMINUB_for_stringop.
79078 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
79080         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
79081         buffer64.
79082         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
79083         of casting of buffer.
79084         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
79085         buffer32 and buffer64.
79086         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
79087         writes instead of casting of buffer.
79088         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
79089         buffer32.
79090         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
79091         casting of buffer.
79093 2011-07-19  Andreas Schwab  <schwab@redhat.com>
79095         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
79097 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
79099         * nscd/nscd.c (termination_handler): Don't do anything for a database
79100         if it has not yet been initialized.
79102 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
79104         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
79106 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
79108         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
79110 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
79112         * po/nl.po: Update from translation team.
79113         * po/sv.po: Likewise.
79115 2011-07-16  Roland McGrath  <roland@hack.frob.com>
79117         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
79118         now disallowed by GCC.
79120         * configure.in (use-default-link): Default to yes if a test -shared
79121         link meets our qualifications.
79122         * configure: Regenerated.
79124         * config.make.in (output-format): New variable.
79125         * configure.in: Check for ld --print-output-format support.
79126         * configure: Regenerated.
79127         * Makerules ($(common-objpfx)format.lds)
79128         [$(output-format) != unknown]: Just use $(output-format),
79129         instead of the linker-script munging.
79131 2011-07-14  Roland McGrath  <roland@hack.frob.com>
79133         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
79134         of $(common-objpfx)shlib.lds.
79135         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
79137         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
79138         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
79140         * configure.in (-z relro check): Adjust test code to add a large
79141         writable data section after it.
79142         * configure: Regenerated.
79144 2011-07-11  Roland McGrath  <roland@hack.frob.com>
79146         * configure.in (-z relro check): Fix test code to make the variable
79147         truly const.
79148         * configure: Regenerated.
79150 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
79152         * nscd/nscd.h (struct traced_file): Define.
79153         (struct database_dyn): Remove inotify_descr, reset_res, and filename
79154         elements.  Add traced_files.
79155         (inotify_fd): Declare.
79156         (register_traced_file): Declare.
79157         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
79158         (inotify_fd): Export.
79159         (resolv_conf_descr): Remove.
79160         (nscd_init): Move inotify descriptor creation to main.
79161         Don't register files for notification here.
79162         (register_traced_file): New function.
79163         (invalidate_cache): Don't use reset_res to determine whether to call
79164         res_init, go through the list of registered files.
79165         (main_loop_poll): The inotify descriptors are now stored in the
79166         structures for the traced files.
79167         (main_loop_epoll): Likewise.
79168         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
79169         to __nss_disable_nscd.
79170         * nscd/cache.c (prune_cache): There is no single inotify descriptor
79171         for a database anymore.  Check the records for all the registered
79172         files instead.
79173         * nss/Makefile (libnss_files-routines): Add files-init.
79174         (libnss_db-routines): Add db-init.
79175         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
79176         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
79177         * nss/nss_db/db-init.c: New file.
79178         * nss/nss_files/files-init.c: New file.
79179         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
79180         __nss_lookup_function.
79181         (__nss_lookup_function): Call nss_load_library.
79182         (nss_load_all_libraries): New function.
79183         (__nss_disable_nscd): Take parameter with callback function for files
79184         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
79185         used for the cached services.
79186         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
79187         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
79188         options for features to all the files in nscd.
79190         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
79192 2011-07-10  Roland McGrath  <roland@hack.frob.com>
79194         * csu/elf-init.c (__libc_csu_init): Comment typo.
79196 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
79198         * po/pl.po: Update from translation team.
79199         * po/ja.po: Likewise.
79200         * po/ru.po: Likewise.
79201         * po/ko.po: Likewise.
79202         * po/fr.po: Likewise.
79204 2011-07-09  Roland McGrath  <roland@hack.frob.com>
79206         * configure.in (.ctors/.dtors header and trailer check):
79207         Use an empirical test on a built program.
79208         * configure: Regenerated.
79210         * configure.in (-z relro check): Use an empirical test on a built DSO.
79211         Detect, but do not require, on ia64.
79212         * configure: Regenerated.
79214         * configure.in (READELF): Find it with AC_CHECK_TOOL.
79215         Update tests that use readelf to use $READELF instead.
79216         * configure: Regenerated.
79218 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
79220         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
79221         if the result is not used.
79223 2011-07-05  Andreas Jaeger  <aj@suse.de>
79225         [BZ#9696]
79226         * stdlib/tst-strtod.c: Add testcase.
79228 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
79230         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
79231         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
79232         The latter has a higher limit.  Take additional parameter to pass to
79233         the new function.
79234         (__pathconf): Pass file to __statfs_link_max.
79235         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
79236         __statfs_link_max.
79237         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
79238         __statfs_link_max.
79240         [BZ #12868]
79241         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
79242         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
79243         Handle Lustre.
79244         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
79245         (__statfs_filesize_max): Likewise.
79246         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
79248 2011-07-05  Andreas Jaeger  <aj@suse.de>
79250         * resolv/res_comp.c (dn_skipname): Remove unused variable.
79252 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
79254         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
79255         `status' variable.
79256         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
79257         Likewise.
79259 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
79261         * Makefile (strop-tests): Add strncat.
79262         * string/test-strncat.c: New file.
79264 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
79266         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
79268 2011-06-21  Andreas Jaeger  <aj@suse.de>
79270         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
79271         Copy rule from iconvdata/Makefile.
79273 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
79275         [BZ #12922]
79276         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
79277         but no long options are defined, just return 'W'.
79279 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
79281         [BZ #9696]
79282         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
79284 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
79286         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
79287         netgroups to read.
79288         (innetgr): Likewise.
79290 2011-07-05  Roland McGrath  <roland@hack.frob.com>
79292         * config.make.in (install_root): Default to $(DESTDIR).
79294 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
79296         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
79298 2011-07-02  Roland McGrath  <roland@hack.frob.com>
79300         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
79302         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
79303         containing directory rather than embedding absolute directory names.
79305         * scripts/check-local-headers.sh: Rewritten using awk.
79306         Match by word, not by line.  Print error messages for matches.
79307         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
79309         * Makerules [shlib-lds-flags empty]:
79310         ($(common-objpfx)libc_pic.opts): New target.
79311         ($(common-objpfx)libc_pic.os.clean): New target.
79312         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
79314         * config.make.in (OBJCOPY): New variable.
79315         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
79316         * configure: Regenerated.
79318         * config.make.in (use-default-link): New variable.
79319         * configure.in (use_default_link): Grok --with-default-link to set it.
79320         * configure: Regenerated.
79321         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
79322         (shlib-lds, shlib-lds-flags): Define to empty.
79324         * Makerules (shlib-lds): New variable.
79325         (shlib-lds-flags): New variable.
79326         (build-shlib, build-moduile, build-module-asneeded): Use it.
79327         ($(common-objpfx)libc.so): Use $(shlib-lds).
79328         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
79329         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
79331         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
79332         DT_FLAGS/DT_FLAGS_1 with zero flags.
79334         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
79335         linker script munging.
79337 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
79339         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
79340         as 128-bit value.
79341         * crypt/sha512.c (sha512_process_block): Perform total addition using
79342         128-bit if possible.
79343         (__sha512_finish_ctx): Likewise.
79344         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
79345         as 64-bit value.
79346         * crypt/sha256.c (SWAP64): Define.
79347         (sha256_process_block): Perform total addition using 64-bit if
79348         possible.
79349         (__sha256_finish_ctx): Likewise.
79351 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
79353         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
79354         * nscd/initgrcache.c (addinitgroupsX): Likewise.
79355         * nscd/hstcache.c (cache_addhst): Likewise.
79356         * nscd/grpcache.c (cache_addgr): Likewise.
79357         * nscd/aicache.c (addhstaiX): Likewise.
79358         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
79360 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
79362         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
79363         * nscd/initgrcache.c (addinitgroupsX): Likewise.
79364         * nscd/hstcache.c (cache_addhst): Likewise.
79365         * nscd/grpcache.c (cache_addgr): Likewise.
79366         * nscd/aicache.c (addhstaiX): Likewise.
79368 2011-07-01  Andreas Schwab  <schwab@redhat.com>
79370         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
79371         domain only when needed.
79373 2011-06-30  Andreas Schwab  <schwab@redhat.com>
79375         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
79376         is always restored.
79378 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
79380         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
79381         are re-adding the entry.
79382         * nscd/servicescache.c (cache_addserv): Likewise.
79384 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
79386         * sysdeps/generic/dl-irel.h: fix protection against multiple
79387         inclusions.
79388         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
79390 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
79392         [BZ #12935]
79393         * malloc/memusage.sh: Fix quoting in message.
79394         * debug/xtrace.sh: Likewise.
79396         * configure.in: Remove support for --experimental-malloc option, make
79397         it the default.
79398         * config.make.in: Likewise.
79399         * malloc/Makefile: Likewise.
79401 2011-06-27  Andreas Schwab  <schwab@redhat.com>
79403         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
79404         two-byte characters.
79406 2011-06-27  Roland McGrath  <roland@hack.frob.com>
79408         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
79409         AC_CACHE_CHECK invocation.
79410         * configure: Regenerated.
79412         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
79414 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
79416         [BZ #12350]
79417         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
79418         bit from old_res_options.
79420         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
79422         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
79423         value type for setfct.
79425 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
79427         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
79428         __gettimeofday instead of gettimeofday.
79430 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
79432         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
79434 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
79436         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
79438         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
79439         info.
79441 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
79443         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79444         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
79445         strcpy-sse2-unaligned strncpy-sse2-unaligned
79446         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
79447         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
79448         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
79449         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
79450         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
79451         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
79452         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
79453         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
79454         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
79455         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
79456         (STRCPY): Support SSE2 and SSSE3 versions.
79458 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
79460         [BZ #12874]
79461         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
79462         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
79463         kernels which artificially limit size of requests.
79465 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
79467         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79468         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
79469         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
79470         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
79471         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
79472         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
79473         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
79474         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
79475         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
79476         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
79477         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
79478         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
79479         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
79480         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
79481         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
79482         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79483         Enable unaligned load optimization for Intel Core i3, i5 and i7
79484         processors.
79485         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
79486         Define.
79487         (index_Fast_Unaligned_Load): Define.
79488         (HAS_FAST_UNALIGNED_LOAD): Define.
79490 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
79492         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
79494 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
79496         [BZ #12907]
79497         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
79498         until it is clear that the information is realy needed.
79499         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
79501 2011-06-22  Andreas Schwab  <schwab@redhat.com>
79503         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
79505 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
79507         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
79508         /sys/devices/system/cpu/online if it is usable.
79510         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
79511         reading the information from the /proc filesystem to once a second.
79513 2011-06-21  Andreas Jaeger  <aj@suse.de>
79515         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
79516         NULL after inclusion of kernel headers.
79518 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
79520         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
79521         calls to internal_setent.
79523         [BZ #12885]
79524         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
79525         addresses using gethostbyname4_r ignore IPv4 addresses.
79527         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
79528         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
79530         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
79532 2011-06-20  David S. Miller  <davem@davemloft.net>
79534         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
79535         inclusions.
79536         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
79538         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
79539         (elf_irel): Use it.
79540         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
79541         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
79542         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
79543         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
79544         * sysdeps/x86_64/dl-irel.h: Likewise.
79546         * elf/dl-runtime.c: Use elf_ifunc_invoke.
79547         * elf/dl-sym.c: Likewise.
79549 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
79551         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
79552         need to dereference resplen2.
79554 2011-06-14  Andreas Schwab  <schwab@redhat.com>
79556         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
79558 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
79560         * Makeconfig: Define vardbdir and inst_vardbdir.
79561         * nss/Makefile: Add rules to install db-Makefile.
79563         * nss/nss_db/db-XXX.c: Cleanup.
79565         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
79566         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
79567         GLIBC_PRIVATE.
79568         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
79569         * nss/makedb.c: Implement -g option to specify that value strings
79570         are generated and should not be added to table iterated over for
79571         get*ent calls.
79572         * nss/nss_db/db-initgroups.c: New file.
79574         * nss/getent.c: Add support for initgroups lookups through getgrouplist
79575         interface.
79577         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
79578         (internal_getgrouplist): Adjust to name change.
79579         Update use_initgroups_entry if this is not the first call.
79580         * nss/databases.def: Add initgroups entry.
79582         * nss/makedb.c (compute_tables): Check result of multiple hash table
79583         sizes to minimize maximum chain length.
79585 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
79587         * Versions.def: Add entry for libnss_db.
79588         * shlib-versions: Likewise.
79589         * nss/Makefile: Add rules to build libnss_db.
79590         * nss/Versions: Add libnss_db information.  Organize libnss_files
79591         entries better.
79592         * nss/db-Makefile: Add gshadow support.  Change rules for the new
79593         makedb progra.  Some minor improvements to generate smaller files.
79594         * nss/nss_db/nss_db.h: Move NSS database header data structures to
79595         here from...
79596         * nss/makedb.c: ...here.
79597         Improve database format to be smaller and require less memory at
79598         runtime.
79599         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
79600         db anymore.
79601         * nss/nss_db/db-netgrp.c: Likewise.
79602         * nss/nss_db/db-open.c: Likewise.
79603         * nss/nss_files/flies-XXX.x: Adjust comments.
79604         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
79605         * nss/nss_files/files-grp.c: Likewise.
79606         * nss/nss_files/files-hosts.c: Likewise.
79607         * nss/nss_files/files-network.c: Likewise.
79608         * nss/nss_files/files-proto.c: Likewise.
79609         * nss/nss_files/files-pwd.c: Likewise.
79610         * nss/nss_files/files-rpc.c: Likewise.
79611         * nss/nss_files/files-service.c: Likewise.
79612         * nss/nss_files/files-sgrp.c: Likewise.
79613         * nss/nss_files/files-spwd.c: Likewise.
79614         * nss/nss_db/db-alias.c: Removed.
79615         * nss/nss_db/dummy-db.h: Removed.
79617 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
79619         * nss/makedb.c: Rewritten to not use database library.
79620         * nss/Makefile: Update to build new makedb program.
79622 2011-06-14  Andreas Jaeger  <aj@suse.de>
79624         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
79625         memset declaration.
79627 2011-06-10  Andreas Schwab  <schwab@redhat.com>
79629         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
79630         tmpbuf.
79632 2011-06-10  Roland McGrath  <roland@hack.frob.com>
79634         * Makerules (shlib.lds): Fail if the linker script comes out empty.
79635         * elf/Makefile ($(objpfx)ld.so): Likewise.
79637         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
79638         Don't list ld.so twice in dependencies.
79640         * posix/bug-regex31.c: Include <stdlib.h>.
79642         * nscd/hstcache.c (cache_addhst): Remove unused variable.
79644         * nis/nss_compat/compat-spwd.c
79645         (getspent_next_nss_netgr): Remove unused variable.
79646         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
79648         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
79649         nonmembers" output to use the right array.
79651         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
79653         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
79655         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
79656         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
79657         * catgets/gencat.c (read_input_file): Likewise.
79658         * locale/programs/locarchive.c (enlarge_archive): Likewise.
79660         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
79661         variable definition inside #if's controlling its use.
79663         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
79665         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
79667         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
79669         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
79670         unreachable code.
79672         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
79674         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
79675         * configure: Regenerated.
79677         * Makerules: Revert last change.
79678         * elf/Makefile: Likewise.
79680 2011-06-09  Roland McGrath  <roland@hack.frob.com>
79682         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
79683         * elf/Makefile ($(objpfx)librtld.os): Likewise.
79684         (reloc-link): Likewise.
79686 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
79688         * elf/Makefile: Add rules to build pldd.
79689         * elf/pldd.c: New file.
79690         * elf/pldd-xx.c: New file.
79692 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
79694         * version.h: Update for 2.15 development version.
79696 2011-06-07  David S. Miller  <davem@davemloft.net>
79698         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
79699         ifuncs.
79700         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
79701         elf_machine_lazy_rel): Likewise.
79702         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
79703         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
79704         elf_machine_lazy_rel): Likewise.
79705         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
79706         dl_hwcap via passed in argument.
79707         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
79708         Likewise.
79710 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79712         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
79714 2011-06-06  Roland McGrath  <roland@hack.frob.com>
79716         [BZ #12849]
79717         * manual/fdl-1.1.texi: New file, verbatim from:
79718         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
79719         * manual/lgpl-2.1.texi: New file, verbatim from:
79720         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
79721         * manual/Makefile (licenses): New variable, list those new file names.
79722         (texis): Use it.
79723         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
79725         * manual/fdl.texi: File removed.
79726         * manual/lesser.texi: File removed.
79727         * manual/libc.texinfo (Copying, Documentation License):
79728         Use new @include file names, put @appendix directive before @include.
79730 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
79732         [BZ #12841]
79733         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
79734         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
79735         (mq_open): Add __NTH.
79737 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
79739         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79740         Assume Intel Core i3/i5/i7 processor if AVX is available.
79742 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
79744         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
79745         typo.
79747 2011-05-31  Andreas Schwab  <schwab@redhat.com>
79749         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
79750         memory.  Use alloca_account.  Fix memory leak when retrying.
79752 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
79754         * version.h (RELEASE): Bump for 2.14 release.
79755         * include/features.h (__GLIBC_MINOR__): Bump to 14.
79757         * config.make.in (RANLIB): Remove entry.
79759 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
79761         * po/Makefile (po-sed-cmd): Add ksh to extensions.
79762         (libc.pot): Work around missing support for .ksh extension in xgettext.
79764         [BZ #12684]
79765         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
79766         if both request failed.
79767         (send_dg): In case of server errors clear resplen or *resplen2.
79769         [BZ #12454]
79770         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
79771         when there are multiple maps.
79772         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
79773         (_dl_fini): Remove test here.
79775         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
79777 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
79779         [BZ #12350]
79780         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
79781         bit from old_res_options.
79782         (gaih_inet): Likewise.
79784         [BZ #11099]
79785         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
79786         as signed.
79788         * resolv/res_init.c (res_setoptions): Make the code more compact.
79790         [BZ #11558]
79791         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
79792         set RES_USEVC.
79794         [BZ #11634]
79795         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
79797         * malloc/malloc.h: Mark malloc hook variables as deprecated.
79799         [BZ #11781]
79800         * malloc/malloc.h: Declare malloc hook variables as volatile.
79802         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
79803         in last patch.
79805         [BZ #11799]
79806         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
79807         raise in the comment.
79808         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
79809         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
79810         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
79812 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
79814         [BZ #12811]
79815         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
79816         grow the buffers more if it already has to be sufficient.
79817         (build_wcs_upper_buffer): Likewise.
79818         * posix/regexec.c (check_matching): Likewise.
79819         (clean_state_log_if_needed): Likewise.
79820         (extend_buffers): Don't enlarge buffers beyond size of the input
79821         buffer.
79822         Patches mostly by Emil Wojak <emil@wojak.eu>.
79823         * posix/bug-regex32.c: New file.
79824         * posix/Makefile (tests): Add bug-regex32.
79826         * locale/findlocale.c (_nl_find_locale): Return right away if
79827         _nl_explode_name failed.
79828         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
79830         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
79832         * debug/xtrace.sh: Unify messages.
79833         * malloc/memusage.sh: Likewise.
79835         [BZ #12813]
79836         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
79837         time symbol from vDSO.  Substitute with vsyscall if not available.
79838         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
79839         __vdso_time.
79841         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
79842         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
79843         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
79844         Add sendmmsg and internal_sendmmsg.
79845         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
79846         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
79847         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
79849         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
79850         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
79851         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
79853 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
79855         [BZ #12813]
79856         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
79857         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
79858         available.
79859         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
79860         __vdso_getcpu.
79862         [BZ #12814]
79863         * iconvdata/Makefile (tests): Add bug-iconv9.
79864         * iconvdata/bug-iconv9.c: New file.
79866 2011-05-27  Andreas Schwab  <schwab@redhat.com>
79868         [BZ #12814]
79869         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
79871 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
79873         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
79874         (struct user_regs_struct): Change intcs field back to cs.
79876 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
79878         * po/ja.po: Update from translation team.
79880 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
79882         [BZ #12795]
79883         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
79884         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
79886 2011-05-20  Andreas Schwab  <schwab@redhat.com>
79888         * stdlib/longlong.h: Update from GCC.
79890 2011-05-23  Andreas Schwab  <schwab@redhat.com>
79892         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
79893         parameter name.
79894         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
79895         Add parameter name.
79896         (__sysconf): Pass it down.
79898 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
79900         [BZ #12671]
79901         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
79902         some situations.
79903         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
79904         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
79905         add in in __libc_use_alloca calls.  Adjust callers.
79906         (glob): Use malloc in some situations.
79908         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
79909         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
79910         pltexit.
79912 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
79914         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
79915         and CLOCK_BOOTTIME_ALARM.
79917         [BZ #12782]
79918         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
79919         is returned.
79921         * string/_strerror.c (__strerror_r): Print negative errors as signed
79922         numbers.
79924         [BZ #12777]
79925         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
79926         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
79927         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
79929         * configure.in: Fix typo in redirection and correct removal of test
79930         files in two cases.
79932         [BZ #12788]
79933         * locale/setlocale.c (new_composite_name): Fix test to check for
79934         identical name of all categories.
79936         [BZ #12792]
79937         * libio/filedoalloc.c (local_isatty): New function.
79938         (_IO_file_doallocate): Use local_isatty.
79939         * stdio-common/perror.c (perror): In case a new stream is used
79940         forward the stream error.
79941         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
79942         error flag.
79944 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
79946         [BZ #11884]
79947         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
79948         alloca.
79949         * include/alloca.h (extend_alloca_account): Define.
79951         [BZ #11857]
79952         * posix/regex.h: Fix comments with documentation of user-accessible
79953         fields after compilation and describe correct free'ing of pattern
79954         after re_compile_pattern.
79955         Patch by Reuben Thomas <rrt@sc3d.org>.
79957 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
79959         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
79960         and -mno-altivec to prevent the compiler from using Altivec and/or
79961         VSX instructions when the corresponding registers are not available.
79963 2011-05-19  Andreas Schwab  <schwab@redhat.com>
79965         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
79967 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
79969         * libio/freopen.c (freopen): Use __dup2, not dup2.
79970         * libio/freopen64.c (freopen64): Likewise.
79972 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
79974         [BZ #12775]
79975         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
79976         * math/Makefile (tests): Add test-powl.
79977         (CFLAGS-test-powl.c): Define.
79978         * math/test-powl.c: New file.
79980 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
79982         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
79984 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
79986         [BZ #11837]
79987         * iconvdata/gb18030.c: Update to GB18020-2005.
79989 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
79991         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
79992         RE_SYNTAX_POSIX_AWK): Update to match recent development.
79993         Patch by Aharon Robbins <arnold@skeeve.com>.
79995         [BZ #11892]
79996         * stdlib/putenv.c (putenv): Don't always create copy of the variable
79997         on the stack.
79999         [BZ #11895]
80000         * misc/pselect.c (__pselect): Handle timeout value errors hidden
80001         through underflows.
80003         [BZ #12766]
80004         * misc/error.c (error_at_line): Ensure file_name and old_file_name
80005         point to strings before performing equality test for error_one_per_line
80006         mode.
80008         [BZ #11697]
80009         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
80011         [BZ #11820]
80012         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
80013         (struct user_fpregs_struct): Avoid __uint*_t types.
80015         [BZ #6420]
80016         * malloc/mtrace.c (tr_where): Add additional parameter to point to
80017         symbol info.  Use it instead of calling _dl_addr locally.
80018         (lock_and_info): New function.
80019         (tr_freehook): Call lock_and_info and pass symbol info as additional
80020         parameter to tr_where.
80021         (tr_mallochook): Likewise.
80022         (tr_reallochook): Likewise.
80023         (tr_memalignhook): Likewise.
80025         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
80026         used and couldn't be at all thread-safe.
80028 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
80030         * libio/freopen.c (freopen): Don't close old file descriptor
80031         before the new one is opened.  Instead dup the new file descriptor
80032         to the old one after the new stream is created.
80033         * libio/freopen64.c (freopen64): Likewise.
80034         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
80035         * libio/fileops.c (_IO_new_file_close_it): Handle new
80036         _IO_FLAGS2_NOCLOSE flag.
80037         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
80038         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
80039         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
80040         _IO_FLAGS2_NOCLOSE flag.
80041         * include/unistd.h: Add hidden_proto for dup3.
80042         Define __have_dup3.
80043         * io/dup3.c: Define hidden symbol.
80044         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
80046         [BZ #7101]
80047         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
80048         when an incomplete long option is used.
80049         * posix/tst-getopt_long1.c: New file.
80050         * posix/Makefile (tests): Add tst-getopt_long1.
80052         [BZ #10138]
80053         * scripts/config.guess: Update from autoconf-2.68.
80054         * scripts/config.sub: Likewise.
80056         [BZ #10157]
80057         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
80058         tests into ...
80059         (has_cpuclock): ...this.  New function.
80060         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
80061         macro here based on has_cpuclock code.
80063         [BZ #10149]
80064         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
80065         First byte (not low byte) is now always NUL.
80066         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
80068         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
80069         Use non-cancelable interfaces.
80071         [BZ #9809]
80072         * locale/iso-639.def: Add entry for Sorani.
80074         [BZ #11901]
80075         * include/stdlib.h: Move include protection to the right place.
80076         Define abort_msg_s.  Declare __abort_msg with it.
80077         * stdlib/abort.c (__abort_msg): Adjust type.
80078         * assert/assert.c (__assert_fail_base): New function.  Majority
80079         of code from __assert_fail.  Allocate memory for __abort_msg with
80080         mmap.
80081         (__assert_fail): Now call __assert_fail_base.
80082         * assert/assert-perr.c: Remove bulk of implementation.  Use
80083         __assert_fail_base.
80084         * include/assert.hL Declare __assert_fail_base.
80085         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
80086         mmap.
80087         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
80089 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
80091         [BZ #11952]
80092         [BZ #12453]
80093         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
80094         until all modules are registered in the DTV.
80095         * elf/Makefile: Add rules to build and run tst-tls19.
80096         * elf/tst-tls19.c: New file.
80097         * elf/tst-tls19mod1.c: New file.
80098         * elf/tst-tls19mod2.c: New file.
80099         * elf/tst-tls19mod3.c: New file.
80100         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
80102         [BZ #12083]
80103         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
80104         correctly.
80106         [BZ #12601]
80107         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
80108         two-byte sequence errors.
80109         * iconvdata/Makefile (tests): Add bug-iconv8.
80110         * iconvdata/bug-iconv8.c: New file.
80112         [BZ #12626]
80113         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
80114         buf2 definition.
80116         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
80118         [BZ #12432]
80119         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
80120         (dummy_getcfa): New function.
80121         (init): Get _Unwind_GetCFA address, use dummy if not found.
80122         (backtrace_helper): In recursion check, also check whether CFA changes.
80123         (__backtrace): Completely initialize arg.
80125         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
80126         storing incomplete byte sequence in state object.  Avoid testing for
80127         guaranteed too small input if we know there is enough data available.
80129 2011-05-11  Andreas Schwab  <schwab@redhat.com>
80131         * Makeconfig (+link-pie): Indent.
80132         * Rules (binaries-pie): Define if $(have-fpie) and
80133         $(build-shared).
80134         (binaries-shared): Also filter out $(binaries-pie).
80135         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
80136         * nscd/Makefile (others-pie): Add nscd.
80137         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
80138         ($(objpfx)nscd): Remove command override.
80139         * login/Makefile (others-pie): Add pt_chown.
80140         ($(objpfx)pt_chown): Remove command override.
80141         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
80142         remove command overrides.
80144 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
80146         * libio/tst_putwc.c: Fix error messages.
80148         [BZ #12724]
80149         * libio/fileops.c (_IO_new_file_close_it): Always flush when
80150         currently writing and seek to current position when not.
80151         * libio/Makefile (tests): Add bug-fclose1.
80152         * libio/bug-fclose1.c: New file.
80154 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
80156         [BZ #12511]
80157         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
80158         don't set DF_1_NODELETE here.
80159         (do_lookup_x): When entering new entry test for copy relocation
80160         and if necessary set DF_1_NODELETE flag.
80161         * elf/tst-unique4.cc: New file.
80162         * elf/tst-unique4.h: New file.
80163         * elf/tst-unique4lib.cc: New file.
80164         * elf/Makefile: Add rules to build and run tst-unique4.
80165         Patch by Piotr Bury <pbury@goahead.com>.
80167 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
80169         [BZ #12052]
80170         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
80172         [BZ #12625]
80173         * misc/mntent_r.c (addmntent): Flush the stream after the output
80175         [BZ #12393]
80176         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
80177         (is_trusted_path_normalize): Skip initial colon.  Append slash
80178         to empty buffer.  Duplicate is_trusted_path code but allow
80179         constructed patch to be prefix.
80180         (is_dst): Allow $ORIGIN followed by /.
80181         (_dl_dst_substitute): Correct clearing of check_for_trusted.
80182         Correct testing of result of is_trusted_path_normalize
80183         (decompose_rpath): Fix warning.
80185 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
80187         [BZ #11257]
80188         * grp/initgroups.c (internal_getgrouplist): When we found the service
80189         list through the initgroups entry in nsswitch.conf do not always
80190         continue on a successful lookup.  Don't always use the
80191         __nss_group_database value if it is set.
80192         * nss/nsswitch.conf (initgroups): Change action for successful db
80193         lookup to continue for compatibility.
80195 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
80197         [BZ #11532]
80198         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
80199         and CP774 modules.
80200         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
80201         and CP774 modules.
80202         * iconvdata/tst-tables.sh: Likewise.
80203         * iconvdata/cp770.c: New file.
80204         * iconvdata/cp771.c: New file.
80205         * iconvdata/cp772.c: New file.
80206         * iconvdata/cp773.c: New file.
80207         * iconvdata/cp774.c: New file.
80208         * iconvdata/testdata/CP770: New file.
80209         * iconvdata/testdata/CP770..UTF8: New file.
80210         * iconvdata/testdata/CP771: New file.
80211         * iconvdata/testdata/CP771..UTF8: New file.
80212         * iconvdata/testdata/CP772: New file.
80213         * iconvdata/testdata/CP772..UTF8: New file.
80214         * iconvdata/testdata/CP773: New file.
80215         * iconvdata/testdata/CP773..UTF8: New file.
80216         * iconvdata/testdata/CP774: New file.
80217         * iconvdata/testdata/CP774..UTF8: New file.
80219         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
80220         END CHARMAP line.
80221         * iconvdata/gen-8bit-gap.sh: Likewise.
80222         * iconvdata/gen-8bit.sh: Likewise.
80224         * locale/iso-639.def: Add ary entry.
80226         [BZ #11258]
80227         * locale/C-translit.h.in: Add U20A1 transliteration.
80229         [BZ #12178]
80230         * locale/iso-639.def: Add wae entry.
80231         Patch by Kevin Bortis <bortis@translate-wae.ch>.
80233         [BZ #12545]
80234         * locale/programs/localedef.c (construct_output_path): Use ssize_t
80235         for n.
80237         [BZ #12711]
80238         * locale/C-translit.h.in: Add entry for U20B9.
80239         Patch by pravin.d.s@gmail.com.
80241 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
80243         [BZ #12713]
80244         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
80245         ENAMETOOLONG use generic getcwd.
80246         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
80247         in rtld.  Use *stat64.
80248         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
80249         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
80250         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
80251         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
80252         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
80253         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
80254         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
80255         __fstatat64 macros.
80256         * include/dirent.h: Add libc_hidden_proto for rewinddir.
80257         * dirent/rewinddir.c: Add libc_hidden_def.
80258         * sysdeps/mach/hurd/rewinddir.c: Likewise.
80259         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
80261         * include/dirent.h (__alloc_dir): Add flags parameter.
80262         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
80263         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
80264         __alloc_dir.
80265         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
80266         from fdopendir if O_CLOEXEC is already set.
80268 2011-03-15  Alan Modra  <amodra@gmail.com>
80270         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
80271         l_tls_firstbyte_offset non-zero.  Save padding offset in
80272         l_tls_firstbyte_offset for later use.
80273         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
80274         freeing static tls block.
80276 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
80278         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
80279         where #ifdef was intended.  The intent is to prevent ARG_MAX from
80280         being defined by the kernel headers.
80282 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
80284         [BZ #12734]
80285         * resolv/resolv.h: Define RES_NOTLDQUERY.
80286         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
80287         no-tld-query and set RES_NOTLDQUERY.
80288         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
80289         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
80290         modern BIND to search name as TLD unless forbidden.
80292 2011-05-07  Petr Baudis  <pasky@suse.cz>
80293             Ulrich Drepper  <drepper@gmail.com>
80295         [BZ #12393]
80296         * elf/dl-load.c (fillin_rpath): Move trusted path check...
80297         (is_trusted_path): ...to here.
80298         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
80299         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
80300         using is_trusted_path_normalize() in setuid scripts.
80302 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
80304         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
80305         __BEGIN/__END_DECLS.
80307 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
80309         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
80310         NSS_STATUS_NOTFOUND if no record was found.
80312 2011-05-05  Andreas Schwab  <schwab@redhat.com>
80314         * sunrpc/Makefile (headers): Add rpc/netdb.h.
80315         (headers-not-in-tirpc): Remove rpc/netdb.h
80316         * resolv/netdb.h: Revert last change.
80318 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
80320         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
80321         circular dependency between libgcc.a and libc.a.
80323 2011-05-05  Andreas Schwab  <schwab@redhat.com>
80325         * resolv/netdb.h: Don't include <rpc/netdb.h>.
80326         * nis/Makefile: Don't install rpcsvc/*.
80327         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
80328         instead of <rpc/types.h>.
80329         (MAXHOSTNAMELEN): Define.
80331 2011-05-03  Andreas Schwab  <schwab@redhat.com>
80333         * elf/ldconfig.c (add_dir): Don't crash on empty path.
80335 2011-04-28  Maciej Babinski  <mbabinski@google.com>
80337         [BZ #12714]
80338         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
80339         gethostbyname4_r when IPv6 results are possible.
80341 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
80343         [BZ #12723]
80344         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
80345         _PC_PIPE_BUF handling.
80347 2011-04-30  Bruno Haible  <bruno@clisp.org>
80349         [BZ #12717]
80350         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
80351         * resolv/netdb.h (getnameinfo): Change type of flags parameter
80352         to 'int'.
80353         * inet/getnameinfo.c (getnameinfo): Likewise.
80355 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
80357         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
80358         to groups setting in database lookup.
80359         * nss/nsswitch.conf: Add initgroups entry.
80361 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
80363         [BZ #12685]
80364         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
80365         mode string.
80366         Patch by Eric Blake <eblake@redhat.com>.
80368 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
80370         * sunrpc/Makefile (need-export-routines): Add svc_run.
80371         (routines): Remove svc_run.
80372         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
80373         * sunrpc/clnt_perr.c (clnt_perrno): Export.
80374         * sunrpc/svc_run.c (svc_run): Likewise.
80375         * sunrpc/svc_udp.c (svcudp_create): Likewise.
80377 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
80379         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
80380         problem in reallocation in last patch.
80382 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
80384         * sunrpc/Makefile: Move inclusion of Rules.
80386 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
80388         * nss/nss_files/files-initgroups.c: New file.
80389         * nss/Makefile (libnss_files-routines): Add files-initgroups.
80390         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
80391         _nss_files_initgroups_dyn.
80393 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
80395         * elf/elf.h (R_ARM_IRELATIVE): Define.
80397 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
80399         * po/ru.po: Update from translation team.
80401 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
80403         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
80404         dependencies.
80406 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
80408         [BZ #12653]
80409         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
80410         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
80411         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
80412         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
80413         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
80415 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
80417         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
80418         differing bytes.
80419         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
80420         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
80421         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
80423 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
80425         [BZ #12420]
80426         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
80427         storing it.
80428         * stdlib/bug-getcontext.c: New file.
80429         * stdlib/Makefile: Add rules to build and run bug-getcontext.
80431 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80433         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
80434         instructions into .machine "z9-109".
80435         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
80436         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
80438 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80440         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
80441         between environment variables and auxiliary vector.
80443 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
80445         * Makefile: Add rules to build linkobj/libc.so.
80446         * include/libc-symbols.h: Define libc_hidden_nolink.
80447         * include/rpc/auth.h: Mark functions which are to be hidden.
80448         * include/rpc/auth_des.h: Likewise.
80449         * include/rpc/auth_unix.h: Likewise.
80450         * include/rpc/clnt.h: Likewise.
80451         * include/rpc/des_crypt.h: Likewise.
80452         * include/rpc/key_prot.h: Likewise.
80453         * include/rpc/pmap_clnt.h: Likewise.
80454         * include/rpc/pmap_prot.h: Likewise.
80455         * include/rpc/pmap_rmt.h: Likewise.
80456         * include/rpc/rpc_msg.h: Likewise.
80457         * include/rpc/svc.h: Likewise.
80458         * include/rpc/svc_auth.h: Likewise.
80459         * include/rpc/xdr.h: Likewise.
80460         * nis/Makefile: Link all DSOs against linkobj/libc.so.
80461         * nss/Makefile: Likewise.
80462         * sunrpc/Makefile: Don't install headers.  Build library with normal
80463         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
80464         * sunrpc/auth_des.c: Hide exported symbols by default, export some
80465         for the compat linking library.  Remove use of INTDEF/INTUSE.
80466         * sunrpc/auth_none.c: Likewise.
80467         * sunrpc/auth_unix.c: Likewise.
80468         * sunrpc/authdes_prot.c: Likewise.
80469         * sunrpc/authuxprot.c: Likewise.
80470         * sunrpc/clnt_gen.c: Likewise.
80471         * sunrpc/clnt_perr.c: Likewise.
80472         * sunrpc/clnt_raw.c: Likewise.
80473         * sunrpc/clnt_simp.c: Likewise.
80474         * sunrpc/clnt_tcp.c: Likewise.
80475         * sunrpc/clnt_udp.c: Likewise.
80476         * sunrpc/clnt_unix.c: Likewise.
80477         * sunrpc/des_crypt.c: Likewise.
80478         * sunrpc/des_soft.c: Likewise.
80479         * sunrpc/get_myaddr.c: Likewise.
80480         * sunrpc/key_call.c: Likewise.
80481         * sunrpc/key_prot.c: Likewise.
80482         * sunrpc/netname.c: Likewise.
80483         * sunrpc/pm_getmaps.c: Likewise.
80484         * sunrpc/pm_getport.c: Likewise.
80485         * sunrpc/pmap_clnt.c: Likewise.
80486         * sunrpc/pmap_prot.c: Likewise.
80487         * sunrpc/pmap_prot2.c: Likewise.
80488         * sunrpc/pmap_rmt.c: Likewise.
80489         * sunrpc/publickey.c: Likewise.
80490         * sunrpc/rpc_cmsg.c: Likewise.
80491         * sunrpc/rpc_common.c: Likewise.
80492         * sunrpc/rpc_dtable.c: Likewise.
80493         * sunrpc/rpc_prot.c: Likewise.
80494         * sunrpc/rpc_thread.c: Likewise.
80495         * sunrpc/rtime.c: Likewise.
80496         * sunrpc/svc.c: Likewise.
80497         * sunrpc/svc_auth.c: Likewise.
80498         * sunrpc/svc_authux.c: Likewise.
80499         * sunrpc/svc_raw.c: Likewise.
80500         * sunrpc/svc_run.c: Likewise.
80501         * sunrpc/svc_simple.c: Likewise.
80502         * sunrpc/svc_tcp.c: Likewise.
80503         * sunrpc/svc_udp.c: Likewise.
80504         * sunrpc/svc_unix.c: Likewise.
80505         * sunrpc/svcauth_des.c: Likewise.
80506         * sunrpc/xcrypt.c: Likewise.
80507         * sunrpc/xdr.c: Likewise.
80508         * sunrpc/xdr_array.c: Likewise.
80509         * sunrpc/xdr_float.c: Likewise.
80510         * sunrpc/xdr_intXX_t.c: Likewise.
80511         * sunrpc/xdr_mem.c: Likewise.
80512         * sunrpc/xdr_rec.c: Likewise.
80513         * sunrpc/xdr_ref.c: Likewise.
80514         * sunrpc/xdr_sizeof.c: Likewise.
80515         * sunrpc/xdr_stdio.c: Likewise.
80517 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
80519         [BZ #12650]
80520         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
80521         * sysdeps/ia64/dl-tls.h: Likewise.
80522         * sysdeps/powerpc/dl-tls.h: Likewise.
80523         * sysdeps/s390/dl-tls.h: Likewise.
80524         * sysdeps/sh/dl-tls.h: Likewise.
80525         * sysdeps/sparc/dl-tls.h: Likewise.
80526         * sysdeps/x86_64/dl-tls.h: Likewise.
80527         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
80529 2011-03-14  Andreas Schwab  <schwab@redhat.com>
80531         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
80532         rpath element also skip the following colon.
80533         (expand_dynamic_string_token): Add is_path parameter and pass
80534         down to DL_DST_REQUIRED and _dl_dst_substitute.
80535         (decompose_rpath): Call expand_dynamic_string_token with
80536         non-zero is_path.  Ignore empty rpaths.
80537         (_dl_map_object_from_fd): Call expand_dynamic_string_token
80538         with zero is_path.
80540 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
80542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
80543         Make cancelable.
80545 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
80547         [BZ #12655]
80548         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
80549         Patch by Filipe David Manana <fdmanana@apache.org>.
80551 2011-04-07  Andreas Schwab  <schwab@redhat.com>
80553         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
80554         Maintain aligned stack.
80555         (CHECK_RSP): Remove unused macro.
80557 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
80559         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
80560         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
80562 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
80564         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
80566         * include/features.h: Mention __USE_XOPEN2K8 in comment.
80568 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
80570         [BZ #12518]
80571         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
80572         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
80573         * sysdeps/x86_64/memmove.c: New file.
80574         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
80575         (memcpy): Renamed to ...
80576         (__new_memcpy): This.
80577         (memcpy): Provide GLIBC_2_14 memcpy.
80578         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
80579         (memcpy): Provide GLIBC_2_2_5 memcpy.
80581 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
80583         [BZ #12631]
80584         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
80586 2011-03-30  Andreas Schwab  <schwab@redhat.com>
80588         * misc/syncfs.c: New file.
80589         * misc/Makefile (routines): Add syncfs.
80590         * posix/unistd.h: Declare syncfs.
80591         * sysdeps/unix/syscalls.list: Add syncfs.
80593 2011-04-01  Andreas Schwab  <schwab@redhat.com>
80595         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
80596         open_by_handle_at.
80597         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
80598         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
80599         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
80600         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
80601         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
80602         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
80603         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
80605 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
80607         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
80608         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
80609         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
80610         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
80611         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
80612         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
80613         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
80615         * io/Makefile: Compile fallocate.c, fallocate64.c, and
80616         sync_file_range.c with -fexceptions.
80617         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
80618         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
80619         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
80620         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
80621         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
80622         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
80623         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
80624         sync_file_range as cancellation point
80625         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
80626         now a wrapper around __call_sync_file_range with cancellation handling.
80627         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
80628         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
80629         function name to __call_sync_file_range.
80630         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
80631         Add call_sync_file_range.
80633 2011-04-01  Andreas Schwab  <schwab@redhat.com>
80635         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80636         bits/timex.h.
80638 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
80640         * iconv/iconv.h: Fix typo in comment.
80641         * io/fcntl.h: Likewise.
80642         * libio/stdio.h: Likewise.
80643         * posix/spawn.h: Likewise.
80644         * posix/unistd.h: Likewise.
80645         * stdlib/stdlib.h: Likewise.
80646         * time/time.h: Likewise.
80647         * wcsmbs/wchar.h: Likewise.
80649         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
80650         open_by_handle): Add.
80651         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
80652         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
80653         Augment a few comments.
80654         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
80655         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
80656         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
80657         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
80658         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
80659         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
80660         open_by_handle.
80662         * io/fcntl.h (AT_EMPTY_PATH): Define.
80664 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
80666         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
80667         * sysdeps/unix/sysv/linux/bits/time.h: New file.
80668         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
80669         to...
80670         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
80671         * Versions.def: Add GLIBC_2.14.
80672         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
80673         Export.
80675 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
80677         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
80678         round counter.
80679         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
80681 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
80683         [BZ #12597]
80684         * string/test-strncmp.c (do_page_test): New function.
80685         (check2): Likewise.
80686         (test_main): Call check2.
80687         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
80689 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
80691         [BZ #12587]
80692         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
80693         Handle cache information in CPU leaf 4.
80694         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
80696 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
80698         [BZ #12583]
80699         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
80700         character representation.
80701         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
80703 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
80705         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
80706         END(__isnan) to END(__isnanf) to match function entry point/label
80707         EALIGN(__isnanf,...).
80709 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
80711         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
80713 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
80715         [BZ #12510]
80716         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
80717         copy from the symbol referenced in the relocation to initialize the
80718         used variable.
80719         Patch by Piotr Bury <pbury@goahead.com>.
80720         * elf/Makefile: Add rules to build and tst-unique3.
80721         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
80722         * elf/tst-unique3.cc: New file.
80723         * elf/tst-unique3.h: New file.
80724         * elf/tst-unique3lib.cc: New file.
80725         * elf/tst-unique3lib2.cc: New file.
80727         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
80729 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
80731         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
80732         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
80733         to _start.
80735 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
80737         * elf/dl-load.c (_dl_map_object): If we are looking for the first
80738         to-be-loaded object along a path to loader is ld.so.
80740 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
80741             Ulrich Drepper  <drepper@gmail.com>
80743         * sysdeps/x86_64/memset.S: After aligning destination, code
80744         branches to different locations depending on the value of
80745         misalignment, when multiarch is enabled. Fix this.
80747 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
80749         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
80750         Set _x86_64_preferred_memory_instruction for AMD processsors.
80751         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80752         Set bit_Prefer_SSE_for_memop for AMD processors.
80754 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
80756         * libio/fmemopen.c (fmemopen): Optimize a bit.
80758 2011-03-03  Andreas Schwab  <schwab@redhat.com>
80760         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
80762 2011-03-03  Roland McGrath  <roland@redhat.com>
80764         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
80766 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
80768         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
80769         __bzero_ultra1 instead of __memset_ultra1.
80771 2011-02-23  Andreas Schwab  <schwab@redhat.com>
80772             Ulrich Drepper  <drepper@gmail.com>
80774         [BZ #12509]
80775         * include/link.h (struct link_map): Add l_orig_initfini.
80776         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
80777         returning unsuccessfully.
80778         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
80779         close of a file loaded at startup, restore the original l_initfini
80780         list.
80781         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
80782         list, store the pointer.
80783         * elf/Makefile ($(objpfx)noload-mem): New rule.
80784         (noload-ENV): Define.
80785         (tests): Add $(objpfx)noload-mem.
80786         * elf/noload.c: Include <memcheck.h>.
80787         (main): Call mtrace.  Close all opened handles.
80789 2011-02-17  Andreas Schwab  <schwab@redhat.com>
80791         [BZ #12454]
80792         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
80793         dependencies are missing.
80795 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80797         Fix __if_freereq crash: Unlike the generic version which uses free,
80798         Hurd needs munmap.
80799         * sysdeps/mach/hurd/ifreq.h: New file.
80801 2011-01-27  Petr Baudis  <pasky@suse.cz>
80802             Ulrich Drepper  <drepper@gmail.com>
80804         [BZ 12445]#
80805         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
80806         to extend_alloca().
80807         * stdio-common/bug23.c: New file.
80808         * stdio-common/Makefile (tests): Add bug23.
80810 2010-09-28  Andreas Schwab  <schwab@redhat.com>
80811             Ulrich Drepper  <drepper@gmail.com>
80813         [BZ #12489]
80814         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
80815         before performing relro protection.  At old place add assertion
80816         to make sure nothing changed.
80818 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
80819             Glauber de Oliveira Costa  <glommer@gmail.com>
80821         * elf/elf.h: Add new ARM TLS relocs.
80823 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
80825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
80826         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
80827         cast from r3.
80828         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
80829         'tests' variable.
80830         * sysdeps/wordsize-64/tst-writev.c: New file.
80832 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
80834         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
80835         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
80836         insns in _dl_start to prevent a TOC reference before relocs are
80837         resolved.
80839 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
80841         [BZ #12469]
80842         * Makeconfig: Remove RANLIB definition.
80843         * Makerules: Don't use RANLIB.
80844         * aclocal.m4: Remove ranlib test.
80845         * configure.in: No need to check for ranlib.
80846         * elf/rtld-Rules: Don't use RANLIB.
80848 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80850         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
80851         protection macro.
80852         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
80853         inclusion protection macro.
80855         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
80856         SIGRTMIN and SIGRTMAX and print information in that case only when
80857         SIGRTMIN is defined.
80859 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
80861         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
80862         arginfo fn returning -1.
80864         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
80865         and thousands string is zero terminated.
80867 2011-02-03  Andreas Schwab  <schwab@redhat.com>
80869         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
80870         sysdeps/unix/sysv/linux/bits/socket.h.
80872 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80874         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
80875         (__CPU_COUNT): Remove old macros.
80876         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
80877         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
80878         (__CPU_ALLOC, __CPU_FREE): Add macros.
80879         (__sched_cpualloc, __sched_cpufree): Add declarations.
80881 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
80883         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
80884         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
80885         * nscd/aicache.c (addhstaiX): Return timeout of added value.
80886         (readdhstai): Return value of addhstaiX call.
80887         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
80888         (addgrbyX): Return value returned by cache_addgr.
80889         (readdgrbyname): Return value returned by addgrbyX.
80890         (readdgrbygid): Likewise.
80891         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
80892         (addpwbyX): Return value returned by cache_addpw.
80893         (readdpwbyname): Return value returned by addhstbyX.
80894         (readdpwbyuid): Likewise.
80895         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
80896         (addservbyX): Return value returned by cache_addserv.
80897         (readdservbyname): Return value returned by addservbyX:
80898         (readdservbyport): Likewise.
80899         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
80900         (addhstbyX): Return value returned by cache_addhst.
80901         (readdhstbyname): Return value returned by addhstbyX.
80902         (readdhstbyaddr): Likewise.
80903         (readdhstbynamev6): Likewise.
80904         (readdhstbyaddrv6): Likewise.
80905         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
80906         (readdinitgroups): Return value returned by addinitgroupsX.
80907         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
80908         (prune_cache): Keep track of timeout value of re-added entries.
80909         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
80910         * nscd/nscd.h: Adjust prototypes of readd* functions.
80912 2011-02-04  Roland McGrath  <roland@redhat.com>
80914         * nis/nis_server.c (nis_servstate): Use the right name for 0.
80915         (nis_stats): Likewise.
80916         * nis/nis_modify.c (nis_modify): Likewise.
80917         * nis/nis_remove.c (nis_remove): Likewise.
80918         * nis/nis_add.c (nis_add): Likewise.
80920         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
80922         * posix/fnmatch_loop.c: Add some consts.
80924         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
80926 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
80928         [BZ #12460]
80929         * config.make.in (config-cflags-novzeroupper): Define.
80930         * configure.in: Substitute libc_cv_cc_novzeroupper.
80931         * elf/Makefile (AVX-CFLAGS): Define.
80932         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
80933         (CFLAGS-tst-auditmod4a.c): Likewise.
80934         (CFLAGS-tst-auditmod4b.c): Likewise.
80935         (CFLAGS-tst-auditmod6b.c): Likewise.
80936         (CFLAGS-tst-auditmod6c.c): Likewise.
80937         (CFLAGS-tst-auditmod7b.c): Likewise.
80938         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
80940 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
80942         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
80943         function to the callback.
80944         Patch partly by Jiri Olsa <jolsa@redhat.com>.
80946 2011-02-02  Andreas Schwab  <schwab@redhat.com>
80948         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
80949         of errno.
80951 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
80953         [BZ #11724]
80954         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
80955         of constructors.
80956         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
80957         of destructors.
80958         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
80960         [BZ #11724]
80961         * elf/Makefile: Add rules to build and run new test.
80962         * elf/tst-initorder.c: New file.
80963         * elf/tst-initorder.exp: New file.
80964         * elf/tst-initordera1.c: New file.
80965         * elf/tst-initordera2.c: New file.
80966         * elf/tst-initordera3.c: New file.
80967         * elf/tst-initordera4.c: New file.
80968         * elf/tst-initorderb1.c: New file.
80969         * elf/tst-initorderb2.c: New file.
80970         * elf/tst-order-a1.c: New file.
80971         * elf/tst-order-a2.c: New file.
80972         * elf/tst-order-a3.c: New file.
80973         * elf/tst-order-a4.c: New file.
80974         * elf/tst-order-b1.c: New file.
80975         * elf/tst-order-b2.c: New file.
80976         * elf/tst-order-main.c: New file.
80977         New test case by George Gensure <werkt0@gmail.com>.
80979 2010-10-01  Andreas Schwab  <schwab@redhat.com>
80981         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
80982         decoding ACE if AI_CANONIDN.
80984 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
80986         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
80988 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
80990         * version.h (RELEASE): Bump for 2.13 release.
80991         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
80993         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
80995         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
80996         MADV_NOHUGEPAGE.
80997         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
80998         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
80999         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
81000         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
81001         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
81002         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
81004         * posix/getconf.c: Update copyright year.
81005         * catgets/gencat.c: Likewise.
81006         * csu/version.c: Likewise.
81007         * debug/catchsegv.sh: Likewise.
81008         * debug/xtrace.sh: Likewise.
81009         * elf/ldconfig.c: Likewise.
81010         * elf/ldd.bash.in: Likewise.
81011         * elf/sprof.c (print_version): Likewise.
81012         * iconv/iconv_prog.c: Likewise.
81013         * iconv/iconvconfig.c: Likewise.
81014         * locale/programs/locale.c: Likewise.
81015         * locale/programs/localedef.c: Likewise.
81016         * malloc/memusage.sh: Likewise.
81017         * malloc/mtrace.pl: Likewise.
81018         * nscd/nscd.c (print_version): Likewise.
81019         * nss/getent.c: Likewise.
81021         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
81022         PF_CAIF, and PF_ALG.
81023         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
81025 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
81027         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
81028         (modules-names): Use them.
81029         (ifunc-test-modules, ifunc-pie-tests): Define.
81030         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
81031         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
81032         (test-extras): Likewise.
81033         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
81034         $(compile-command.c).
81035         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
81036         (all-built-dso): Define.
81037         (check-textrel.out, check-execstack.out): Depend on it.
81039         * configure.in: Don't override --enable-multi-arch.
81041 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
81043         [BZ #6812]
81044         * nscd/hstcache.c (tryagain): Define.
81045         (cache_addhst): Return tryagain not notfound for temporary errors.
81046         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
81047         failed.
81049 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
81051         [BZ #10563]
81052         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
81053         to make the syscall.
81054         * sysdeps/unix/sysv/linux/setgroups.c: New file.
81056         [BZ #12378]
81057         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
81058         and fall back to matching as normal character if the string ends before
81059         the matching ']' is found.  This is what POSIX requires.
81060         * posix/testfnm.c: Adjust test result.
81061         * posix/globtest.sh: Adjust test result.  Add new test.
81062         * posix/tst-fnmatch.input: Likewise.
81063         * posix/tst-fnmatch2.c: Add new test.
81065 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
81067         * elf/Makefile (check-execstack): Revert last change.  Depend on
81068         check-execstack.h.
81069         (check-execstack.h): New target.
81070         (generated): Add check-execstack.h.
81071         * elf/check-execstack.c: Include "check-execstack.h".
81072         (main): Revert last change.
81073         (handle_file): Return zero if GNU_STACK is absent and
81074         DEFAULT_STACK_PERMS doesn't include PF_X.
81076 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
81078         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
81079         in child fails because the descriptor is already closed.
81080         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
81081         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
81082         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
81084         [BZ #12397]
81085         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
81086         syscall.
81088         [BZ #10484]
81089         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
81090         temporary buffer used to handle multi lookups locally.
81091         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
81093 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
81095         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
81096         loader is ld.so.
81098 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
81100         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
81101         alignment for SSE2.
81103 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
81105         [BZ #12394]
81106         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
81107         characters.  When rounding increased number of integer digits recompute
81108         number of groups.
81109         * stdio-common/tst-grouping.c: New file.
81110         * stdio-common/Makefile: Add rules to build and run tst-grouping.
81112 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
81114         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
81115         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
81117         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
81118         void.
81119         * bits/select.h: Likewise.
81121 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
81123         * po/ja.po: Update from translation team.
81125 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
81127         [BZ #11155]
81128         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
81129         implementation just like for lxstat, fxstatat, et al.
81131 2010-12-27  Jim Meyering  <meyering@redhat.com>
81133         [BZ #12348]
81134         * posix/regexec.c (build_trtable): Return failure indication upon
81135         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
81137 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
81139         [BZ #12201]
81140         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
81141         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
81142         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
81143         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
81145         [BZ #12207]
81146         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
81148         [BZ #12204]
81149         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
81150         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
81152 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
81154         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
81155         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
81156         script has SORT_BY_INIT_PRIORITY.
81157         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
81158         NO_CTORS_DTORS_SECTIONS is defined.
81159         * elf/soinit.c: Likewise.
81160         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
81161         NO_CTORS_DTORS_SECTIONS is defined.
81162         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
81163         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
81164         * sysdeps/sh/init-first.c: Likewise.
81165         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
81167 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
81169         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
81170         always use the slow path.
81172 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
81174         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
81175         similar rule which adds the sysdep directories to the header search in
81176         order to pick up the correct platform stackinfo.h.
81177         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
81178         perform test if it is, otherwise return successfully without testing.
81179         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
81180         DEFAULT_STACK_PERMS define in stackinfo.h.
81181         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
81182         defined in stackinfo.h.
81183         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
81184         DEFAULT_STACK_PERMS defined in stackinfo.h.
81185         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
81186         * sysdeps/ia64/stackinfo.h: Likewise.
81187         * sysdeps/s390/stackinfo.h: Likewise.
81188         * sysdeps/sh/stackinfo.h: Likewise.
81189         * sysdeps/sparc/stackinfo.h: Likewise.
81190         * sysdeps/x86_64/stackinfo.h: Likewise.
81191         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
81192         PF_X for powerpc64.  Retain PF_X for powerpc32.
81194 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
81196         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
81197         accurately.
81198         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
81199         GETDENTS_64BIT_ALIGNED.
81201 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
81203         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
81205 2010-12-10  Andreas Schwab  <schwab@redhat.com>
81207         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
81208         _GNU_SOURCE.
81210         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
81211         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
81212         Remove __restrict.
81213         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
81214         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
81216 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
81218         [BZ #11655]
81219         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
81220         are initialized.
81222 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
81224         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
81226 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
81228         * po/it.po: Update from translation team.
81230 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
81232         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
81233         unused codes.
81235 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
81237         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
81239 2010-11-24  Andreas Schwab  <schwab@redhat.com>
81241         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
81242         specially.
81243         (gaih_getanswer_slice): Likewise.
81245 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
81247         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
81249 2010-05-31  Petr Baudis  <pasky@suse.cz>
81251         [BZ #11149]
81252         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
81253         silently even in the chroot mode.
81255 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
81257         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
81258         last patch a bit.  Pretty printing
81260 2010-05-31  Petr Baudis <pasky@suse.cz>
81262         [BZ #10085]
81263         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
81264         initialization of skip_initgroups_dyn.
81266 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
81268         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
81269         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
81271 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
81273         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
81275 2010-11-11  Andreas Schwab  <schwab@redhat.com>
81277         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
81278         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
81279         (tst-fnmatch-ENV): Set MALLOC_TRACE.
81280         ($(objpfx)tst-fnmatch-mem): New rule.
81281         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
81282         * posix/tst-fnmatch.c (main): Call mtrace.
81284 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
81286         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81287         Support Intel processor model 6 and model 0x2c.
81289 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
81291         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
81292           signed comparison.
81294 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
81296         [BZ #12205]
81297         * string/test-strncasecmp.c (check_result): New function.
81298         (do_one_test): Use it.
81299         (check1): New function.
81300         (test_main): Use it.
81301         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
81302         Support strcasecmp and strncasecmp.
81304 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
81306         [BZ #12194]
81307         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
81308         * sysdeps/x86_64/bits/byteswap.h: Likewise.
81310 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
81312         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
81313         IFUNC support.
81314         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81315         memset-x86-64.
81316         * sysdeps/x86_64/multiarch/bzero.S: New file.
81317         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
81318         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
81319         * sysdeps/x86_64/multiarch/memset.S: New file.
81320         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
81321         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81322         Set bit_Prefer_SSE_for_memop for Intel processors.
81323         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
81324         Define.
81325         (index_Prefer_SSE_for_memop): Define.
81326         (HAS_PREFER_SSE_FOR_MEMOP): Define.
81328 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
81330         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
81331         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
81333 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
81335         [BZ #12191]
81336         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
81337         (__x86_64_raw_data_cache_size_half): Likewise.
81338         (__x86_64_raw_shared_cache_size): Likewise.
81339         (__x86_64_raw_shared_cache_size_half): Likewise.
81341         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
81342         (__x86_64_raw_data_cache_size_half): Likewise.
81343         (__x86_64_raw_shared_cache_size): Likewise.
81344         (__x86_64_raw_shared_cache_size_half): Likewise.
81345         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
81346         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
81347         and __x86_64_raw_shared_cache_size_half.  Round
81348         __x86_64_data_cache_size_half, __x86_64_data_cache_size
81349         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
81350         to multiple of 256 bytes.
81352 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
81354         [BZ #12167]
81355         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
81356         of inacessible symlinks.  Verify result of symlink before returning it.
81357         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
81358         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
81360 2010-10-28  Erich Ritz  <erichritz@gmail.com>
81362         * math/math.h (isinf): Fix typo in comment.
81364 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
81366         * po/da.po: Update from translation team.
81368 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
81370         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
81371         is added to the list.
81373 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81374             Ulrich Drepper  <drepper@gmail.com>
81376         * elf/dl-object.c (_dl_new_object): Don't append the new object to
81377         the global list here.  Move code to...
81378         (_dl_add_to_namespace_list): ...here.  New function.
81379         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
81380         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
81381         * elf/dl-load.c (lose): Don't remove the element from the list.
81382         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
81383         (_dl_map_object): Likewise.
81385 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
81387         [BZ #12159]
81388         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
81389         into all bytes of SSE register.
81390         Patch by Richard Li <richardpku@gmail.com>.
81392 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
81394         [BZ #12140]
81395         * malloc/malloc.c (_int_free): Fill correct number of bytes when
81396         perturbing.
81398 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
81400         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
81401         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
81402         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
81403         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
81404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
81405         submachine.
81406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
81408 2010-10-22  Andreas Schwab  <schwab@redhat.com>
81410         * include/dlfcn.h (__RTLD_SECURE): Define.
81411         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
81412         mode & __RTLD_SECURE instead.
81413         (open_path): Rename preloaded parameter to secure.
81414         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
81415         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
81416         * elf/dl-deps.c (openaux): Likewise.
81417         * elf/rtld.c (struct map_args): Remove is_preloaded.
81418         (map_doit): Don't use it.
81419         (dl_main): Likewise.
81420         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
81421         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
81423 2010-09-09  Andreas Schwab  <schwab@redhat.com>
81425         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
81426         (sysd-rules-targets): Remove duplicates.
81427         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
81428         rtld-%.$o dependency.
81430 2010-10-18  Andreas Schwab  <schwab@redhat.com>
81432         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
81433         _dl_map_object do it.
81435 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
81437         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
81438         fast fma builtins, define the macros in the C99 standard.
81439         (FP_FAST_FMAF): Likewise.
81440         (FP_FAST_FMAL): Likewise.
81441         * sysdeps/x86_64/bits/mathdef.h: Likewise.
81443         * bits/mathdef.h: Update copyright year.
81444         * sysdeps/powerpc/bits/mathdef.h: Likewise.
81446 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
81448         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
81449         builtins, define the macros in the C99 standard.
81450         (FP_FAST_FMAF): Likewise.
81451         (FP_FAST_FMAL): Likewise.
81452         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
81453         multiply/add.
81454         (FP_FAST_FMAF): Likewise.
81456 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
81458         [BZ #3268]
81459         * math/libm-test.inc (fma_test): Some new testcases.
81460         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
81461         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
81462         y and infinite z.  Do multiplication by C already in long double.
81463         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
81464         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
81465         y and infinite z.  Do bitwise or of inexact bit into u.d.
81466         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
81467         * sysdeps/i386/fpu/s_fmaf.S: Removed.
81468         * sysdeps/i386/fpu/s_fma.S: Removed.
81469         * sysdeps/i386/fpu/s_fmal.S: Removed.
81471 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
81473         [BZ #3268]
81474         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
81475         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
81476         computation is not scheduled after fetestexcept.  Fix value
81477         of minimum denormal long double.
81479 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
81481         [BZ #3268]
81482         * math/libm-test.inc (fma_test): Add some more tests.
81483         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
81484         correctly.
81486 2010-10-15  Andreas Schwab  <schwab@redhat.com>
81488         * scripts/data/localplt-s390-linux-gnu.data: New file.
81489         * scripts/data/localplt-s390x-linux-gnu.data: New file.
81491 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
81493         [BZ #3268]
81494         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
81495         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
81496         instead of dbl-64.
81497         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
81498         inlines.
81499         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
81500         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
81501         if one of x and y is very large and the other is subnormal.
81502         * sysdeps/s390/fpu/s_fmaf.c: New file.
81503         * sysdeps/s390/fpu/s_fma.c: New file.
81504         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
81505         * sysdeps/powerpc/fpu/s_fma.S: New file.
81506         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
81507         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
81508         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
81510 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
81512         [BZ #3268]
81513         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
81514         fma tests.
81515         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
81516         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
81517         * sysdeps/i386/i686/multiarch/s_fma.c: Include
81518         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
81519         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
81520         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
81521         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
81523 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
81525         [BZ #12078]
81526         * posix/regcomp.c (parse_branch): One more memory leak plugged.
81527         * posix/bug-regex31.input: Add test case.
81529 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
81531         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
81532         * posix/bug-regex31.input: New file.
81534         [BZ #12078]
81535         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
81536         (parse_sub_exp): Fix last change, use postorder.
81538         * posix/bug-regex31.c: New file.
81539         * posix/Makefile: Add rules to build and run bug-regex31.
81541         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
81543         [BZ #12078]
81544         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
81546         [BZ #12108]
81547         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
81548         to have entries in sys_siglist.
81550         [BZ #12093]
81551         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
81552         be NULL.
81554 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
81556         [BZ #3268]
81557         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
81558         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
81559         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
81560         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
81561         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
81562         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
81563         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
81564         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
81565         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
81566         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
81567         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
81568         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
81569         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
81570         * math/ftestexcept.c (fetestexcept): Likewise.
81571         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
81572         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
81573         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
81574         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
81575         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
81576         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
81577         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
81579 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
81581         [BZ #12107]
81582         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
81583         newline.
81585 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
81587         * string/bug-strstr1.c: New file.
81588         * string/Makefile: Add rules to build and run bug-strstr1.
81590 2010-10-05  Eric Blake  <eblake@redhat.com>
81592         [BZ #12092]
81593         * string/str-two-way.h (two_way_long_needle): Always clear memory
81594         when skipping input due to the shift table.
81596 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
81598         [BZ #12005]
81599         * malloc/mcheck.c: Handle large requests.
81601         [BZ #12077]
81602         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
81603         for strncmp and strncasecmp.
81604         * string/stratcliff.c: Add tests for strcmp and strncmp.
81605         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
81607 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
81609         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
81610         __set_fpscr.
81612 2010-09-30  Andreas Jaeger  <aj@suse.de>
81614         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
81615         (CGROUP_SUPER_MAGIC): Define.
81616         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
81617         Handle btrfs and cgroup file systems.
81618         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
81619         Likewise.
81621 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
81623         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
81624         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
81626 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81628         [BZ #12067]
81629         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
81630         trying to locate the ELF header.
81632 2010-09-27  Andreas Schwab  <schwab@redhat.com>
81634         [BZ #11611]
81635         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
81636         Mask out sign-bit copies when constructing f_fsid.
81638 2010-09-24  Petr Baudis <pasky@suse.cz>
81640         * debug/stack_chk_fail_local.c: Add missing licence exception.
81641         * debug/warning-nop.c: Likewise.
81643 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
81645         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
81646         implementing getdents64 using getdents syscall, set d_type if
81647         __ASSUME_GETDENTS32_D_TYPE.
81649 2010-09-16  Andreas Schwab  <schwab@redhat.com>
81651         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
81652         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
81654 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
81656         [BZ #12037]
81657         * posix/unistd.h: Undo change of feature selection for ftruncate from
81658         2010-01-11.
81660 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
81662         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
81663         detection.
81665 2010-09-20  Andreas Schwab  <schwab@redhat.com>
81667         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
81668         fanotify_mark.
81669         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
81671 2010-09-14  Andreas Schwab  <schwab@redhat.com>
81673         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
81674         variables after CHECK_SP call.
81675         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
81677 2010-09-13  Andreas Schwab  <schwab@redhat.com>
81678             Ulrich Drepper  <drepper@redhat.com>
81680         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
81681         re-relocationg ld.so.
81682         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
81683         _dl_init_paths call.
81684         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
81685         here anymore.
81687 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
81689         * resolv/res_init.c (__res_vinit): Count the default server we added.
81691 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
81692             Ulrich Drepper  <drepper@redhat.com>
81694         [BZ #11968]
81695         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
81696         (____longjmp_chk): Use %ebx for saving value across system call.
81697         Add unwind info.
81699 2010-09-06  Andreas Schwab  <schwab@redhat.com>
81701         * manual/Makefile: Don't mix pattern rules with normal rules.
81703 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
81705         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
81706         operation.
81707         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
81708         * libio/iofopncook.c (_IO_cookie_init): Likewise.
81709         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
81710         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
81711         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
81712         Likewise.
81714 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
81716         [BZ #11979]
81717         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
81718         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
81720 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
81722         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
81723         * sysdeps/x86_64/addmul_1.S: Likewise.
81724         * sysdeps/x86_64/lshift.S: Likewise.
81725         * sysdeps/x86_64/mul_1.S: Likewise.
81726         * sysdeps/x86_64/rshift.S: Likewise.
81727         * sysdeps/x86_64/sub_n.S: Likewise.
81728         * sysdeps/x86_64/submul_1.S: Likewise.
81730 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81732         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
81733         Define __sched_param instead of SCHED_* and sched_param when
81734         <bits/sched.h> is included with __need_schedparam defined.
81735         * bits/sched.h [__need_schedparam]
81736         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
81737         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
81738         (__defined_schedparam): Define to 1.
81739         (__sched_param): New structure, identical to sched_param.
81740         (__need_schedparam): Undefine.
81742 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
81744         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
81745         (epoll_create1): Declare.
81747         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
81749 2010-08-31  Andreas Schwab  <schwab@redhat.com>
81751         [BZ #7066]
81752         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
81753         shifting retval into place.
81755 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
81757         * nis/rpcsvc/nis.h: Update copyright notice.
81758         * nis/rpcsvc/nis.x: Likewise.
81759         * nis/rpcsvc/nis_callback.h: Likewise.
81760         * nis/rpcsvc/nis_callback.x: Likewise.
81761         * nis/rpcsvc/nis_object.x: Likewise.
81762         * nis/rpcsvc/nis_tags.h: Likewise.
81763         * nis/rpcsvc/yp.h: Likewise.
81764         * nis/rpcsvc/yp.x: Likewise.
81765         * nis/rpcsvc/ypupd.h: Likewise.
81766         * nis/yp_xdr.c: Likewise.
81767         * nis/ypupdate_xdr.c: Likewise.
81769         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
81770         mainly the body of pmap_getport.  Add parameters to specify timeouts.
81771         (pmap_getport): Use __libc_rpc_getport.
81772         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
81773         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
81774         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
81776 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
81778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
81779         fanotify_mark.
81781 2010-08-27  Roland McGrath  <roland@redhat.com>
81783         * sysdeps/i386/i686/multiarch/Makefile
81784         (CFLAGS-varshift.c): New variable.
81786 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
81788         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
81789         * sysdeps/i386/i686/multiarch/varshift.c: New file.
81791         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
81793         * sysdeps/x86_64/strlen.S: Minimal code improvement.
81795 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
81797         * sysdeps/x86_64/strlen.S: Unroll the loop.
81798         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81799         strlen-sse2 strlen-sse2-bsf.
81800         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
81801         __strlen_no_bsf if bit_Slow_BSF is set.
81802         (__strlen_sse42): Removed.
81803         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
81804         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
81806 2010-08-25  Roland McGrath  <roland@redhat.com>
81808         * sysdeps/x86_64/multiarch/varshift.S: File removed.
81809         * sysdeps/x86_64/multiarch/varshift.c: New file.
81810         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
81811         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
81812         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
81813         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
81815 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
81817         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81818         strlen-sse2 strlen-sse2-bsf.
81819         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
81820         __strlen_sse2_bsf if bit_Slow_BSF is unset.
81821         (__strlen_sse2): Removed.
81822         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
81823         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
81824         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
81825         bit_Slow_BSF for Atom.
81826         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
81827         (index_Slow_BSF): Define.
81828         (HAS_SLOW_BSF): Define.
81830 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
81832         [BZ #10851]
81833         * resolv/res_init.c (__res_vinit): When no server address at all
81834         is given default to loopback.
81836 2010-08-24  Roland McGrath  <roland@redhat.com>
81838         * configure.in: Remove config-name.h generation.
81839         * configure: Regenerated.
81840         * config-name.in: File removed.
81841         * scripts/config-uname.sh: New file.
81842         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
81843         ($(objdir)config-name.h): New target.
81845         * sunrpc/rpc_parse.h: Avoid nested comment.
81847 2010-08-24  Richard Henderson  <rth@redhat.com>
81848             Ulrich Drepper  <drepper@redhat.com>
81849             H.J. Lu  <hongjiu.lu@intel.com>
81851         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
81852         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
81853         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
81854         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
81855         _mm_alignr_epi8 with _mm_loadu_si128.
81856         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
81857         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
81858         (__m128i_shift_right): Removed.
81859         * sysdeps/i386/i686/multiarch/varshift.h: New file.
81860         * sysdeps/i386/i686/multiarch/varshift.S: New file.
81861         * sysdeps/x86_64/multiarch/varshift.h: New file.
81862         * sysdeps/x86_64/multiarch/varshift.S: New file.
81864 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
81866         * configure.in: Move assembler checks to before sysdep dir checking.
81868 2010-08-20  Petr Baudis  <pasky@suse.cz>
81870         * LICENSES: Sync the sunrpc license.
81872 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
81874         * sunrpc/auth_des.c: Update copyright notice once again.
81875         * sunrpc/auth_none.c: Likewise.
81876         * sunrpc/auth_unix.c: Likewise.
81877         * sunrpc/authdes_prot.c: Likewise.
81878         * sunrpc/authuxprot.c: Likewise.
81879         * sunrpc/bindrsvprt.c: Likewise.
81880         * sunrpc/clnt_gen.c: Likewise.
81881         * sunrpc/clnt_perr.c: Likewise.
81882         * sunrpc/clnt_raw.c: Likewise.
81883         * sunrpc/clnt_simp.c: Likewise.
81884         * sunrpc/clnt_tcp.c: Likewise.
81885         * sunrpc/clnt_udp.c: Likewise.
81886         * sunrpc/clnt_unix.c: Likewise.
81887         * sunrpc/des_crypt.c: Likewise.
81888         * sunrpc/des_soft.c: Likewise.
81889         * sunrpc/get_myaddr.c: Likewise.
81890         * sunrpc/getrpcport.c: Likewise.
81891         * sunrpc/key_call.c: Likewise.
81892         * sunrpc/key_prot.c: Likewise.
81893         * sunrpc/openchild.c: Likewise.
81894         * sunrpc/pm_getmaps.c: Likewise.
81895         * sunrpc/pm_getport.c: Likewise.
81896         * sunrpc/pmap_clnt.c: Likewise.
81897         * sunrpc/pmap_prot.c: Likewise.
81898         * sunrpc/pmap_prot2.c: Likewise.
81899         * sunrpc/pmap_rmt.c: Likewise.
81900         * sunrpc/rpc/auth.h: Likewise.
81901         * sunrpc/rpc/auth_unix.h: Likewise.
81902         * sunrpc/rpc/clnt.h: Likewise.
81903         * sunrpc/rpc/des_crypt.h: Likewise.
81904         * sunrpc/rpc/key_prot.h: Likewise.
81905         * sunrpc/rpc/netdb.h: Likewise.
81906         * sunrpc/rpc/pmap_clnt.h: Likewise.
81907         * sunrpc/rpc/pmap_prot.h: Likewise.
81908         * sunrpc/rpc/pmap_rmt.h: Likewise.
81909         * sunrpc/rpc/rpc.h: Likewise.
81910         * sunrpc/rpc/rpc_des.h: Likewise.
81911         * sunrpc/rpc/rpc_msg.h: Likewise.
81912         * sunrpc/rpc/svc.h: Likewise.
81913         * sunrpc/rpc/svc_auth.h: Likewise.
81914         * sunrpc/rpc/types.h: Likewise.
81915         * sunrpc/rpc/xdr.h: Likewise.
81916         * sunrpc/rpc_clntout.c: Likewise.
81917         * sunrpc/rpc_cmsg.c: Likewise.
81918         * sunrpc/rpc_common.c: Likewise.
81919         * sunrpc/rpc_cout.c: Likewise.
81920         * sunrpc/rpc_dtable.c: Likewise.
81921         * sunrpc/rpc_hout.c: Likewise.
81922         * sunrpc/rpc_main.c: Likewise.
81923         * sunrpc/rpc_parse.c: Likewise.
81924         * sunrpc/rpc_parse.h: Likewise.
81925         * sunrpc/rpc_prot.c: Likewise.
81926         * sunrpc/rpc_sample.c: Likewise.
81927         * sunrpc/rpc_scan.c: Likewise.
81928         * sunrpc/rpc_scan.h: Likewise.
81929         * sunrpc/rpc_svcout.c: Likewise.
81930         * sunrpc/rpc_tblout.c: Likewise.
81931         * sunrpc/rpc_util.c: Likewise.
81932         * sunrpc/rpc_util.h: Likewise.
81933         * sunrpc/rpcinfo.c: Likewise.
81934         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
81935         * sunrpc/rpcsvc/key_prot.x: Likewise.
81936         * sunrpc/rpcsvc/klm_prot.x: Likewise.
81937         * sunrpc/rpcsvc/mount.x: Likewise.
81938         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
81939         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
81940         * sunrpc/rpcsvc/rex.x: Likewise.
81941         * sunrpc/rpcsvc/rstat.x: Likewise.
81942         * sunrpc/rpcsvc/rusers.x: Likewise.
81943         * sunrpc/rpcsvc/sm_inter.x: Likewise.
81944         * sunrpc/rpcsvc/spray.x: Likewise.
81945         * sunrpc/rpcsvc/yppasswd.x: Likewise.
81946         * sunrpc/rtime.c: Likewise.
81947         * sunrpc/svc.c: Likewise.
81948         * sunrpc/svc_auth.c: Likewise.
81949         * sunrpc/svc_authux.c: Likewise.
81950         * sunrpc/svc_raw.c: Likewise.
81951         * sunrpc/svc_run.c: Likewise.
81952         * sunrpc/svc_simple.c: Likewise.
81953         * sunrpc/svc_tcp.c: Likewise.
81954         * sunrpc/svc_udp.c: Likewise.
81955         * sunrpc/svc_unix.c: Likewise.
81956         * sunrpc/svcauth_des.c: Likewise.
81957         * sunrpc/xcrypt.c: Likewise.
81958         * sunrpc/xdr.c: Likewise.
81959         * sunrpc/xdr_array.c: Likewise.
81960         * sunrpc/xdr_float.c: Likewise.
81961         * sunrpc/xdr_mem.c: Likewise.
81962         * sunrpc/xdr_rec.c: Likewise.
81963         * sunrpc/xdr_ref.c: Likewise.
81964         * sunrpc/xdr_sizeof.c: Likewise.
81965         * sunrpc/xdr_stdio.c: Likewise.
81967         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
81968         handling.
81970 2010-08-19  Andreas Schwab  <schwab@redhat.com>
81972         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
81974 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
81976         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
81977         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
81978         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
81979         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
81980         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
81981         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
81982         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
81983         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
81984         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
81985         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
81986         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
81987         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
81988         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
81989         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
81991 2010-07-26  Anton Blanchard  <anton@samba.org>
81993         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
81994         * malloc/arena.c (heap_trim): Likewise.
81996 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
81998         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
81999         here.  Not...
82000         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
82001         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
82003 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
82005         * sysdeps/i386/elf/Makefile: New file.
82007 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
82009         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
82010         from fanotify_init.
82011         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
82012         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
82014 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
82016         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
82017         of strncasecmp_l.
82018         * sysdeps/multiarch/strcmp.S: Likewise.
82020 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
82022         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
82023         strncase_l-nonascii.
82024         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
82025         Add strncase_l-ssse3.
82026         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
82027         * sysdeps/x86_64/strcmp.S: Likewise.
82028         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
82029         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
82030         * sysdeps/x86_64/strncase.S: New file.
82031         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
82032         * sysdeps/x86_64/strncase_l.S: New file.
82033         * string/Makefile (strop-tests): Add strncasecmp.
82034         * string/test-strncasecmp.c: New file.
82036         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
82037         warning.
82039         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
82040         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
82042 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
82044         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
82046 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
82048         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
82049         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
82050         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
82052 2010-05-01  Alan Modra  <amodra@gmail.com>
82054         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
82055         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
82056         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
82057         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
82058         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
82059         tidying.  Don't tail-call __sigjmp_save for static lib.
82060         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
82061         save location.
82062         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
82063         (CALL_MCOUNT): Add eh info, and nop after bl.
82064         (TAIL_CALL_SYSCALL_ERROR): New macro.
82065         (PSEUDO_RET): Use it.
82066         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
82067         Correct save location of integer regs and cr.
82068         (_dl_profile_resolve): Correct cr save location.  Delete nops
82069         after bl when SHARED.  Reduce cfi size a little by better
82070         placement of cfi directives.
82071         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
82072         make a stack frame.  Instead use parm save area as a temp.
82073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
82074         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
82075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
82076         Don't make a stack frame for parent, use parm save area.
82077         Increase child stack frame to 112 bytes.  Don't save unused reg,
82078         and adjust reg usage.  Set up cfi on error recovery and
82079         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
82080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
82081         (__makecontext): Add dummy nop after jump to exit.
82082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
82083         Use correct parm save area and cr save, reduce stack frame.
82084         Correct cfi for possible PSEUDO_RET frame setup.
82085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
82086         Branch to local label emitted by PSEUDO_RET rather than
82087         __syscall_error.
82089 2010-08-12  Andreas Schwab  <schwab@redhat.com>
82091         [BZ #11904]
82092         * locale/programs/locale.c (print_assignment): New function.
82093         (show_locale_vars): Use it.
82095 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
82097         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
82098         field.
82099         (struct statfs64): Likewise.
82100         (_STATFS_F_FLAGS): Define.
82101         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
82102         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
82103         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
82104         (ST_VALID): Define locally.
82105         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
82106         __statvfs_getflags, use the provided value.
82107         * sysdeps/unix/sysv/linux/kernel-features.h: Define
82108         __ASSUME_STATFS_F_FLAGS.
82110         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
82112         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
82113         Add sys/fanotify.h.
82114         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
82115         fanotify_mask for GLIBC_2.13.
82116         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
82117         fanotify_init and fanotify_mark.
82118         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
82119         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
82121         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
82122         Add prlimit.
82123         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
82124         prlimit64 for GLIBC_2.13.
82125         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
82126         prlimit64.
82127         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
82128         syscall.
82129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
82130         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
82131         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
82132         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
82133         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
82134         add prlimit alias.
82135         * sysdeps/unix/sysv/linux/prlimit.c: New file.
82137         [BZ #11903]
82138         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
82139         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
82141         * nss/Makefile: Add rules to build and run tst-nss-test1.
82142         * shlib-versions: Add entry for libnss_test1.
82143         * nss/nss_test1.c: New file.
82144         * nss/tst-nss-test1.c: New file.
82146         * nss/nsswitch.c (__nss_database_custom): Define new variable.
82147         (__nss_configure_lookup): Set appropriate entry in
82148         __nss_configure_lookup to true.
82149         * nss/nsswitch.h: Define enum with indeces of databases in
82150         databases and __nss_database_custom arrays.  Declare
82151         __nss_database_custom.
82152         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
82153         to avoid using nscd when custom rules are installed.
82154         * nss/getXXbyYY_r.c: Likewise.
82155         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
82157         * nss/nss_files/files-parse.c: Whitespace fixes.
82159 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
82161         [BZ #11883]
82162         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
82163         * posix/fnmatch_loop.c: Likewise.
82165 2010-07-17  Andi Kleen  <ak@linux.intel.com>
82167         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
82168         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
82169         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
82170         * Versions.def [GLIBC_2.13]: Add.
82172 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
82174         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
82175         Also fail if tpwd after pwuid call is NULL.
82177 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82179         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
82180         when converting to ms.
82182 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82184         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
82185         EOPNOTSUPP errors with ENOTTY.
82186         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
82187         EOPNOTSUPP errors with ENOTTY.
82189 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
82191         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
82192         Add strcasecmp_l-ssse3.
82193         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
82194         strcasecmp.
82195         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
82196         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
82197         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
82199 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
82201         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
82203         * string/Makefile (strop-tests): Add strcasecmp.
82204         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
82205         strcasecmp_l-nonascii.
82206         (gen-as-const-headers): Add locale-defines.sym.
82207         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
82208         * sysdeps/x86_64/strcasecmp.S: New file.
82209         * sysdeps/x86_64/strcasecmp_l.S: New file.
82210         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
82211         * sysdeps/x86_64/locale-defines.sym: New file.
82212         * string/test-strcasecmp.c: New file.
82214         * string/test-strcasestr.c: Test both ends of the range of characters.
82215         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
82217 2010-07-29  Roland McGrath  <roland@redhat.com>
82219         [BZ #11856]
82220         * manual/locale.texi (Yes-or-No Questions): Fix example code.
82222 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
82224         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
82225         for ld.so.
82227 2010-07-27  Andreas Schwab  <schwab@redhat.com>
82229         * manual/memory.texi (Malloc Tunable Parameters): Document
82230         M_PERTURB.
82232 2010-07-26  Roland McGrath  <roland@redhat.com>
82234         [BZ #11840]
82235         * configure.in (-fgnu89-inline check): Set and substitute
82236         gnu89_inline, not libc_cv_gnu89_inline.
82237         * configure: Regenerated.
82238         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
82240 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
82242         * string/test-strnlen.c: New file.
82243         * string/Makefile (strop-tests): Add strnlen.
82244         * string/tester.c (test_strnlen): Add a few more test cases.
82245         * string/tst-strlen.c: Better error reporting.
82247         * sysdeps/x86_64/strnlen.S: New file.
82249 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
82251         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
82252         lower-latency instructions.
82254 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
82256         * string/test-strcasestr.c: New file.
82257         * string/test-strstr.c: New file.
82258         * string/Makefile (strop-tests): Add strstr and strcasestr.
82259         * string/str-two-way.h: Don't undefine MAX.
82260         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
82262 2010-07-21  Andreas Schwab  <schwab@redhat.com>
82264         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82265         strcasestr-nonascii.
82266         (CFLAGS-strcasestr-nonascii.c): Define.
82267         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
82268         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
82269         Remove unused attribute.
82271 2010-07-20  Roland McGrath  <roland@redhat.com>
82273         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
82274         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
82275         ld.so.cache was broken.  With it, there is no way to disable dsocaps
82276         like LD_HWCAP_MASK can disable hwcaps.
82278 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
82280         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
82282 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
82284         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
82285         call in strcasestr.
82286         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
82287         __strcasestr_sse42_nonascii.
82288         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
82289         strcasestr-nonascii.c.
82290         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
82292 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
82294         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
82295         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
82296         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
82297         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
82299 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
82301         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
82302         fcntl.
82304 2010-07-06  Andreas Schwab  <schwab@redhat.com>
82306         [BZ #11577]
82307         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
82308         dl_signal_cerror.
82310 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
82312         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
82313         _PC_PIPE_BUF using F_GETPIPE_SZ.
82315 2010-07-05  Roland McGrath  <roland@redhat.com>
82317         * manual/arith.texi (Rounding Functions): Fix rint description
82318         implicit in round description.
82320 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
82322         * elf/Makefile: Fix linking for a few tests to make recent linker
82323         happy.
82325 2010-06-30  Andreas Schwab  <schwab@redhat.com>
82327         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
82328         $(common-objpfx)libc_nonshared.a.
82330 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
82332         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
82333         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
82334         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
82335         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
82336         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
82337         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
82338         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
82339         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
82340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
82341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
82342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
82343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
82344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
82345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
82346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
82347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
82348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
82349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
82350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
82351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
82352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
82353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
82354         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
82355         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
82356         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
82357         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
82358         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
82359         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
82360         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
82361         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
82362         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
82363         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
82364         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
82365         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
82366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
82367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
82368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
82369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
82370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
82371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
82372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
82373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
82374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
82375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
82376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
82377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
82378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
82379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
82381 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
82383         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
82384         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
82385         * string/memmove.c (memmove): Renamed to ...
82386         (MEMMOVE): ...this.  Default to memmove.
82387         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
82388         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
82389         (END_CHK): Define.
82390         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82391         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
82392         mempcpy-ssse3-back memmove-ssse3-back.
82393         * sysdeps/x86_64/multiarch/bcopy.S: New file .
82394         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
82395         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
82396         * sysdeps/x86_64/multiarch/memcpy.S: New file.
82397         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
82398         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
82399         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
82400         * sysdeps/x86_64/multiarch/memmove.c: New file.
82401         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
82402         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
82403         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
82404         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
82405         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
82406         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
82407         Define.
82408         (index_Fast_Copy_Backward): Define.
82409         (HAS_ARCH_FEATURE): Define.
82410         (HAS_FAST_REP_STRING): Define.
82411         (HAS_FAST_COPY_BACKWARD): Define.
82413 2010-06-21  Andreas Schwab  <schwab@redhat.com>
82415         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
82416         Restore proper fallback handling.
82418 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
82420         [BZ #11701]
82421         * posix/group_member.c (__group_member): Correct checking loop.
82423         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
82424         OOM in getpwuid_r correctly.  Return error number when the caller
82425         should return, otherwise -1.
82426         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
82427         call returning > 0 value.
82428         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
82430 2010-06-07  Andreas Schwab  <schwab@redhat.com>
82432         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
82433         libc_nonshared.a from targets in modules-names.
82435 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
82437         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
82438         requires it.
82440 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
82442         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
82443         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
82444         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
82445         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
82447 2010-06-02  Andreas Schwab  <schwab@redhat.com>
82449         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
82451 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
82453         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
82454         and F_GETPIPE_SZ.
82455         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
82456         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
82457         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
82458         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
82459         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
82460         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
82462 2010-06-14  Roland McGrath  <roland@redhat.com>
82464         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
82466 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
82468         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
82469         __REDIRECT followed by __THROW.
82470         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
82471         * posix/getopt.h (getopt): Likewise.
82473 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
82475         * hurd/lookup-at.c (__file_name_lookup_at): Accept
82476         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
82477         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
82478         in AT_FLAGS.
82479         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
82480         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
82482 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
82484         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
82486 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
82488         [BZ #11640]
82489         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82490         Properly check family and model.
82492 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
82494         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
82496 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
82498         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
82500 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
82502         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
82503         symbol reference.
82505 2010-05-19  Andreas Schwab  <schwab@redhat.com>
82507         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
82508         symbol reference.
82510 2010-05-21  Andreas Schwab  <schwab@redhat.com>
82512         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
82513         and internal_recvmmsg.
82514         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
82515         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
82516         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
82517         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
82519         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
82520         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
82521         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
82523 2010-05-20  Andreas Schwab  <schwab@redhat.com>
82525         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
82527 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
82529         POWER7 optimizations.
82530         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
82531         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
82533 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
82535         * version.h: Update for 2.13 development version.
82537 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
82539         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
82540         exceptions.  Return 0.
82542 2010-05-07  Roland McGrath  <roland@redhat.com>
82544         * elf/ldconfig.c (main): Add a const.
82546 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
82548         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
82549         (args_options): Add no-idn option.
82550         (ahosts_keys_int): Add idn_flags to ai_flags.
82551         (parse_option): Handle 'i' option to clear idn_flags.
82553         * malloc/malloc.c (_int_free): Possible race in the most recently
82554         added check.  Only act on the data if no current modification
82555         happened.
82557 See ChangeLog.17 for earlier changes.